Package: src:libiodbc2 Version: 3.52.9-4 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/libiodbc2_3.52.9-4_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 [...] 108 | ret = proc plist; \ | ^~~~ connect.c: In function 'SQLConnect_Internal': connect.c:2114:37: error: too many arguments to function 'hproc'; expected 0, have 7 2114 | CALL_UDRIVER(hdbc, pdbc, retcode, hproc, penv->unicode_driver, | ^~~~~ 2115 | en_Connect, ( 2116 | pdbc->dhdbc, | ~~~~~~~~~~~ ./itrace.h:108:15: note: in definition of macro 'CALL_DRIVER' 108 | ret = proc plist; \ | ^~~~ connect.c:2114:3: note: in expansion of macro 'CALL_UDRIVER' 2114 | CALL_UDRIVER(hdbc, pdbc, retcode, hproc, penv->unicode_driver, | ^~~~~~~~~~~~ connect.c: In function 'SQLDriverConnect_Internal': connect.c:2629:17: error: too many arguments to function 'dialproc'; expected 0, have 6 2629 | retcode = dialproc (hwnd, /* window or display handle */ | ^~~~~~~~ ~~~~ connect.c:2810:38: error: too many arguments to function 'hproc'; expected 0, have 8 2810 | CALL_UDRIVER (hdbc, pdbc, retcode, hproc, penv->unicode_driver, | ^~~~~ 2811 | en_DriverConnect, (pdbc->dhdbc, | ~~~~~~~~~~~ ./itrace.h:108:15: note: in definition of macro 'CALL_DRIVER' 108 | ret = proc plist; \ | ^~~~ connect.c:2810:3: note: in expansion of macro 'CALL_UDRIVER' 2810 | CALL_UDRIVER (hdbc, pdbc, retcode, hproc, penv->unicode_driver, | ^~~~~~~~~~~~ make[3]: *** [Makefile:610: catalog.lo] Error 1 connect.c: In function 'SQLBrowseConnect_Internal': connect.c:3233:37: error: too many arguments to function 'hproc'; expected 0, have 6 3233 | CALL_UDRIVER(hdbc, pdbc, retcode, hproc, penv->unicode_driver, | ^~~~~ 3234 | en_BrowseConnect, ( 3235 | pdbc->dhdbc, | ~~~~~~~~~~~ ./itrace.h:108:15: note: in definition of macro 'CALL_DRIVER' 108 | ret = proc plist; \ | ^~~~ connect.c:3233:3: note: in expansion of macro 'CALL_UDRIVER' 3233 | CALL_UDRIVER(hdbc, pdbc, retcode, hproc, penv->unicode_driver, | ^~~~~~~~~~~~ connect.c: In function 'SQLNativeSql_Internal': connect.c:3527:37: error: too many arguments to function 'hproc'; expected 0, have 6 3527 | CALL_UDRIVER(hdbc, pdbc, retcode, hproc, penv->unicode_driver, | ^~~~~ 3528 | en_NativeSql, ( 3529 | pdbc->dhdbc, | ~~~~~~~~~~~ ./itrace.h:108:15: note: in definition of macro 'CALL_DRIVER' 108 | ret = proc plist; \ | ^~~~ connect.c:3527:3: note: in expansion of macro 'CALL_UDRIVER' 3527 | CALL_UDRIVER(hdbc, pdbc, retcode, hproc, penv->unicode_driver, | ^~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../iodbcinst -Wdate-time -D_FORTIFY_SOURCE=2 -DWITH_PTHREADS -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libiodbc2-3.52.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYSTEM_DIR=\"/usr/lib/x86_64-linux-gnu/odbc\" -DODBCVER=0x0350 -DIODBC_BUILD=8120326 -c dlproc.c -o dlproc.o >/dev/null 2>&1 make[3]: *** [Makefile:610: execute.lo] Error 1 make[3]: *** [Makefile:610: hdbc.lo] Error 1 make[3]: *** [Makefile:610: connect.lo] Error 1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../iodbcinst -Wdate-time -D_FORTIFY_SOURCE=2 -DWITH_PTHREADS -D_REENTRANT -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libiodbc2-3.52.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DSYSTEM_DIR=\"/usr/lib/x86_64-linux-gnu/odbc\" -DODBCVER=0x0350 -DIODBC_BUILD=8120326 -c henv.c -o henv.o >/dev/null 2>&1 make[3]: Leaving directory '/build/reproducible-path/libiodbc2-3.52.9/iodbc' make[2]: *** [Makefile:625: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/libiodbc2-3.52.9/iodbc' make[1]: *** [Makefile:593: all-recursive] Error 1 make[1]: Leaving directory '/build/reproducible-path/libiodbc2-3.52.9' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:8: binary] Error 255 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2