Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED Blender issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
psycophobia
Guru
Guru


Joined: 08 May 2005
Posts: 510
Location: uk

PostPosted: Mon Sep 20, 2021 1:05 pm    Post subject: SOLVED Blender issues Reply with quote

I have tried several USE Flags but all ways end up here.


Code:
emerge blender

 * IMPORTANT: 19 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!


[ebuild  N    ~] media-gfx/blender-2.83.17:2.83::gentoo  USE="bullet color-management dds fluid nls openexr openmp sdl system-numpy system-python tbb tiff -alembic -collada -cuda -cycles -debug (-doc) -ffmpeg -fftw -headless -jack -jemalloc -jpeg2k -man -ndof -openal -opencl -openimageio -opensubdiv -openvdb -osl -sndfile -standalone -test -valgrind" PYTHON_SINGLE_TARGET="python3_8" 38,212 KiB
[nomerge       ]  media-libs/opencolorio-1.1.1-r1::gentoo  USE="opengl -doc -python -static-libs -test" CPU_FLAGS_X86="sse2" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
[ebuild  N     ]   media-libs/openimageio-2.2.15.1:0/2.2::gentoo  USE="X gif opengl qt5 truetype -dicom -doc -ffmpeg -field3d -jpeg2k -opencv -openvdb -ptex -python -raw" CPU_FLAGS_X86="sse2 -aes -avx -avx2 -avx512f -f16c -sse3 -sse4_1 -sse4_2 -ssse3" PYTHON_SINGLE_TARGET="python3_9 -python3_8" 28,553 KiB
[ebuild  N     ]    media-libs/opencolorio-1.1.1-r1::gentoo  USE="opengl -doc -python -static-libs -test" CPU_FLAGS_X86="sse2" PYTHON_SINGLE_TARGET="python3_9 -python3_8" 13,505 KiB

Total: 3 packages (3 new), Size of downloads: 80,269 KiB

 * Error: circular dependencies:

(media-libs/openimageio-2.2.15.1:0/2.2::gentoo, ebuild scheduled for merge) depends on
 (media-libs/opencolorio-1.1.1-r1:0/0::gentoo, ebuild scheduled for merge) (buildtime_slot_op)
  (media-libs/openimageio-2.2.15.1:0/2.2::gentoo, ebuild scheduled for merge) (buildtime)

It might be possible to break this cycle
by applying the following change:
- media-libs/opencolorio-1.1.1-r1 (Change USE: -opengl)

Note that this change can be reverted, once the package has been installed.

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/numpy-1.21.1 python_targets_python3_8
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/requests-2.26.0 python_targets_python3_8
# required by dev-python/requests-2.26.0::gentoo
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/certifi-10001-r1 python_targets_python3_8
# required by dev-python/requests-2.26.0::gentoo
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/charset_normalizer-2.0.4 python_targets_python3_8
# required by dev-python/requests-2.26.0::gentoo
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/idna-3.2 python_targets_python3_8
# required by dev-python/requests-2.26.0::gentoo
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/urllib3-1.26.6 python_targets_python3_8
# required by dev-python/requests-2.26.0::gentoo
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/setuptools-57.4.0-r2 python_targets_python3_8
# required by dev-python/setuptools-57.4.0-r2::gentoo
# required by dev-python/cython-0.29.23::gentoo
# required by dev-python/numpy-1.21.1::gentoo
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/setuptools_scm-6.0.1-r1 python_targets_python3_8
# required by dev-python/setuptools_scm-6.0.1-r1::gentoo
# required by dev-python/setuptools-57.4.0-r2::gentoo
# required by dev-python/cython-0.29.23::gentoo
# required by dev-python/numpy-1.21.1::gentoo
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/toml-0.10.2 python_targets_python3_8
# required by dev-python/urllib3-1.26.6::gentoo
# required by dev-python/requests-2.26.0::gentoo
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/PySocks-1.7.1-r1 python_targets_python3_8
# required by dev-python/numpy-1.21.1::gentoo
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/cython-0.29.23 python_targets_python3_8

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.

 * In order to avoid wasting time, backtracking has terminated early
 * due to the above autounmask change(s). The --autounmask-backtrack=y
 * option can be used to force further backtracking, but there is no
 * guarantee that it will produce a solution.


