Package: src:mpack Version: 1.6-18 Severity: important Tags: sid forky User: debian-...@lists.debian.org 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/mpack_1.6-18_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 [...] md5c.c: At top level: md5c.c:277:13: error: conflicting types for ‘Encode’; have ‘void(unsigned char *, UINT4 *, unsigned int)’ {aka ‘void(unsigned char *, unsigned int *, unsigned int)’} 277 | static void Encode (unsigned char *output, UINT4 *input, unsigned int len) | ^~~~~~ md5c.c:49:13: note: previous declaration of ‘Encode’ with type ‘void(void)’ 49 | static void Encode PROTO_LIST | ^~~~~~ md5c.c:292:13: error: conflicting types for ‘Decode’; have ‘void(UINT4 *, unsigned char *, unsigned int)’ {aka ‘void(unsigned int *, unsigned char *, unsigned int)’} 292 | static void Decode (UINT4 *output, unsigned char *input, unsigned int len) | ^~~~~~ md5c.c:51:13: note: previous declaration of ‘Decode’ with type ‘void(void)’ 51 | static void Decode PROTO_LIST | ^~~~~~ md5c.c:304:13: error: conflicting types for ‘MD5_memcpy’; have ‘void(unsigned char *, unsigned char *, unsigned int)’ 304 | static void MD5_memcpy (POINTER output, POINTER input, unsigned int len) | ^~~~~~~~~~ md5c.c:53:13: note: previous declaration of ‘MD5_memcpy’ with type ‘void(void)’ 53 | static void MD5_memcpy PROTO_LIST ((POINTER, POINTER, unsigned int)); | ^~~~~~~~~~ md5c.c:314:13: error: conflicting types for ‘MD5_memset’; have ‘void(unsigned char *, int, unsigned int)’ 314 | static void MD5_memset (POINTER output, int value, unsigned int len) | ^~~~~~~~~~ md5c.c:54:13: note: previous declaration of ‘MD5_memset’ with type ‘void(void)’ 54 | static void MD5_memset PROTO_LIST ((POINTER, int, unsigned int)); | ^~~~~~~~~~ md5c.c:48:13: warning: ‘MD5Transform’ used but never defined 48 | static void MD5Transform PROTO_LIST ((UINT4 [4], unsigned char [64])); | ^~~~~~~~~~~~ md5c.c:49:13: warning: ‘Encode’ used but never defined 49 | static void Encode PROTO_LIST | ^~~~~~ md5c.c:51:13: warning: ‘Decode’ used but never defined 51 | static void Decode PROTO_LIST | ^~~~~~ md5c.c:53:13: warning: ‘MD5_memcpy’ used but never defined 53 | static void MD5_memcpy PROTO_LIST ((POINTER, POINTER, unsigned int)); | ^~~~~~~~~~ md5c.c:54:13: warning: ‘MD5_memset’ used but never defined 54 | static void MD5_memset PROTO_LIST ((POINTER, int, unsigned int)); | ^~~~~~~~~~ make[2]: *** [Makefile:457: md5c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... codes.c: In function ‘md5contextTo64’: codes.c:107:5: error: too many arguments to function ‘MD5Final’; expected 0, have 2 107 | MD5Final(digest, context); | ^~~~~~~~ ~~~~~~ In file included from codes.c:42: md5.h:68:6: note: declared here 68 | void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *)); | ^~~~~~~~ codes.c: In function ‘md5digest’: codes.c:130:5: error: too many arguments to function ‘MD5Init’; expected 0, have 1 130 | MD5Init(&context); | ^~~~~~~ ~~~~~~~~ md5.h:65:6: note: declared here 65 | void MD5Init PROTO_LIST ((MD5_CTX *)); | ^~~~~~~ codes.c:133:9: error: too many arguments to function ‘MD5Update’; expected 0, have 3 133 | MD5Update(&context, buf, nbytes); | ^~~~~~~~~ ~~~~~~~~ md5.h:66:6: note: declared here 66 | void MD5Update PROTO_LIST | ^~~~~~~~~ make[2]: *** [Makefile:457: codes.o] Error 1 make[2]: Leaving directory '/build/reproducible-path/mpack-1.6' make[1]: *** [Makefile:338: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/mpack-1.6' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2