dh_strip fails if package uses debian/tmp for installation

Bug #173631 reported by Michael Bienia
2
Affects Status Importance Assigned to Milestone
pkg-create-dbgsym (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

Binary package hint: pkg-create-dbgsym

gtk-engines-mono uses debian/tmp for installation and dh_strip expects it in debian/gtk-engines-mono:

http://launchpadlibrarian.net/10688624/buildlog_ubuntu-hardy-amd64.gtk-engines-mono_0.0.5-1build1_FAILEDTOBUILD.txt.gz:
[...]
mkdir /build/buildd/gtk-engines-mono-0.0.5/debian/tmp/usr/lib
mkdir /build/buildd/gtk-engines-mono-0.0.5/debian/tmp/usr/lib/gtk
mkdir /build/buildd/gtk-engines-mono-0.0.5/debian/tmp/usr/lib/gtk/themes
mkdir /build/buildd/gtk-engines-mono-0.0.5/debian/tmp/usr/lib/gtk/themes/engines
/bin/sh ../libtool --mode=install /usr/bin/install -c libmono.la /build/buildd/gtk-engines-mono-0.0.5/debian/tmp/usr/lib/gtk/themes/engines/libmono.la
/usr/bin/install -c .libs/libmono.so /build/buildd/gtk-engines-mono-0.0.5/debian/tmp/usr/lib/gtk/themes/engines/libmono.so
/usr/bin/install -c .libs/libmono.lai /build/buildd/gtk-engines-mono-0.0.5/debian/tmp/usr/lib/gtk/themes/engines/libmono.la
libtool: install: warning: remember to run `libtool --finish /usr/lib/gtk/themes/engines'
[...]
touch install-stamp
dh_testdir
dh_testroot
dh_installdocs README
dh_installdocs: Compatibility levels before 4 are deprecated.
dh_installchangelogs
dh_installchangelogs: Compatibility levels before 4 are deprecated.
dh_strip
dh_strip debug symbol extraction: all non-arch-all packages for this build platform amd64: gtk-engines-mono
dh_strip debug symbol extraction: packages to act on: gtk-engines-mono
dh_strip debug symbol extraction: ignored packages:
Directory debian/gtk-engines-mono does not exist, aborting
make: *** [binary-arch] Error 1
******************************************************************************
Build finished at 20071202-0207
FAILED [dpkg-buildpackage died]

Revision history for this message
Michael Bienia (geser) wrote :

dvi2tty is also affected by that bug:

http://launchpadlibrarian.net/10186049/buildlog_ubuntu-hardy-i386.dvi2tty_5.3.1-4_FAILEDTOBUILD.txt.gz
[...]
# Add here commands to install the package into debian/tmp.
# /usr/bin/make install DESTDIR=`pwd`/debian/tmp
install -o root -g root -m 755 dvi2tty disdvi `pwd`/debian/tmp/usr/bin
install -o root -g root -m 644 dvi2tty.1 disdvi.1 `pwd`/debian/tmp/usr/share/man/man1
touch install-stamp
dh_testdir
dh_testroot
dh_installdocs
dh_installdocs: Compatibility levels before 4 are deprecated.
dh_installexamples
dh_installexamples: Compatibility levels before 4 are deprecated.
dh_installmanpages
dh_installmanpages: This program is deprecated, switch to dh_installman.
dh_installmanpages: Compatibility levels before 4 are deprecated.
dh_installinfo
dh_installinfo: Compatibility levels before 4 are deprecated.
dh_installchangelogs
dh_installchangelogs: Compatibility levels before 4 are deprecated.
dh_link
dh_link: Compatibility levels before 4 are deprecated.
dh_strip
dh_strip debug symbol extraction: all non-arch-all packages for this build platform i386: dvi2tty
dh_strip debug symbol extraction: packages to act on: dvi2tty
dh_strip debug symbol extraction: ignored packages:
Directory debian/dvi2tty does not exist, aborting
make: *** [binary-arch] Error 1
******************************************************************************

Revision history for this message
Michael Bienia (geser) wrote :
Martin Pitt (pitti)
Changed in pkg-create-dbgsym:
assignee: nobody → pitti
importance: Undecided → High
milestone: none → hardy-alpha-2
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

pkg-create-dbgsym (0.21) hardy; urgency=low

  * Add tests/dhtest.compat1override/: Declare debian/compat '4', but override
    it in debian/rules with DH_COMPAT=1. Reproduces the FTBFS of dvi2tty,
    flexml, and gtk-engines-mono.
  * dh_strip: Fix debhelper compatibility level detection so that DH_COMPAT
    overrides debian/compat. (LP: #173631)

 -- Martin Pitt <email address hidden> Tue, 04 Dec 2007 11:58:19 +0100

Changed in pkg-create-dbgsym:
status: In Progress → 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.