Is that only usable with a overlay now or git?


Last edited by psycophobia on Mon Sep 20, 2021 5:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3560

PostPosted: Mon Sep 20, 2021 1:49 pm    Post subject: Reply with quote

Indeed python3_8 required:
Code:
 * dependency graph for media-gfx/blender-2.83.17
 `--  media-gfx/blender-2.83.17  [~amd64 keyword]
   `--  dev-lang/python-3.8.12  (dev-lang/python) amd64
   `--  dev-lang/python-exec-2.4.8  (>=dev-lang/python-exec-2) amd64  [python_targets_python3_8]
   `--  dev-libs/boost-1.76.0-r1  (dev-libs/boost) amd64  [nls? threads(+)]
   `--  dev-libs/lzo-2.10  (dev-libs/lzo) amd64
   `--  dev-python/numpy-1.21.1  (dev-python/numpy) amd64  [python_targets_python3_8(-)]
   `--  dev-python/requests-2.26.0  (dev-python/requests) amd64  [python_targets_python3_8(-)]
   `--  media-libs/freetype-2.11.0-r1  (media-libs/freetype) amd64
   `--  media-libs/glew-2.2.0  (media-libs/glew) amd64
   `--  media-libs/libpng-1.6.37-r2  (media-libs/libpng) amd64
   `--  media-libs/libsamplerate-0.2.1  (media-libs/libsamplerate) amd64
   `--  sys-libs/zlib-1.2.11-r4  (sys-libs/zlib) amd64
   `--  virtual/glu-9.0-r2  (virtual/glu) amd64
   `--  virtual/jpeg-100  (virtual/jpeg) amd64
   `--  virtual/libintl-0-r2  (virtual/libintl) amd64
   `--  virtual/opengl-7.0-r2  (virtual/opengl) amd64
   `--  media-gfx/alembic-1.8.2  (>=media-gfx/alembic-1.7.12) amd64  [boost(+) hdf(+)]
   `--  media-libs/opencollada-1.6.68  (>=media-libs/opencollada-1.6.68) amd64
   `--  media-libs/opencolorio-1.1.1-r1  (<media-libs/opencolorio-2.0.0) amd64
   `--  dev-util/nvidia-cuda-toolkit-11.4.2  (dev-util/nvidia-cuda-toolkit) [~amd64 keyword]
   `--  media-video/ffmpeg-4.4-r1  (media-video/ffmpeg) amd64  [x264 mp3 encode theora jpeg2k vpx vorbis opus xvid]
   `--  sci-libs/fftw-3.3.9  (sci-libs/fftw) amd64
   `--  x11-libs/libX11-1.7.2  (x11-libs/libX11) amd64
   `--  x11-libs/libXi-1.7.10  (x11-libs/libXi) amd64
   `--  x11-libs/libXxf86vm-1.1.4-r2  (x11-libs/libXxf86vm) amd64
   `--  virtual/jack-2  (virtual/jack) amd64
   `--  dev-libs/jemalloc-5.2.1  (dev-libs/jemalloc) amd64
   `--  media-libs/openjpeg-2.4.0  (media-libs/openjpeg) amd64
   `--  app-misc/spacenavd-0.8  (app-misc/spacenavd) amd64
   `--  dev-libs/libspnav-0.2.3-r1  (dev-libs/libspnav) amd64
   `--  virtual/libiconv-0-r2  (virtual/libiconv) amd64
   `--  media-libs/openal-1.21.1-r2  (media-libs/openal) amd64
   `--  virtual/opencl-3-r1  (virtual/opencl) amd64
   `--  media-libs/openimageio-2.2.15.1  (>=media-libs/openimageio-2.2.13.1) amd64
   `--  media-libs/ilmbase-2.5.7  (media-libs/ilmbase) amd64
   `--  media-libs/openexr-2.5.7  (media-libs/openexr) amd64
   `--  media-libs/opensubdiv-3.4.3  (>=media-libs/opensubdiv-3.4.0) amd64  [cuda= opencl=]
   `--  media-gfx/openvdb-7.0.0-r1  (>=media-gfx/openvdb-7.0.0) amd64
   `--  dev-libs/c-blosc-1.21.0  (dev-libs/c-blosc) amd64
   `--  media-libs/osl-1.10.13  (<media-libs/osl-1.11.0) amd64
   `--  media-libs/libsdl2-2.0.14-r1  (media-libs/libsdl2) amd64  [sound joystick]
   `--  media-libs/libsndfile-1.0.31  (media-libs/libsndfile) amd64
   `--  dev-cpp/tbb-2020.3  (dev-cpp/tbb) amd64
   `--  media-libs/tiff-4.3.0  (media-libs/tiff) amd64
   `--  dev-util/valgrind-3.17.0  (dev-util/valgrind) amd64
   `--  dev-cpp/eigen-3.3.9  (dev-cpp/eigen) amd64
   `--  virtual/pkgconfig-2-r1  (virtual/pkgconfig) amd64
   `--  app-doc/doxygen-1.9.1  (app-doc/doxygen) amd64  [dot]
   `--  dev-python/sphinx-4.1.2  (dev-python/sphinx) amd64  [latex]
   `--  dev-texlive/texlive-bibtexextra-2021  (dev-texlive/texlive-bibtexextra) amd64
   `--  dev-texlive/texlive-fontsextra-2021  (dev-texlive/texlive-fontsextra) amd64
   `--  dev-texlive/texlive-fontutils-2021  (dev-texlive/texlive-fontutils) amd64
   `--  dev-texlive/texlive-latex-2021  (dev-texlive/texlive-latex) amd64
   `--  dev-texlive/texlive-latexextra-2021  (dev-texlive/texlive-latexextra) amd64
   `--  sys-devel/gettext-0.21-r1  (sys-devel/gettext) amd64
   `--  dev-util/ninja-1.10.1  (dev-util/ninja) amd64
   `--  dev-util/cmake-3.20.5  (>=dev-util/cmake-3.20.5) amd64
[ media-gfx/blender-2.83.17 stats: packages (57), max depth (1) ]
Have you installed blender:2.93 lately?
python3_9 has been set to default a few months ago...
How is your system configured in this regard?

Here is:
Code:
eix media-libs/opencolorio
[I] media-libs/opencolorio
     Installed versions:  2.0.0^mt(01:39:53 18/09/2021)(-doc -opengl -python -static-libs -test CPU_FLAGS_X86="sse2" PYTHON_SINGLE_TARGET="-python3_8 -python3_9")

Thks 4 ur attention, interest & support.
_________________
USE="-*" in /etc/portage/make.conf here.


Last edited by CaptainBlood on Mon Sep 20, 2021 1:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30838
Location: here

PostPosted: Mon Sep 20, 2021 1:51 pm    Post subject: Reply with quote

Code:
(media-libs/openimageio-2.2.15.1:0/2.2::gentoo, ebuild scheduled for merge) depends on
 (media-libs/opencolorio-1.1.1-r1:0/0::gentoo, ebuild scheduled for merge) (buildtime_slot_op)
  (media-libs/openimageio-2.2.15.1:0/2.2::gentoo, ebuild scheduled for merge) (buildtime)

It might be possible to break this cycle
by applying the following change:
- media-libs/opencolorio-1.1.1-r1 (Change USE: -opengl)

You have a circular dependency, as portage suggest you can try with
Code:
# USE="-opengl" emerge -1 media-libs/openimageio media-libs/opencolorio

and then re-run belnder installation.

Blender:2.83 only has the target for python3_8 if you want to install belnder with python3_9 target try to unmask blender:2.93.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
psycophobia
Guru
Guru


Joined: 08 May 2005
Posts: 510
Location: uk

PostPosted: Mon Sep 20, 2021 3:35 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Code:
(media-libs/openimageio-2.2.15.1:0/2.2::gentoo, ebuild scheduled for merge) depends on
 (media-libs/opencolorio-1.1.1-r1:0/0::gentoo, ebuild scheduled for merge) (buildtime_slot_op)
  (media-libs/openimageio-2.2.15.1:0/2.2::gentoo, ebuild scheduled for merge) (buildtime)

It might be possible to break this cycle
by applying the following change:
- media-libs/opencolorio-1.1.1-r1 (Change USE: -opengl)

You have a circular dependency, as portage suggest you can try with
Code:
# USE="-opengl" emerge -1 media-libs/openimageio media-libs/opencolorio

and then re-run belnder installation.

Blender:2.83 only has the target for python3_8 if you want to install belnder with python3_9 target try to unmask blender:2.93.


Thats installed that fine but blender still wont install

Code:
emerge blender                                         

 * IMPORTANT: 19 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!
[ebuild  N     ] dev-cpp/tbb-2020.3  USE="-debug -examples" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] dev-cpp/eigen-3.3.9  USE="openmp (-cuda) -debug -doc -test"
[ebuild  NS    ] dev-lang/python-3.8.12 [2.7.18_p13, 3.9.6_p2]
[ebuild   R    ] dev-python/certifi-10001-r1  PYTHON_TARGETS="python3_8*"
[ebuild   R    ] dev-python/setuptools-57.4.0-r2  PYTHON_TARGETS="python3_8*"
[ebuild   R    ] dev-python/toml-0.10.2  PYTHON_TARGETS="python3_8*"
[ebuild   R    ] dev-python/setuptools_scm-6.0.1-r1  PYTHON_TARGETS="python3_8*"
[ebuild   R    ] dev-python/charset_normalizer-2.0.4  PYTHON_TARGETS="python3_8*"
[ebuild   R    ] dev-python/idna-3.2  PYTHON_TARGETS="python3_8*"
[ebuild   R    ] dev-python/PySocks-1.7.1-r1  PYTHON_TARGETS="python3_8*"
[ebuild   R    ] dev-python/cython-0.29.23  PYTHON_TARGETS="python3_8*"
[ebuild   R    ] dev-python/urllib3-1.26.6  PYTHON_TARGETS="python3_8*"
[ebuild  N     ] dev-python/numpy-1.21.1  USE="-doc -lapack -test" PYTHON_TARGETS="python3_8 python3_9 (-python3_10)"
[ebuild   R    ] dev-python/requests-2.26.0  PYTHON_TARGETS="python3_8*"
[ebuild  N    ~] media-gfx/blender-2.83.17  USE="bullet color-management dds fluid nls openexr openmp sdl system-numpy system-python tbb tiff -alembic -collada -cuda -cycles -debug (-doc) -ffmpeg -fftw -headless -jack -jemalloc -jpeg2k -man -ndof -openal -opencl -openimageio -opensubdiv -openvdb -osl -sndfile -standalone -test -valgrind" PYTHON_SINGLE_TARGET="python3_8"

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/numpy-1.21.1 python_targets_python3_8
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/requests-2.26.0 python_targets_python3_8
# required by dev-python/requests-2.26.0::gentoo
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/certifi-10001-r1 python_targets_python3_8
# required by dev-python/requests-2.26.0::gentoo
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/charset_normalizer-2.0.4 python_targets_python3_8
# required by dev-python/requests-2.26.0::gentoo
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/idna-3.2 python_targets_python3_8
# required by dev-python/requests-2.26.0::gentoo
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/urllib3-1.26.6 python_targets_python3_8
# required by dev-python/setuptools_scm-6.0.1-r1::gentoo
# required by dev-python/async_timeout-3.0.1::gentoo
# required by dev-python/aiohttp-3.7.4-r1::gentoo
# required by dev-python/aiohttp-socks-0.6.0::gentoo
# required by net-misc/electrum-4.1.5::gentoo
# required by @selected
# required by @world (argument)
>=dev-python/setuptools-57.4.0-r2 python_targets_python3_8
# required by dev-python/setuptools-57.4.0-r2::gentoo
# required by dev-python/cython-0.29.23::gentoo
# required by dev-python/numpy-1.21.1::gentoo
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/setuptools_scm-6.0.1-r1 python_targets_python3_8
# required by dev-python/setuptools_scm-6.0.1-r1::gentoo
# required by dev-python/setuptools-57.4.0-r2::gentoo
# required by dev-python/cython-0.29.23::gentoo
# required by dev-python/numpy-1.21.1::gentoo
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/toml-0.10.2 python_targets_python3_8
# required by dev-python/urllib3-1.26.6::gentoo
# required by dev-python/requests-2.26.0::gentoo
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/PySocks-1.7.1-r1 python_targets_python3_8
# required by dev-python/numpy-1.21.1::gentoo
# required by media-gfx/blender-2.83.17::gentoo[python_single_target_python3_8]
# required by blender (argument)
>=dev-python/cython-0.29.23 python_targets_python3_8

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.
Back to top
View user's profile Send private message
psycophobia
Guru
Guru


Joined: 08 May 2005
Posts: 510
Location: uk

PostPosted: Mon Sep 20, 2021 3:38 pm    Post subject: Reply with quote

python3_9 has been set to default a few months ago...
How is your system configured in this regard?

Here is:
Code:
eix media-libs/opencolorio
[I] media-libs/opencolorio
     Installed versions:  2.0.0^mt(01:39:53 18/09/2021)(-doc -opengl -python -static-libs -test CPU_FLAGS_X86="sse2" PYTHON_SINGLE_TARGET="-python3_8 -python3_9")



Yes not turned this system on for 3 months :(
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30838
Location: here

PostPosted: Mon Sep 20, 2021 4:04 pm    Post subject: Reply with quote

As I said if you want blender with python3_9 support you have to unmask version 2.93.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30838
Location: here

PostPosted: Mon Sep 20, 2021 4:05 pm    Post subject: Reply with quote

Moved from Gamers & Players to Portage & Programming.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
psycophobia
Guru
Guru


Joined: 08 May 2005
Posts: 510
Location: uk

PostPosted: Mon Sep 20, 2021 5:55 pm    Post subject: Reply with quote

fedeliallalinea wrote:
As I said if you want blender with python3_9 support you have to unmask version 2.93.


I cant unmask a version i cant pull in on
Code:
emerge --sync
I do not know why that is?

But i solved the issue adding
Code:
python_targets_python3_8
To /etc/portage/make.conf

Working blender now......

:)


Last edited by psycophobia on Tue Sep 21, 2021 8:55 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30838
Location: here

PostPosted: Mon Sep 20, 2021 5:57 pm    Post subject: Reply with quote

For unmask 2.93 version you can use echo "media-gfx/blender:2.93" >> /etc/portage/package.accept_keywords command.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
psycophobia
Guru
Guru


Joined: 08 May 2005
Posts: 510
Location: uk

PostPosted: Tue Sep 21, 2021 8:59 am    Post subject: Reply with quote

fedeliallalinea wrote:
For unmask 2.93 version you can use echo "media-gfx/blender:2.93" >> /etc/portage/package.accept_keywords command.


I got this working as well ,It did not emerge straight away i had other issues after putting media-gfx/blender:2.93 in package.accept_keywords lots of packages where masked by the ~amd64

To simply resolve this i just did as follows for example

Code:
echo "media-gfx/openvdb ~amd64" >> /etc/portage/package.accept_keywords


Putting ~amd64 keyword in at the end of each package masked by it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum