Bug 1505168

Summary: erlang-xmpp has become a nif package, but doesn't install it's shared object
Product: [Fedora] Fedora Reporter: Randy Barlow <randy>
Component: erlang-xmppAssignee: Randy Barlow <randy>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 27CC: jeremy, lemenkov, randy
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: erlang-xmpp-1.1.13-2.fc28 erlang-xmpp-1.1.13-2.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-11 03:01:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Randy Barlow 2017-10-22 17:11:16 UTC
I had failed to notice when updating erlang-xmpp earlier this year that it had become a NIF package, and so I didn't modify the spec file to install its shared object files. This causes ejabberd 17.07 to fail to start:

2017-10-22 12:59:50.064 [warning] <0.144.0> unable to load jid NIF: {error,{load_failed,"Failed to load NIF library: '/usr/lib64/erlang/lib/xmpp-1.1.13/priv/lib/jid.so: cannot open shared object file: No such file or directory'"}}
2017-10-22 12:59:50.064 [error] <0.143.0> CRASH REPORT Process <0.143.0> with 0 neighbours exited with reason: {unable_to_load_nif,{xmpp,start,[normal,[]]}} in application_master:init/4 line 134
2017-10-22 12:59:50.064 [info] <0.31.0> Application xmpp exited with reason: {unable_to_load_nif,{xmpp,start,[normal,[]]}}
2017-10-22 12:59:50.066 [critical] <0.62.0>@ejabberd:exit_or_halt:131 failed to start application 'xmpp': {error,     
                                     {unable_to_load_nif,  
                                      {xmpp,start,[normal,[]]}}}

Comment 1 Fedora Update System 2017-10-22 18:16:14 UTC
ejabberd-17.07-1.fc27 erlang-xmpp-1.1.13-2.fc27 erlang-cache_tab-1.0.9-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-ea86747c37

Comment 2 Fedora Update System 2017-10-23 00:51:45 UTC
ejabberd-17.07-1.fc27, erlang-cache_tab-1.0.9-3.fc27, erlang-xmpp-1.1.13-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-ea86747c37

Comment 3 Fedora Update System 2017-11-11 03:01:13 UTC
ejabberd-17.07-1.fc27, erlang-cache_tab-1.0.9-3.fc27, erlang-xmpp-1.1.13-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.