Bug 1437801 - rubygem-thin 1.6.4-3 doesn't find its native library
Summary: rubygem-thin 1.6.4-3 doesn't find its native library
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: rubygem-thin
Version: epel7
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: František Dvořák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-31 08:42 UTC by Robert Führicht
Modified: 2017-06-07 09:28 UTC (History)
2 users (show)

Fixed In Version: rubygem-thin-1.7.0-3.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-07 09:28:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
bumps the package and fixes the reported bug (1.66 KB, patch)
2017-03-31 08:42 UTC, Robert Führicht
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.