Bug 1437801

Summary: rubygem-thin 1.6.4-3 doesn't find its native library
Product: [Fedora] Fedora EPEL Reporter: Robert Führicht <robert.fuehricht>
Component: rubygem-thinAssignee: František Dvořák <valtri>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: epel7CC: jaruga, valtri
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-thin-1.7.0-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-07 09:28:46 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:
Attachments:
Description Flags
bumps the package and fixes the reported bug none

Description Robert Führicht 2017-03-31 08:42:36 UTC
Created attachment 1267772 [details]
bumps the package and fixes the reported bug

rubygem-thin 1.6.4-3

OS:
CentOS Linux release 7.3.1611 (Core)

Description of problem:

I've noticed a bug in the epel rubygem-thin package for el7:

Instead of

/usr/lib64/gems/ruby/thin-1.6.4/lib/thin_parser.so

the native lib is placed in

/usr/lib64/gems/ruby/thin-1.6.4/thin_parser.so

The attached file bumps the package and fixes this.
See the el7 rubygem-eventmachine package for reference.

Comment 1 Robert Führicht 2017-03-31 08:44:37 UTC
1.6.4-3 just dies with this when running the executable, even if it's just with --help:

/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- thin_parser (LoadError)
        from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/share/gems/gems/thin-1.6.4/lib/thin.rb:39:in `<top (required)>'
        from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/share/gems/gems/thin-1.6.4/bin/thin:5:in `<top (required)>'
        from /usr/bin/thin:23:in `load'
        from /usr/bin/thin:23:in `<main>'

Comment 2 Jun Aruga 2017-03-31 09:14:20 UTC
As a information, Fedora rawhide's rubygem-thin looks ok.

```
<mock-chroot> sh-4.4# rpm -q rubygem-thin
rubygem-thin-1.7.0-3.fc27.x86_64
<mock-chroot> sh-4.4# /usr/bin/thin --help | head
Usage: thin [options] start|stop|restart|config|install

Server options:
    -a, --address HOST               bind to HOST address (default: 0.0.0.0)
    -p, --port PORT                  use PORT (default: 3000)
    -S, --socket FILE                bind to unix domain socket
    -y, --swiftiply [KEY]            Run using swiftiply
    -A, --adapter NAME               Rack adapter to use (default: autodetect)
                                     (rack, rails, ramaze, merb, file)
    -R, --rackup FILE                Load a Rack config file instead of Rack adapter
```

Comment 3 Fedora Update System 2017-05-22 14:13:42 UTC
rubygem-thin-1.7.0-3.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-8a7f576d38

Comment 4 Fedora Update System 2017-05-23 03:55:21 UTC
rubygem-thin-1.7.0-3.el7 has been pushed to the Fedora EPEL 7 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-EPEL-2017-8a7f576d38

Comment 5 Fedora Update System 2017-06-07 09:28:46 UTC
rubygem-thin-1.7.0-3.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.