Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494908 - pygrub fails to run xen.lowlevel.xc is missing or not found
Summary: pygrub fails to run xen.lowlevel.xc is missing or not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-20 23:41 UTC by Konstantin Agouros
Modified: 2013-12-22 12:02 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Agouros 2013-12-20 23:41:59 UTC
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
Comment 1 Konstantin Agouros 2013-12-20 23:49:54 UTC
The probem is: useflag pygrub without useflag python is accepted but the result does not work.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2013-12-21 01:15:59 UTC
hmm I suspect it needs a required use with the python flag
re-emerge with invoking the python use flag
Comment 3 Konstantin Agouros 2013-12-21 08:22:15 UTC
Yup python use flag added all is well. So this solves it. However the ebuild should be repaired that nobody else falls into this :)
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2013-12-22 12:02:01 UTC
(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