Package: src:gmp
Version: 2:6.3.0+dfsg-3
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/gmp_6.3.0+dfsg-3_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

[...]
./lib/autoconf/general.m4:399: AC_FD_CC is expanded from...
acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:2163: GMP_ASM_COFF_TYPE is expanded from...
configure.ac:3851: the top level
configure.ac:3856: warning: The macro 'AC_FD_CC' is obsolete.
configure.ac:3856: You should run autoupdate.
./lib/autoconf/general.m4:399: AC_FD_CC is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:2363: GMP_ASM_X86_GOT_UNDERSCORE is expanded from...
configure.ac:3856: the top level
configure.ac:3857: warning: The macro 'AC_FD_CC' is obsolete.
configure.ac:3857: You should run autoupdate.
./lib/autoconf/general.m4:399: AC_FD_CC is expanded from...
acinclude.m4:1648: GMP_TRY_ASSEMBLE is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
acinclude.m4:2587: GMP_ASM_X86_SHLDL_CL is expanded from...
configure.ac:3857: the top level
configure.ac:3859: warning: The macro 'AC_FD_CC' is obsolete.
configure.ac:3859: You should run autoupdate.
./lib/autoconf/general.m4:399: AC_FD_CC is expanded from...
acinclude.m4:2717: GMP_ASM_X86_MCOUNT is expanded from...
configure.ac:3859: the top level
configure.ac:4062: warning: AC_PROG_LEX without either yywrap or noyywrap is 
obsolete
./lib/autoconf/programs.m4:743: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:736: AC_PROG_LEX is expanded from...
aclocal.m4:9579: AM_PROG_LEX is expanded from...
configure.ac:4062: the top level
configure.ac:4073: warning: AC_OUTPUT should be used without arguments.
configure.ac:4073: You should run autoupdate.
configure.ac:2534: installing './compile'
configure.ac:81: installing './missing'
mkdir -p build
cd build && ../configure --prefix=/usr --enable-cxx --disable-fat --build 
x86_64-linux-gnu --libdir=/usr/lib/x86_64-linux-gnu \
    AR=ar CC="x86_64-linux-gnu-gcc" CFLAGS="-g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/gmp-6.3.0+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -O3" \
    CXX="x86_64-linux-gnu-g++" CXXFLAGS="-g -O2 
-ffile-prefix-map=/build/reproducible-path/gmp-6.3.0+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection" 
ASMFLAGS="--debug-prefix-map=/build/reproducible-path/gmp-6.3.0+dfsg=."
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking whether x86_64-linux-gnu-gcc is gcc... yes
checking compiler x86_64-linux-gnu-gcc -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/gmp-6.3.0+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2... 
no, long long reliability test 1
checking ABI=x32
checking whether x86_64-linux-gnu-gcc is gcc... yes
checking compiler x86_64-linux-gnu-gcc -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/gmp-6.3.0+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2... 
no, long long reliability test 1
checking ABI=32
checking whether x86_64-linux-gnu-gcc is gcc... yes
checking compiler x86_64-linux-gnu-gcc -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/gmp-6.3.0+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -O3 -Wdate-time -D_FORTIFY_SOURCE=2... 
no, long long reliability test 1
configure: error: could not find a working compiler, see config.log for details
make: *** [debian/rules:73: configure-stamp] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to