#1145402 ifcopenshell: FTBFS: /<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:5557:41: error: 'PyInt_AsLong' was not declared in this scope; did you mean 'PyLong_AsLong'?

#1145402#5
Date:
2026-08-24 16:12:07 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ifcopenshell, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
/<<PKGBUILDDIR>>/src/ifcwrap/../serializers/SvgSerializer.h: In member function ‘void SvgSerializer::addDrawing(const gp_Pnt&, const gp_Dir&, const gp_Dir&, const std::string&, bool)’:
/<<PKGBUILDDIR>>/src/ifcwrap/../serializers/SvgSerializer.h:759:125: warning: missing initializer for member ‘vertical_section::scale’ [-Wmissing-field-initializers]
  759 |                 deferred_section_data_->push_back(vertical_section{ gp_Pln(gp_Ax3(pos, dir, ref)), name, include_projection });
      |                                                                                                                             ^
/<<PKGBUILDDIR>>/src/ifcwrap/../serializers/SvgSerializer.h:759:125: warning: missing initializer for member ‘vertical_section::size’ [-Wmissing-field-initializers]
/usr/bin/x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PK [too-long-redacted] x86_64-linux-gnu/libTKDEIGES.so
make[4]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/3.13'
[100%] Built target IfcSimplifiedAlignment
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘T cast_pyobject(PyObject*) [with T = int; PyObject = _object]’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:5557:41: error: ‘PyInt_AsLong’ was not declared in this scope; did you mean ‘PyLong_AsLong’?
 5557 |                 return static_cast<int>(PyInt_AsLong(element));
      |                                         ^~~~~~~~~~~~
      |                                         PyLong_AsLong
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘PyObject* pythonize(const int&)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:5649:70: error: ‘PyInt_FromLong’ was not declared in this scope; did you mean ‘PyLong_FromLong’?
 5649 |         PyObject* pythonize(const int& t)                   { return PyInt_FromLong(t);                                                                  }
      |                                                                      ^~~~~~~~~~~~~~
      |                                                                      PyLong_FromLong
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘PyObject* pythonize(const unsigned int&)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:5650:70: error: ‘PyInt_FromLong’ was not declared in this scope; did you mean ‘PyLong_FromLong’?
 5650 |         PyObject* pythonize(const unsigned int& t)          { return PyInt_FromLong(t);                                                                  }
      |                                                                      ^~~~~~~~~~~~~~
      |                                                                      PyLong_FromLong
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘const ifcopenshell::geometry::taxonomy::geom_item::ptr& ifcopenshell_geometry_taxonomy_collection___getitem__(const ifcopenshell::geometry::taxonomy::collection*, int)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:6391:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ifcopenshell::geometry::taxonomy::geom_item>, std::allocator<std::shared_ptr<ifcopenshell::geometry::taxonomy::geom_item> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 6391 |                 if (index < 0 || index >= self->children.size()) {
      |                                  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘const ifcopenshell::geometry::taxonomy::edge::ptr& ifcopenshell_geometry_taxonomy_loop___getitem__(const ifcopenshell::geometry::taxonomy::loop*, int)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:6403:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ifcopenshell::geometry::taxonomy::edge>, std::allocator<std::shared_ptr<ifcopenshell::geometry::taxonomy::edge> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 6403 |                 if (index < 0 || index >= self->children.size()) {
      |                                  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘const ifcopenshell::geometry::taxonomy::loop::ptr& ifcopenshell_geometry_taxonomy_face___getitem__(const ifcopenshell::geometry::taxonomy::face*, int)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:6412:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ifcopenshell::geometry::taxonomy::loop>, std::allocator<std::shared_ptr<ifcopenshell::geometry::taxonomy::loop> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 6412 |                 if (index < 0 || index >= self->children.size()) {
      |                                  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘const ifcopenshell::geometry::taxonomy::face::ptr& ifcopenshell_geometry_taxonomy_shell___getitem__(const ifcopenshell::geometry::taxonomy::shell*, int)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:6424:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ifcopenshell::geometry::taxonomy::face>, std::allocator<std::shared_ptr<ifcopenshell::geometry::taxonomy::face> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 6424 |                 if (index < 0 || index >= self->children.size()) {
      |                                  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘const ifcopenshell::geometry::taxonomy::shell::ptr& ifcopenshell_geometry_taxonomy_solid___getitem__(const ifcopenshell::geometry::taxonomy::solid*, int)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:6433:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ifcopenshell::geometry::taxonomy::shell>, std::allocator<std::shared_ptr<ifcopenshell::geometry::taxonomy::shell> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 6433 |                 if (index < 0 || index >= self->children.size()) {
      |                                  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘const ifcopenshell::geometry::taxonomy::geom_item::ptr& ifcopenshell_geometry_taxonomy_loft___getitem__(const ifcopenshell::geometry::taxonomy::loft*, int)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:6445:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ifcopenshell::geometry::taxonomy::geom_item>, std::allocator<std::shared_ptr<ifcopenshell::geometry::taxonomy::geom_item> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 6445 |                 if (index < 0 || index >= self->children.size()) {
      |                                  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘const ifcopenshell::geometry::taxonomy::geom_item::ptr& ifcopenshell_geometry_taxonomy_boolean_result___getitem__(const ifcopenshell::geometry::taxonomy::boolean_result*, int)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:6472:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ifcopenshell::geometry::taxonomy::geom_item>, std::allocator<std::shared_ptr<ifcopenshell::geometry::taxonomy::geom_item> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
 6472 |                 if (index < 0 || index >= self->children.size()) {
      |                                  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: At global scope:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:8102:12: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 8102 | SWIGINTERN char const *const IfcUtil_IfcBaseClass_get_argument_type(IfcUtil::IfcBaseClass const *self,unsigned int i){
      |            ^~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘std::vector<std::__cxx11::basic_string<char> > IfcParse_enumeration_type_argument_types(IfcParse::enumeration_type*)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:8265:138: warning: unused parameter ‘self’ [-Wunused-parameter]
 8265 | SWIGINTERN std::vector< std::string,std::allocator< std::string > > IfcParse_enumeration_type_argument_types(IfcParse::enumeration_type *self){
      |                                                                                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘PyObject* get_info_cpp(IfcUtil::IfcBaseClass*, bool)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:8409:38: warning: unused variable ‘attr_type’ [-Wunused-variable]
 8409 |                                 auto attr_type = *dit
      |                                      ^~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘PyObject* _wrap_Triangulation_materials(PyObject*, PyObject*)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:17982:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ifcopenshell::geometry::taxonomy::style> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
17982 |     for (int i = 0; i < (*result).size(); ++i) {
      |                     ~~^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘PyObject* _wrap_collection_children_(PyObject*, PyObject*)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:35179:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ifcopenshell::geometry::taxonomy::geom_item>, std::allocator<std::shared_ptr<ifcopenshell::geometry::taxonomy::geom_item> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
35179 |     for (int i = 0; i < (*result).size(); ++i) {
      |                     ~~^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘PyObject* _wrap_loop_children_(PyObject*, PyObject*)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:35965:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ifcopenshell::geometry::taxonomy::edge>, std::allocator<std::shared_ptr<ifcopenshell::geometry::taxonomy::edge> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
35965 |     for (int i = 0; i < (*result).size(); ++i) {
      |                     ~~^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘PyObject* _wrap_face_children_(PyObject*, PyObject*)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:36464:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ifcopenshell::geometry::taxonomy::loop>, std::allocator<std::shared_ptr<ifcopenshell::geometry::taxonomy::loop> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
36464 |     for (int i = 0; i < (*result).size(); ++i) {
      |                     ~~^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘PyObject* _wrap_shell_children_(PyObject*, PyObject*)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:37009:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ifcopenshell::geometry::taxonomy::face>, std::allocator<std::shared_ptr<ifcopenshell::geometry::taxonomy::face> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
37009 |     for (int i = 0; i < (*result).size(); ++i) {
      |                     ~~^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘PyObject* _wrap_solid_children_(PyObject*, PyObject*)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:37353:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ifcopenshell::geometry::taxonomy::shell>, std::allocator<std::shared_ptr<ifcopenshell::geometry::taxonomy::shell> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
37353 |     for (int i = 0; i < (*result).size(); ++i) {
      |                     ~~^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘PyObject* _wrap_loft_children_(PyObject*, PyObject*)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:37902:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ifcopenshell::geometry::taxonomy::geom_item>, std::allocator<std::shared_ptr<ifcopenshell::geometry::taxonomy::geom_item> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
37902 |     for (int i = 0; i < (*result).size(); ++i) {
      |                     ~~^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘PyObject* _wrap_boolean_result_children_(PyObject*, PyObject*)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:42558:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ifcopenshell::geometry::taxonomy::geom_item>, std::allocator<std::shared_ptr<ifcopenshell::geometry::taxonomy::geom_item> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
42558 |     for (int i = 0; i < (*result).size(); ++i) {
      |                     ~~^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘PyObject* _wrap_tree_styles(PyObject*, PyObject*)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:55004:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<ifcopenshell::geometry::taxonomy::style> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
55004 |     for (int i = 0; i < (*result).size(); ++i) {
      |                     ~~^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx: In function ‘PyObject* _wrap_simple_type_declared_type(PyObject*, PyObject*)’:
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:83834:17: error: ‘SWIG_Python_str_FromChar’ was not declared in this scope
83834 |     resultobj = SWIG_Python_str_FromChar(data_type_strings[(int)result]);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/Iterator.h: In instantiation of ‘IfcGeom::Element* IfcGeom::Iterator::decorate_with_cache_(GeometrySerializer::read_type, const std::string&, const std::string&, Fn) [with Fn = IfcGeom::Iterator::create_element_(ifcopenshell::geometry::Converter*, ifcopenshell::geometry::Settings, {anonymous}::geometry_conversion_result*)::<lambda()>; std::string = std::__cxx11::basic_string<char>]’:
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/Iterator.h:540:88:   required from here
  540 |                         IfcGeom::BRepElement* brep = static_cast<IfcGeom::BRepElement*>(decorate_with_cache_(GeometrySerializer::READ_BREP, (std::string)product->get("GlobalId"), std::to_string(rep->item->instance->as<IfcUtil::IfcBaseEntity>()->id()), [kernel, settings, product, place, rep]() {
      |                                                                                         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  541 |                                 return kernel->create_brep_for_representation_and_product(rep->item, product, place);
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  542 |                         }));
      |                         ~~
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/Iterator.h:463:77: warning: unused parameter ‘rt’ [-Wunused-parameter]
  463 |                 Element* decorate_with_cache_(GeometrySerializer::read_type rt, const std::string& product_guid, const std::string& representation_id, Fn f) {
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/Iterator.h:463:100: warning: unused parameter ‘product_guid’ [-Wunused-parameter]
  463 |                 Element* decorate_with_cache_(GeometrySerializer::read_type rt, const std::string& product_guid, const std::string& representation_id, Fn f) {
      |                                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/Iterator.h:463:133: warning: unused parameter ‘representation_id’ [-Wunused-parameter]
  463 |                 Element* decorate_with_cache_(GeometrySerializer::read_type rt, const std::string& product_guid, const std::string& representation_id, Fn f) {
      |                                                                                                                  ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/Iterator.h: In instantiation of ‘IfcGeom::Element* IfcGeom::Iterator::decorate_with_cache_(GeometrySerializer::read_type, const std::string&, const std::string&, Fn) [with Fn = IfcGeom::Iterator::create_element_(ifcopenshell::geometry::Converter*, ifcopenshell::geometry::Settings, {anonymous}::geometry_conversion_result*)::<lambda()>; std::string = std::__cxx11::basic_string<char>]’:
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/Iterator.h:561:90:   required from here
  561 |                                 IfcGeom::BRepElement* brep2 = static_cast<IfcGeom::BRepElement*>(decorate_with_cache_(GeometrySerializer::READ_BREP, (std::string)product2->get("GlobalId"), std::to_string(rep->item->instance->as<IfcUtil::IfcBaseEntity>()->id()), [kernel, settings, product2, place2, brep]() {
      |                                                                                                  ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  562 |                                         return kernel->create_brep_for_processed_representation(product2, place2, brep);
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  563 |                                 }));
      |                                 ~~
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/Iterator.h:463:77: warning: unused parameter ‘rt’ [-Wunused-parameter]
  463 |                 Element* decorate_with_cache_(GeometrySerializer::read_type rt, const std::string& product_guid, const std::string& representation_id, Fn f) {
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/Iterator.h:463:100: warning: unused parameter ‘product_guid’ [-Wunused-parameter]
  463 |                 Element* decorate_with_cache_(GeometrySerializer::read_type rt, const std::string& product_guid, const std::string& representation_id, Fn f) {
      |                                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/Iterator.h:463:133: warning: unused parameter ‘representation_id’ [-Wunused-parameter]
  463 |                 Element* decorate_with_cache_(GeometrySerializer::read_type rt, const std::string& product_guid, const std::string& representation_id, Fn f) {
      |                                                                                                                  ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/Iterator.h: In instantiation of ‘IfcGeom::Element* IfcGeom::Iterator::decorate_with_cache_(GeometrySerializer::read_type, const std::string&, const std::string&, Fn) [with Fn = IfcGeom::Iterator::process_based_on_settings(ifcopenshell::geometry::Settings, IfcGeom::BRepElement*, IfcGeom::TriangulationElement*)::<lambda()>; std::string = std::__cxx11::basic_string<char>]’:
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/Iterator.h:594:32:   required from here
  594 |                                 return decorate_with_cache_(GeometrySerializer::READ_TRIANGULATION, elem->guid(), gid2, [elem, previous]() {
      |                                        ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  595 |                                         try {
      |                                         ~~~~~
  596 |                                                 if (!previous) {
      |                                                 ~~~~~~~~~~~~~~~~
  597 |                                                         return new TriangulationElement(*elem);
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  598 |                                                 } else {
      |                                                 ~~~~~~~~
  599 |                                                         return new TriangulationElement(*elem, previous->geometry_pointer());
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  600 |                                                 }
      |                                                 ~
  601 |                                         } catch (...) {
      |                                         ~~~~~~~~~~~~~~~
  602 |                                                 Logger::Message(Logger::LOG_ERROR, "Getting a triangulation element from model failed.");
      |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  603 |                                         }
      |                                         ~
  604 |                                         return (TriangulationElement*)nullptr;
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  605 |                                 });
      |                                 ~~
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/Iterator.h:463:77: warning: unused parameter ‘rt’ [-Wunused-parameter]
  463 |                 Element* decorate_with_cache_(GeometrySerializer::read_type rt, const std::string& product_guid, const std::string& representation_id, Fn f) {
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/Iterator.h:463:100: warning: unused parameter ‘product_guid’ [-Wunused-parameter]
  463 |                 Element* decorate_with_cache_(GeometrySerializer::read_type rt, const std::string& product_guid, const std::string& representation_id, Fn f) {
      |                                                                                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/Iterator.h:463:133: warning: unused parameter ‘representation_id’ [-Wunused-parameter]
  463 |                 Element* decorate_with_cache_(GeometrySerializer::read_type rt, const std::string& product_guid, const std::string& representation_id, Fn f) {
      |                                                                                                                  ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/kernels/opencascade/IfcGeomTree.h: In instantiation of ‘std::unique_ptr<BVH_BoxSet<double, 3> > IfcGeom::impl::tree<T>::build_box_set(const std::vector<T>&) const [with T = const IfcUtil::IfcBaseEntity*]’:
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/kernels/opencascade/IfcGeomTree.h:1028:68:   required from ‘std::vector<IfcGeom::clash> IfcGeom::impl::tree<T>::clash_intersection_many(const std::vector<T>&, const std::vector<T>&, double, bool) const [with T = const IfcUtil::IfcBaseEntity*]’
 1028 |                 std::unique_ptr<BVH_BoxSet<double, 3>> box_set_a = build_box_set(set_a);
      |                                                                    ^~~~~~~~~~~~~
/<<PKGBUILDDIR>>/debian/build/3.13/ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx:6767:52:   required from here
 6767 |                return self->clash_intersection_many(set_a_entities, set_b_entities, tolerance, check_all);
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/ifcwrap/../ifcgeom/kernels/opencascade/IfcGeomTree.h:988:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<const IfcUtil::IfcBaseEntity*, std::allocator<const IfcUtil::IfcBaseEntity*> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  988 |                 for (int i=0; i<elements.size(); ++i) {
      |                               ~^~~~~~~~~~~~~~~~
make[4]: *** [ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/build.make:82: ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/CMakeFiles/ifcopenshell_wrapper.dir/IfcPythonPYTHON_wrap.cxx.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/3.13'
make[3]: *** [CMakeFiles/Makefile2:1586: ifcwrap/CMakeFiles/ifcopenshell_wrapper.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/3.13'
make[2]: *** [Makefile:159: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/3.13'
dh_auto_build: error: cd debian/build/3.13 && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:34: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:21: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------