Your message dated Mon, 24 Mar 2025 13:56:10 +0000
with message-id <[email protected]>
and subject line Re: Bug#1096375: black: ftbfs with GCC-15
has caused the Debian Bug report #1096375,
regarding black: ftbfs with GCC-15
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1096375: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096375
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:black
Version: 25.1.0-1
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/black_25.1.0-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
[...]
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean --buildsystem=pybuild --with bash-completion
dh_auto_clean -O--buildsystem=pybuild
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
debian/rules binary
dh binary --buildsystem=pybuild --with bash-completion
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build"
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation
--wheel --outdir /build/reproducible-path/black-25.1.0/.pybuild/cpython3_3.12
--verbose
* Building wheel...
Building `wheel` version `standard`
Traceback (most recent call last):
File
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
line 389, in <module>
main()
File
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py",
line 280, in build_wheel
return _build_backend().build_wheel(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/hatchling/build.py", line 58, in
build_wheel
return os.path.basename(next(builder.build(directory=wheel_directory,
versions=['standard'])))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/hatchling/builders/plugin/interface.py",
line 147, in build
build_hook.initialize(version, build_data)
File "/usr/lib/python3/dist-packages/hatch_mypyc/plugin.py", line 338, in
initialize
raise Exception(f'Error while invoking
Mypyc:\n{process.stdout.decode("utf-8")}')
Exception: Error while invoking Mypyc:
Parsed and typechecked in 7.045s
Compiling lines, tokenize, _black_version, parse, rusty, pgen, ranges,
_width_table, numerics, handle_ipynb_magics, pytree, trans, parsing, literals,
cache, token, schema, grammar, brackets, black, resources, driver, const,
nodes, strings, linegen, conv, pygram, comments, mode
Compiled to C in 4.994s
running build_ext
building 'fec286f4eda846987175__mypyc' extension
creating /tmp/tmp5jq3rg_p/tmp/tmp/tmp5jq3rg_p/build
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall
-g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/black-25.1.0=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/lib/python3/dist-packages/mypyc/lib-rt -I/tmp/tmp5jq3rg_p/build
-I/usr/include/python3.12 -c
/tmp/tmp5jq3rg_p/build/__native_fec286f4eda846987175.c -o
/tmp/tmp5jq3rg_p/tmp/tmp/tmp5jq3rg_p/build/__native_fec286f4eda846987175.o -O3
-g2 -Werror -Wno-unused-function -Wno-unused-label -Wno-unreachable-code
-Wno-unused-variable -Wno-unused-command-line-argument
-Wno-unknown-warning-option -Wno-unused-but-set-variable
-Wno-ignored-optimization-argument -Wno-cpp
In file included from
/usr/lib/python3/dist-packages/mypyc/lib-rt/pythonsupport.h:11,
from /usr/lib/python3/dist-packages/mypyc/lib-rt/CPy.h:12,
from /usr/lib/python3/dist-packages/mypyc/lib-rt/init.c:2,
from /tmp/tmp5jq3rg_p/build/__native_fec286f4eda846987175.c:1:
/usr/lib/python3/dist-packages/mypyc/lib-rt/pythoncapi_compat.h:41:11: error:
‘_Py_NULL’ redefined [-Werror]
41 | # define _Py_NULL nullptr
| ^~~~~~~~
In file included from /usr/include/python3.12/Python.h:38,
from /usr/lib/python3/dist-packages/mypyc/lib-rt/init.c:1:
/usr/include/python3.12/pyport.h:32:11: note: this is the location of the
previous definition
32 | # define _Py_NULL NULL
| ^~~~~~~~
cc1: note: unrecognized command-line option
‘-Wno-ignored-optimization-argument’ may have been intended to silence earlier
diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may
have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unused-command-line-argument’
may have been intended to silence earlier diagnostics
cc1: all warnings being treated as errors
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1:
python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir
/build/reproducible-path/black-25.1.0/.pybuild/cpython3_3.12 --verbose
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build"
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation
--wheel --outdir /build/reproducible-path/black-25.1.0/.pybuild/cpython3_3.13
--verbose
* Building wheel...
Building `wheel` version `standard`
Successfully built black-25.1.0-cp313-cp313-linux_x86_64.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with
"installer" module
dh_auto_build: error: pybuild --build -i python{version} -p "3.12 3.13"
returned exit code 13
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
On Mon, Feb 17, 2025 at 05:05:14PM +0000, Matthias Klose wrote:
Package: src:black
Version: 25.1.0-1
Severity: important
Tags: sid forky
User: [email protected]
Usertags: ftbfs-gcc-15
[...]
In file included from
/usr/lib/python3/dist-packages/mypyc/lib-rt/pythonsupport.h:11,
from /usr/lib/python3/dist-packages/mypyc/lib-rt/CPy.h:12,
from /usr/lib/python3/dist-packages/mypyc/lib-rt/init.c:2,
from /tmp/tmp5jq3rg_p/build/__native_fec286f4eda846987175.c:1:
/usr/lib/python3/dist-packages/mypyc/lib-rt/pythoncapi_compat.h:41:11: error:
‘_Py_NULL’ redefined [-Werror]
41 | # define _Py_NULL nullptr
| ^~~~~~~~
In file included from /usr/include/python3.12/Python.h:38,
from /usr/lib/python3/dist-packages/mypyc/lib-rt/init.c:1:
/usr/include/python3.12/pyport.h:32:11: note: this is the location of the
previous definition
32 | # define _Py_NULL NULL
| ^~~~~~~~
cc1: note: unrecognized command-line option
‘-Wno-ignored-optimization-argument’ may have been intended to silence earlier
diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may
have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-unused-command-line-argument’
may have been intended to silence earlier diagnostics
cc1: all warnings being treated as errors
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
This was fixed by mypy 1.15.0-3; I confirmed that black now builds
cleanly with gcc-15 from experimental.
--
Colin Watson (he/him) [[email protected]]
--- End Message ---