Bug 1202232 - systemtap doesn't work because of wrong version in .so file
Summary: systemtap doesn't work because of wrong version in .so file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ruby
Version: 22
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
Assignee: Jeroen van Meeuwen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-16 07:53 UTC by Iveta Wiedermann
Modified: 2015-03-30 07:03 UTC (History)
8 users (show)

Fixed In Version: ruby-2.2.1-10.fc22
Clone Of:
: 1202241 (view as bug list)
Environment:
Last Closed: 2015-03-30 07:03:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Comment 1 Vít Ondruch 2015-03-20 15:59:15 UTC
Description of problem:
In spec file [0] there is libruby.so.%{ruby_version} where ruby_version = 2.2.1, but there should be still 2.2.0 used instead (/usr/lib64/libruby.so.2.2.0). Therefor systemtap doesn't work.

[0] http://pkgs.fedoraproject.org/cgit/ruby.git/tree/ruby.spec#n581

Version-Release number of selected component (if applicable):
ruby-2.2.1-9

How reproducible:
100%

Steps to Reproduce:
1. stap -v ruby-exercise.stp
2. wait for a few seconds
3.

Actual results:
Pass 1: parsed user script and 110 library script(s) using 213596virt/31072res/3064shr/28484data kb, in 140usr/10sys/1862real ms.
semantic error: while resolving probe point: identifier 'process' at /usr/share/systemtap/tapset/libruby.so.2.2.1.stp:33:7
        source:       process("/usr/lib*/libruby.so.2.2.1").mark("cmethod__entry")
                      ^

semantic error: glob /usr/lib*/libruby.so.2.2.1 error (3)


Expected results:
Systemtap starts without errors and run

Additional info:

Comment 2 Fedora Update System 2015-03-25 08:28:15 UTC
ruby-2.2.1-10.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/ruby-2.2.1-10.fc22

Comment 3 Fedora Update System 2015-03-29 04:48:26 UTC
Package ruby-2.2.1-10.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ruby-2.2.1-10.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-4908/ruby-2.2.1-10.fc22
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-03-30 07:03:41 UTC
ruby-2.2.1-10.fc22 has been pushed to the Fedora 22 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.