Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920579 - media-gfx/freecad-9999 depends on yaml-cpp
Summary: media-gfx/freecad-9999 depends on yaml-cpp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-23 17:56 UTC by Fabio Rossi
Modified: 2024-03-09 10:17 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Rossi 2023-12-23 17:56:50 UTC
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
Comment 1 Leonardo Hernández Hernández 2023-12-24 18:07:04 UTC
Please always attach the full build.log (compressed if necessary) and emerge --info.
Comment 2 John L. Poole 2024-03-08 04:17:49 UTC
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.
Comment 3 Larry the Git Cow gentoo-dev 2024-03-09 10:17:22 UTC
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(-)