[Pkg-freeipa-devel] Bug#1055552: python-nss ftbfs with Python 3.12

Matthias Klose doko at debian.org
Wed Nov 8 07:09:42 GMT 2023


Package: src:python-nss
Version: 1.0.1-1
Severity: important
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12

python-nss ftbfs with Python 3.12:

[...]
    dh_auto_build -O--buildsystem=pybuild
I: pybuild base:310: /usr/bin/python3.12 setup.py build
/<<PKGBUILDDIR>>/setup.py:42: SyntaxWarning: invalid escape sequence '\s'
   version_re = re.compile("^\s*__version__\s*=\s*['\"]([^'\"]*)['\"]")
/<<PKGBUILDDIR>>/setup.py:216: SyntaxWarning: invalid escape sequence '\.'
   """
/usr/lib/python3/dist-packages/setuptools/dist.py:744: 
SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

 
********************************************************************************
         Usage of dash-separated 'dist-dir' will not be supported in future
         versions. Please use the underscore name 'dist_dir' instead.

         This deprecation is overdue, please update your project and 
remove deprecated
         calls to avoid build errors in the future.

         See 
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html 
for details.
 
********************************************************************************

!!
   opt = self.warn_dash_deprecation(opt, section)
src/py_nspr_error.c: In function ‘set_nspr_error’:
src/py_nspr_error.c:189:23: error: macro "va_start" requires 2 
arguments, but only 1 given
   189 |         va_start(vargs);
       |                       ^
In file included from /usr/include/python3.12/bytesobject.h:10,
                  from /usr/include/python3.12/Python.h:50,
                  from src/py_nspr_error.c:6:
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdarg.h:50: note: macro 
"va_start" defined here
    50 | #define va_start(v,l)   __builtin_va_start(v,l)
       |
src/py_nspr_error.c:189:9: error: ‘va_start’ undeclared (first use in 
this function)
   189 |         va_start(vargs);
       |         ^~~~~~~~
src/py_nspr_error.c:189:9: note: each undeclared identifier is reported 
only once for each function it appears in
src/py_nspr_error.c: In function ‘set_cert_verify_error’:
src/py_nspr_error.c:225:23: error: macro "va_start" requires 2 
arguments, but only 1 given
   225 |         va_start(vargs);
       |                       ^
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdarg.h:50: note: macro 
"va_start" defined here
    50 | #define va_start(v,l)   __builtin_va_start(v,l)
       |
src/py_nspr_error.c:225:9: error: ‘va_start’ undeclared (first use in 
this function)
   225 |         va_start(vargs);
       |         ^~~~~~~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:395: build: plugin distutils failed with: exit 
code=1: /usr/bin/python3.12 setup.py build



More information about the Pkg-freeipa-devel mailing list