Package: src:dnf5 Version: 5.4.2.1-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202608/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:dnf5, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] [ 63%] Building CXX object libdnf5/CMakeFiles/libdnf5_obj.dir/utils/bootc.cpp.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libdnf5 && /usr/bin [too-long-redacted] LDDIR>>/libdnf5/utils/bootc.cpp In file included from /usr/include/json-c/json.h:33, from /<<PKGBUILDDIR>>/libdnf5/transaction/transaction_sr.cpp:27: /usr/include/json-c/linkhash.h:448:36: error: âlh_entry* lh_entry_prev(const lh_entry*)â defined but not used [-Werror=unused-function] 448 | static _LH_INLINE struct lh_entry *lh_entry_prev(const struct lh_entry *e) | ^~~~~~~~~~~~~ /usr/include/json-c/linkhash.h:438:36: error: âlh_entry* lh_entry_next(const lh_entry*)â defined but not used [-Werror=unused-function] 438 | static _LH_INLINE struct lh_entry *lh_entry_next(const struct lh_entry *e) | ^~~~~~~~~~~~~ /usr/include/json-c/linkhash.h:428:24: error: âvoid lh_entry_set_val(lh_entry*, void*)â defined but not used [-Werror=unused-function] 428 | static _LH_INLINE void lh_entry_set_val(struct lh_entry *e, void *newval) | ^~~~~~~~~~~~~~~~ /usr/include/json-c/linkhash.h:419:25: error: âvoid* lh_entry_v(const lh_entry*)â defined but not used [-Werror=unused-function] 419 | static _LH_INLINE void *lh_entry_v(const struct lh_entry *e) | ^~~~~~~~~~ /usr/include/json-c/linkhash.h:408:23: error: âint lh_entry_k_is_constant(const lh_entry*)â defined but not used [-Werror=unused-function] 408 | static _LH_INLINE int lh_entry_k_is_constant(const struct lh_entry *e) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/json-c/linkhash.h:398:25: error: âvoid* lh_entry_k(const lh_entry*)â defined but not used [-Werror=unused-function] 398 | static _LH_INLINE void *lh_entry_k(const struct lh_entry *e) | ^~~~~~~~~~ /usr/include/json-c/linkhash.h:376:33: error: âlong unsigned int lh_get_hash(const lh_table*, const void*)â defined but not used [-Werror=unused-function] 376 | static _LH_INLINE unsigned long lh_get_hash(const struct lh_table *t, const void *k) | ^~~~~~~~~~~ /usr/include/json-c/linkhash.h:360:36: error: âlh_entry* lh_table_head(const lh_table*)â defined but not used [-Werror=unused-function] 360 | static _LH_INLINE struct lh_entry *lh_table_head(const lh_table *t) | ^~~~~~~~~~~~~ In file included from /usr/include/json-c/json.h:33, from /<<PKGBUILDDIR>>/libdnf5/utils/bootc.cpp:27: /usr/include/json-c/linkhash.h:448:36: error: âlh_entry* lh_entry_prev(const lh_entry*)â defined but not used [-Werror=unused-function] 448 | static _LH_INLINE struct lh_entry *lh_entry_prev(const struct lh_entry *e) | ^~~~~~~~~~~~~ /usr/include/json-c/linkhash.h:438:36: error: âlh_entry* lh_entry_next(const lh_entry*)â defined but not used [-Werror=unused-function] 438 | static _LH_INLINE struct lh_entry *lh_entry_next(const struct lh_entry *e) | ^~~~~~~~~~~~~ /usr/include/json-c/linkhash.h:428:24: error: âvoid lh_entry_set_val(lh_entry*, void*)â defined but not used [-Werror=unused-function] 428 | static _LH_INLINE void lh_entry_set_val(struct lh_entry *e, void *newval) | ^~~~~~~~~~~~~~~~ /usr/include/json-c/linkhash.h:419:25: error: âvoid* lh_entry_v(const lh_entry*)â defined but not used [-Werror=unused-function] 419 | static _LH_INLINE void *lh_entry_v(const struct lh_entry *e) | ^~~~~~~~~~ /usr/include/json-c/linkhash.h:408:23: error: âint lh_entry_k_is_constant(const lh_entry*)â defined but not used [-Werror=unused-function] 408 | static _LH_INLINE int lh_entry_k_is_constant(const struct lh_entry *e) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/json-c/linkhash.h:398:25: error: âvoid* lh_entry_k(const lh_entry*)â defined but not used [-Werror=unused-function] 398 | static _LH_INLINE void *lh_entry_k(const struct lh_entry *e) | ^~~~~~~~~~ /usr/include/json-c/linkhash.h:376:33: error: âlong unsigned int lh_get_hash(const lh_table*, const void*)â defined but not used [-Werror=unused-function] 376 | static _LH_INLINE unsigned long lh_get_hash(const struct lh_table *t, const void *k) | ^~~~~~~~~~~ /usr/include/json-c/linkhash.h:360:36: error: âlh_entry* lh_table_head(const lh_table*)â defined but not used [-Werror=unused-function] 360 | static _LH_INLINE struct lh_entry *lh_table_head(const lh_table *t) | ^~~~~~~~~~~~~ cc1plus: all warnings being treated as errors make[3]: *** [libdnf5/CMakeFiles/libdnf5_obj.dir/build.make:1944: libdnf5/CMakeFiles/libdnf5_obj.dir/utils/bootc.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... cc1plus: all warnings being treated as errors make[3]: *** [libdnf5/CMakeFiles/libdnf5_obj.dir/build.make:1916: libdnf5/CMakeFiles/libdnf5_obj.dir/transaction/transaction_sr.cpp.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:1736: libdnf5/CMakeFiles/libdnf5_obj.dir/all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[1]: *** [Makefile:149: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2 make: *** [debian/rules:10: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

