Package: debhelper
Version: 7.3.12
Severity: normal
This seems like the natural way to use a buildsystem, but it breaks:
#! /usr/bin/make -f
%:
dh -Bbuild $@
[...]
dh_compress -Bbuild
dh_fixperms -Bbuild
dh_strip -Bbuild
debian/rules override_dh_makeshlibs
make[1]: Entering directory
`/home/cjwatson/src/debian/debian-installer/trunk/debian-installer/packages/libdebian-installer'
dh_makeshlibs -plibdebian-installer4 -V \
--add-udeb=libdebian-installer4-udeb
dh_makeshlibs -plibdebian-installer-extra4 -V \
--add-udeb=libdebian-installer-extra4-udeb
make[1]: Leaving directory
`/home/cjwatson/src/debian/debian-installer/trunk/debian-installer/packages/libdebian-installer'
debian/rules override_dh_shlibdeps
make[1]: Entering directory
`/home/cjwatson/src/debian/debian-installer/trunk/debian-installer/packages/libdebian-installer'
dh_shlibdeps -N libdebian-installer-extra4 -N libdebian-installer-extra4-udeb
objdump: 'ild': No such file
dpkg-shlibdeps: warning: binaries to analyze should already be installed in
their package's directory.
dh_shlibdeps -p libdebian-installer-extra4 -p libdebian-installer-extra4-udeb
--
-L/home/cjwatson/src/debian/debian-installer/trunk/debian-installer/packages/libdebian-installer/debian/libdebian-installer-extra4.shlibs.local
objdump: 'ild': No such file
dpkg-shlibdeps: warning: binaries to analyze should already be installed in
their package's directory.
make[1]: Leaving directory
`/home/cjwatson/src/debian/debian-installer/trunk/debian-installer/packages/libdebian-installer'
dh_installdeb -Bbuild
dh_gencontrol -Bbuild
dpkg-gencontrol: unknown option `ild'
Usage: dpkg-gencontrol [<option> ...]
[...]
This is of course because, unless it's been told about the -B option by
buildsystems_init, Dh_Getopt parses this as -B -b -u=ild.
Both '-B=build' and '-B build' break in different ways; '-B=build' tries
to use a build directory called '=build', while 'dh -B build clean' does
nothing. '--builddirectory=build' works, though.
I don't know whether this is fixable without breaking other things. If
not, maybe this gotcha could at least be documented.
Thanks,
--
Colin Watson [[email protected]]
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]