[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/lcas_1.3.19-2.1_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
[...]
| ^~~~~~~~~~~~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -I../interface -I./grid_credential_handling/gsi_handling/ -I./grid_credential_handling/x509_handling/ -D ALLOW_EMPTY_CREDENTIALS -D DEBUG_LEVEL=0 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O -Wuninitialized -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wpointer-arith -Wno-long-long -DLCAS_ETC_HOME=\"/etc/lcas/lcas\" -DLCAS_LIB_HOME=\"/usr/lib\" -DLCAS_MOD_HOME=\"/usr/lib/lcas\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lcas-1.3.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c grid_credential_handling/x509_handling/lcas_x509_utils.c -o grid_credential_handling/x509_handling/lcas_x509_utils.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -I../interface -I./grid_credential_handling/gsi_handling/ -I./grid_credential_handling/x509_handling/ -D ALLOW_EMPTY_CREDENTIALS -D DEBUG_LEVEL=0 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O -Wuninitialized -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wpointer-arith -Wno-long-long -D'LCAS_ETC_HOME="/etc/lcas/lcas"' -D'LCAS_LIB_HOME="/usr/lib"' -D'LCAS_MOD_HOME="/usr/lib/lcas"' -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lcas-1.3.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lcas_db_read.lo lcas_db_read.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -I../interface -I./grid_credential_handling/gsi_handling/ -I./grid_credential_handling/x509_handling/ -D ALLOW_EMPTY_CREDENTIALS -D DEBUG_LEVEL=0 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O -Wuninitialized -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wpointer-arith -Wno-long-long -DLCAS_ETC_HOME=\"/etc/lcas/lcas\" -DLCAS_LIB_HOME=\"/usr/lib\" -DLCAS_MOD_HOME=\"/usr/lib/lcas\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lcas-1.3.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c lcas_db_read.c -fPIC -DPIC -o .libs/lcas_db_read.o
lcas_db_read.c: In function 'lcas_db_fill_entry':
lcas_db_read.c:240:27: warning: the comparison will always evaluate as 'true' for the address of 'pluginname' will never be NULL [-Waddress]
240 | if (entry->pluginname != NULL)
| ^~
In file included from lcas_db_read.c:55:
_lcas_db_read.h:75:31: note: 'pluginname' declared here
75 | char pluginname[LCAS_MAXPATHLEN+1]; /*!< Name of authorization plugin/module */
| ^~~~~~~~~~
lcas_db_read.c:248:27: warning: the comparison will always evaluate as 'true' for the address of 'pluginargs' will never be NULL [-Waddress]
248 | if (entry->pluginargs != NULL)
| ^~
_lcas_db_read.h:76:31: note: 'pluginargs' declared here
76 | char pluginargs[LCAS_MAXARGSTRING+1]; /*!< Argument list to be passed to authorization plugin/module */
| ^~~~~~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -I../interface -I./grid_credential_handling/gsi_handling/ -I./grid_credential_handling/x509_handling/ -D ALLOW_EMPTY_CREDENTIALS -D DEBUG_LEVEL=0 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O -Wuninitialized -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wpointer-arith -Wno-long-long -DLCAS_ETC_HOME=\"/etc/lcas/lcas\" -DLCAS_LIB_HOME=\"/usr/lib\" -DLCAS_MOD_HOME=\"/usr/lib/lcas\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lcas-1.3.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c lcas_db_read.c -o lcas_db_read.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -I../interface -I./grid_credential_handling/gsi_handling/ -I./grid_credential_handling/x509_handling/ -D ALLOW_EMPTY_CREDENTIALS -D DEBUG_LEVEL=0 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O -Wuninitialized -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wpointer-arith -Wno-long-long -D'LCAS_ETC_HOME="/etc/lcas/lcas"' -D'LCAS_LIB_HOME="/usr/lib"' -D'LCAS_MOD_HOME="/usr/lib/lcas"' -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lcas-1.3.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lcas_utils.lo lcas_utils.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -I../interface -I./grid_credential_handling/gsi_handling/ -I./grid_credential_handling/x509_handling/ -D ALLOW_EMPTY_CREDENTIALS -D DEBUG_LEVEL=0 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O -Wuninitialized -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wpointer-arith -Wno-long-long -DLCAS_ETC_HOME=\"/etc/lcas/lcas\" -DLCAS_LIB_HOME=\"/usr/lib\" -DLCAS_MOD_HOME=\"/usr/lib/lcas\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lcas-1.3.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c lcas_utils.c -fPIC -DPIC -o .libs/lcas_utils.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -I../interface -I./grid_credential_handling/gsi_handling/ -I./grid_credential_handling/x509_handling/ -D ALLOW_EMPTY_CREDENTIALS -D DEBUG_LEVEL=0 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O -Wuninitialized -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wpointer-arith -Wno-long-long -DLCAS_ETC_HOME=\"/etc/lcas/lcas\" -DLCAS_LIB_HOME=\"/usr/lib\" -DLCAS_MOD_HOME=\"/usr/lib/lcas\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lcas-1.3.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c lcas_utils.c -o lcas_utils.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -I../interface -I./grid_credential_handling/gsi_handling/ -I./grid_credential_handling/x509_handling/ -D ALLOW_EMPTY_CREDENTIALS -D DEBUG_LEVEL=0 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O -Wuninitialized -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wpointer-arith -Wno-long-long -D'LCAS_ETC_HOME="/etc/lcas/lcas"' -D'LCAS_LIB_HOME="/usr/lib"' -D'LCAS_MOD_HOME="/usr/lib/lcas"' -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lcas-1.3.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lcas_log.lo lcas_log.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -I../interface -I./grid_credential_handling/gsi_handling/ -I./grid_credential_handling/x509_handling/ -D ALLOW_EMPTY_CREDENTIALS -D DEBUG_LEVEL=0 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O -Wuninitialized -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wpointer-arith -Wno-long-long -DLCAS_ETC_HOME=\"/etc/lcas/lcas\" -DLCAS_LIB_HOME=\"/usr/lib\" -DLCAS_MOD_HOME=\"/usr/lib/lcas\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lcas-1.3.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c lcas_log.c -fPIC -DPIC -o .libs/lcas_log.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -I../interface -I./grid_credential_handling/gsi_handling/ -I./grid_credential_handling/x509_handling/ -D ALLOW_EMPTY_CREDENTIALS -D DEBUG_LEVEL=0 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O -Wuninitialized -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wpointer-arith -Wno-long-long -DLCAS_ETC_HOME=\"/etc/lcas/lcas\" -DLCAS_LIB_HOME=\"/usr/lib\" -DLCAS_MOD_HOME=\"/usr/lib/lcas\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lcas-1.3.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c lcas_log.c -o lcas_log.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -I../interface -I./grid_credential_handling/gsi_handling/ -I./grid_credential_handling/x509_handling/ -D ALLOW_EMPTY_CREDENTIALS -D DEBUG_LEVEL=0 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O -Wuninitialized -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wpointer-arith -Wno-long-long -D'LCAS_ETC_HOME="/etc/lcas/lcas"' -D'LCAS_LIB_HOME="/usr/lib"' -D'LCAS_MOD_HOME="/usr/lib/lcas"' -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lcas-1.3.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lcas_pem.lo lcas_pem.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -I../interface -I./grid_credential_handling/gsi_handling/ -I./grid_credential_handling/x509_handling/ -D ALLOW_EMPTY_CREDENTIALS -D DEBUG_LEVEL=0 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O -Wuninitialized -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wpointer-arith -Wno-long-long -DLCAS_ETC_HOME=\"/etc/lcas/lcas\" -DLCAS_LIB_HOME=\"/usr/lib\" -DLCAS_MOD_HOME=\"/usr/lib/lcas\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lcas-1.3.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c lcas_pem.c -fPIC -DPIC -o .libs/lcas_pem.o
lcas_pem.c: In function 'lcas_pem':
lcas_pem.c:101:62: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size between 8 and 15 [-Wformat-truncation=]
101 | snprintf(lcas_log_string_default, string_size, "%s: %04d-%02d-%02d.%02d:%02d:%02d",
| ^~~~
lcas_pem.c:101:52: note: directive argument in the range [-2147483647, 2147483647]
101 | snprintf(lcas_log_string_default, string_size, "%s: %04d-%02d-%02d.%02d:%02d:%02d",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from lcas_pem.c:48:
In function 'snprintf',
inlined from 'lcas_pem' at lcas_pem.c:101:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 25 and 77 bytes into a destination of size 25
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -I../interface -I./grid_credential_handling/gsi_handling/ -I./grid_credential_handling/x509_handling/ -D ALLOW_EMPTY_CREDENTIALS -D DEBUG_LEVEL=0 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O -Wuninitialized -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wpointer-arith -Wno-long-long -DLCAS_ETC_HOME=\"/etc/lcas/lcas\" -DLCAS_LIB_HOME=\"/usr/lib\" -DLCAS_MOD_HOME=\"/usr/lib/lcas\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lcas-1.3.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c lcas_pem.c -o lcas_pem.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -I../interface -I./grid_credential_handling/gsi_handling/ -I./grid_credential_handling/x509_handling/ -D ALLOW_EMPTY_CREDENTIALS -D DEBUG_LEVEL=0 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O -Wuninitialized -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wpointer-arith -Wno-long-long -D'LCAS_ETC_HOME="/etc/lcas/lcas"' -D'LCAS_LIB_HOME="/usr/lib"' -D'LCAS_MOD_HOME="/usr/lib/lcas"' -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lcas-1.3.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o lcas.lo lcas.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/globus -I../interface -I./grid_credential_handling/gsi_handling/ -I./grid_credential_handling/x509_handling/ -D ALLOW_EMPTY_CREDENTIALS -D DEBUG_LEVEL=0 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O -Wuninitialized -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wpointer-arith -Wno-long-long -DLCAS_ETC_HOME=\"/etc/lcas/lcas\" -DLCAS_LIB_HOME=\"/usr/lib\" -DLCAS_MOD_HOME=\"/usr/lib/lcas\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lcas-1.3.19=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c lcas.c -fPIC -DPIC -o .libs/lcas.o
lcas.c: In function 'PluginInit':
lcas.c:744:13: error: too many arguments to function 'pplugin->procs[0]'; expected 0, have 2
744 | retval=(*(pplugin->procs[INITPROC]))(pplugin->argc,pplugin->argv);
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~
lcas.c: In function 'lcas_run_va':
lcas.c:1239:14: error: too many arguments to function 'authmod_entry->procs[1]'; expected 0, have 2
1239 | rc = authmod_entry->procs[AUTHPROC](request, lcas_cred);
| ^~~~~~~~~~~~~ ~~~~~~~
lcas.c:1263:18: error: too many arguments to function 'plugin_entry->procs[2]'; expected 0, have 4
1263 | rc = plugin_entry->procs[AUTHPROCX509](request, lcas_cred, px509, px509_chain);
| ^~~~~~~~~~~~ ~~~~~~~
lcas.c:1265:18: error: too many arguments to function 'plugin_entry->procs[1]'; expected 0, have 2
1265 | rc = plugin_entry->procs[AUTHPROC](request, lcas_cred);
| ^~~~~~~~~~~~ ~~~~~~~
make[3]: *** [Makefile:658: lcas.lo] Error 1
make[3]: Leaving directory '/build/reproducible-path/lcas-1.3.19/src'
make[2]: *** [Makefile:505: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/lcas-1.3.19/src'
make[1]: *** [Makefile:498: all-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/lcas-1.3.19'
make: *** [/usr/share/cdbs/1/class/makefile.mk:77: debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2