Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507426 - media-gfx/blender-2.70 requires USE=python_single_target_python3_3
Summary: media-gfx/blender-2.70 requires USE=python_single_target_python3_3
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Julian Ospald
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-11 16:07 UTC by cmartin
Modified: 2014-04-13 13:11 UTC (History)
2 users (show)

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


Attachments
The output of emerge --info (emerge--info,5.10 KB, text/plain)
2014-04-11 16:07 UTC, cmartin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cmartin 2014-04-11 16:07:02 UTC
Created attachment 374742 [details]
The output of emerge --info

media-gfx/blender-2.70 won't emerge without PYTHON_SINGLE_TARGET="python3_3" in /etc/portage/make.conf.

When running

emerge --ask --verbose --newuse --deep --update --with-bdeps=y @world

I get the message

!!! Problem resolving dependencies for dev-util/gtk-doc from @selected
... done!

!!! The ebuild selected to satisfy "dev-util/gtk-doc" has unmet requirements.
- dev-util/gtk-doc-1.20::gentoo USE="-debug -doc -emacs -highlight -test -vim" PYTHON_SINGLE_TARGET="-python2_6 -python2_7" PYTHON_TARGETS="python2_7 -python2_6"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python2_6 python_single_target_python2_7 )

If I change the PYTHON line in make.conf to

  PYTHON_SINGLE_TARGET="python2_7"

or

  PYTHON_TARGETS="python2_7 python3_3"

or comment out all three lines it doesn't help -- it then complains that blender has unmet requirements and the emerge fails.

This doesn't seem (to me) the same bug as 465662.

Here is my emerge --info as an attachment
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-11 16:21:03 UTC

*** This bug has been marked as a duplicate of bug 465662 ***
Comment 2 Julian Ospald 2014-04-12 18:57:24 UTC
I don't understand how this is a bug.

It doesn't work with python2_7 or python3_2.

read https://www.gentoo.org/proj/en/Python/python-r1/user-guide.xml
Comment 3 cmartin 2014-04-13 13:11:44 UTC
I think it is a bug because with 

  PYTHON_TARGETS="python2_7 python3_3"
  PYTHON_SINGLE_TARGET="python3_3"

set in /etc/portage/make.conf I can emerge media-gfx/blender-2.70 but, when I run

  emerge --ask --verbose --newuse --deep --update --with-bdeps=y @world

I get

  These are the packages that would be merged, in order:

  Calculating dependencies  

  !!! Problem resolving dependencies for dev-util/gtk-doc from @selected
  ... done!

  !!! The ebuild selected to satisfy "dev-util/gtk-doc" has unmet requirements.
  - dev-util/gtk-doc-1.20::gentoo USE="-debug -doc -emacs -highlight -test     -vim" PYTHON_SINGLE_TARGET="-python2_6 -python2_7" PYTHON_TARGETS="python2_7 -python2_6"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python2_6  python_single_target_python2_7 )

  The above constraints are a subset of the following complete expression:
    python_single_target_python2_6? ( python_targets_python2_6 ) python_single_target_python2_7? ( python_targets_python2_7 ) exactly-one-of ( python_single_target_python2_6 python_single_target_python2_7 )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


If I then set 

  PYTHON_TARGETS="python2_7 python3_3"
  PYTHON_SINGLE_TARGET="python2_7"

in make.conf, blender won't emerge

Calculating dependencies -

  !!! Problem resolving dependencies for media-gfx/blender
  ... done!

  !!! The ebuild selected to satisfy "media-gfx/blender" has unmet requirements.
  - media-gfx/blender-2.70::gentoo USE="boost bullet dds elbeem ffmpeg game-engine nls openal openexr openmp opennl sdl sse sse2 tiff -collada -colorio -cycles -debug -doc -fftw -jack -jpeg2k -ndof -openimageio -player -redcode -sndfile" PYTHON_SINGLE_TARGET="-python3_3" PYTHON_TARGETS="python3_3"

  The following REQUIRED_USE flag constraints are unsatisfied:
    python_single_target_python3_3

  The above constraints are a subset of the following complete expression:
    python_single_target_python3_3? ( python_targets_python3_3 ) exactly-one-of ( python_single_target_python3_3 ) player? ( game-engine ) redcode? ( jpeg2k ffmpeg ) cycles? ( boost openexr tiff ) nls? ( boost ) game-engine? ( boost )

There seems to be only one workaround for this -- with 

  PYTHON_SINGLE_TARGET="python3_3"

don't use --newuse and ignore any side effects there may be in not recompiling packages which have their USE variables changed by the maintainers.

However, if gtk-doc (or gimp or others) need to be updated then I will have to unmerge blender, do the update, and remerge blender again...

I have read the link to python-r1/usr-guide.xml and I can't see anything there that solves this problem.

I accept that I may be missing something here... 8((

Chris