Bug#906357: fwupd: FTBFS in buster/sid (dh_missing: missing files, aborting)
Package: src:fwupd
Version: 1.1.1-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
[ -f debian/control ] || debian/rules regenerate_control
dh build-indep --with gir,systemd
dh_update_autotools_config -i
dh_autoreconf -i
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
if pkg-config --exists libsmbios_c; then \
export DELL="-Dplugin_dell=true"; \
else \
export DELL="-Dplugin_dell=false"; \
fi; \
if pkg-config --exists efivar; then \
export UEFI="-Dplugin_uefi=true -Dplugin_redfish=true"; \
[... snipped ...]
Installing /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/fwupd.deps to /<<PKGBUILDDIR>>/debian/tmp/usr/share/vala/vapi
Installing /<<PKGBUILDDIR>>/policy/org.freedesktop.fwupd.rules to /<<PKGBUILDDIR>>/debian/tmp/usr/share/polkit-1/rules.d
Installing /<<PKGBUILDDIR>>/src/org.freedesktop.fwupd.xml to /<<PKGBUILDDIR>>/debian/tmp/usr/share/dbus-1/interfaces
Installing /<<PKGBUILDDIR>>/plugins/dfu/dfu.quirk to /<<PKGBUILDDIR>>/debian/tmp/usr/share/fwupd/quirks.d
Installing /<<PKGBUILDDIR>>/plugins/colorhug/colorhug.quirk to /<<PKGBUILDDIR>>/debian/tmp/usr/share/fwupd/quirks.d
Installing /<<PKGBUILDDIR>>/plugins/ebitdo/ebitdo.quirk to /<<PKGBUILDDIR>>/debian/tmp/usr/share/fwupd/quirks.d
Installing /<<PKGBUILDDIR>>/plugins/steelseries/steelseries.quirk to /<<PKGBUILDDIR>>/debian/tmp/usr/share/fwupd/quirks.d
Installing /<<PKGBUILDDIR>>/plugins/nitrokey/nitrokey.quirk to /<<PKGBUILDDIR>>/debian/tmp/usr/share/fwupd/quirks.d
Installing /<<PKGBUILDDIR>>/plugins/wacomhid/wacomhid.quirk to /<<PKGBUILDDIR>>/debian/tmp/usr/share/fwupd/quirks.d
Installing /<<PKGBUILDDIR>>/plugins/csr/csr-aiaiai.quirk to /<<PKGBUILDDIR>>/debian/tmp/usr/share/fwupd/quirks.d
Installing /<<PKGBUILDDIR>>/plugins/altos/altos.quirk to /<<PKGBUILDDIR>>/debian/tmp/usr/share/fwupd/quirks.d
Installing /<<PKGBUILDDIR>>/plugins/redfish/redfish.conf to /<<PKGBUILDDIR>>/debian/tmp/etc/fwupd
Installing /<<PKGBUILDDIR>>/plugins/dell/dell.quirk to /<<PKGBUILDDIR>>/debian/tmp/usr/share/fwupd/quirks.d
Installing /<<PKGBUILDDIR>>/plugins/uefi/uefi.conf to /<<PKGBUILDDIR>>/debian/tmp/etc/fwupd
Installing /<<PKGBUILDDIR>>/contrib/firmware-packager/firmware-packager to /<<PKGBUILDDIR>>/debian/tmp/usr/share/fwupd
Running custom install script '/usr/bin/python3 /usr/bin/meson --internal gtkdoc --sourcedir=/<<PKGBUILDDIR>> --builddir=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu --subdir=docs/libfwupd --headerdirs=/<<PKGBUILDDIR>>/libfwupd@@/<<PKGBUILDDIR>>/src@@/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libfwupd@@/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src --mainfile=libfwupd-docs.xml --modulename=libfwupd --mode=auto --content-files= --cflags=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 --ldflags=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now --cc=cc --ld=cc'
Running custom install script '/usr/bin/python3 /usr/bin/meson --internal gettext install --subdir=po --localedir=share/locale --pkgname=fwupd'
Running custom install script '/<<PKGBUILDDIR>>/po/make-images.sh /usr/share/locale'
Running custom install script '/<<PKGBUILDDIR>>/meson_post_install.sh /lib/systemd/system /var'
debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
find debian/tmp/usr -type f -name "*a" -print | xargs rm -f
sed -i 's,wheel,sudo,' ./debian/tmp/usr/share/polkit-1/rules.d/org.freedesktop.fwupd.rules
dh_install
#install the EFI binaries if needed
if [ -d debian/tmp/usr/lib/fwupd/efi/ ]; then \
dh_install -pfwupd usr/lib/fwupd/efi ;\
dh_install -pfwupd usr/lib/fwupd/fwupdate; \
fi
dh_install: No packages to build. Architecture mismatch: amd64, want: all amd64 arm64 armhf i386 linux-any
dh_install: No packages to build. Architecture mismatch: amd64, want: all amd64 arm64 armhf i386 linux-any
dh_missing --fail-missing
dh_missing: usr/lib/fwupd/fwupdate exists in debian/tmp but is not installed to anywhere
dh_missing: usr/lib/fwupd/efi/fwupdx64.efi exists in debian/tmp but is not installed to anywhere
dh_missing: missing files, aborting
The following debhelper tools have reported what they installed (with files per package)
* dh_install: fwupd (48), fwupd-amd64-signed-template (0), fwupd-arm64-signed-template (0), fwupd-armhf-signed-template (0), fwupd-doc (1), fwupd-i386-signed-template (0), fwupd-tests (3), gir1.2-fwupd-2.0 (1), libfwupd-dev (6), libfwupd2 (2)
If the missing files are installed by another tool, please file a bug against it.
When filing the report, if the tool is not part of debhelper itself, please reference the
"Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+).
(in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz)
Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built
For a short-term work-around: Add the files to debian/not-installed
make[1]: *** [debian/rules:57: override_dh_install] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:30: binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/fwupd.html
where you can get a full build log if you need it.
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
Reply to: