On Sun, Sep 07, 2025 at 02:47:53PM +0200, Matthias Klose wrote:
cython fails to build it's autopkg test with GCC 15 on i386:

[...]
854s Compiler output for module e_switch_transform:
854s e_switch_transform.c: In function ‘__pyx_pf_18e_switch_transform_is_not_one’:
854s e_switch_transform.c:2283:5: error: duplicate case value
854s  2283 |     case 1+0:
854s       |     ^~~~
854s e_switch_transform.c:2282:5: note: previously used here
854s  2282 |     case 1:
854s       |     ^~~~
854s
854s runTest (__main__.CythonRunTestCase.runTest)

Just to save other people time, this bit is a red herring: it produces compiler error output but it appears to be expected.

8696s ======================================================================
8696s ERROR: test_many_expressions (test_fstring.TestCase.test_many_expressions)
8696s ----------------------------------------------------------------------
8696s Traceback (most recent call last):
8696s File "/usr/lib/python3/dist-packages/setuptools/_distutils/spawn.py", line 87, in spawn
8696s     subprocess.check_call(cmd, env=_inject_macos_ver(env))
8696s     ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8696s   File "/usr/lib/python3.13/subprocess.py", line 419, in check_call
8696s     raise CalledProcessError(retcode, cmd)
8696s subprocess.CalledProcessError: Command '['/usr/bin/i686-linux-gnu-gcc', '-fno-strict-overflow', '-Wsign-compare', '-DNDEBUG', '-g', '-O2', '-Wall', '-fPIC', '-I/usr/include/python3.13', '-c', '/home/debci/.cython/inline/_cython_inline_b81c8cc73be357772ff34f66b468dda67d89a335.c', '-o', '/home/debci/.cython/inline/home/debci/.cython/inline/_cython_inline_b81c8cc73be357772ff34f66b468dda67d89a335.o']' returned non-zero exit status 1.

I can reproduce this with 3.0.11 but not with upstream master, so I'm in the process of (slowly) bisecting it to narrow things down a bit.

Thanks,

--
Colin Watson (he/him)                              [[email protected]]

Reply via email to