Bugzilla – Bug 1219842
[python-nss] FTBFS with Python 3.12
Last modified: 2024-02-21 09:42:46 UTC
https://build.opensuse.org/package/live_build_log/openSUSE:Factory/python-nss/standard/x86_64 [ 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)
This is an autogenerated message for OBS integration: This bug (1219842) was mentioned in https://build.opensuse.org/request/show/1146357 Factory / python-nss
SR has been accepted.