Source: ifcopenshell
Version: 0.8.1+dfsg1-9
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: [email protected]

Dear maintainer,

ifcopenshell FTBFS with boost 1.92:

[ 12%] Building CXX object 
CMakeFiles/geometry_mapping_ifc2x3.dir/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp.o
/usr/bin/x86_64-linux-gnu-g++ -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK 
-DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB 
-DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_DATE_TIME_DYN_LINK 
-DBOOST_DATE_TIME_NO_LIB -DBOOST_EXCEPTION_NO_LIB=1 
-DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB 
-DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_THREAD_DYN_LINK 
-DBOOST_THREAD_NO_LIB -DBOOST_THREAD_USE_DLL -DHAS_SCHEMA_2x3 -DHAS_SCHEMA_4 
-DHAS_SCHEMA_4x1 -DHAS_SCHEMA_4x2 -DHAS_SCHEMA_4x3 -DHAS_SCHEMA_4x3_add1 
-DHAS_SCHEMA_4x3_add2 -DHAS_SCHEMA_4x3_tc1 -DIFC_SHARED_BUILD 
-DIFOPSH_WITH_CGAL -DIFOPSH_WITH_OPENCASCADE 
-DSCHEMA_SEQ="(2x3)(4)(4x1)(4x2)(4x3)(4x3_tc1)(4x3_add1)(4x3_add2)" 
-DWITH_IFCXML -D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR -I/usr/include/opencascade 
-I/usr/include/libxml2 -I/usr/include/eigen3 -g -O2 
-ffile-prefix-map=/build/reproducible-path/ifcopenshell-0.8.1+dfsg1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-std=gnu++17   -Wall -Wextra -Wno-maybe-uninitialized -Wno-deprecated-copy 
-fPIC -DIFC_GEOM_EXPORTS -DIfcSchema=Ifc2x3 -MD -MT 
CMakeFiles/geometry_mapping_ifc2x3.dir/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp.o
 -MF 
CMakeFiles/geometry_mapping_ifc2x3.dir/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp.o.d
 -o 
CMakeFiles/geometry_mapping_ifc2x3.dir/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp.o
 -c 
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp:
 In member function ‘ifcopenshell::geometry::taxonomy::ptr 
ifcopenshell::geometry::mapping_Ifc2x3::map_impl(const 
Ifc2x3::IfcCShapeProfileDef*)’:
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp:59:30:
 error: converting to ‘boost::optional<double>’ from initializer list would use 
explicit constructor ‘constexpr boost::optional<T>::optional(U&&) [with U = 
double&; typename std::enable_if<std::is_constructible<T, U&&>::value, 
bool>::type <anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_typed_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
std::is_base_of<boost::optional_detail::optional_tag, typename 
std::decay<_Func>::type>::value), bool>::type <anonymous> = false; T = double]’
   59 |         return profile_helper(m4, {
      |                ~~~~~~~~~~~~~~^~~~~~
   60 |                 {{-x,-y},{f2}},
      |                 ~~~~~~~~~~~~~~~
   61 |                 {{x,-y},{f2}},
      |                 ~~~~~~~~~~~~~~
   62 |                 {{x,-y + d2}},
      |                 ~~~~~~~~~~~~~~
   63 |                 {{x - d1,-y + d2}},
      |                 ~~~~~~~~~~~~~~~~~~~
   64 |                 {{x - d1,-y + d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
   65 |                 {{-x + d1,-y + d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~
   66 |                 {{-x + d1,y - d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
   67 |                 {{x - d1,y - d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~
   68 |                 {{x - d1,y - d2}},
      |                 ~~~~~~~~~~~~~~~~~~
   69 |                 {{x,y - d2}},
      |                 ~~~~~~~~~~~~~ 
   70 |                 {{x,y},{f2}},
      |                 ~~~~~~~~~~~~~ 
   71 |                 {{-x,y},{f2}}
      |                 ~~~~~~~~~~~~~ 
   72 |         });
      |         ~~                    
In file included from /usr/include/boost/optional/optional.hpp:52,
                 from /usr/include/boost/optional.hpp:15,
                 from 
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/../../ifcparse/IfcEntityInstanceData.h:28,
                 from 
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/../../ifcparse/IfcBaseClass.h:25,
                 from 
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/../abstract_mapping.h:4,
                 from 
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/mapping.h:4,
                 from 
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp:20:
/usr/include/boost/optional/detail/union_optional.hpp:397:24: note: ‘constexpr 
boost::optional<T>::optional(U&&) [with U = double&; typename 
std::enable_if<std::is_constructible<T, U&&>::value, bool>::type <anonymous> = 
false; typename std::enable_if<(! 
boost::optional_detail::is_typed_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
std::is_base_of<boost::optional_detail::optional_tag, typename 
std::decay<_Func>::type>::value), bool>::type <anonymous> = false; T = double]’ 
declared here
  397 |     constexpr explicit optional(U&& v)
      |                        ^~~~~~~~
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp:59:30:
 error: converting to ‘boost::optional<double>’ from initializer list would use 
explicit constructor ‘constexpr boost::optional<T>::optional(U&&) [with U = 
double&; typename std::enable_if<std::is_constructible<T, U&&>::value, 
bool>::type <anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_typed_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
std::is_base_of<boost::optional_detail::optional_tag, typename 
std::decay<_Func>::type>::value), bool>::type <anonymous> = false; T = double]’
   59 |         return profile_helper(m4, {
      |                ~~~~~~~~~~~~~~^~~~~~
   60 |                 {{-x,-y},{f2}},
      |                 ~~~~~~~~~~~~~~~
   61 |                 {{x,-y},{f2}},
      |                 ~~~~~~~~~~~~~~
   62 |                 {{x,-y + d2}},
      |                 ~~~~~~~~~~~~~~
   63 |                 {{x - d1,-y + d2}},
      |                 ~~~~~~~~~~~~~~~~~~~
   64 |                 {{x - d1,-y + d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
   65 |                 {{-x + d1,-y + d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~
   66 |                 {{-x + d1,y - d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
   67 |                 {{x - d1,y - d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~
   68 |                 {{x - d1,y - d2}},
      |                 ~~~~~~~~~~~~~~~~~~
   69 |                 {{x,y - d2}},
      |                 ~~~~~~~~~~~~~ 
   70 |                 {{x,y},{f2}},
      |                 ~~~~~~~~~~~~~ 
   71 |                 {{-x,y},{f2}}
      |                 ~~~~~~~~~~~~~ 
   72 |         });
      |         ~~                    
/usr/include/boost/optional/detail/union_optional.hpp:397:24: note: ‘constexpr 
boost::optional<T>::optional(U&&) [with U = double&; typename 
std::enable_if<std::is_constructible<T, U&&>::value, bool>::type <anonymous> = 
false; typename std::enable_if<(! 
boost::optional_detail::is_typed_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
std::is_base_of<boost::optional_detail::optional_tag, typename 
std::decay<_Func>::type>::value), bool>::type <anonymous> = false; T = double]’ 
declared here
  397 |     constexpr explicit optional(U&& v)
      |                        ^~~~~~~~
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp:59:30:
 warning: missing initializer for member 
‘ifcopenshell::geometry::profile_point::radius’ [-Wmissing-field-initializers]
   59 |         return profile_helper(m4, {
      |                ~~~~~~~~~~~~~~^~~~~~
   60 |                 {{-x,-y},{f2}},
      |                 ~~~~~~~~~~~~~~~
   61 |                 {{x,-y},{f2}},
      |                 ~~~~~~~~~~~~~~
   62 |                 {{x,-y + d2}},
      |                 ~~~~~~~~~~~~~~
   63 |                 {{x - d1,-y + d2}},
      |                 ~~~~~~~~~~~~~~~~~~~
   64 |                 {{x - d1,-y + d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
   65 |                 {{-x + d1,-y + d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~
   66 |                 {{-x + d1,y - d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
   67 |                 {{x - d1,y - d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~
   68 |                 {{x - d1,y - d2}},
      |                 ~~~~~~~~~~~~~~~~~~
   69 |                 {{x,y - d2}},
      |                 ~~~~~~~~~~~~~ 
   70 |                 {{x,y},{f2}},
      |                 ~~~~~~~~~~~~~ 
   71 |                 {{-x,y},{f2}}
      |                 ~~~~~~~~~~~~~ 
   72 |         });
      |         ~~                    
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp:59:30:
 warning: missing initializer for member 
‘ifcopenshell::geometry::profile_point::radius’ [-Wmissing-field-initializers]
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp:59:30:
 error: converting to ‘boost::optional<double>’ from initializer list would use 
explicit constructor ‘constexpr boost::optional<T>::optional(U&&) [with U = 
double&; typename std::enable_if<std::is_constructible<T, U&&>::value, 
bool>::type <anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_typed_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
std::is_base_of<boost::optional_detail::optional_tag, typename 
std::decay<_Func>::type>::value), bool>::type <anonymous> = false; T = double]’
/usr/include/boost/optional/detail/union_optional.hpp:397:24: note: ‘constexpr 
boost::optional<T>::optional(U&&) [with U = double&; typename 
std::enable_if<std::is_constructible<T, U&&>::value, bool>::type <anonymous> = 
false; typename std::enable_if<(! 
boost::optional_detail::is_typed_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
std::is_base_of<boost::optional_detail::optional_tag, typename 
std::decay<_Func>::type>::value), bool>::type <anonymous> = false; T = double]’ 
declared here
  397 |     constexpr explicit optional(U&& v)
      |                        ^~~~~~~~
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp:59:30:
 error: converting to ‘boost::optional<double>’ from initializer list would use 
explicit constructor ‘constexpr boost::optional<T>::optional(U&&) [with U = 
double&; typename std::enable_if<std::is_constructible<T, U&&>::value, 
bool>::type <anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_typed_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
std::is_base_of<boost::optional_detail::optional_tag, typename 
std::decay<_Func>::type>::value), bool>::type <anonymous> = false; T = double]’
   59 |         return profile_helper(m4, {
      |                ~~~~~~~~~~~~~~^~~~~~
   60 |                 {{-x,-y},{f2}},
      |                 ~~~~~~~~~~~~~~~
   61 |                 {{x,-y},{f2}},
      |                 ~~~~~~~~~~~~~~
   62 |                 {{x,-y + d2}},
      |                 ~~~~~~~~~~~~~~
   63 |                 {{x - d1,-y + d2}},
      |                 ~~~~~~~~~~~~~~~~~~~
   64 |                 {{x - d1,-y + d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
   65 |                 {{-x + d1,-y + d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~
   66 |                 {{-x + d1,y - d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
   67 |                 {{x - d1,y - d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~
   68 |                 {{x - d1,y - d2}},
      |                 ~~~~~~~~~~~~~~~~~~
   69 |                 {{x,y - d2}},
      |                 ~~~~~~~~~~~~~ 
   70 |                 {{x,y},{f2}},
      |                 ~~~~~~~~~~~~~ 
   71 |                 {{-x,y},{f2}}
      |                 ~~~~~~~~~~~~~ 
   72 |         });
      |         ~~                    
/usr/include/boost/optional/detail/union_optional.hpp:397:24: note: ‘constexpr 
boost::optional<T>::optional(U&&) [with U = double&; typename 
std::enable_if<std::is_constructible<T, U&&>::value, bool>::type <anonymous> = 
false; typename std::enable_if<(! 
boost::optional_detail::is_typed_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
std::is_base_of<boost::optional_detail::optional_tag, typename 
std::decay<_Func>::type>::value), bool>::type <anonymous> = false; T = double]’ 
declared here
  397 |     constexpr explicit optional(U&& v)
      |                        ^~~~~~~~
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp:59:30:
 error: converting to ‘boost::optional<double>’ from initializer list would use 
explicit constructor ‘constexpr boost::optional<T>::optional(U&&) [with U = 
double&; typename std::enable_if<std::is_constructible<T, U&&>::value, 
bool>::type <anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_typed_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
std::is_base_of<boost::optional_detail::optional_tag, typename 
std::decay<_Func>::type>::value), bool>::type <anonymous> = false; T = double]’
   59 |         return profile_helper(m4, {
      |                ~~~~~~~~~~~~~~^~~~~~
   60 |                 {{-x,-y},{f2}},
      |                 ~~~~~~~~~~~~~~~
   61 |                 {{x,-y},{f2}},
      |                 ~~~~~~~~~~~~~~
   62 |                 {{x,-y + d2}},
      |                 ~~~~~~~~~~~~~~
   63 |                 {{x - d1,-y + d2}},
      |                 ~~~~~~~~~~~~~~~~~~~
   64 |                 {{x - d1,-y + d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
   65 |                 {{-x + d1,-y + d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~
   66 |                 {{-x + d1,y - d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
   67 |                 {{x - d1,y - d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~
   68 |                 {{x - d1,y - d2}},
      |                 ~~~~~~~~~~~~~~~~~~
   69 |                 {{x,y - d2}},
      |                 ~~~~~~~~~~~~~ 
   70 |                 {{x,y},{f2}},
      |                 ~~~~~~~~~~~~~ 
   71 |                 {{-x,y},{f2}}
      |                 ~~~~~~~~~~~~~ 
   72 |         });
      |         ~~                    
/usr/include/boost/optional/detail/union_optional.hpp:397:24: note: ‘constexpr 
boost::optional<T>::optional(U&&) [with U = double&; typename 
std::enable_if<std::is_constructible<T, U&&>::value, bool>::type <anonymous> = 
false; typename std::enable_if<(! 
boost::optional_detail::is_typed_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
std::is_base_of<boost::optional_detail::optional_tag, typename 
std::decay<_Func>::type>::value), bool>::type <anonymous> = false; T = double]’ 
declared here
  397 |     constexpr explicit optional(U&& v)
      |                        ^~~~~~~~
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp:59:30:
 error: converting to ‘boost::optional<double>’ from initializer list would use 
explicit constructor ‘constexpr boost::optional<T>::optional(U&&) [with U = 
double&; typename std::enable_if<std::is_constructible<T, U&&>::value, 
bool>::type <anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_typed_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
std::is_base_of<boost::optional_detail::optional_tag, typename 
std::decay<_Func>::type>::value), bool>::type <anonymous> = false; T = double]’
   59 |         return profile_helper(m4, {
      |                ~~~~~~~~~~~~~~^~~~~~
   60 |                 {{-x,-y},{f2}},
      |                 ~~~~~~~~~~~~~~~
   61 |                 {{x,-y},{f2}},
      |                 ~~~~~~~~~~~~~~
   62 |                 {{x,-y + d2}},
      |                 ~~~~~~~~~~~~~~
   63 |                 {{x - d1,-y + d2}},
      |                 ~~~~~~~~~~~~~~~~~~~
   64 |                 {{x - d1,-y + d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
   65 |                 {{-x + d1,-y + d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~
   66 |                 {{-x + d1,y - d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
   67 |                 {{x - d1,y - d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~
   68 |                 {{x - d1,y - d2}},
      |                 ~~~~~~~~~~~~~~~~~~
   69 |                 {{x,y - d2}},
      |                 ~~~~~~~~~~~~~ 
   70 |                 {{x,y},{f2}},
      |                 ~~~~~~~~~~~~~ 
   71 |                 {{-x,y},{f2}}
      |                 ~~~~~~~~~~~~~ 
   72 |         });
      |         ~~                    
/usr/include/boost/optional/detail/union_optional.hpp:397:24: note: ‘constexpr 
boost::optional<T>::optional(U&&) [with U = double&; typename 
std::enable_if<std::is_constructible<T, U&&>::value, bool>::type <anonymous> = 
false; typename std::enable_if<(! 
boost::optional_detail::is_typed_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
std::is_base_of<boost::optional_detail::optional_tag, typename 
std::decay<_Func>::type>::value), bool>::type <anonymous> = false; T = double]’ 
declared here
  397 |     constexpr explicit optional(U&& v)
      |                        ^~~~~~~~
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp:59:30:
 warning: missing initializer for member 
‘ifcopenshell::geometry::profile_point::radius’ [-Wmissing-field-initializers]
   59 |         return profile_helper(m4, {
      |                ~~~~~~~~~~~~~~^~~~~~
   60 |                 {{-x,-y},{f2}},
      |                 ~~~~~~~~~~~~~~~
   61 |                 {{x,-y},{f2}},
      |                 ~~~~~~~~~~~~~~
   62 |                 {{x,-y + d2}},
      |                 ~~~~~~~~~~~~~~
   63 |                 {{x - d1,-y + d2}},
      |                 ~~~~~~~~~~~~~~~~~~~
   64 |                 {{x - d1,-y + d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
   65 |                 {{-x + d1,-y + d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~
   66 |                 {{-x + d1,y - d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
   67 |                 {{x - d1,y - d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~
   68 |                 {{x - d1,y - d2}},
      |                 ~~~~~~~~~~~~~~~~~~
   69 |                 {{x,y - d2}},
      |                 ~~~~~~~~~~~~~ 
   70 |                 {{x,y},{f2}},
      |                 ~~~~~~~~~~~~~ 
   71 |                 {{-x,y},{f2}}
      |                 ~~~~~~~~~~~~~ 
   72 |         });
      |         ~~                    
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp:59:30:
 warning: missing initializer for member 
‘ifcopenshell::geometry::profile_point::radius’ [-Wmissing-field-initializers]
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp:59:30:
 error: converting to ‘boost::optional<double>’ from initializer list would use 
explicit constructor ‘constexpr boost::optional<T>::optional(U&&) [with U = 
double&; typename std::enable_if<std::is_constructible<T, U&&>::value, 
bool>::type <anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_typed_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
std::is_base_of<boost::optional_detail::optional_tag, typename 
std::decay<_Func>::type>::value), bool>::type <anonymous> = false; T = double]’
/usr/include/boost/optional/detail/union_optional.hpp:397:24: note: ‘constexpr 
boost::optional<T>::optional(U&&) [with U = double&; typename 
std::enable_if<std::is_constructible<T, U&&>::value, bool>::type <anonymous> = 
false; typename std::enable_if<(! 
boost::optional_detail::is_typed_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
std::is_base_of<boost::optional_detail::optional_tag, typename 
std::decay<_Func>::type>::value), bool>::type <anonymous> = false; T = double]’ 
declared here
  397 |     constexpr explicit optional(U&& v)
      |                        ^~~~~~~~
/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp:59:30:
 error: converting to ‘boost::optional<double>’ from initializer list would use 
explicit constructor ‘constexpr boost::optional<T>::optional(U&&) [with U = 
double&; typename std::enable_if<std::is_constructible<T, U&&>::value, 
bool>::type <anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_typed_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
std::is_base_of<boost::optional_detail::optional_tag, typename 
std::decay<_Func>::type>::value), bool>::type <anonymous> = false; T = double]’
   59 |         return profile_helper(m4, {
      |                ~~~~~~~~~~~~~~^~~~~~
   60 |                 {{-x,-y},{f2}},
      |                 ~~~~~~~~~~~~~~~
   61 |                 {{x,-y},{f2}},
      |                 ~~~~~~~~~~~~~~
   62 |                 {{x,-y + d2}},
      |                 ~~~~~~~~~~~~~~
   63 |                 {{x - d1,-y + d2}},
      |                 ~~~~~~~~~~~~~~~~~~~
   64 |                 {{x - d1,-y + d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
   65 |                 {{-x + d1,-y + d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~
   66 |                 {{-x + d1,y - d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~
   67 |                 {{x - d1,y - d1},{f1}},
      |                 ~~~~~~~~~~~~~~~~~~~~~~~
   68 |                 {{x - d1,y - d2}},
      |                 ~~~~~~~~~~~~~~~~~~
   69 |                 {{x,y - d2}},
      |                 ~~~~~~~~~~~~~ 
   70 |                 {{x,y},{f2}},
      |                 ~~~~~~~~~~~~~ 
   71 |                 {{-x,y},{f2}}
      |                 ~~~~~~~~~~~~~ 
   72 |         });
      |         ~~                    
/usr/include/boost/optional/detail/union_optional.hpp:397:24: note: ‘constexpr 
boost::optional<T>::optional(U&&) [with U = double&; typename 
std::enable_if<std::is_constructible<T, U&&>::value, bool>::type <anonymous> = 
false; typename std::enable_if<(! 
boost::optional_detail::is_typed_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
boost::optional_detail::is_in_place_factory<FT>::value), bool>::type 
<anonymous> = false; typename std::enable_if<(! 
std::is_base_of<boost::optional_detail::optional_tag, typename 
std::decay<_Func>::type>::value), bool>::type <anonymous> = false; T = double]’ 
declared here
  397 |     constexpr explicit optional(U&& v)
      |                        ^~~~~~~~
make[4]: *** [CMakeFiles/geometry_mapping_ifc2x3.dir/build.make:250: 
CMakeFiles/geometry_mapping_ifc2x3.dir/build/reproducible-path/ifcopenshell-0.8.1+dfsg1/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp.o]
 Error 1

See
https://buildd.debian.org/status/fetch.php?pkg=ifcopenshell&arch=amd64&ver=0.8.1%2Bdfsg1-9%2Bb1&stamp=1791440223&raw=0
for details.

Cheers
-- 
Sebastian Ramacher

Reply via email to