When pygrub shall be used to start a DomU with xen-tools-4.3.1-r3 pygrub fails. To reproduce this simply run pygrub from the commandline with the following result: # pygrub Traceback (most recent call last): File "/usr/bin/pygrub", line 20, in <module> import xen.lowlevel.xc ImportError: No module named xen.lowlevel.xc emerge -vp xen-tools gives: [ebuild R ] app-emulation/xen-tools-4.3.1-r3 USE="api flask pam pygrub qemu screen -custom-cflags -debug -doc -hvm (-ocaml) -python -static-libs -xend" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 0 kB
The probem is: useflag pygrub without useflag python is accepted but the result does not work.
hmm I suspect it needs a required use with the python flag re-emerge with invoking the python use flag
Yup python use flag added all is well. So this solves it. However the ebuild should be repaired that nobody else falls into this :)
(In reply to Konstantin Agouros from comment #3) > Yup python use flag added all is well. So this solves it. However the ebuild > should be repaired that nobody else falls into this :) Well that's the very purpose of this bug is it not? 22 Dec 2013; Ian Delaney <idella4@gentoo.org> xen-tools-4.3.0-r3.ebuild, xen-tools-4.3.1-r3.ebuild: set pygrub in REQUIRED_USE paired with python, fixes Bug #494908 by K. Agouros