View previous topic :: View next topic |
Author |
Message |
emc Guru
Joined: 02 Jul 2004 Posts: 564 Location: Cracow, Poland
|
Posted: Tue May 28, 2013 8:40 pm Post subject: USE='hvm qemu' and xen-tools |
|
|
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 |
|
|
KungfuPancake n00b
Joined: 29 May 2013 Posts: 2 Location: Cologne, Germany
|
Posted: Wed May 29, 2013 12:36 am Post subject: |
|
|
Same problem here. |
|
Back to top |
|
|
emc Guru
Joined: 02 Jul 2004 Posts: 564 Location: Cracow, Poland
|
Posted: Wed May 29, 2013 3:23 pm Post subject: |
|
|
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 |
|
|
KungfuPancake n00b
Joined: 29 May 2013 Posts: 2 Location: Cologne, Germany
|
Posted: Wed May 29, 2013 3:45 pm Post subject: |
|
|
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 |
|
|
reversefold n00b
Joined: 01 Oct 2004 Posts: 3 Location: Santa Rosa, CA, USA
|
Posted: Wed May 29, 2013 7:00 pm Post subject: Same issue for me |
|
|
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 |
|
|
reversefold n00b
Joined: 01 Oct 2004 Posts: 3 Location: Santa Rosa, CA, USA
|
|
Back to top |
|
|
bschnzl Tux's lil' helper
Joined: 13 Mar 2005 Posts: 94
|
Posted: Sat Jul 13, 2013 9:24 pm Post subject: Bug NOT Resolved!!! |
|
|
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 |
|
|
bschnzl Tux's lil' helper
Joined: 13 Mar 2005 Posts: 94
|
Posted: Sat Jul 13, 2013 10:32 pm Post subject: Never Mind!!! |
|
|
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 |
|
|
|