Bug 718695
Summary: | Load paths duplicated for i386 =>ActiveSupport build fails on i386 | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vít Ondruch <vondruch> | |
Component: | ruby | Assignee: | Jeroen van Meeuwen <vanmeeuwen+fedora> | |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rawhide | CC: | jeremy, mmorsi, mtasaka, tagoh, vanmeeuwen+fedora, vondruch | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | ruby-1.8.7.352-1.fc15 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 722887 (view as bug list) | Environment: | ||
Last Closed: | 2011-07-26 03:44:25 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 722887 |
Description
Vít Ondruch
2011-07-04 10:13:23 UTC
Any reason that mocha should raise error for this issue? (Well, it may be that there aren't any duplicate path, however I don't think raising error for this reason is preferable). That is not mocha issue. If you'll take a look closer on my steps to reproduce, you will see that there are duplicated paths for i386. The reason is because on x86_64 the paths are duplicated to load libraries from both, lib and lib64 where on i386 the lib64 falls back to lib and that creates the duplicated entries. (This is not ruby, however for example as root: # echo $PATH /usr/lib/qt-3.3/bin:/usr/lib/mpich2/bin:/usr//sbin:/usr//bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin So "duplicate path" is not ruby specific but somewhat common issue and we usually ignore this ) (In reply to comment #2) > That is not mocha issue. If you'll take a look closer on my steps to reproduce, > you will see that there are duplicated paths for i386. > > The reason is because on x86_64 the paths are duplicated to load libraries from > both, lib and lib64 where on i386 the lib64 falls back to lib and that creates > the duplicated entries. What I am saying is that I wonder there is any reason why mocha should complain and raise error for ruby that ruby has duplicate paths. In other words, I wonder why duplicate paths on ruby really matters on mocha (although it may be that fixing this is preferable) (In reply to comment #5) > In other words, I wonder why duplicate paths on ruby really matters on mocha > (although it may be that fixing this is preferable) Mocha is not complaining about anything. ActiveSupport test is complaining. Here [1] is the patch which introduces the test case. Unfortunately there is no other explanation. Since this problem is IMO introduced by ruby-1.8.7-lib-paths.patch patch, I would like to see it fixed in Fedora. [1] https://github.com/rails/rails/commit/4419497e403387a3cc93c4c1a3b6a07314a85e43 IMHO expecting no duplicate load path may be wrong assumption. though that may directly affects the performance to find libs out. so that should be better fixed, but it's another issue. ruby-1.8.7.352-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/ruby-1.8.7.352-1.fc14 ruby-1.8.7.352-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/ruby-1.8.7.352-1.fc15 Package ruby-1.8.7.352-1.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ruby-1.8.7.352-1.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/ruby-1.8.7.352-1.fc15 then log in and leave karma (feedback). I did not tested it yet, but thank you for the fix anyway :) ruby-1.8.7.352-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. ruby-1.8.7.352-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |