Control: reassign -1 python3-pycparser 2.22-2
Control: affects -1 src:austin
On Fri, Sep 05, 2025 at 06:15:22PM +0000, Santiago Vila wrote:
Package: src:austin
Version: 3.7.0-5
Severity: serious
Tags: ftbfs forky sid
[...]
pytest -sv test/cunit
============================= test session starts ==============================
platform linux -- Python 3.13.7, pytest-8.4.1, pluggy-1.6.0 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>
collecting ... 798 typedef struct {
799 long long __max_align_ll ;
800 long double __max_align_ld ;
801 } max_align_t;
802 [33;1m typedef __typeof__(nullptr) nullptr_t;[0m
[31;1m<<^[0m
803 typedef pid_t proc_ref_t;
804 size_t
805 pid_max();
806 #pragma GCC diagnostic push
801 typedef struct {
802 long long __max_align_ll ;
803 long double __max_align_ld ;
804 } max_align_t;
805 [33;1m typedef __typeof__(nullptr) nullptr_t;[0m
[31;1m<<^[0m
806 typedef pid_t proc_ref_t;
807 size_t
808 pid_max();
809 #pragma GCC diagnostic push
4 typedef struct {
5 long long __max_align_ll ;
6 long double __max_align_ld ;
7 } max_align_t;
8 [33;1m typedef __typeof__(nullptr) nullptr_t;[0m
[31;1m<<^[0m
9
10 typedef unsigned char __u_char;
11 typedef unsigned short int __u_short;
12 typedef unsigned int __u_int;
828 typedef struct {
829 long long __max_align_ll ;
830 long double __max_align_ld ;
831 } max_align_t;
832 [33;1m typedef __typeof__(nullptr) nullptr_t;[0m
[31;1m<<^[0m
833 typedef pid_t proc_ref_t;
834 size_t
835 pid_max();
836 typedef struct {
collected 11 items / 4 errors
==================================== ERRORS ====================================
_________________ ERROR collecting test/cunit/test_argparse.py _________________
test/cunit/test_argparse.py:1: in <module>
import test.cunit.argparse as argparse
test/cunit/argparse.py:9: in <module>
sys.modules[__name__] = CModule.compile(SRC / Path(__file__).stem,
cflags=CFLAGS)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/cunit/__init__.py:362: in compile
return cls(source)
^^^^^^^^^^^
test/cunit/__init__.py:326: in __init__
for name, ctypedef in collector.collect(
test/cunit/__init__.py:287: in collect
ast = parser.parse(decl, filename="<preprocessed>")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/pycparser/c_parser.py:147: in parse
return self.cparser.parse(
/usr/lib/python3/dist-packages/ply/yacc.py:333: in parse
return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/ply/yacc.py:1201: in parseopt_notrack
tok = call_errorfunc(self.errorfunc, errtoken, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/ply/yacc.py:192: in call_errorfunc
r = errorfunc(token)
^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/pycparser/c_parser.py:1945: in p_error
self._parse_error(
/usr/lib/python3/dist-packages/pycparser/plyparser.py:67: in _parse_error
raise ParseError("%s: %s" % (coord, msg))
E pycparser.plyparser.ParseError: <preprocessed>:802:31: before: nullptr_t
This looks like a pycparser bug provoked by GCC 15 changing the default
C language version to C23, which among other things effectively adds
`typedef __typeof__(nullptr) nullptr_t;` to <stddef.h>. Reassigning
there.
--
Colin Watson (he/him) [[email protected]]