Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Cannot rebuild graphviz for ppc64, when ruby-devel,ruby-libs are installed in both ppc and ppc64.
Configure detects ruby libs in /usr/lib instead of /usr/lib64 and later puts compiled ruby bindings into wrong directory, which causes fail.
When only ruby-devel.ppc is removed (ruby-devel.ppc64 ruby-libs.{ppc,ppc64} are isntalled), configure disables ruby bindings because ruby.h is not usable.
Version-Release number of selected component (if applicable):
2.26.0-7
How reproducible:
Always
Steps to Reproduce:
1. Make sure to have both ruby-devel.ppc and ruby-devel.ppc64 installed (with ruby-libs dependency)
2. Rebuild srpm.
Actual results:
Rebuild fails with:
Processing files: graphviz-ruby-2.26.0-7.el6.ppc64
error: File not found by glob: /usr/src/redhat/BUILDROOT/graphviz-2.26.0-7.el6.ppc64/usr/lib64/*ruby*/*
error: File not found by glob: /usr/src/redhat/BUILDROOT/graphviz-2.26.0-7.el6.ppc64/usr/share/man/man3/gv.3ruby*
Expected results:
Graphviz package rebuild succeeded.
Comment 2RHEL Program Management
2011-07-08 13:18:25 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.
Comment 3Jaroslav Škarvada
2011-07-10 21:51:36 UTC
This is not only ppc64 issue, I also reproduced this on x86_64.
Comment 4Jaroslav Škarvada
2011-07-10 22:01:02 UTC
The problem seems to be in ruby, because on multilib it prefers reading rbconfig from lib. I think it should prefer reading rbconfig from lib64.
Reproducer:
# yum install ruby-devel.x86_64 ruby-devel.i686 ruby-libs.x86_64 ruby-libs.i686
# ruby -e "require 'rbconfig';puts Config::expand(Config::MAKEFILE_CONFIG['libdir'])"
/usr/lib
I think it should return /usr/lib64 by default as with:
# RUBYLIB=/usr/lib64/ruby/1.8:/usr/lib/ruby/1.8 ruby -e "require 'rbconfig';puts Config::expand(Config::MAKEFILE_CONFIG['libdir'])"
/usr/lib64
CCing ruby maintainer to get his opinion.
Comment 5Jaroslav Škarvada
2011-07-10 22:04:19 UTC
Comment 6Jaroslav Škarvada
2011-07-11 07:31:03 UTC
After consultation with Vit Ondruch (ruby maintainer) closing this as dupe of 674787. It will be fixed in ruby - it is approved component.
*** This bug has been marked as a duplicate of bug 674787 ***
Description of problem: Cannot rebuild graphviz for ppc64, when ruby-devel,ruby-libs are installed in both ppc and ppc64. Configure detects ruby libs in /usr/lib instead of /usr/lib64 and later puts compiled ruby bindings into wrong directory, which causes fail. When only ruby-devel.ppc is removed (ruby-devel.ppc64 ruby-libs.{ppc,ppc64} are isntalled), configure disables ruby bindings because ruby.h is not usable. Version-Release number of selected component (if applicable): 2.26.0-7 How reproducible: Always Steps to Reproduce: 1. Make sure to have both ruby-devel.ppc and ruby-devel.ppc64 installed (with ruby-libs dependency) 2. Rebuild srpm. Actual results: Rebuild fails with: Processing files: graphviz-ruby-2.26.0-7.el6.ppc64 error: File not found by glob: /usr/src/redhat/BUILDROOT/graphviz-2.26.0-7.el6.ppc64/usr/lib64/*ruby*/* error: File not found by glob: /usr/src/redhat/BUILDROOT/graphviz-2.26.0-7.el6.ppc64/usr/share/man/man3/gv.3ruby* Expected results: Graphviz package rebuild succeeded.