Bug#1074442: freecad: FTBFS with Python 3.12 as default
Graham Inggs
ginggs at debian.org
Fri Jun 28 18:18:19 BST 2024
Source: freecad
Version: 0.21.2+dfsg1-4
Severity: serious
Tags: ftbfs
User: debian-python at lists.debian.org
Usertags: python3.12
freecad FTBFS with Python 3.12 as the default version [1]. I've
copied what I hope is the relevant part of the log below.
Regards
Graham
[1] https://tests.reproducible-builds.org/debian/rb-pkg/freecad.html
/build/reproducible-path/freecad-0.21.2+dfsg1/src/CXX/IndirectPythonInterface.cxx:
In function 'int& Py::_Py_DebugFlag()':
/build/reproducible-path/freecad-0.21.2+dfsg1/src/CXX/IndirectPythonInterface.cxx:521:63:
warning: 'Py_DebugFlag' is deprecated [-Wdeprecated-declarations]
521 | PYCXX_EXPORT int &_Py_DebugFlag() { return
Py_DebugFlag; }
|
^~~~~~~~~~~~
In file included from /usr/include/python3.12/Python.h:48,
from
/build/reproducible-path/freecad-0.21.2+dfsg1/src/CXX/WrapPython.h:58,
from
/build/reproducible-path/freecad-0.21.2+dfsg1/src/CXX/IndirectPythonInterface.hxx:1,
from
/build/reproducible-path/freecad-0.21.2+dfsg1/src/CXX/IndirectPythonInterface.cxx:38:
/usr/include/python3.12/cpython/pydebug.h:8:37: note: declared here
8 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_DebugFlag;
| ^~~~~~~~~~~~
/build/reproducible-path/freecad-0.21.2+dfsg1/src/CXX/IndirectPythonInterface.cxx:
In function 'int& Py::_Py_InteractiveFlag()':
/build/reproducible-path/freecad-0.21.2+dfsg1/src/CXX/IndirectPythonInterface.cxx:522:63:
warning: 'Py_InteractiveFlag' is deprecated
[-Wdeprecated-declarations]
522 | PYCXX_EXPORT int &_Py_InteractiveFlag() { return
Py_InteractiveFlag; }
|
^~~~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/pydebug.h:11:37: note: declared here
11 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_InteractiveFlag;
| ^~~~~~~~~~~~~~~~~~
/build/reproducible-path/freecad-0.21.2+dfsg1/src/CXX/IndirectPythonInterface.cxx:
In function 'int& Py::_Py_OptimizeFlag()':
/build/reproducible-path/freecad-0.21.2+dfsg1/src/CXX/IndirectPythonInterface.cxx:523:63:
warning: 'Py_OptimizeFlag' is deprecated [-Wdeprecated-declarations]
523 | PYCXX_EXPORT int &_Py_OptimizeFlag() { return
Py_OptimizeFlag; }
|
^~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/pydebug.h:13:37: note: declared here
13 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_OptimizeFlag;
| ^~~~~~~~~~~~~~~
/build/reproducible-path/freecad-0.21.2+dfsg1/src/CXX/IndirectPythonInterface.cxx:
In function 'int& Py::_Py_NoSiteFlag()':
/build/reproducible-path/freecad-0.21.2+dfsg1/src/CXX/IndirectPythonInterface.cxx:524:63:
warning: 'Py_NoSiteFlag' is deprecated [-Wdeprecated-declarations]
524 | PYCXX_EXPORT int &_Py_NoSiteFlag() { return
Py_NoSiteFlag; }
|
^~~~~~~~~~~~~
/usr/include/python3.12/cpython/pydebug.h:14:37: note: declared here
14 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_NoSiteFlag;
| ^~~~~~~~~~~~~
/build/reproducible-path/freecad-0.21.2+dfsg1/src/CXX/IndirectPythonInterface.cxx:
In function 'int& Py::_Py_VerboseFlag()':
/build/reproducible-path/freecad-0.21.2+dfsg1/src/CXX/IndirectPythonInterface.cxx:525:63:
warning: 'Py_VerboseFlag' is deprecated [-Wdeprecated-declarations]
525 | PYCXX_EXPORT int &_Py_VerboseFlag() { return
Py_VerboseFlag; }
|
^~~~~~~~~~~~~~
/usr/include/python3.12/cpython/pydebug.h:9:37: note: declared here
9 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_VerboseFlag;
| ^~~~~~~~~~~~~~
/build/reproducible-path/freecad-0.21.2+dfsg1/src/CXX/IndirectPythonInterface.cxx:
In function 'const char* Py::__Py_PackageContext()':
/build/reproducible-path/freecad-0.21.2+dfsg1/src/CXX/IndirectPythonInterface.cxx:527:63:
error: '_Py_PackageContext' was not declared in this scope; did you
mean '__Py_PackageContext'?
527 | PYCXX_EXPORT const char *__Py_PackageContext() { return
_Py_PackageContext; }
|
^~~~~~~~~~~~~~~~~~
|
__Py_PackageContext
More information about the debian-science-maintainers
mailing list