Debian Bug report logs - #1097670
pypy3: ftbfs with GCC-15

version graph

Package: src:pypy3; Maintainer for src:pypy3 is Stefano Rivera <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 17:49:02 UTC

Severity: important

Tags: forky, sid

Found in version pypy3/7.3.18+dfsg-2

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Stefano Rivera <[email protected]>:
Bug#1097670; Package src:pypy3. (Mon, 17 Feb 2025 17:49:02 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Stefano Rivera <[email protected]>. (Mon, 17 Feb 2025 17:49:02 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: pypy3: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:46:33 +0000
Package: src:pypy3
Version: 7.3.18+dfsg-2
Severity: important
Tags: sid forky
User: [email protected]
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/pypy3_7.3.18+dfsg-2_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

[...]
gcc -c -fno-strict-aliasing -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pypy3-7.3.18+dfsg=. -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include -Wdate-time -D_FORTIFY_SOURCE=2  -DPy_BUILD_CORE -o Objects/setobject.o Objects/setobject.c
gcc -c -fno-strict-aliasing -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pypy3-7.3.18+dfsg=. -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include -Wdate-time -D_FORTIFY_SOURCE=2  -DPy_BUILD_CORE -o Objects/sliceobject.o Objects/sliceobject.c
gcc -c -fno-strict-aliasing -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pypy3-7.3.18+dfsg=. -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include -Wdate-time -D_FORTIFY_SOURCE=2  -DPy_BUILD_CORE -o Objects/stringobject.o Objects/stringobject.c
gcc -c -fno-strict-aliasing -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pypy3-7.3.18+dfsg=. -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include -Wdate-time -D_FORTIFY_SOURCE=2  -DPy_BUILD_CORE -o Objects/structseq.o Objects/structseq.c
gcc -c -fno-strict-aliasing -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pypy3-7.3.18+dfsg=. -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include -Wdate-time -D_FORTIFY_SOURCE=2  -DPy_BUILD_CORE -o Objects/tupleobject.o Objects/tupleobject.c
gcc -c -fno-strict-aliasing -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pypy3-7.3.18+dfsg=. -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include -Wdate-time -D_FORTIFY_SOURCE=2  -DPy_BUILD_CORE -o Objects/typeobject.o Objects/typeobject.c
gcc -c -fno-strict-aliasing -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pypy3-7.3.18+dfsg=. -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include -Wdate-time -D_FORTIFY_SOURCE=2  -DPy_BUILD_CORE -o Objects/weakrefobject.o Objects/weakrefobject.c
gcc -c -fno-strict-aliasing -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pypy3-7.3.18+dfsg=. -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include -Wdate-time -D_FORTIFY_SOURCE=2  -DPy_BUILD_CORE -o Objects/unicodeobject.o Objects/unicodeobject.c
gcc -c -fno-strict-aliasing -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pypy3-7.3.18+dfsg=. -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include -Wdate-time -D_FORTIFY_SOURCE=2  -DPy_BUILD_CORE -o Objects/unicodectype.o Objects/unicodectype.c
gcc -c -fno-strict-aliasing -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pypy3-7.3.18+dfsg=. -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include -Wdate-time -D_FORTIFY_SOURCE=2  -DPy_BUILD_CORE -o Python/_warnings.o Python/_warnings.c
gcc -c -fno-strict-aliasing -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pypy3-7.3.18+dfsg=. -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include -Wdate-time -D_FORTIFY_SOURCE=2  -DPy_BUILD_CORE -o Python/Python-ast.o Python/Python-ast.c
gcc -c -fno-strict-aliasing -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pypy3-7.3.18+dfsg=. -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include -Wdate-time -D_FORTIFY_SOURCE=2  -DPy_BUILD_CORE -o Python/asdl.o Python/asdl.c
In file included from Include/Python-ast.h:3,
                 from Python/Python-ast.c:13:
Include/asdl.h:9:15: error: cannot use keyword ‘false’ as enumeration constant
    9 | typedef enum {false, true} bool;
      |               ^~~~~
Include/asdl.h:9:15: note: ‘false’ is a keyword with ‘-std=c23’ onwards
Include/asdl.h:9:28: error: expected ‘;’, identifier or ‘(’ before ‘bool’
    9 | typedef enum {false, true} bool;
      |                            ^~~~
Include/asdl.h:9:28: warning: useless type name in empty declaration
gcc -c -fno-strict-aliasing -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pypy3-7.3.18+dfsg=. -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include -Wdate-time -D_FORTIFY_SOURCE=2  -DPy_BUILD_CORE -o Python/ast.o Python/ast.c
In file included from Python/asdl.c:2:
Include/asdl.h:9:15: error: cannot use keyword ‘false’ as enumeration constant
    9 | typedef enum {false, true} bool;
      |               ^~~~~
Include/asdl.h:9:15: note: ‘false’ is a keyword with ‘-std=c23’ onwards
Include/asdl.h:9:28: error: expected ‘;’, identifier or ‘(’ before ‘bool’
    9 | typedef enum {false, true} bool;
      |                            ^~~~
Include/asdl.h:9:28: warning: useless type name in empty declaration
make[2]: *** [Makefile:1382: Python/asdl.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:1382: Python/Python-ast.o] Error 1
In file included from Include/Python-ast.h:3,
                 from Python/ast.c:7:
Include/asdl.h:9:15: error: cannot use keyword ‘false’ as enumeration constant
    9 | typedef enum {false, true} bool;
      |               ^~~~~
Include/asdl.h:9:15: note: ‘false’ is a keyword with ‘-std=c23’ onwards
Include/asdl.h:9:28: error: expected ‘;’, identifier or ‘(’ before ‘bool’
    9 | typedef enum {false, true} bool;
      |                            ^~~~
Include/asdl.h:9:28: warning: useless type name in empty declaration
Python/ast.c: In function ‘ast_for_import_stmt’:
Python/ast.c:2624:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 2624 |             if (!import_alias)
      |             ^~
Include/asdl.h:42:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   42 | #define asdl_seq_SET(S, I, V) (S)->elements[I] = (V)
      |                               ^
Python/ast.c:2626:17: note: in expansion of macro ‘asdl_seq_SET’
 2626 |                 asdl_seq_SET(aliases, 0, import_alias);
      |                 ^~~~~~~~~~~~
Python/ast.c:2631:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 2631 |                 if (!import_alias)
      |                 ^~
Include/asdl.h:42:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   42 | #define asdl_seq_SET(S, I, V) (S)->elements[I] = (V)
      |                               ^
Python/ast.c:2633:21: note: in expansion of macro ‘asdl_seq_SET’
 2633 |                     asdl_seq_SET(aliases, i / 2, import_alias);
      |                     ^~~~~~~~~~~~
make[2]: *** [Makefile:1382: Python/ast.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/pypy3-7.3.18+dfsg/cpython27'
make[1]: *** [debian/rules:32: cpython27/python] Error 2
make[1]: Leaving directory '/build/reproducible-path/pypy3-7.3.18+dfsg'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:03:52 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.