Bug#804279: fwupd: FTBFS in sid/amd64: dh_install: fwupd missing files (lib/udev/rules.d/*), aborting
Version: 0.5.3-1
On 2015-11-06 22:07, Mario Limonciello wrote:
> I'm unsure how that would have happened, all the builds have been done
> from source.
I can reproduce this in sid pbuilder on amd64, i386, armhf (that's all
I have available).
Note that the buildd build does only arch dependent packages, while I
build full (arch dep + arch indep)
diffing the i386 buildd log to my pbuilder i386 log, I find the
following interesting differences:
@@ -1917,6 +1428,10 @@
checking for gcab... /usr/bin/gcab
checking for gpgme... yes
checking for UEFI... yes
+Package udev was not found in the pkg-config search path.
+Perhaps you should add the directory containing `udev.pc'
+to the PKG_CONFIG_PATH environment variable
+No package 'udev' found
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
@@ -3350,8 +2865,8 @@
/usr/bin/install -c -m 644 org.freedesktop.fwupd.conf '/«PKGBUILDDIR»/debian/tmp/etc/dbus-1/system.d'
/bin/mkdir -p '/«PKGBUILDDIR»/debian/tmp/lib/systemd/system'
/usr/bin/install -c -m 644 fwupd.service fwupd-offline-update.service '/«PKGBUILDDIR»/debian/tmp/lib/systemd/system'
- /bin/mkdir -p '/«PKGBUILDDIR»/debian/tmp/lib/udev/rules.d'
- /usr/bin/install -c -m 644 90-fwupd-devices.rules '/«PKGBUILDDIR»/debian/tmp/lib/udev/rules.d'
+ /bin/mkdir -p '/«PKGBUILDDIR»/debian/tmp/rules.d'
+ /usr/bin/install -c -m 644 90-fwupd-devices.rules '/«PKGBUILDDIR»/debian/tmp/rules.d'
make install-data-hook
make[5]: Entering directory '/«PKGBUILDDIR»/data'
mkdir -p /«PKGBUILDDIR»/debian/tmp/lib/systemd/system/system-update.target.wants
I built with libudev-dev:i386 (227-2), pkg-config (0.28-1)
buildd built with libudev-dev i386 227-2, pkg-config i386 0.28-1
$ apt-file search udev.pc
libudev-dev: /usr/lib/pkgconfig/libudev.pc
libudev-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/libudev.pc
udev: /usr/share/pkgconfig/udev.pc
Hmm, the buildd has udev installed in the chroot, I don't.
And the B-D don't pull it in.
Given that the two files provide different information, you may
need a
Build-Depends: udev
instead of or in addition to libudev-dev.
$ cat /usr/lib/x86_64-linux-gnu/pkgconfig/libudev.pc
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib/x86_64-linux-gnu
includedir=/usr/include
Name: libudev
Description: Library to access udev device information
Version: 227
Libs: -L${libdir} -ludev
Cflags: -I${includedir}
$ cat /usr/share/pkgconfig/udev.pc
Name: udev
Description: udev
Version: 227
udevdir=/lib/udev
Andreas
Reply to: