Public bug reported:

Imported from Debian bug http://bugs.debian.org/1097676:

Package: src:python-cython-blis
Version: 1.0.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/python-cython-blis_1.0.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

[...]
[COMMAND] gcc -c 
/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/config/steamroller/bli_cntx_init_steamroller.c
 -o /tmp/tmpe37_6kbl/bli_cntx_init_steamroller.o -O2 -fPIC -std=c99 
-D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.9.0" 
-DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/1m/ 
-I./frame/1f/ -I./frame/1/ -I./frame/include 
-I/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/include/linux-x86_64
[COMMAND] gcc -c 
/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/config/zen/bli_cntx_init_zen.c
 -o /tmp/tmpe37_6kbl/bli_cntx_init_zen.o -O2 -fomit-frame-pointer -fPIC 
-std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.9.0" 
-DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/1m/ 
-I./frame/1f/ -I./frame/1/ -I./frame/include 
-I/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/include/linux-x86_64
[COMMAND] gcc -c 
/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/config/zen2/bli_cntx_init_zen2.c
 -o /tmp/tmpe37_6kbl/bli_cntx_init_zen2.o -O2 -fomit-frame-pointer -fPIC 
-std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.9.0" 
-DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/1m/ 
-I./frame/1f/ -I./frame/1/ -I./frame/include 
-I/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/include/linux-x86_64
[COMMAND] gcc -c 
/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/config/zen3/bli_cntx_init_zen3.c
 -o /tmp/tmpe37_6kbl/bli_cntx_init_zen3.o -O3 -fPIC -std=c99 
-D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.9.0" 
-DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/1m/ 
-I./frame/1f/ -I./frame/1/ -I./frame/include 
-I/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/include/linux-x86_64gcc:
 error: unrecognized command-line option ‘-mavx512pf’; did you mean ‘-mavx512f’?

[COMMAND] gcc -c 
/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/kernels/skx/3/bli_dgemm_skx_asm_16x12_l2.c
 -o /tmp/tmpe37_6kbl/bli_dgemm_skx_asm_16x12_l2.o -O2 -O3 -fomit-frame-pointer 
-mavx512f -mavx512dq -mavx512bw -mavx512vl -mfpmath=sse -march=skylake-avx512 
-fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.9.0" 
-DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/1m/ 
-I./frame/1f/ -I./frame/1/ -I./frame/include 
-I/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/include/linux-x86_64
[COMMAND] gcc -c 
/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/kernels/skx/3/bli_dgemm_skx_asm_16x14.c
 -o /tmp/tmpe37_6kbl/bli_dgemm_skx_asm_16x14.o -O2 -O3 -fomit-frame-pointer 
-mavx512f -mavx512dq -mavx512bw -mavx512vl -mfpmath=sse -march=skylake-avx512 
-fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.9.0" 
-DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/1m/ 
-I./frame/1f/ -I./frame/1/ -I./frame/include 
-I/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/include/linux-x86_64
[COMMAND] gcc -c 
/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/kernels/skx/3/bli_sgemm_skx_asm_32x12_l2.c
 -o /tmp/tmpe37_6kbl/bli_sgemm_skx_asm_32x12_l2.o -O2 -O3 -fomit-frame-pointer 
-mavx512f -mavx512dq -mavx512bw -mavx512vl -mfpmath=sse -march=skylake-avx512 
-fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.9.0" 
-DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 -I./frame/3/ -I./frame/1m/ 
-I./frame/1f/ -I./frame/1/ -I./frame/include 
-I/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/include/linux-x86_64
[COMMAND] gcc -c 
/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/kernels/knl/1m/bli_dpackm_knl_asm_24x8.c
 -o /tmp/tmpe37_6kbl/bli_dpackm_knl_asm_24x8.o -O2 -O3 -mavx512f -mavx512pf 
-mfpmath=sse -march=knl -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L 
-DBLIS_VERSION_STRING="0.9.0" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-x86_64 
-I./frame/3/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include 
-I/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/include/linux-x86_64
Traceback (most recent call last):
  File "/build/reproducible-path/python-cython-blis-1.0.0/setup.py", line 327, 
in <module>
    setup(
    ~~~~~^
        setup_requires=[
        ^^^^^^^^^^^^^^^^
    ...<47 lines>...
        ],
        ^^
    )
    ^
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 117, in 
setup
    return distutils.core.setup(**attrs)
           ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 
183, in setup
    return run_commands(dist)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 
199, in run_commands
    dist.run_commands()
    ~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 
954, in run_commands
    self.run_command(cmd)
    ~~~~~~~~~~~~~~~~^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 995, in 
run_command
    super().run_command(command)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 
973, in run_command
    cmd_obj.run()
    ~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/build.py", 
line 135, in run
    self.run_command(cmd_name)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 316, 
in run_command
    self.distribution.run_command(command)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 995, in 
run_command
    super().run_command(command)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 
973, in run_command
    cmd_obj.run()
    ~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 
99, in run
    _build_ext.run(self)
    ~~~~~~~~~~~~~~^^^^^^
  File 
"/usr/lib/python3/dist-packages/setuptools/_distutils/command/build_ext.py", 
line 359, in run
    self.build_extensions()
    ~~~~~~~~~~~~~~~~~~~~~^^
  File "/build/reproducible-path/python-cython-blis-1.0.0/setup.py", line 116, 
in build_extensions
    objects = self.compile_objects(platform_name, arch, OBJ_DIR)
  File "/build/reproducible-path/python-cython-blis-1.0.0/setup.py", line 258, 
in compile_objects
    objects.append(self.build_object(env=env, **spec))
                   ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/build/reproducible-path/python-cython-blis-1.0.0/setup.py", line 273, 
in build_object
    subprocess.check_call(command, cwd=BLIS_DIR)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 421, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gcc', '-c', 
'/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/kernels/knl/1m/bli_dpackm_knl_asm_24x8.c',
 '-o', '/tmp/tmpe37_6kbl/bli_dpackm_knl_asm_24x8.o', '-O2', '-O3', '-mavx512f', 
'-mavx512pf', '-mfpmath=sse', '-march=knl', '-fPIC', '-std=c99', 
'-D_POSIX_C_SOURCE=200112L', '-DBLIS_VERSION_STRING="0.9.0"', 
'-DBLIS_IS_BUILDING_LIBRARY', '-Iinclude/linux-x86_64', '-I./frame/3/', 
'-I./frame/1m/', '-I./frame/1f/', '-I./frame/1/', '-I./frame/include', 
'-I/build/reproducible-path/python-cython-blis-1.0.0/blis/_src/include/linux-x86_64']'
 returned non-zero exit status 1.
E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: 
/usr/bin/python3 setup.py build 
dh_auto_build: error: pybuild --build -i python{version} -p "3.12 3.13" 
returned exit code 13
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

** Affects: python-cython-blis (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: python-cython-blis (Debian)
     Importance: Undecided
         Status: New


** Tags: ftbfs update-excuse

** Bug watch added: Debian Bug tracker #1097676
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097676

** Changed in: python-cython-blis (Debian)
 Remote watch: None => Debian Bug tracker #1097676

** Tags added: ftbfs update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2131659

Title:
  python-cython-blis: ftbfs with GCC-15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-cython-blis/+bug/2131659/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to