dh_shlibdeps --remaining-packages reruns previous packages

Bug #716216 reported by Chase Douglas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debhelper (Ubuntu)
Fix Released
Critical
Unassigned
Natty
Fix Released
Critical
Unassigned

Bug Description

Binary package hint: debhelper

I attempted to build the qt4-x11 package today, and it died at the end. I ran "debuild -i -I -us -uc". Here's the relevant snippet:

# Exclude phonon deps from libqt4-phonon itself (they get injected there somehow)
dh_shlibdeps -plibqt4-phonon -- -xlibphonon4 -xlibqt4-phonon
# Kubuntu: assistant-qt4 links against libQtWebkit which we don't package in qt4-x11
# dependencies are manually added in debian/control
dh_shlibdeps -pqt4-dev-tools -Xusr/bin/assistant-qt4
dh_shlibdeps --remaining-packages
dpkg-shlibdeps: error: no dependency information found for /home/cndougla/Canonical/x/ubuntu/qt-pkg/qt4-x11-4.7.1/lib/libQtWebKit.so.4 (used by debian/qt4-dev-tools/usr/bin/assistant-qt4).
dh_shlibdeps: dpkg-shlibdeps -Tdebian/qt4-dev-tools.substvars debian/qt4-dev-tools/usr/bin/qdbusviewer debian/qt4-dev-tools/usr/bin/qhelpconverter debian/qt4-dev-tools/usr/bin/pixeltool debian/qt4-dev-tools/usr/bin/qvfb debian/qt4-dev-tools/usr/bin/xmlpatterns debian/qt4-dev-tools/usr/bin/qttracereplay debian/qt4-dev-tools/usr/bin/lconvert debian/qt4-dev-tools/usr/bin/xmlpatternsvalidator debian/qt4-dev-tools/usr/bin/linguist-qt4 debian/qt4-dev-tools/usr/bin/qhelpgenerator debian/qt4-dev-tools/usr/bin/qcollectiongenerator debian/qt4-dev-tools/usr/bin/qdoc3 debian/qt4-dev-tools/usr/bin/assistant-qt4 returned exit code 2

The last invocation of dh_shlibdeps is performed with --remaining-packages. This should run dpkg-shlibdeps on all the packages except libqt4-phonon and qt4-dev-tools. However, it ran dpkg-shlibdeps on qt4-dev-tools again, without -Xusr/bin/assistant-qt4, causing the build to fail.

I saw that debhelper had been updated recently, so I downgraded from 8.1.0ubuntu1 to 8.0.0ubuntu2 and attempted to finish the build with "fakeroot debian/rules binary". This finished properly.

Changed in debhelper (Ubuntu):
importance: Undecided → Critical
milestone: none → natty-alpha-3
Revision history for this message
Chase Douglas (chasedouglas) wrote :

I can't reproduce this by running dh_shlibdeps manually. My process is:

# Remove dh_shlibdeps from debhelper logs
for x in debian/*.debhelper.log; do (echo "g/dh_shlibdeps/d"; echo 'wq') | ex -s $x; done
# Run three dh_shlibdeps commands from debian/rules
dh_shlibdeps -plibqt4-phonon -- -xlibphonon4 -xlibqt4-phonon
dh_shlibdeps -pqt4-dev-tools -Xusr/bin/assistant-qt4
dh_shlibdeps --remaining-packages

I'm trying to patch qt4-x11 for multitouch work. I got it built locally for testing, so I'll push it to my ppa. If it builds there, I'll close this bug out as invalid and assume it's something wrong with my local setup.

Revision history for this message
Chase Douglas (chasedouglas) wrote :
tags: added: regression-release
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

this has just been fixed in 8.1.0, changing is as a sync request and processing it

Revision history for this message
Colin Watson (cjwatson) wrote :

Fixed in debhelper 8.1.1; I've just sponsored an upload of 8.1.1ubuntu1 (bug 716844).

Changed in debhelper (Ubuntu Natty):
status: New → 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.