Extracted from build log: ... -- Compiling with Qt 5 -- Found Doxygen: /usr/bin/doxygen (found version "1.9.8") found components: doxygen dot -- find_package() was used to locate fmt version 9.1.0 CMake Error at cMake/FreeCAD_Helpers/SetupLibYaml.cmake:3 (find_package): By not providing "Findyaml-cpp.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "yaml-cpp", but CMake did not find one. Could not find a package configuration file provided by "yaml-cpp" with any of the following names: yaml-cppConfig.cmake yaml-cpp-config.cmake Add the installation prefix of "yaml-cpp" to CMAKE_PREFIX_PATH or set "yaml-cpp_DIR" to a directory containing one of the above files. If "yaml-cpp" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:50 (SetupYamlCpp) issue solved after merging yaml-cpp
Please always attach the full build.log (compressed if necessary) and emerge --info.
Without the benefit of this bug, I ran into the same problem. I do have the entire build directory preserved and can provide the log if still desired. I simply emerged dev-cpp/yaml-cpp and then successfully built FreeCAD-9999 in 9' 58" (32 processors: Ryzen 7950+, max memory looked to be under 20 GB). Let me know if you want my build.log of the failed build. I will delete the preserved-failed build tree in 30 days from now.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c83045924d872c14c684ea0bae88a49bec3cdcac commit c83045924d872c14c684ea0bae88a49bec3cdcac Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2024-03-09 10:04:03 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2024-03-09 10:16:10 +0000 media-gfx/freecad: fix build with qt6 - Drawing module is unmaintained and not ported to qt6. - With the shiboken6 fix from b6bfb7ce52d2f05ed2deda2aa94bf46e51d56844 it now compiles successfully. - Sync the 9999 ebuild - Add yaml-cpp dep to 9999 ebuild Closes: https://bugs.gentoo.org/920579 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> .../{freecad-0.21.2-r1.ebuild => freecad-0.21.2-r2.ebuild} | 11 ++++++----- media-gfx/freecad/freecad-9999.ebuild | 11 ++++++++--- 2 files changed, 14 insertions(+), 8 deletions(-)