[python-nss] FTBFS with Python 3.12
Categories
(NSS :: Tools, defect, P5)
Tracking
(Not tracked)
People
(Reporter: mcepl, Assigned: mcepl)
References
Details
Attachments
(2 files)
|
579 bytes,
patch
|
Details | Diff | Splinter Review | |
|
9.27 KB,
patch
|
Details | Diff | Splinter Review |
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
When building python-nss with python 3.12 it fails (openSUSE/Tubmleweed):
[ 28s] + /usr/bin/python3.12 setup.py build '--executable=/usr/bin/python3.12 -s'
[ 28s] /home/abuild/rpmbuild/BUILD/python-nss-1.0.1/setup.py:45: SyntaxWarning: invalid escape sequence '\s'
[ 28s] version_re = re.compile("^\s*version\s*=\s*'"['"]")
[ 28s] /home/abuild/rpmbuild/BUILD/python-nss-1.0.1/setup.py:188: SyntaxWarning: invalid escape sequence '.'
[ 28s] """
[ 28s] src/py_nspr_error.c: In function ‘set_nspr_error’:
[ 28s] src/py_nspr_error.c:189:23: error: macro "va_start" requires 2 arguments, but only 1 given
[ 28s] 189 | va_start(vargs);
[ 28s] | ^
[ 28s] In file included from /usr/include/python3.12/bytesobject.h:10,
[ 28s] from /usr/include/python3.12/Python.h:50,
[ 28s] from src/py_nspr_error.c:6:
[ 28s] /usr/lib64/gcc/x86_64-suse-linux/13/include/stdarg.h:50: note: macro "va_start" defined here
[ 28s] 50 | #define va_start(v,l) __builtin_va_start(v,l)
[ 28s] |
[ 28s] src/py_nspr_error.c:189:9: error: ‘va_start’ undeclared (first use in this function)
[ 28s] 189 | va_start(vargs);
[ 28s] | ^~~~~~~~
[ 28s] src/py_nspr_error.c:189:9: note: each undeclared identifier is reported only once for each function it appears in
[ 28s] src/py_nspr_error.c: In function ‘set_cert_verify_error’:
[ 28s] src/py_nspr_error.c:225:23: error: macro "va_start" requires 2 arguments, but only 1 given
[ 28s] 225 | va_start(vargs);
[ 28s] | ^
[ 28s] /usr/lib64/gcc/x86_64-suse-linux/13/include/stdarg.h:50: note: macro "va_start" defined here
[ 28s] 50 | #define va_start(v,l) __builtin_va_start(v,l)
[ 28s] |
[ 28s] src/py_nspr_error.c:225:9: error: ‘va_start’ undeclared (first use in this function)
[ 28s] 225 | va_start(vargs);
[ 28s] | ^~~~~~~~
[ 28s] error: command '/usr/bin/gcc' failed with exit code 1
[ 28s] error: Bad exit status from /var/tmp/rpm-tmp.s7LpL0 (%build)
| Assignee | ||
Comment 3•2 years ago
|
||
Also filed as https://bugzilla.suse.com/1219842.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Description
•