[Pkg-utopia-maintainers] Bug#738317: dbus: stage1 bootstrap build isn't working

Daniel Schepler dschepler at gmail.com
Sun Feb 9 04:55:02 UTC 2014


Source: dbus
Version: 1.8.0-1
Severity: wishlist

Thanks for including support for DEB_BUILD_PROFILE=stage1 to enable 
bootstrapping.  However, that doesn't seem to be working in this version:

...
   debian/rules override_dh_install
make[1]: Entering directory `/tmp/buildd/dbus-1.8.0'
install -d debian/tmp/usr/lib/x86_64-linux-gnu/dbus-1.0/test
rm -f debian/tmp/usr/lib/x86_64-linux-gnu/libdbus-1.la
rm -f debian/tmp/usr/lib/x86_64-linux-gnu/dbus-1.0/debug-
build/lib/libdbus-1.la
dh_install -plibdbus-1-3 \
                "usr/lib/x86_64-linux-gnu/libdbus-1.so.3*" \
                lib/x86_64-linux-gnu
dh_install -pdbus-udeb
dh_install -plibdbus-1-3-udeb \
                --sourcedir=debian/tmp-udeb \
                "usr/lib/x86_64-linux-gnu/libdbus-1.so.3*" \
                lib/x86_64-linux-gnu
dh_install --remaining-packages --list-missing -X/usr/share/man/
cp: cannot stat 'debian/tmp/debian/tmp/lib/systemd/system/dbus.service': No 
such file or directory
dh_install: cp -a debian/tmp/debian/tmp/lib/systemd/system/dbus.service 
debian/dbus//lib/systemd/system/ returned exit code 1
make[1]: *** [override_dh_install] Error 2
make[1]: Leaving directory `/tmp/buildd/dbus-1.8.0'
make: *** [binary] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2

I've worked around this by removing the systemd files from debian/dbus.install 
by hand just for this build, but that of course wouldn't be a suitable patch 
to apply to the official source package...  Maybe a suitable patch would be 
removing them from debian/dbus.install, and then doing a manual dh_install in 
debian/rules conditional on not being in a stage1 build?
-- 
Daniel Schepler



More information about the Pkg-utopia-maintainers mailing list