Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USE='hvm qemu' and xen-tools
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
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 564
Location: Cracow, Poland

PostPosted: Tue May 28, 2013 8:40 pm    Post subject: USE='hvm qemu' and xen-tools Reply with quote

Hi,
I had previously xen-tools emerged with hvm and qemu USE flags enabled:
Code:
# genlop -gti xen-tools
 * app-emulation/xen-tools

     Thu Feb 14 15:35:20 2013 >>> app-emulation/xen-tools-4.2.0-r3
       merge time: 26 minutes and 49 seconds.

     Fri May 24 17:53:16 2013 >>> app-emulation/xen-tools-4.2.1-r3
       merge time: 18 minutes and 11 seconds.


   Total builds: 2
   Global build time: 45 minutes.
   Average merge time: 22 minutes and 30 seconds.

   Info about currently installed ebuild:

   * app-emulation/xen-tools-4.2.1-r3
   Install date: Fri May 24 17:53:16 2013
   USE="hvm qemu screen -api -custom-cflags -debug -doc -flask -ocaml -pygrub -static-libs -xend"
readline() on closed filehandle pkg_cflag at /usr/bin/genlop line 903.
   CFLAGS=""

and now portage complains:
Code:
!!! The ebuild selected to satisfy "xen-tools" has unmet requirements.
- app-emulation/xen-tools-4.2.1-r3::gentoo USE="hvm screen -api -custom-cflags -debug -doc -flask -ocaml -pygrub (-qemu) -static-libs -xend" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6"

  The following REQUIRED_USE flag constraints are unsatisfied:
    hvm? ( qemu )
Back to top
View user's profile Send private message
KungfuPancake
n00b
n00b


Joined: 29 May 2013
Posts: 2
Location: Cologne, Germany

PostPosted: Wed May 29, 2013 12:36 am    Post subject: Reply with quote

Same problem here.
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 564
Location: Cracow, Poland

PostPosted: Wed May 29, 2013 3:23 pm    Post subject: Reply with quote

Quote:
hvm? ( qemu )

what it really means?
Quote:
if ! use hvm; then
echo
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
elog "support enable the hvm use flag."
elog "An x86 or amd64 multilib system is required to build HVM support."
echo
elog "The qemu use flag has been removed and replaced with hvm."

so should I use -qemu (btw than I got the same complains) but I see ebuild use qemu USE flag for some settings/configuration stuff: i.e.:
Code:
   qemu? ( >=sys-apps/texinfo-5 )"
...
if use qemu; then
      mkdir -p "${D}"usr/lib64/xen/bin || die
      mv "${D}"usr/lib/xen/bin/qemu* "${D}"usr/lib64/xen/bin/ || die
   fi
Back to top
View user's profile Send private message
KungfuPancake
n00b
n00b


Joined: 29 May 2013
Posts: 2
Location: Cologne, Germany

PostPosted: Wed May 29, 2013 3:45 pm    Post subject: Reply with quote

The parentheses mean that the flag is masked, so simply adding it to the use flags won't do. The hvm flag depens on it though.

Quote:
"The qemu use flag has been removed and replaced with hvm."


How does that fit in? Maybe the flag dependency was not updated?
Back to top
View user's profile Send private message
reversefold
n00b
n00b


Joined: 01 Oct 2004
Posts: 3
Location: Santa Rosa, CA, USA

PostPosted: Wed May 29, 2013 7:00 pm    Post subject: Same issue for me Reply with quote

I've been having the same issue for a while now and it's blocking my world updates. Portage docs say that parenthesized USE flags refer to flags which are masked in the active profile but I'm unable to find anything in the profiles which explicitly does this.

How can one unmask the USE flag or otherwise get around this issue? xen-tools clearly relies on the qemu USE flag when hvm is enabled, so the current state is completely broken.
Back to top
View user's profile Send private message
reversefold
n00b
n00b


Joined: 01 Oct 2004
Posts: 3
Location: Santa Rosa, CA, USA

PostPosted: Wed May 29, 2013 8:01 pm    Post subject: Reply with quote

I've opened a bug as this appears to be either breakage due to profile changes or a problem with the xen-tools ebuild.
https://bugs.gentoo.org/show_bug.cgi?id=471746
Back to top
View user's profile Send private message
bschnzl
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2005
Posts: 94

PostPosted: Sat Jul 13, 2013 9:24 pm    Post subject: Bug NOT Resolved!!! Reply with quote

Help!

My hvm and qemu flags have fallen and I can't bring them back!!!!

Code:

[ebuild   R   ~] sys-apps/texinfo-5.1  USE="nls -static" 0 kB


Code:
app-emulation/xen-tools-4.2.2-r3 was built with the following:
USE="xend -api -custom-cflags -debug -doc -flask (-hvm) (-ocaml) -pygrub (-qemu) -screen -static-libs" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6"


I found the patch from the bug in /usr/portage...

The following line is my "package.use" file"
Code:
app-emulation/xen-tools xend hvm qemu


B.
_________________
Persistance Pays
Back to top
View user's profile Send private message
bschnzl
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2005
Posts: 94

PostPosted: Sat Jul 13, 2013 10:32 pm    Post subject: Never Mind!!! Reply with quote

Doh!

Fixed it...

In order to get texinfo-5 I had to add:
Code:
ACCEPT_KEYWORDS="~amd64"


So it would make sence that I would have to add same to xen-tools...

Code:
ACCEPT_KEYWORDS="~amd64" USE="hvm qemu" emerge -v xen-tools


A powerful tool gives you LOTS of choices. Hopefully someone will benefit from this...

B.
_________________
Persistance Pays
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