View previous topic :: View next topic |
Author |
Message |
user7719 n00b
Joined: 19 Feb 2021 Posts: 73
|
Posted: Tue Jun 25, 2024 4:01 pm Post subject: Freecad 999 fails with python error |
|
|
Code: | !!! The ebuild selected to satisfy "freecad" has unmet requirements.
- media-gfx/freecad-9999::gentoo USE="addonmgr fem gui idf image inspection material openscad part-design path points raytracing robot show surface techdraw tux -cloud -debug -designer -netgen -pcl -qt6 -test" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
The following REQUIRED_USE flag constraints are unsatisfied:
python_single_target_python3_12? ( gui? ( qt6 ) )
The above constraints are a subset of the following complete expression:
exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 python_single_target_python3_12 ) designer? ( gui ) inspection? ( points ) path? ( robot ) python_single_target_python3_12? ( gui? ( qt6 ) )
|
Not sure how to fix this. Any pointers? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22683
|
Posted: Tue Jun 25, 2024 4:46 pm Post subject: |
|
|
The error says that if you enable python3_12, and enable gui, then you must enable qt6. You have python3_12 and gui enabled, but qt6 disabled. Either disable gui or enable qt6. |
|
Back to top |
|
|
user7719 n00b
Joined: 19 Feb 2021 Posts: 73
|
Posted: Tue Jun 25, 2024 5:26 pm Post subject: |
|
|
Hu wrote: | The error says that if you enable python3_12, and enable gui, then you must enable qt6. You have python3_12 and gui enabled, but qt6 disabled. Either disable gui or enable qt6. |
Thanks.
Presumably Freecad isn't going to be much use without a gui and I have the qt5 use flag in my make.conf.
If I try setting the qt6 use flag for just this application I get the following:
Code: | sudo USE="qt6" emerge -pv freecad
Password:
* IMPORTANT: config file '/etc/portage/package.use/zz-autounmask' needs updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 1.43 s (backtrack: 0/20).
The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by media-gfx/freecad-9999::gentoo[qt6,fem]
# required by freecad (argument)
>=sci-libs/vtk-9.3.0 -qt5
# required by media-gfx/freecad-9999::gentoo[qt6,gui,python_single_target_python3_12]
# required by freecad (argument)
>=dev-python/pyside6-6.7.1 webchannel webengine
!!! The ebuild selected to satisfy "dev-python/pyside6:=[gui,svg,webchannel,webengine,python_targets_python3_12(-)]" has unmet requirements.
- dev-python/pyside6-6.7.1::gentoo USE="bluetooth concurrent dbus gui network opengl printsupport qml sql svg testlib widgets xml -3d -charts -designer -gles2-only -help -location -multimedia -network-auth -nfc -pdfium -positioning -quick -quick3d -scxml -sensors -serialport -spatialaudio -speech -test -webchannel -webengine -websockets" ABI_X86="(64)" LLVM_SLOT="17 -15 -16 (-18)" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 (-python3_13)"
The following REQUIRED_USE flag constraints are unsatisfied:
webengine? ( quick )
The above constraints are a subset of the following complete expression:
any-of ( python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 python_targets_python3_13 ) 3d? ( gui network ) charts? ( gui widgets ) designer? ( widgets ) gles2-only? ( gui ) gui? ( dbus opengl ) help? ( network sql widgets ) location? ( gui network positioning quick ) multimedia? ( gui network ) network-auth? ( network ) opengl? ( gui ) pdfium? ( gui ) printsupport? ( widgets ) qml? ( network ) quick? ( gui network opengl qml ) quick3d? ( gui network opengl qml quick ) spatialaudio? ( multimedia ) speech? ( multimedia ) sql? ( widgets ) svg? ( gui ) testlib? ( widgets ) webchannel? ( qml ) webengine? ( network gui printsupport quick webchannel ) websockets? ( network ) widgets? ( gui ) exactly-one-of ( llvm_slot_15 llvm_slot_16 llvm_slot_17 llvm_slot_18 )
(dependency required by "media-gfx/freecad-9999::gentoo[gui,python_single_target_python3_12,qt6]" [ebuild])
(dependency required by "freecad" [argument])
* IMPORTANT: 12 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
|
I can make the use changes suggested but will mixing qt5 and qt6 break my system? |
|
Back to top |
|
|
user7719 n00b
Joined: 19 Feb 2021 Posts: 73
|
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9280
|
Posted: Thu Jun 27, 2024 5:38 pm Post subject: |
|
|
user7719 wrote: | I can make the use changes suggested but will mixing qt5 and qt6 break my system? |
Of course not, why would it? |
|
Back to top |
|
|
|