View previous topic :: View next topic |
Author |
Message |
Jim5678 n00b
Joined: 23 Jan 2024 Posts: 13
|
Posted: Sun Aug 18, 2024 1:36 pm Post subject: Blender PYTHON_SINGLE_TARGET problem |
|
|
Hi,
I've been trying to update my system and I'm stuck with this problem. I'm wondering if I should just set the Python version to use as described here to get past the Blender blocker https://wiki.gentoo.org/wiki/Project:Python/PYTHON_TARGETS
If I try an no packages are updated even after a eix-sync.
It tells me to Code: | emerge @preserved-rebuild | but then I hit this blocker. I've not declared PYTHON_SINGLE_TARGET in my /etc/portage/make.conf.
Code: |
hawaiian# emerge @preserved-rebuild
* IMPORTANT: 1 news items need reading for repository 'mva'.
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
* Last emerge --sync was 33d 9h 47m 37s ago.
Calculating dependencies \
!!! Problem resolving dependencies for media-gfx/blender:3.6 from @preserved-rebuild
... done!
Dependency resolution took 1.21 s (backtrack: 0/20).
!!! The ebuild selected to satisfy "media-gfx/blender:3.6" has unmet requirements.
- media-gfx/blender-3.6.8::gentoo USE="X bullet color-management cycles dds embree ffmpeg fftw fluid gmp nanovdb nls oidn openexr openmp openpgl opensubdiv openvdb pdf potrace pugixml pulseaudio sdl sndfile tbb tiff wayland -alembic -collada (-cuda) -cycles-bin-kernels -debug -doc -jack -jemalloc -jpeg2k -man -ndof -openal -optix -osl -test -valgrind" ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python3_10 -python3_11"
The following REQUIRED_USE flag constraints are unsatisfied:
exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 )
The above constraints are a subset of the following complete expression:
exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 ) alembic? ( openexr ) cuda? ( cycles ) cycles? ( openexr tiff ) fluid? ( tbb ) openvdb? ( tbb ) optix? ( cuda ) osl? ( cycles ) test? ( color-management )
(dependency required by "@preserved-rebuild" [argument])
|
Any help gratefully received,
[Administrator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
Jim5678 n00b
Joined: 23 Jan 2024 Posts: 13
|
Posted: Sun Aug 18, 2024 1:38 pm Post subject: |
|
|
Just got the sync to work, but need help with the preserved-rebuild problem. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5065 Location: Bavaria
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22602
|
Posted: Sun Aug 18, 2024 2:07 pm Post subject: |
|
|
You have blender-3.6.8 installed. emerge @preserved-rebuild wants to reinstall that specific version. That version does not support python3.12. You (probably) are set to python_single_target_python3_12 by your profile. Therefore, you get an error. Your options are:- Switch to a newer version of blender, which supports python3.12.
- Configure Portage to use an older version of Python for blender (and its dependencies, if any). I recommend against changing anything more than necessary to use the older Python. Enable the older Python only for things where Portage instructs you to do so, rather than enabling it everywhere.
|
|
Back to top |
|
|
|