Bug#1059838: cython: autopkgtest regression with Python 3.12 on ppc64el

2024-04-17 Thread Julian Gilbey
severity 1059838 normal
thanks

On Tue, Jan 02, 2024 at 11:59:09AM +0200, Graham Inggs wrote:
> Source: cython
> Version: 3.0.7-2
> Severity: serious
> User: debian-pyt...@lists.debian.org
> Usertags: python3.12
> 
> Hi Maintainer
> 
> cython's autopkgtests fail with Python 3.12 on ppc64el[1].  I've
> copied what I hope is the relevant part of the log below.
> 
> Regards
> Graham

This has been forwarded upstream and they have suggested it might be a
limited-memory issue; there has been no further work on it.  The test
has been disabled for now, so downgrading the severity to normal.

Best wishes,

   Julian



Bug#1059838: cython: autopkgtest regression with Python 3.12 on ppc64el

2024-01-02 Thread Graham Inggs
Source: cython
Version: 3.0.7-2
Severity: serious
User: debian-pyt...@lists.debian.org
Usertags: python3.12

Hi Maintainer

cython's autopkgtests fail with Python 3.12 on ppc64el[1].  I've
copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://ci.debian.net/packages/c/cython/testing/ppc64el/


4439s ==
27113
4439s ERROR: test_many_expressions (test_fstring.TestCase.test_many_expressions)
27114
4439s --
27115
4439s Traceback (most recent call last):
27116
4439s File 
"/usr/lib/python3/dist-packages/setuptools/_distutils/unixccompiler.py",
line 185, in _compile
27117
4439s self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs)
27118
4439s File "/usr/lib/python3/dist-packages/setuptools/_distutils/ccompiler.py",
line 1041, in spawn
27119
4439s spawn(cmd, dry_run=self.dry_run, **kwargs)
27120
4439s File "/usr/lib/python3/dist-packages/setuptools/_distutils/spawn.py",
line 70, in spawn
27121
4439s raise DistutilsExecError(
27122
4439s distutils.errors.DistutilsExecError: command
'/usr/bin/powerpc64le-linux-gnu-gcc' failed with exit code 1
27123
4439s
27124
4439s During handling of the above exception, another exception occurred:
27125
4439s
27126
4439s Traceback (most recent call last):
27127
4439s File "tests/run/test_fstring.pyx", line 530, in
test_fstring.TestCase.test_many_expressions (test_fstring.c:27468)
27128
4439s cy_eval('[' + ', '.join(build_fstr(i) for i in range(250, 260))
+ ']', x=x, width=width),
27129
4439s File "tests/run/test_fstring.pyx", line 23, in
test_fstring.cy_eval (test_fstring.c:7563)
27130
4439s return cython_inline('return ' + s, force=True, **kwargs)
27131
4439s File "/usr/lib/python3/dist-packages/Cython/Build/Inline.py",
line 289, in cython_inline
27132
4439s build_extension.run()
27133
4439s File 
"/usr/lib/python3/dist-packages/setuptools/_distutils/command/build_ext.py",
line 345, in run
27134
4439s self.build_extensions()
27135
4439s File 
"/usr/lib/python3/dist-packages/setuptools/_distutils/command/build_ext.py",
line 467, in build_extensions
27136
4439s self._build_extensions_serial()
27137
4439s File 
"/usr/lib/python3/dist-packages/setuptools/_distutils/command/build_ext.py",
line 493, in _build_extensions_serial
27138
4439s self.build_extension(ext)
27139
4439s File 
"/usr/lib/python3/dist-packages/setuptools/_distutils/command/build_ext.py",
line 548, in build_extension
27140
4439s objects = self.compiler.compile(
27141
4439s ^^
27142
4439s File "/usr/lib/python3/dist-packages/setuptools/_distutils/ccompiler.py",
line 600, in compile
27143
4439s self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
27144
4439s File 
"/usr/lib/python3/dist-packages/setuptools/_distutils/unixccompiler.py",
line 187, in _compile
27145
4439s raise CompileError(msg)
27146
4439s distutils.errors.CompileError: command
'/usr/bin/powerpc64le-linux-gnu-gcc' failed with exit code 1
27147
4439s
27148
4439s ==
27149
4439s ERROR: test_many_expressions (test_fstring.TestCase.test_many_expressions)
27150
4439s --
27151
4439s Traceback (most recent call last):
27152
4439s File 
"/usr/lib/python3/dist-packages/setuptools/_distutils/unixccompiler.py",
line 185, in _compile
27153
4439s self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs)
27154
4439s File "/usr/lib/python3/dist-packages/setuptools/_distutils/ccompiler.py",
line 1041, in spawn
27155
4439s spawn(cmd, dry_run=self.dry_run, **kwargs)
27156
4439s File "/usr/lib/python3/dist-packages/setuptools/_distutils/spawn.py",
line 70, in spawn
27157
4439s raise DistutilsExecError(
27158
4439s distutils.errors.DistutilsExecError: command
'/usr/bin/powerpc64le-linux-gnu-gcc' failed with exit code 1
27159
4439s
27160
4439s During handling of the above exception, another exception occurred:
27161
4439s
27162
4439s Traceback (most recent call last):
27163
4439s File "tests/run/test_fstring.pyx", line 530, in
test_fstring.TestCase.test_many_expressions (test_fstring.cpp:27480)
27164
4439s cy_eval('[' + ', '.join(build_fstr(i) for i in range(250, 260))
+ ']', x=x, width=width),
27165
4439s File "tests/run/test_fstring.pyx", line 23, in
test_fstring.cy_eval (test_fstring.cpp:7575)
27166
4439s return cython_inline('return ' + s, force=True, **kwargs)
27167
4439s File "/usr/lib/python3/dist-packages/Cython/Build/Inline.py",
line 289, in cython_inline
27168
4439s build_extension.run()
27169
4439s File 
"/usr/lib/python3/dist-packages/setuptools/_distutils/command/build_ext.py",
line 345, in run
27170
4439s self.build_extensions()
27171
4439s File 
"/usr/lib/python3/dist-packages/setuptools/_distutils/command/build_ext.py",
line 467, in build_extensions
27172
4439s self._build_extensions_serial()
27173