FTBFS due to multi-arching of qt4-x11

Bug #829165 reported by Scott Kitterman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-qt4 (Ubuntu)
Fix Released
High
Scott Kitterman
Oneiric
Fix Released
High
Scott Kitterman

Bug Description

FTBFS during the recent package rebuild:

https://launchpadlibrarian.net/77515571/buildlog_ubuntu-oneiric-i386.python-qt4_4.8.5-0ubuntu1_FAILEDTOBUILD.txt.gz

It built just a week ago:

https://launchpadlibrarian.net/77040417/buildlog_ubuntu-oneiric-i386.python-qt4_4.8.5-0ubuntu1_BUILDING.txt.gz

The relevant difference is where the designer plugin got installed. Pre-multi-arch:

Checking to see if the QtDesigner module should be built...
g++ -DQT_NO_DEBUG -I. -I/usr/mkspecs/linux-g++ -I/usr/include/qt4/QtDesigner -I/usr/include/qt4 -pipe -g -O2 -Os -w -D_REENTRANT cfgtest_QtDesigner.cpp -o cfgtest_QtDesigner -L/usr/lib -Wl,-Bsymbolic-functions -Wl,-O1 -lQtDesigner
Checking to see if the dbus support module should be built...
Qt v4.7.3 free edition is being used.
SIP 4.12.3 is being used.
The Qt header files are in /usr/include/qt4.
The shared Qt libraries are in /usr/lib.
The Qt binaries are in /usr/bin.
The Qt mkspecs directory is in /usr/share/qt4.
These PyQt modules will be built: QtCore, QtGui, QtHelp, QtNetwork,
QtDeclarative, QtOpenGL, QtScript, QtScriptTools, QtSql, QtSvg, QtTest,
QtWebKit, QtXml, QtXmlPatterns, phonon, QtAssistant, QtDesigner.
The PyQt Python package will be installed in /usr/lib/python2.7/dist-packages.
PyQt is being built with generated docstrings.
PyQt is being built with 'protected' redefined as 'public'.
The Designer plugin will be installed in /usr/lib/qt4/plugins/designer.

Post multi-arch:

Checking to see if the QtDesigner module should be built...
g++ -DQT_NO_DEBUG -I. -I/usr/mkspecs/linux-g++ -I/usr/include/qt4/QtDesigner -I/usr/include/qt4 -pipe -g -O2 -Os -w -D_REENTRANT cfgtest_QtDesigner.cpp -o cfgtest_QtDesigner -L/usr/lib -Wl,-Bsymbolic-functions -Wl,-O1
/tmp/ccil7ycr.o: In function `main':
/build/buildd/python-qt4-4.8.5/build-2.7/cfgtest_QtDesigner.cpp:5: undefined reference to `QExtensionFactory::QExtensionFactory(QExtensionManager*)'
collect2: ld returned 1 exit status
Checking to see if the dbus support module should be built...
Qt v4.7.3 free edition is being used.
SIP 4.12.4 is being used.
The Qt header files are in /usr/include/qt4.
The shared Qt libraries are in /usr/lib/i386-linux-gnu.
The Qt binaries are in /usr/bin.
The Qt mkspecs directory is in /usr/share/qt4.
These PyQt modules will be built: QtCore.
The PyQt Python package will be installed in /usr/lib/python2.7/dist-packages.
PyQt is being built with generated docstrings.
PyQt is being built with 'protected' redefined as 'public'.
The Designer plugin will be installed in
/usr/lib/i386-linux-gnu/qt4/plugins/designer.

So when debian.rules gets to:

sed -i -e '/strip/ d' /build/buildd/python-qt4-4.8.5/build-2.7/designer/Makefile

It's not a happy result.

Related branches

Changed in python-qt4 (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-11.10-beta-1
tags: added: multiarch
Revision history for this message
Steve Langasek (vorlon) wrote :

This is in fact a regression in the new version of sip4 that was uploaded. It looks to be caused by a Debian-specific patch that removes all linker options; presumably the underlying code has changed since that patch was written, since it's not a new patch.

affects: python-qt4 (Ubuntu Oneiric) → sip4 (Ubuntu Oneiric)
Changed in sip4 (Ubuntu Oneiric):
assignee: nobody → Scott Kitterman (kitterman)
milestone: ubuntu-11.10-beta-1 → none
status: New → Triaged
Matthias Klose (doko)
tags: added: ftbfs
affects: sip4 (Ubuntu Oneiric) → python-qt4 (Ubuntu Oneiric)
Revision history for this message
Scott Kitterman (kitterman) wrote :

There is (in addition to the related sip4 issue) also a multiarch issue that I'll upload a fix for shortly.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-qt4 - 4.8.5-0ubuntu2

---------------
python-qt4 (4.8.5-0ubuntu2) oneiric; urgency=low

  * Update install path in debian/python-qt4.install for multiarch
    (LP: #829165)
 -- Scott Kitterman <email address hidden> Fri, 19 Aug 2011 13:54:51 -0400

Changed in python-qt4 (Ubuntu Oneiric):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.