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.

Bug 1093185

Summary: FTBFS: incorrect use of python_sitelib when it should be python_sitearch
Product: Red Hat Enterprise Linux 7 Reporter: Pat Riehecky <riehecky>
Component: PyQt4Assignee: Than Ngo <than>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: csieh, kbsingh, misterbonnie, tis
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-02 10:46:31 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
mock config for replication
none
Spec file changes to resolve issue none

Description Pat Riehecky 2014-04-30 20:47:46 UTC
Created attachment 891291 [details]
mock config for replication

Description of problem:PyQt4-4.10.1-12.el7 cannot be rebuilt on RHEL 7 x86_64 RC.  There are several commands in %install which assume incorrect paths.


Version-Release number of selected component (if applicable):PyQt4-4.10.1-12.el7 


How reproducible:100%


Steps to Reproduce:
1.attempt mock rebuild
2.fails
3.

Actual results:
cp -f pyqtconfig.py /builddir/build/BUILDROOT/PyQt4-4.10.1-12.el7.x86_64/usr/lib64/python2.7/site-packages/PyQt4/pyqtconfig.py
+ chrpath --list /builddir/build/BUILDROOT/PyQt4-4.10.1-12.el7.x86_64/usr/lib64/python2.7/site-packages/PyQt4/QtCore.so
/builddir/build/BUILDROOT/PyQt4-4.10.1-12.el7.x86_64/usr/lib64/python2.7/site-packages/PyQt4/QtCore.so: no rpath or runpath tag found.
+ :
+ chrpath --list /builddir/build/BUILDROOT/PyQt4-4.10.1-12.el7.x86_64/usr/lib64/python2.7/site-packages/PyQt4/QtGui.so
/builddir/build/BUILDROOT/PyQt4-4.10.1-12.el7.x86_64/usr/lib64/python2.7/site-packages/PyQt4/QtGui.so: no rpath or runpath tag found.
+ :
+ chrpath --list /builddir/build/BUILDROOT/PyQt4-4.10.1-12.el7.x86_64/usr/lib64/python2.7/site-packages/PyQt4/QtDeclarative.so
/builddir/build/BUILDROOT/PyQt4-4.10.1-12.el7.x86_64/usr/lib64/python2.7/site-packages/PyQt4/QtDeclarative.so: no rpath or runpath tag found.
+ :
+ chrpath --list /builddir/build/BUILDROOT/PyQt4-4.10.1-12.el7.x86_64/usr/lib64/python2.7/site-packages/PyQt4/QtDesigner.so
/builddir/build/BUILDROOT/PyQt4-4.10.1-12.el7.x86_64/usr/lib64/python2.7/site-packages/PyQt4/QtDesigner.so: no rpath or runpath tag found.
+ :
+ chrpath --list /builddir/build/BUILDROOT/PyQt4-4.10.1-12.el7.x86_64/usr/lib64/python2.7/site-packages/PyQt4/QtOpenGL.so
/builddir/build/BUILDROOT/PyQt4-4.10.1-12.el7.x86_64/usr/lib64/python2.7/site-packages/PyQt4/QtOpenGL.so: no rpath or runpath tag found.
+ :
+ chrpath --list /builddir/build/BUILDROOT/PyQt4-4.10.1-12.el7.x86_64/usr/lib/python2.7/site-packages/dbus/mainloop/qt.so
open: No such file or directory
elf_open: Invalid argument
+ :
+ mkdir -p /builddir/build/BUILDROOT/PyQt4-4.10.1-12.el7.x86_64/usr/lib64/python2.7/site-packages/_dbus_qt
+ mv /builddir/build/BUILDROOT/PyQt4-4.10.1-12.el7.x86_64/usr/lib/python2.7/site-packages/dbus/mainloop/qt.so /builddir/build/BUILDROOT/PyQt4-4.10.1-12.el7.x86_64/usr/lib64/python2.7/site-packages/_dbus_qt/qt.so
mv: cannot stat '/builddir/build/BUILDROOT/PyQt4-4.10.1-12.el7.x86_64/usr/lib/python2.7/site-packages/dbus/mainloop/qt.so': No such file or directory
RPM build errors:

Expected results:
builds without error

Additional info:

Comment 1 Pat Riehecky 2014-04-30 20:48:23 UTC
Created attachment 891292 [details]
Spec file changes to resolve issue

This patch fixes the build error.

Comment 3 Than Ngo 2014-05-02 10:46:31 UTC

*** This bug has been marked as a duplicate of bug 1091900 ***

Comment 4 manuel wolfshant 2014-05-02 11:12:03 UTC
" You are not authorized to access bug #1091900. "

Comment 5 Pat Riehecky 2014-05-02 19:11:14 UTC
Indeed, any chance this bug can be made public?