Package: src:virtuoso-opensource Version: 7.2.12+dfsg-0.2 Severity: important Tags: sid trixie User: [email protected] Usertags: ftbfs-gcc-14
[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The severity of this report will be raised before the trixie release. The full build log can be found at: http://qa-logs.debian.net/2024/07/01/virtuoso-opensource_7.2.12+dfsg-0.2_unstable_gccexp.log The last lines of the build log are at the end of this report. To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ 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-14/porting_to.html [...] 1373 | last_len_chars = virt_mbsnrtowcs (NULL, &ptr, ses->dks_out_fill, 0, &mb); | ^~~~ | | | unsigned char ** ../../libsrc/util/utf8funs.h:52:68: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’ 52 | extern size_t virt_mbsnrtowcs (wchar_t *dst, const unsigned char **src, size_t nmc, size_t len, virt_mbstate_t *ps); | ~~~~~~~~~~~~~~~~~~~~~~^~~ Dksesstr.c:1374:30: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare] 1374 | if (last_len_chars == (size_t) - 1) | ^~ Dksesstr.c: In function ‘read_wides_from_utf8_file’: Dksesstr.c:1461:58: error: passing argument 2 of ‘virt_mbsnrtowcs’ from incompatible pointer type [-Wincompatible-pointer-types] 1461 | converted = virt_mbsnrtowcs ((wchar_t *) dest, &data_ptr, readed, nchars, &mb); | ^~~~~~~~~ | | | unsigned char ** ../../libsrc/util/utf8funs.h:52:68: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’ 52 | extern size_t virt_mbsnrtowcs (wchar_t *dst, const unsigned char **src, size_t nmc, size_t len, virt_mbstate_t *ps); | ~~~~~~~~~~~~~~~~~~~~~~^~~ Dksesstr.c: In function ‘strses_get_wide_part’: Dksesstr.c:1505:37: error: passing argument 2 of ‘virt_mbsnrtowcs’ from incompatible pointer type [-Wincompatible-pointer-types] 1505 | if (virt_mbsnrtowcs (buf, &data_ptr, | ^~~~~~~~~ | | | unsigned char ** ../../libsrc/util/utf8funs.h:52:68: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’ 52 | extern size_t virt_mbsnrtowcs (wchar_t *dst, const unsigned char **src, size_t nmc, size_t len, virt_mbstate_t *ps); | ~~~~~~~~~~~~~~~~~~~~~~^~~ Dksesstr.c:1549:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1549 | if (-1 == readed) | ^~ Dksesstr.c:1578:50: error: passing argument 2 of ‘virt_mbsnrtowcs’ from incompatible pointer type [-Wincompatible-pointer-types] 1578 | if ((converted = virt_mbsnrtowcs (buf, &data_ptr_start, | ^~~~~~~~~~~~~~~ | | | unsigned char ** ../../libsrc/util/utf8funs.h:52:68: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’ 52 | extern size_t virt_mbsnrtowcs (wchar_t *dst, const unsigned char **src, size_t nmc, size_t len, virt_mbstate_t *ps); | ~~~~~~~~~~~~~~~~~~~~~~^~~ Dksesstr.c: In function ‘strses_readtable_initialize’: Dksesstr.c:1793:37: warning: cast between incompatible function types from ‘void (*)(char *, dk_session_t *)’ {aka ‘void (*)(char *, struct dk_session_s *)’} to ‘int (*)(const void *, dk_session_t *)’ {aka ‘int (*)(const void *, struct dk_session_s *)’} [-Wcast-function-type] 1793 | PrpcSetWriter (DV_STRING_SESSION, (ses_write_func) strses_serialize); | ^ make[4]: *** [Makefile:1241: libdksrv_la-Dksesstr.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wformat -Werror=format-security -Werror=implicit-function-declaration -DNDEBUG -DPOINTER_64 -I/<<PKGBUILDDIR>>/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -I../../libsrc -I/usr/include/tirpc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -c Dksets.c -fPIC -DPIC -o .libs/libdksrv_la-Dksets.o Dksestcp.c: In function ‘tcpses_listen’: Dksestcp.c:485:14: warning: variable ‘p_addr’ set but not used [-Wunused-but-set-variable] 485 | saddrin_t *p_addr; | ^~~~~~ Dksestcp.c: In function ‘test_broken’: Dksestcp.c:1982:48: warning: unused parameter ‘eno’ [-Wunused-parameter] 1982 | test_broken (session_t * ses, int retcode, int eno) | ~~~~^~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wformat -Werror=format-security -Werror=implicit-function-declaration -DNDEBUG -DPOINTER_64 -I/<<PKGBUILDDIR>>/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -I../../libsrc -I/usr/include/tirpc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -c Dksets.c -o libdksrv_la-Dksets.o >/dev/null 2>&1 Dksestcp.c: In function ‘tcpses_set_address’: Dksestcp.c:301:13: warning: ‘__builtin_strncpy’ specified bound 100 equals destination size [-Wstringop-truncation] 301 | strncpy (p_name, stringplace, sizeof (ses->ses_device->dev_address->a_hostname)); | ^ libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wformat -Werror=format-security -Werror=implicit-function-declaration -DNDEBUG -DPOINTER_64 -I/<<PKGBUILDDIR>>/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -I../../libsrc -I/usr/include/tirpc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -c Dksestcp.c -o libdksrv_la-Dksestcp.o >/dev/null 2>&1 make[4]: Leaving directory '/<<PKGBUILDDIR>>/libsrc/Dk' make[3]: *** [Makefile:661: all] Error 2 make[3]: Leaving directory '/<<PKGBUILDDIR>>/libsrc/Dk' make[2]: *** [Makefile:498: all-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>/libsrc' make[1]: *** [Makefile:694: all-recursive] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:18: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
