I'm trying to rebuild FreeCAD but I've run into the following and I don't
know how to fix it.
---
In file included from
/builddir/build/BUILD/FreeCAD-0.18.4/src/App/ExtensionPyImp.cpp:34:
/builddir/build/BUILD/FreeCAD-0.18.4/build/src/App/ExtensionPy.cpp:76:1:
warning: missing initializer for member '_typeobject::tp_vectorcall'
[-Wmissing-field-initializers]
76 | };
| ^
In file included from
/builddir/build/BUILD/FreeCAD-0.18.4/build/src/App/PropertyContainerPy.h:7,
from
/builddir/build/BUILD/FreeCAD-0.18.4/build/src/App/DocumentPy.h:7,
from
/builddir/build/BUILD/FreeCAD-0.18.4/src/App/Expression.cpp:32:
/builddir/build/BUILD/FreeCAD-0.18.4/build/src/Base/PersistencePy.h:67:9:
error: 'Int' in namespace 'Py' does not name a type
67 | Py::Int getMemSize(void) const;
| ^~~
In file included from
/builddir/build/BUILD/FreeCAD-0.18.4/src/App/Expression.cpp:32:
/builddir/build/BUILD/FreeCAD-0.18.4/build/src/App/DocumentPy.h:179:9:
error: 'Int' in namespace 'Py' does not name a type
179 | Py::Int getUndoMode(void) const;
| ^~~
/builddir/build/BUILD/FreeCAD-0.18.4/build/src/App/DocumentPy.h:183:26:
error: 'Py::Int' has not been declared
183 | void setUndoMode(Py::Int arg);
| ^~~
/builddir/build/BUILD/FreeCAD-0.18.4/build/src/App/DocumentPy.h:187:9:
error: 'Int' in namespace 'Py' does not name a type
187 | Py::Int getUndoRedoMemSize(void) const;
| ^~~
/builddir/build/BUILD/FreeCAD-0.18.4/build/src/App/DocumentPy.h:194:9:
error: 'Int' in namespace 'Py' does not name a type
194 | Py::Int getUndoCount(void) const;
| ^~~
/builddir/build/BUILD/FreeCAD-0.18.4/build/src/App/DocumentPy.h:201:9:
error: 'Int' in namespace 'Py' does not name a type
201 | Py::Int getRedoCount(void) const;
| ^~~
In file included from
/builddir/build/BUILD/FreeCAD-0.18.4/src/App/PropertyContainerPyImp.cpp:40:
/builddir/build/BUILD/FreeCAD-0.18.4/build/src/App/PropertyContainerPy.cpp:76:1:
warning: missing initializer for member '_typeobject::tp_vectorcall'
[-Wmissing-field-initializers]
76 | };
| ^
In file included from
/builddir/build/BUILD/FreeCAD-0.18.4/build/src/App/PropertyContainerPy.h:7,
from
/builddir/build/BUILD/FreeCAD-0.18.4/build/src/App/ExtensionContainerPy.h:7,
from
/builddir/build/BUILD/FreeCAD-0.18.4/build/src/App/DocumentObjectPy.h:7,
from
/builddir/build/BUILD/FreeCAD-0.18.4/src/App/FeaturePython.cpp:35:
/builddir/build/BUILD/FreeCAD-0.18.4/build/src/Base/PersistencePy.h:67:9:
error: 'Int' in namespace 'Py' does not name a type
67 | Py::Int getMemSize(void) const;
| ^~~
---
Full log here:
https://kojipkgs.fedoraproject.org//work/tasks/7099/45227099/build.log
Thanks,
Richard