Created attachment 878448 [details] emerge build log Confirmed by trying to build again after emerging dev-qt/designer.
Created attachment 878449 [details] Output from emerge --info
Created attachment 878450 [details] Output from emerge -pvq
https://github.com/FreeCAD/FreeCAD/blob/0.21.2/cMake/FreeCAD_Helpers/SetupQt.cmake#L18 With use gui.
From my understanding the issue doesn't come from designer, but rather from sci-libs/hdf5, it was bumped and portage forced freecad for rebuild (which is failing with the error from this report). But in case you rollback hdf5 to previous version - freecad can be emerged with no issues.
(In reply to Misha from comment #4) > From my understanding the issue doesn't come from designer, but rather from > sci-libs/hdf5, it was bumped and portage forced freecad for rebuild (which > is failing with the error from this report). But in case you rollback hdf5 > to previous version - freecad can be emerged with no issues. I tried working around multiple hdf5 versions with no-go. emerging dev-qt/designer fixed the issue and freecad sucessfully build. I think dependency on designer needs to be conditional not just on designer useflag but on gui too.
if(BUILD_GUI) list (APPEND FREECAD_QT_COMPONENTS OpenGL PrintSupport Svg UiTools Widgets LinguistTools) endif() $ qfile /usr/lib64/cmake/Qt5UiTools/ dev-qt/designer: /usr/lib64/cmake/Qt5UiTools
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0c575c52de9730980683c2f458bceda127be3eb commit a0c575c52de9730980683c2f458bceda127be3eb Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2024-01-05 10:22:53 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2024-01-05 10:23:37 +0000 media-gfx/freecad: fix qt5 build, fix designer dep Closes: https://bugs.gentoo.org/919492 Closes: https://bugs.gentoo.org/921298 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> ...{freecad-0.21.2.ebuild => freecad-0.21.2-r1.ebuild} | 18 +++++++++++++----- media-gfx/freecad/freecad-9999.ebuild | 18 +++++++++++++----- 2 files changed, 26 insertions(+), 10 deletions(-)