[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1097244: libpam-x2go: ftbfs with GCC-15



Package: src:libpam-x2go
Version: 0.0.2.0-3.1
Severity: important
Tags: sid forky
User: debian-gcc@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/libpam-x2go_0.0.2.0-3.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

[...]
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
touch debian/stamp-autotools
/usr/bin/make -C . 
make[1]: Entering directory '/build/reproducible-path/libpam-x2go-0.0.2.0'
/usr/bin/make  all-recursive
make[2]: Entering directory '/build/reproducible-path/libpam-x2go-0.0.2.0'
Making all in src
make[3]: Entering directory '/build/reproducible-path/libpam-x2go-0.0.2.0/src'
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2    -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o x2go_auth_check-x2go-auth-check.o `test -f 'x2go-auth-check.c' || echo './'`x2go-auth-check.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc    -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection   -Wl,-z,relro -Wl,-z,now -o x2go-auth-check x2go_auth_check-x2go-auth-check.o  -lssh   
libtool: link: gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o x2go-auth-check x2go_auth_check-x2go-auth-check.o  -lssh
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -DAUTH_CHECK="\"/usr/lib/libpam-x2go/x2go-auth-check\""   -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o pam_x2go_la-auth-check-path.lo `test -f 'auth-check-path.c' || echo './'`auth-check-path.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -DAUTH_CHECK=\"/usr/lib/libpam-x2go/x2go-auth-check\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c auth-check-path.c  -fPIC -DPIC -o .libs/pam_x2go_la-auth-check-path.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -DAUTH_CHECK=\"/usr/lib/libpam-x2go/x2go-auth-check\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c auth-check-path.c -o pam_x2go_la-auth-check-path.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -DAUTH_CHECK="\"/usr/lib/libpam-x2go/x2go-auth-check\""   -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o pam_x2go_la-pam-x2go.lo `test -f 'pam-x2go.c' || echo './'`pam-x2go.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -DAUTH_CHECK=\"/usr/lib/libpam-x2go/x2go-auth-check\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c pam-x2go.c  -fPIC -DPIC -o .libs/pam_x2go_la-pam-x2go.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -DAUTH_CHECK=\"/usr/lib/libpam-x2go/x2go-auth-check\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c pam-x2go.c -o pam_x2go_la-pam-x2go.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -DAUTH_CHECK="\"/usr/lib/libpam-x2go/x2go-auth-check\""   -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o pam_x2go_la-pam-x2go-children.lo `test -f 'pam-x2go-children.c' || echo './'`pam-x2go-children.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -DAUTH_CHECK=\"/usr/lib/libpam-x2go/x2go-auth-check\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c pam-x2go-children.c  -fPIC -DPIC -o .libs/pam_x2go_la-pam-x2go-children.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -DAUTH_CHECK=\"/usr/lib/libpam-x2go/x2go-auth-check\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c pam-x2go-children.c -o pam_x2go_la-pam-x2go-children.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=link gcc -Wall -Werror -DAUTH_CHECK="\"/usr/lib/libpam-x2go/x2go-auth-check\""   -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -no-undefined -module -avoid-version   -Wl,-z,relro -Wl,-z,now -o pam_x2go.la -rpath /usr/lib/security pam_x2go_la-auth-check-path.lo pam_x2go_la-pam-x2go.lo pam_x2go_la-pam-x2go-children.lo  -lpam  
libtool: link: gcc -shared  -fPIC -DPIC  .libs/pam_x2go_la-auth-check-path.o .libs/pam_x2go_la-pam-x2go.o .libs/pam_x2go_la-pam-x2go-children.o   -lpam  -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now   -Wl,-soname -Wl,pam_x2go.so -o .libs/pam_x2go.so
libtool: link: ar cr .libs/pam_x2go.a  pam_x2go_la-auth-check-path.o pam_x2go_la-pam-x2go.o pam_x2go_la-pam-x2go-children.o
libtool: link: ranlib .libs/pam_x2go.a
libtool: link: ( cd ".libs" && rm -f "pam_x2go.la" && ln -s "../pam_x2go.la" "pam_x2go.la" )
make[3]: Leaving directory '/build/reproducible-path/libpam-x2go-0.0.2.0/src'
Making all in tests
make[3]: Entering directory '/build/reproducible-path/libpam-x2go-0.0.2.0/tests'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/reproducible-path/libpam-x2go-0.0.2.0/tests'
make[3]: Entering directory '/build/reproducible-path/libpam-x2go-0.0.2.0'
make[3]: Leaving directory '/build/reproducible-path/libpam-x2go-0.0.2.0'
make[2]: Leaving directory '/build/reproducible-path/libpam-x2go-0.0.2.0'
make[1]: Leaving directory '/build/reproducible-path/libpam-x2go-0.0.2.0'
touch debian/stamp-makefile-build
/usr/bin/make -C . check
make[1]: Entering directory '/build/reproducible-path/libpam-x2go-0.0.2.0'
Making check in src
make[2]: Entering directory '/build/reproducible-path/libpam-x2go-0.0.2.0/src'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/build/reproducible-path/libpam-x2go-0.0.2.0/src'
Making check in tests
make[2]: Entering directory '/build/reproducible-path/libpam-x2go-0.0.2.0/tests'
/usr/bin/make  test-x2go-auth test-x2go-wrapper   libgtest.a libgtest_main.a
make[3]: Entering directory '/build/reproducible-path/libpam-x2go-0.0.2.0/tests'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/src/gtest  -I../src -Wall -Werror  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-x2go-auth.o test-x2go-auth.c
/bin/bash ../libtool  --tag=CC   --mode=link gcc -Wall -g  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wl,-z,relro -Wl,-z,now -o test-x2go-auth test-x2go-auth.o   
libtool: link: gcc -Wall -g -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o test-x2go-auth test-x2go-auth.o 
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/src/gtest  -I../src -Wall -Werror  -I../include -I../src -I/usr/src/gtest   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test_x2go_wrapper-mock_pam.o `test -f 'mock_pam.c' || echo './'`mock_pam.c
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/src/gtest  -I../src -Wall -Werror  -I../include -I../src -I/usr/src/gtest   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test_x2go_wrapper-mock_guest.o `test -f 'mock_guest.c' || echo './'`mock_guest.c
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/src/gtest  -I../src -Wall -Werror  -I../include -I../src -I/usr/src/gtest   -Wdate-time -D_FORTIFY_SOURCE=2    -DAUTH_CHECK="\"/build/reproducible-path/libpam-x2go-0.0.2.0/tests/test-x2go-auth\""    -g -O2 -ffile-prefix-map=/build/reproducible-path/libpam-x2go-0.0.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test_x2go_wrapper-test-x2go-wrapper.o `test -f 'test-x2go-wrapper.cc' || echo './'`test-x2go-wrapper.cc
In file included from /usr/include/gtest/internal/gtest-port.h:295,
                 from /usr/include/gtest/gtest-message.h:57,
                 from /usr/include/gtest/gtest-assertion-result.h:46,
                 from /usr/include/gtest/gtest.h:63,
                 from test-x2go-wrapper.cc:10:
/usr/include/c++/15/ciso646:46:4: error: #warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros" [-Werror=cpp]
   46 | #  warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros"
      |    ^~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [Makefile:864: test_x2go_wrapper-test-x2go-wrapper.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/libpam-x2go-0.0.2.0/tests'
make[2]: *** [Makefile:1152: check-am] Error 2
make[2]: Leaving directory '/build/reproducible-path/libpam-x2go-0.0.2.0/tests'
make[1]: *** [Makefile:429: check-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/libpam-x2go-0.0.2.0'
make: *** [/usr/share/cdbs/1/class/makefile.mk:113: debian/stamp-makefile-check] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: