Title: build error in XmlSerializer.cpp · Issue #6565 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: build error in XmlSerializer.cpp · Issue #6565 · IfcOpenShell/IfcOpenShell
X Title: build error in XmlSerializer.cpp · Issue #6565 · IfcOpenShell/IfcOpenShell
Description: Bug Description This build error has appeared sometime since 2025-04-10, probably with 858e73c: [ 97%] Building CXX object CMakeFiles/Serializers_ifc2x3.dir/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers...
Open Graph Description: Bug Description This build error has appeared sometime since 2025-04-10, probably with 858e73c: [ 97%] Building CXX object CMakeFiles/Serializers_ifc2x3.dir/builddir/build/BUILD/IfcOpenShell-0.8.3-...
X Description: Bug Description This build error has appeared sometime since 2025-04-10, probably with 858e73c: [ 97%] Building CXX object CMakeFiles/Serializers_ifc2x3.dir/builddir/build/BUILD/IfcOpenShell-0.8.3-...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/6565
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"build error in XmlSerializer.cpp","articleBody":"### Bug Description\n\nThis build error has appeared sometime since 2025-04-10, probably with 858e73c:\n\n```\n[ 97%] Building CXX object CMakeFiles/Serializers_ifc2x3.dir/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp.o\n/usr/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -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)\" -DUSE_MMAP -DWITH_HDF5 -DWITH_IFCXML -D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR -I/usr/include/opencascade -I/usr/include/libxml2 -I/usr/include/eigen3 -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++17 -Wall -Wextra -Wno-maybe-uninitialized -Wno-deprecated-copy -fPIC -DIFC_GEOM_EXPORTS -DIfcSchema=Ifc2x3 -MD -MT CMakeFiles/Serializers_ifc2x3.dir/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp.o -MF CMakeFiles/Serializers_ifc2x3.dir/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp.o.d -o CMakeFiles/Serializers_ifc2x3.dir/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp.o -c /builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp\n/usr/bin/g++ -DBOOST_ALL_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -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)\" -DUSE_MMAP -DWITH_HDF5 -DWITH_IFCXML -D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR -I/usr/include/opencascade -I/usr/include/libxml2 -I/usr/include/eigen3 -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu++17 -Wall -Wextra -Wno-maybe-uninitialized -Wno-deprecated-copy -fPIC -DIFC_GEOM_EXPORTS -DIfcSchema=Ifc4x1 -MD -MT CMakeFiles/Serializers_ifc4x1.dir/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp.o -MF CMakeFiles/Serializers_ifc4x1.dir/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp.o.d -o CMakeFiles/Serializers_ifc4x1.dir/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp.o -c /builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp\n/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp: In function ‘boost::optional\u003cstd::__cxx11::basic_string\u003cchar> > {anonymous}::format_attribute(ifcopenshell::geometry::abstract_mapping*, AttributeValue, IfcUtil::ArgumentType, const std::string&)’:\n/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp:129:63: warning: unused variable ‘placement’ [-Wunused-variable]\n 129 | IfcSchema::IfcLocalPlacement* placement = e->as\u003cIfcSchema::IfcLocalPlacement>();\n | ^~~~~~~~~\n/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp: In function ‘boost::property_tree::ptree* {anonymous}::descend(ifcopenshell::geometry::abstract_mapping*, A*, boost::property_tree::ptree&, IfcUtil::IfcBaseClass*) [with A = Ifc2x3::IfcObjectDefinition; boost::property_tree::ptree = boost::property_tree::basic_ptree\u003cstd::__cxx11::basic_string\u003cchar>, std::__cxx11::basic_string\u003cchar> >]’:\n/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp:308:41: error: ‘IfcPropertySetDefinitionSet’ is not a member of ‘Ifc2x3’\n 308 | aggregate_of\u003cIfcSchema::IfcPropertySetDefinitionSet>::ptr property_set_sets = get_related\n | ^~~~~~~~~~~~~~~~~~~~~~~~~~~\n/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp:308:68: error: template argument 1 is invalid\n 308 | aggregate_of\u003cIfcSchema::IfcPropertySetDefinitionSet>::ptr property_set_sets = get_related\n | ^\n/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp:308:75: error: expected initializer before ‘property_set_sets’\n 308 | aggregate_of\u003cIfcSchema::IfcPropertySetDefinitionSet>::ptr property_set_sets = get_related\n | ^~~~~~~~~~~~~~~~~\n/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp:312:33: error: ‘property_set_sets’ was not declared in this scope; did you mean ‘property_sets’?\n 312 | for (auto& s : *property_set_sets) {\n | ^~~~~~~~~~~~~~~~~\n | property_sets\n/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp: In function ‘boost::optional\u003cstd::__cxx11::basic_string\u003cchar> > {anonymous}::format_attribute(ifcopenshell::geometry::abstract_mapping*, AttributeValue, IfcUtil::ArgumentType, const std::string&)’:\n/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp:129:63: warning: unused variable ‘placement’ [-Wunused-variable]\n 129 | IfcSchema::IfcLocalPlacement* placement = e->as\u003cIfcSchema::IfcLocalPlacement>();\n | ^~~~~~~~~\n/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp: In function ‘boost::optional\u003cstd::__cxx11::basic_string\u003cchar> > {anonymous}::format_attribute(ifcopenshell::geometry::abstract_mapping*, AttributeValue, IfcUtil::ArgumentType, const std::string&)’:\n/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp:129:63: warning: unused variable ‘placement’ [-Wunused-variable]\n 129 | IfcSchema::IfcLocalPlacement* placement = e->as\u003cIfcSchema::IfcLocalPlacement>();\n | ^~~~~~~~~\n/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp: In function ‘boost::optional\u003cstd::__cxx11::basic_string\u003cchar> > {anonymous}::format_attribute(ifcopenshell::geometry::abstract_mapping*, AttributeValue, IfcUtil::ArgumentType, const std::string&)’:\n/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp:129:63: warning: unused variable ‘placement’ [-Wunused-variable]\n 129 | IfcSchema::IfcLocalPlacement* placement = e->as\u003cIfcSchema::IfcLocalPlacement>();\n | ^~~~~~~~~\ngmake[2]: *** [CMakeFiles/Serializers_ifc2x3.dir/build.make:79: CMakeFiles/Serializers_ifc2x3.dir/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/src/serializers/schema_dependent/XmlSerializer.cpp.o] Error 1\ngmake[2]: Leaving directory '/builddir/build/BUILD/IfcOpenShell-0.8.3-build/IfcOpenShell-0.8.3/cmake/redhat-linux-build'\ngmake[1]: *** [CMakeFiles/Makefile2:818: CMakeFiles/Serializers_ifc2x3.dir/all] Error 2\ngmake[1]: *** Waiting for unfinished jobs....\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\n\n```","author":{"url":"https://github.com/brunopostle","@type":"Person","name":"brunopostle"},"datePublished":"2025-04-16T22:40:27Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/6565"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a44213c8-437d-ae4b-ef03-f9c1bbb40279 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D1C2:27A67B:2116E9:2C73ED:6B04B4CE |
| html-safe-nonce | 8ede3d6bb401767bab6d455b482bc11c3f9c48edda874531bb5a0af57777b0fe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUMyOjI3QTY3QjoyMTE2RTk6MkM3M0VEOjZCMDRCNENFIiwidmlzaXRvcl9pZCI6IjU2MTg3NTA0MjY4Njc2MTA4MzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9bc245edb521db423b0e5b9b0bf377f0127aaabb4589a2ee1d2bacddeafd4e5b |
| hovercard-subject-tag | issue:3000904864 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/6565/issue_layout |
| twitter:image | https://opengraph.githubassets.com/634a6edc093b48734234e543d36f3433e867720f7b50668c843a1453af75b1a9/IfcOpenShell/IfcOpenShell/issues/6565 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/634a6edc093b48734234e543d36f3433e867720f7b50668c843a1453af75b1a9/IfcOpenShell/IfcOpenShell/issues/6565 |
| og:image:alt | Bug Description This build error has appeared sometime since 2025-04-10, probably with 858e73c: [ 97%] Building CXX object CMakeFiles/Serializers_ifc2x3.dir/builddir/build/BUILD/IfcOpenShell-0.8.3-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brunopostle |
| hostname | github.com |
| expected-hostname | github.com |
| None | 378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7 |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b032e77f1ea437ede6c115446a0a467709b468e7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width