Bug#1031448: fwupd: FTBFS: ./obj-x86_64-linux-gnu/meson-private/tmp7p7957mh/./obj-x86_64-linux-gnu/meson-private/tmp7p7957mh/testfile.c:17: undefined reference to `gcab_cabinet_add_allowed_compression
Control: reassign -1 libflashrom-dev 1.3.0-2 Control: affects -1 fwupd Control: retitle -1 libfrashrom-dev missing dependency on pkg-config required libraries On Fri, Feb 17, 2023 at 06:34:17AM +0100, Lucas Nussbaum wrote: > Source: fwupd > Version: 1.8.10-2 > Severity: serious > Justification: FTBFS > Tags: bookworm sid ftbfs > User: lu...@debian.org > Usertags: ftbfs-20230216 ftbfs-bookworm > > Hi, > > During a rebuild of all packages in sid, your package failed to build > on amd64. > > > Relevant part (hopefully): [...] I believe this is the actual relevant part: Called `/usr/bin/pkg-config --cflags flashrom` -> 1 pkg-config error with 'flashrom': Could not generate cargs for flashrom: Package libjaylink was not found in the pkg-config search path. Perhaps you should add the directory containing `libjaylink.pc' to the PKG_CONFIG_PATH environment variable Package 'libjaylink', required by 'flashrom', not found > The full build log is available from: > http://qa-logs.debian.net/2023/02/16/fwupd_1.8.10-2_unstable.log [...] grep Requires usr/lib/*-linux-gnu/pkgconfig/flashrom.pc Requires.private: libpci, libusb-1.0, libftdi1, libjaylink The packages containing these .pc needs to be listed in Depends of libflashrom-dev. I'd suggest adding a trivial compile test as an autopkgtest using pkgconfig which I find is the easiest way to spot if the -dev package is missing dependencies listed in the pkg-config file. For example see: https://sources.debian.org/src/util-linux/2.38.1-5/debian/tests/libmount-dev/ Regards, Andreas Henriksson
Bug#1031448: fwupd: FTBFS: ./obj-x86_64-linux-gnu/meson-private/tmp7p7957mh/./obj-x86_64-linux-gnu/meson-private/tmp7p7957mh/testfile.c:17: undefined reference to `gcab_cabinet_add_allowed_compression
Source: fwupd Version: 1.8.10-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20230216 ftbfs-bookworm Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > /usr/bin/ld: /tmp/ccLdacAo.o: in function `main': > ./obj-x86_64-linux-gnu/meson-private/tmp7p7957mh/./obj-x86_64-linux-gnu/meson-private/tmp7p7957mh/testfile.c:17: > undefined reference to `gcab_cabinet_add_allowed_compression' > collect2: error: ld returned 1 exit status The full build log is available from: http://qa-logs.debian.net/2023/02/16/fwupd_1.8.10-2_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230216;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na=ign=7=7=only=ftbfs-20230216=lu...@debian.org=1=1=1=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.