Package: src:libkarma Version: 0.1.2-11 Severity: important Tags: sid forky User: [email protected] Usertags: ftbfs-gcc-15
[This bug is NOT targeted to the upcoming trixie release] Please keep this issue open in the bug tracker for the package it was filed for. If a fix in another package is required, please file a bug for the other package (or clone), and add a block in this package. Please keep the issue open until the package can be built in a follow-up test rebuild. The package fails to build in a test rebuild on at least amd64 with gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The severity of this report will be raised before the forky release. The full build log can be found at: http://qa-logs.debian.net/2025/02/16/amd64exp/libkarma_0.1.2-11_unstable_gccexp.log.gz The last lines of the build log are at the end of this report. To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS. Other Common build failures are new warnings resulting in build failures with -Werror turned on, or new/dropped symbols in Debian symbols files. For other C/C++ related build failures see the porting guide at http://gcc.gnu.org/gcc-15/porting_to.html [...] karma.c:62:5: note: in expansion of macro ‘set_unimpl’ 62 | set_unimpl(get_all_file_details), | ^~~~~~~~~~ karma.c:41:12: note: ‘unimpl’ declared here 41 | static int unimpl() | ^~~~~~ karma.c:32:40: error: initialization of ‘int32_t (*)(int, uint32_t, char **)’ {aka ‘int (*)(int, unsigned int, char **)’} from incompatible pointer type ‘int (*)(void)’ [-Wincompatible-pointer-types] 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:63:5: note: in expansion of macro ‘set_unimpl’ 63 | set_unimpl(get_file_details), | ^~~~~~~~~~ karma.c:32:40: note: (near initialization for ‘usb_ops.lk_karma_get_file_details’) 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:63:5: note: in expansion of macro ‘set_unimpl’ 63 | set_unimpl(get_file_details), | ^~~~~~~~~~ karma.c:41:12: note: ‘unimpl’ declared here 41 | static int unimpl() | ^~~~~~ karma.c:32:40: error: initialization of ‘int32_t (*)(int, uint32_t)’ {aka ‘int (*)(int, unsigned int)’} from incompatible pointer type ‘int (*)(void)’ [-Wincompatible-pointer-types] 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:68:5: note: in expansion of macro ‘set_unimpl’ 68 | set_unimpl(format_storage), | ^~~~~~~~~~ karma.c:32:40: note: (near initialization for ‘usb_ops.lk_karma_format_storage’) 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:68:5: note: in expansion of macro ‘set_unimpl’ 68 | set_unimpl(format_storage), | ^~~~~~~~~~ karma.c:41:12: note: ‘unimpl’ declared here 41 | static int unimpl() | ^~~~~~ karma.c:32:40: error: initialization of ‘int32_t (*)(int, uint64_t, char *, char **)’ {aka ‘int (*)(int, long unsigned int, char *, char **)’} from incompatible pointer type ‘int (*)(void)’ [-Wincompatible-pointer-types] 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:69:5: note: in expansion of macro ‘set_unimpl’ 69 | set_unimpl(device_operation), | ^~~~~~~~~~ karma.c:32:40: note: (near initialization for ‘usb_ops.lk_karma_device_operation’) 32 | #define set_unimpl(x) .lk_karma_ ##x = unimpl | ^~~~~~ karma.c:69:5: note: in expansion of macro ‘set_unimpl’ 69 | set_unimpl(device_operation), | ^~~~~~~~~~ karma.c:41:12: note: ‘unimpl’ declared here 41 | static int unimpl() | ^~~~~~ karma.c:33:30: error: initialization of ‘void (*)(int)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 33 | #define set_unimpl_cast(x,y) (y) unimpl | ^ karma.c:71:5: note: in expansion of macro ‘set_unimpl_cast’ 71 | set_unimpl_cast(update_database, void (*)()), | ^~~~~~~~~~~~~~~ karma.c:33:30: note: (near initialization for ‘usb_ops.lk_karma_update_database’) 33 | #define set_unimpl_cast(x,y) (y) unimpl | ^ karma.c:71:5: note: in expansion of macro ‘set_unimpl_cast’ 71 | set_unimpl_cast(update_database, void (*)()), | ^~~~~~~~~~~~~~~ make[2]: *** [<builtin>: karma.o] Error 1 make[2]: Leaving directory '/build/reproducible-path/libkarma-0.1.2/src' make[1]: *** [Makefile:42: libkarma] Error 2 make[1]: Leaving directory '/build/reproducible-path/libkarma-0.1.2' dh_auto_build: error: make -j1 "INSTALL=install --strip-program=true" returned exit code 2 make: *** [debian/rules:17: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

