A regression in sci-libs/ondselsolver-1.0.1_p20241127 causes a compilation failure because it attempts to include Demangle.h, which does not appear to be installed or present in the include path. The previous version (sci-libs/ondselsolver-1.0.1_p20241024) installs and compiles without this issue. This seems to come from an `#include` in `/usr/include/OndselSolver/Array.h`. The problematic include (#include "Demangle.h") was added by ondselsolver-1.0.1-properly-demangle-typenames.patch on 2025-01-14 (https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0e9736af21b54b778c8cfb8d1ceba7bf8fb4a0b). Corresponding bug report: bugs.gentoo.org/947934. Reverting to sci-libs/ondselsolver-1.0.1_p20241024 avoids the error, so I guess that the patch in sci-libs/ondselsolver-1.0.1_p20241127 could be the cause. ondselsolver is a third party dependency of the assembly workbench in freecad. Working: sci-libs/ondselsolver-1.0.1_p20241024 Broken: sci-libs/ondselsolver-1.0.1_p20241127 Reproducible: Always Steps to Reproduce: 1. Upgrade to/Install libs/ondselsolver-1.0.1_p20241127 2. Install/Compile media-gfx/freecad-1.0.0-r3 with "assembly" USE flag enabled Actual Results: Compilation of media-gfx/freecad-1.0.0-r3 with "assembly" USE flag with sci-libs/ondselsolver-1.0.1_p20241127 fails with: In file included from /usr/include/OndselSolver/FullVector.h:13, from /usr/include/OndselSolver/FullColumn.h:14, from /usr/include/OndselSolver/Item.h:13, from /usr/include/OndselSolver/CartesianFrame.h:11, from /usr/include/OndselSolver/EndFramec.h:13, from /usr/include/OndselSolver/EndFrameqc.h:11, from /usr/include/OndselSolver/EndFrameqct.h:11, from /usr/include/OndselSolver/CREATE.h:14, from /var/tmp/portage/media-gfx/freecad-1.0.0-r3/work/FreeCAD-1.0.0/src/Mod/Assembly/App/AssemblyObject.cpp:56: /usr/include/OndselSolver/Array.h:19:10: fatal error: Demangle.h: No such file or directory 19 | #include "Demangle.h" | ^~~~~~~~~~~~ compilation terminated. Expected Results: The package should compile successfully without errors, as it does with version sci-libs/ondselsolver-1.0.1_p20241024. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0e9736af21b54b778c8cfb8d1ceba7bf8fb4a0b https://bugs.gentoo.org/947934 Failing compilation step: [4008/5919] /usr/bin/x86_64-pc-linux-gnu-g++ -DAssembly_EXPORTS -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_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 -DFMT_SHARED -DHAVE_CONFIG_H -DHAVE_OPENGL_EXT -DHAVE_RAPIDJSON -DHAVE_VTK -DHAVE_XLIB -DOCC_CONVERT_SIGNALS -DPYCXX_6_2_COMPATIBILITY -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_XML_LIB -DVTK_OPENGL2_BACKEND -D_OCC64 -I/var/tmp/portage/media-gfx/freecad-1.0.0-r3/work/FreeCAD-1.0.0_build/src/Mod/Assembly/App/Assembly_autogen/include -I/var/tmp/portage/media-gfx/freecad-1.0.0-r3/work/FreeCAD-1.0.0_build -I/var/tmp/portage/media-gfx/freecad-1.0.0-r3/work/FreeCAD-1.0.0_build/src -I/var/tmp/portage/media-gfx/freecad-1.0.0-r3/work/FreeCAD-1.0.0/src -I/var/tmp/portage/media-gfx/freecad-1.0.0-r3/work/FreeCAD-1.0.0/src/3rdParty/OndselSolver -I/var/tmp/portage/media-gfx/freecad-1.0.0-r3/work/FreeCAD-1.0.0_build/src/Mod/Assembly/App -I/usr/include/python3.12 -isystem /usr/include/opencascade -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtXml -isystem /usr/include/qt6/QtConcurrent -Wall -Wextra -Wno-write-strings -march=native -O2 -pipe -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -std=gnu++17 -fPIC -fPIC -MD -MT src/Mod/Assembly/App/CMakeFiles/Assembly.dir/AssemblyObject.cpp.o -MF src/Mod/Assembly/App/CMakeFiles/Assembly.dir/AssemblyObject.cpp.o.d -o src/Mod/Assembly/App/CMakeFiles/Assembly.dir/AssemblyObject.cpp.o -c /var/tmp/portage/media-gfx/freecad-1.0.0-r3/work/FreeCAD-1.0.0/src/Mod/Assembly/App/AssemblyObject.cpp FAILED: src/Mod/Assembly/App/CMakeFiles/Assembly.dir/AssemblyObject.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DAssembly_EXPORTS -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_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 -DFMT_SHARED -DHAVE_CONFIG_H -DHAVE_OPENGL_EXT -DHAVE_RAPIDJSON -DHAVE_VTK -DHAVE_XLIB -DOCC_CONVERT_SIGNALS -DPYCXX_6_2_COMPATIBILITY -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_XML_LIB -DVTK_OPENGL2_BACKEND -D_OCC64 -I/var/tmp/portage/media-gfx/freecad-1.0.0-r3/work/FreeCAD-1.0.0_build/src/Mod/Assembly/App/Assembly_autogen/include -I/var/tmp/portage/media-gfx/freecad-1.0.0-r3/work/FreeCAD-1.0.0_build -I/var/tmp/portage/media-gfx/freecad-1.0.0-r3/work/FreeCAD-1.0.0_build/src -I/var/tmp/portage/media-gfx/freecad-1.0.0-r3/work/FreeCAD-1.0.0/src -I/var/tmp/portage/media-gfx/freecad-1.0.0-r3/work/FreeCAD-1.0.0/src/3rdParty/OndselSolver -I/var/tmp/portage/media-gfx/freecad-1.0.0-r3/work/FreeCAD-1.0.0_build/src/Mod/Assembly/App -I/usr/include/python3.12 -isystem /usr/include/opencascade -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtXml -isystem /usr/include/qt6/QtConcurrent -Wall -Wextra -Wno-write-strings -march=native -O2 -pipe -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -std=gnu++17 -fPIC -fPIC -MD -MT src/Mod/Assembly/App/CMakeFiles/Assembly.dir/AssemblyObject.cpp.o -MF src/Mod/Assembly/App/CMakeFiles/Assembly.dir/AssemblyObject.cpp.o.d -o src/Mod/Assembly/App/CMakeFiles/Assembly.dir/AssemblyObject.cpp.o -c /var/tmp/portage/media-gfx/freecad-1.0.0-r3/work/FreeCAD-1.0.0/src/Mod/Assembly/App/AssemblyObject.cpp In file included from /usr/include/OndselSolver/FullVector.h:13, from /usr/include/OndselSolver/FullColumn.h:14, from /usr/include/OndselSolver/Item.h:13, from /usr/include/OndselSolver/CartesianFrame.h:11, from /usr/include/OndselSolver/EndFramec.h:13, from /usr/include/OndselSolver/EndFrameqc.h:11, from /usr/include/OndselSolver/EndFrameqct.h:11, from /usr/include/OndselSolver/CREATE.h:14, from /var/tmp/portage/media-gfx/freecad-1.0.0-r3/work/FreeCAD-1.0.0/src/Mod/Assembly/App/AssemblyObject.cpp:56: /usr/include/OndselSolver/Array.h:19:10: fatal error: Demangle.h: No such file or directory 19 | #include "Demangle.h" | ^~~~~~~~~~~~ compilation terminated.
I got bit by same issue, reverting to sci-libs/ondselsolver-1.0.1_p20241024 does seem to fix the compilation problem.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eb9d71922ad1676dd3411a9644d8576860e7ca4 commit 4eb9d71922ad1676dd3411a9644d8576860e7ca4 Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2025-01-16 16:11:12 +0000 Commit: Nowa Ammerlaan <nowa@gentoo.org> CommitDate: 2025-01-17 12:51:24 +0000 sci-libs/ondselsolver: install Demangle.h Closes: https://bugs.gentoo.org/948172 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/40163 Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org> ...ndselsolver-1.0.1-properly-demangle-typenames.patch | 18 ++++++++++++++++++ ...7.ebuild => ondselsolver-1.0.1_p20241127-r1.ebuild} | 0 2 files changed, 18 insertions(+)