Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919492 - media-gfx/freecad-0.21.2: Needs dev-qt/designer to build
Summary: media-gfx/freecad-0.21.2: Needs dev-qt/designer to build
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-08 21:38 UTC by tecywiz121
Modified: 2024-01-05 10:23 UTC (History)
3 users (show)

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


Attachments
emerge build log (build.log,11.13 KB, text/x-log)
2023-12-08 21:38 UTC, tecywiz121
Details
Output from emerge --info (emerge-info.txt,8.94 KB, text/plain)
2023-12-08 21:38 UTC, tecywiz121
Details
Output from emerge -pvq (emerge-pvq.txt,282 bytes, text/plain)
2023-12-08 21:39 UTC, tecywiz121
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tecywiz121 2023-12-08 21:38:29 UTC
Created attachment 878448 [details]
emerge build log

Confirmed by trying to build again after emerging dev-qt/designer.
Comment 1 tecywiz121 2023-12-08 21:38:54 UTC
Created attachment 878449 [details]
Output from emerge --info
Comment 2 tecywiz121 2023-12-08 21:39:09 UTC
Created attachment 878450 [details]
Output from emerge -pvq
Comment 4 Misha 2023-12-26 16:18:05 UTC
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.
Comment 5 Hubert Kowalski 2024-01-01 11:46:45 UTC
(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.
Comment 6 Alfred Wingate 2024-01-04 11:08:33 UTC
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
Comment 7 Larry the Git Cow gentoo-dev 2024-01-05 10:23:53 UTC
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(-)