Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
Neil Bothwick n...@digimed.co.uk writes: On Wed, 15 Jul 2015 12:42:00 +0200, hw wrote: Of course, there may be a very good reason why this flag is masked on no-multilib profiles, in which case you will not only see why but get to keep the resulting shrapnel. I would say it is wrong to disable this flag in the first place, especially so without giving any warning, like when emerging xen-tools, that that flag is required for hardware virtualisation. The same goes for other flags which are alike as well. If it doesn't work without multilib, it doesn't work without multilib - adding a USE flag will not change that. I think it doesn't need anything multilib other than for compiling some parts. Why can't the missing stuff, like stub-32.h, be pulled in as a dependency, perhaps with a warning that some package(s) need to be installed which you otherwise would only have with a multilib installation? In any case, I think equery should show masked use flags. If it did, we could see right away that we need to do something to enable something. Wouldn't that be preferable over being left in the dark? But masking the USE flag will at least stop you trying to use it without multilib. Not really: You can change the profile to one that doesn't contain 'no-multilib' and enable the flag. When you do that, what speaks against installing the missing packages which you do not have in a no-multilib installation and need for xen with hvm? (After all, having to switch to a multilib installation just for xen is a rather harsh requirement ...) ebuilds are only shell scripts, not magic spells. Knowledge is volatile and fluid; software is power. Anyway, I made a note about it on the wiki a couple days ago so ppl can know that they need multilib. How about a feature request/bug report on equery so that it will show the masked use flags? An 'equery uses ...' is supposed to show the flags, yet it doesn't show them all. -- Again we must be afraid of speaking of daemons for fear that daemons might swallow us. Finally, this fear has become reasonable.
Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
On Tue, 14 Jul 2015 20:44:36 -0400, Fernando Rodriguez wrote: app-emulation/xen-tools -hvm Note the -, you are negating the mask. the syntax if perfectly logical if you think about it with the right kind of logic. It is perfectly logical, it just don't follow the same convention used for masking/unmasking packages. I did look at the man page but I just did a quick search for .unmask It does make sense, as you are removing the mask. Of course, there may be a very good reason why this flag is masked on no-multilib profiles, in which case you will not only see why but get to keep the resulting shrapnel. In this case, judging by the bug report on the ChangeLog, I think the issue was fixed and they forgot to unmask the use flag. In that case, if it works with the flag for you, you should file a bug report to request the mask's removal. -- Neil Bothwick Our bikinis are exciting. They are simply the tops. pgpeKLuqvKt6k.pgp Description: OpenPGP digital signature
Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
On Wed, Jul 15, 2015 at 12:33:26PM +0100, Neil Bothwick wrote: ebuilds are only shell scripts, not magic spells. Such blasphemy! -- wraeth wra...@wraeth.id.au GnuPG Key: B2D9F759 signature.asc Description: Digital signature
Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
Am 14.07.2015 um 22:47 schrieb Neil Bothwick: On Tue, 14 Jul 2015 22:12:09 +0200, Alan McKinnon wrote: You override profiles in /etc/portage/profile. In this case add cat/pkg - hvm to package.use.mask. man portage for more information ha, I had tried (among other things) package.use.unmask following the convention used by package.mask/unmask. Thanks. The directory is: package.unmask Read man portage. The answer you seek is there. That's for unmasking packages, he wants to unmask USE flags. My previous post got a bit mucked up, set from my phone. to clarify, add a line to /etc/portage/profile/use.mask like this app-emulation/xen-tools -hvm Note the -, you are negating the mask. the syntax if perfectly logical if you think about it with the right kind of logic. Everything will be logical when you apply the right kind of logic ;) Of course, there may be a very good reason why this flag is masked on no-multilib profiles, in which case you will not only see why but get to keep the resulting shrapnel. I would say it is wrong to disable this flag in the first place, especially so without giving any warning, like when emerging xen-tools, that that flag is required for hardware virtualisation. The same goes for other flags which are alike as well. Then, why doesn't the xen-tools package pull in /all/ required dependencies (like whatever provides stub-32.h) for hvm, like it pulls in quite a few other packages already. Maybe give a warning that some are packages you would otherwise not have with a no-multilib profile. That would be much better than forcing users to re-install just to get hvm with xen-tools. Maybe I'll add that to the bug report.
Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
On Wed, 15 Jul 2015 12:42:00 +0200, hw wrote: Of course, there may be a very good reason why this flag is masked on no-multilib profiles, in which case you will not only see why but get to keep the resulting shrapnel. I would say it is wrong to disable this flag in the first place, especially so without giving any warning, like when emerging xen-tools, that that flag is required for hardware virtualisation. The same goes for other flags which are alike as well. If it doesn't work without multilib, it doesn't work without multilib - adding a USE flag will not change that. But masking the USE flag will at least stop you trying to use it without multilib. ebuilds are only shell scripts, not magic spells. -- Neil Bothwick The best antiques are old friends. pgp4m51QCDAoW.pgp Description: OpenPGP digital signature
Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
On Monday, July 13, 2015 7:22:30 PM hw wrote: So what happened to the 'hvm' USE flag of the xen-tools package? http://gentoobrowse.randomdan.homeip.net/package/app-emulation/xen-tools says there is such a flag. However: moonflo ~ # equery uses xen-tools [ Legend : U - final flag setting for installation] [: I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for app-emulation/xen-tools-4.5.1-r1: U I - - api : Build the C libxenapi bindings - - custom-cflags: Build with user-specified CFLAGS (unsupported) - - debug: Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces - - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally - - flask: Enable the Flask XSM module from NSA - - ovmf : Enable support to boot UEFI guest vm, needed by hvm + + pam : Enable pam support - - pygrub : Install the pygrub boot loader - - python : Add optional support/bindings for the Python language + + python_targets_python2_7 : Build with Python 2.7 - - qemu : Enable IOEMU support via the use of qemu-dm - - screen : Enable support for running domain U console in an app-misc/screen session - - static-libs : Build static versions of dynamic libraries as well - - system-qemu : Using app-emulation/qemu instead of the bundled one - - system-seabios : Using sys-firmware/seabios instead of the bundled one moonflo ~ # So there is no such flag. Apparently my installation is missing 'hvmloader', and I'm guessing that I would have that if I could enable the 'hmv' USE flag. How do I enable a USE flag that doesn't seem to exist? The hvm flag has an antagonist dependency on net-libs/libiscsi so if you got that installed you can't set the hvm flag. I wasn't aware that equery hides the flags in that case though. If that's not the problem post the output of: USE=-hvm emerge -va app-emulation/xen-tools -- Fernando Rodriguez signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
Hi, now I found this: moonflo ~ # find /usr/portage/profiles/ -type f -print0 | xargs -0 -P24 grep xen-tools [...] /usr/portage/profiles/ChangeLog-2007: Add hvm USE flag for Xen HVM support in xen-tools. Mask on no-multilib [...] And: http://gentoo-en.vfose.ru/wiki/Xen If you plan to add hvm support on amd64, you will need to have multilib support. Of course, I don't have multilib. Is that still required, and if so, why? There isn't any 32bit software to run other than within HVM guests perhaps. How can I remove this mask? I do need xen working last week ... Should I make a bug report about it?
Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
Am 14.07.2015 um 08:04 schrieb Fernando Rodriguez: On Monday, July 13, 2015 7:22:30 PM hw wrote: So what happened to the 'hvm' USE flag of the xen-tools package? http://gentoobrowse.randomdan.homeip.net/package/app-emulation/xen-tools says there is such a flag. However: moonflo ~ # equery uses xen-tools [ Legend : U - final flag setting for installation] [: I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for app-emulation/xen-tools-4.5.1-r1: U I - - api : Build the C libxenapi bindings - - custom-cflags: Build with user-specified CFLAGS (unsupported) - - debug: Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces - - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally - - flask: Enable the Flask XSM module from NSA - - ovmf : Enable support to boot UEFI guest vm, needed by hvm + + pam : Enable pam support - - pygrub : Install the pygrub boot loader - - python : Add optional support/bindings for the Python language + + python_targets_python2_7 : Build with Python 2.7 - - qemu : Enable IOEMU support via the use of qemu-dm - - screen : Enable support for running domain U console in an app-misc/screen session - - static-libs : Build static versions of dynamic libraries as well - - system-qemu : Using app-emulation/qemu instead of the bundled one - - system-seabios : Using sys-firmware/seabios instead of the bundled one moonflo ~ # So there is no such flag. Apparently my installation is missing 'hvmloader', and I'm guessing that I would have that if I could enable the 'hmv' USE flag. How do I enable a USE flag that doesn't seem to exist? The hvm flag has an antagonist dependency on net-libs/libiscsi so if you got that installed you can't set the hvm flag. I wasn't aware that equery hides the flags in that case though. If that's not the problem post the output of: net-libs/libiscsi is not installed. USE=-hvm emerge -va app-emulation/xen-tools moonflo ~ # USE=-hvm emerge -va app-emulation/xen-tools * IMPORTANT: 12 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R] app-emulation/xen-tools-4.5.1-r1::gentoo USE=pam -api -custom-cflags -debug -doc -flask (-hvm) (-ocaml) -ovmf -pygrub -python -qemu -screen -static-libs -system-qemu -system-seabios PYTHON_TARGETS=python2_7 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] Any idea why 'hvm' is disabled? I need it enabled.
Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
Am 13.07.2015 um 22:51 schrieb Mike Gilbert: On Mon, Jul 13, 2015 at 1:22 PM, hw h...@gartencenter-vaehning.de wrote: So what happened to the 'hvm' USE flag of the xen-tools package? Something is wrong with your repository. The flag is there. I would suggest that you start by disabling any overlays, and run emerge --sync. No overlays are enabled, and 'emerge --sync' doesn't fix the problem. There must be some reason why you have the flag while it's disabled here. I have checked on two other machines, installed and updated at different times, and on none of them the 'hvm' flag shows up. So how can I find out why the flag is disabled?
Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
Am 13.07.2015 um 21:55 schrieb Alan McKinnon: On 13/07/2015 19:22, hw wrote: So what happened to the 'hvm' USE flag of the xen-tools package? http://gentoobrowse.randomdan.homeip.net/package/app-emulation/xen-tools says there is such a flag. However: moonflo ~ # equery uses xen-tools [ Legend : U - final flag setting for installation] [: I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for app-emulation/xen-tools-4.5.1-r1: U I - - api : Build the C libxenapi bindings - - custom-cflags: Build with user-specified CFLAGS (unsupported) - - debug: Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces - - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally - - flask: Enable the Flask XSM module from NSA - - ovmf : Enable support to boot UEFI guest vm, needed by hvm + + pam : Enable pam support - - pygrub : Install the pygrub boot loader - - python : Add optional support/bindings for the Python language + + python_targets_python2_7 : Build with Python 2.7 - - qemu : Enable IOEMU support via the use of qemu-dm - - screen : Enable support for running domain U console in an app-misc/screen session - - static-libs : Build static versions of dynamic libraries as well - - system-qemu : Using app-emulation/qemu instead of the bundled one - - system-seabios : Using sys-firmware/seabios instead of the bundled one moonflo ~ # So there is no such flag. Apparently my installation is missing 'hvmloader', and I'm guessing that I would have that if I could enable the 'hmv' USE flag. How do I enable a USE flag that doesn't seem to exist? You don't enable a USE flag that does not exist. How could you? It's not there. Have all hardware virtualization capabilities been removed from xen in Gentoo?
Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
On 14/07/2015 21:18, Fernando Rodriguez wrote: On Tuesday, July 14, 2015 6:50:28 PM Neil Bothwick wrote: On 14 July 2015 10:55:46 BST, hw h...@gartencenter-vaehning.de wrote: Hi, now I found this: moonflo ~ # find /usr/portage/profiles/ -type f -print0 | xargs -0 -P24 grep xen-tools [...] /usr/portage/profiles/ChangeLog-2007: Add hvm USE flag for Xen HVM support in xen-tools. Mask on no-multilib [...] And: http://gentoo-en.vfose.ru/wiki/Xen If you plan to add hvm support on amd64, you will need to have multilib support. Of course, I don't have multilib. Is that still required, and if so, why? There isn't any 32bit software to run other than within HVM guests perhaps. How can I remove this mask? I do need xen working last week ... Should I make a bug report about it? You override profiles in /etc/portage/profile. In this case add cat/pkg - hvm to package.use.mask. man portage for more information ha, I had tried (among other things) package.use.unmask following the convention used by package.mask/unmask. Thanks. The directory is: package.unmask Read man portage. The answer you seek is there. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
On Tuesday, July 14, 2015 6:50:28 PM Neil Bothwick wrote: On 14 July 2015 10:55:46 BST, hw h...@gartencenter-vaehning.de wrote: Hi, now I found this: moonflo ~ # find /usr/portage/profiles/ -type f -print0 | xargs -0 -P24 grep xen-tools [...] /usr/portage/profiles/ChangeLog-2007: Add hvm USE flag for Xen HVM support in xen-tools. Mask on no-multilib [...] And: http://gentoo-en.vfose.ru/wiki/Xen If you plan to add hvm support on amd64, you will need to have multilib support. Of course, I don't have multilib. Is that still required, and if so, why? There isn't any 32bit software to run other than within HVM guests perhaps. How can I remove this mask? I do need xen working last week ... Should I make a bug report about it? You override profiles in /etc/portage/profile. In this case add cat/pkg - hvm to package.use.mask. man portage for more information ha, I had tried (among other things) package.use.unmask following the convention used by package.mask/unmask. Thanks. -- Fernando Rodriguez
Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
On Tue, 14 Jul 2015 22:12:09 +0200, Alan McKinnon wrote: You override profiles in /etc/portage/profile. In this case add cat/pkg - hvm to package.use.mask. man portage for more information ha, I had tried (among other things) package.use.unmask following the convention used by package.mask/unmask. Thanks. The directory is: package.unmask Read man portage. The answer you seek is there. That's for unmasking packages, he wants to unmask USE flags. My previous post got a bit mucked up, set from my phone. to clarify, add a line to /etc/portage/profile/use.mask like this app-emulation/xen-tools -hvm Note the -, you are negating the mask. the syntax if perfectly logical if you think about it with the right kind of logic. Of course, there may be a very good reason why this flag is masked on no-multilib profiles, in which case you will not only see why but get to keep the resulting shrapnel. -- Neil Bothwick I can picture in my mind a world without war, a world without hate. And I can picture us attacking that world, because they'd never expect it. pgpL3XsN_AYqO.pgp Description: OpenPGP digital signature
Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
On Tuesday, July 14, 2015 9:47:46 PM Neil Bothwick wrote: On Tue, 14 Jul 2015 22:12:09 +0200, Alan McKinnon wrote: You override profiles in /etc/portage/profile. In this case add cat/pkg - hvm to package.use.mask. man portage for more information ha, I had tried (among other things) package.use.unmask following the convention used by package.mask/unmask. Thanks. The directory is: package.unmask Read man portage. The answer you seek is there. That's for unmasking packages, he wants to unmask USE flags. My previous post got a bit mucked up, set from my phone. to clarify, add a line to /etc/portage/profile/use.mask like this app-emulation/xen-tools -hvm Note the -, you are negating the mask. the syntax if perfectly logical if you think about it with the right kind of logic. It is perfectly logical, it just don't follow the same convention used for masking/unmasking packages. I did look at the man page but I just did a quick search for .unmask Of course, there may be a very good reason why this flag is masked on no-multilib profiles, in which case you will not only see why but get to keep the resulting shrapnel. In this case, judging by the bug report on the ChangeLog, I think the issue was fixed and they forgot to unmask the use flag. -- Fernando Rodriguez
Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
On Tuesday, July 14, 2015 11:55:46 AM hw wrote: Hi, now I found this: moonflo ~ # find /usr/portage/profiles/ -type f -print0 | xargs -0 -P24 grep xen-tools [...] /usr/portage/profiles/ChangeLog-2007: Add hvm USE flag for Xen HVM support in xen-tools. Mask on no-multilib [...] And: http://gentoo-en.vfose.ru/wiki/Xen If you plan to add hvm support on amd64, you will need to have multilib support. Of course, I don't have multilib. Is that still required, and if so, why? There isn't any 32bit software to run other than within HVM guests perhaps. How can I remove this mask? I do need xen working last week ... It's in /usr/portage/profile/amd64/no-multilib/use.mask, I can't figure out how to unmask it on /etc/portage. What I would do is copy the xen-tools ebuild to your local overlay then run: sed -ie '/hvmloader/! s/hvm/hvm2/g' xen-tools-4.5.1-r1.ebuild and enable hvm2 and hvm, that way it doesn't get overwritten when you sync and when the ebuid gets updated and the mask removed you already have the right flags set. Should I make a bug report about it? I would comment on bug #351648 because it looks like they fixed it but forgot to remove the mask. -- Fernando Rodriguez signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
On 14 July 2015 10:55:46 BST, hw h...@gartencenter-vaehning.de wrote: Hi, now I found this: moonflo ~ # find /usr/portage/profiles/ -type f -print0 | xargs -0 -P24 grep xen-tools [...] /usr/portage/profiles/ChangeLog-2007: Add hvm USE flag for Xen HVM support in xen-tools. Mask on no-multilib [...] And: http://gentoo-en.vfose.ru/wiki/Xen If you plan to add hvm support on amd64, you will need to have multilib support. Of course, I don't have multilib. Is that still required, and if so, why? There isn't any 32bit software to run other than within HVM guests perhaps. How can I remove this mask? I do need xen working last week ... Should I make a bug report about it? You override profiles in /etc/portage/profile. In this case add cat/pkg - hvm to package.use.mask. man portage for more information -- Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
On 13/07/2015 19:22, hw wrote: So what happened to the 'hvm' USE flag of the xen-tools package? http://gentoobrowse.randomdan.homeip.net/package/app-emulation/xen-tools says there is such a flag. However: moonflo ~ # equery uses xen-tools [ Legend : U - final flag setting for installation] [: I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for app-emulation/xen-tools-4.5.1-r1: U I - - api : Build the C libxenapi bindings - - custom-cflags: Build with user-specified CFLAGS (unsupported) - - debug: Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces - - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally - - flask: Enable the Flask XSM module from NSA - - ovmf : Enable support to boot UEFI guest vm, needed by hvm + + pam : Enable pam support - - pygrub : Install the pygrub boot loader - - python : Add optional support/bindings for the Python language + + python_targets_python2_7 : Build with Python 2.7 - - qemu : Enable IOEMU support via the use of qemu-dm - - screen : Enable support for running domain U console in an app-misc/screen session - - static-libs : Build static versions of dynamic libraries as well - - system-qemu : Using app-emulation/qemu instead of the bundled one - - system-seabios : Using sys-firmware/seabios instead of the bundled one moonflo ~ # So there is no such flag. Apparently my installation is missing 'hvmloader', and I'm guessing that I would have that if I could enable the 'hmv' USE flag. How do I enable a USE flag that doesn't seem to exist? You don't enable a USE flag that does not exist. How could you? It's not there. A primer on USE flags: These set *optional* features for build time, usually by setting options to ./configure at build time (or some equivalent means). If a USE flag goes away, it usually means the feature is no longer optional but now permanently enabled (or sometimes not enabled at all). Or perhaps the upstream build system changed, and USE must correspondingly change. If something that used to work and now doesn't after USE is modified by the dev, then that is a bug, so report it. Sometimes an optional feature that never really worked at all is removed by upstream, which means the USE flag goes away, and that is a discussion you must have with upstream if it breaks stuff for you. Either way, your start point is to touch base with the Gentoo maintainer of the package. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] xen: How to enable a non-existant USE flag? (xen doesn't work)
On Mon, Jul 13, 2015 at 1:22 PM, hw h...@gartencenter-vaehning.de wrote: So what happened to the 'hvm' USE flag of the xen-tools package? Something is wrong with your repository. The flag is there. I would suggest that you start by disabling any overlays, and run emerge --sync. floppym@naomi ~ % equery uses xen-tools [ Legend : U - final flag setting for installation] [: I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for app-emulation/xen-tools-4.5.1-r1: U I - - api : Build the C libxenapi bindings - - custom-cflags: Build with user-specified CFLAGS (unsupported) - - debug: Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces - - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally - - flask: Enable the Flask XSM module from NSA - - hvm : Enable support for hardware based virtualization (VT-x,AMD-v) - - ocaml: Enable support for the ocaml language - - ovmf : Enable support to boot UEFI guest vm, needed by hvm + + pam : Enable pam support - - pygrub : Install the pygrub boot loader - - python : Add optional support/bindings for the Python language + + python_targets_python2_7 : Build with Python 2.7 - - qemu : Enable IOEMU support via the use of qemu-dm - - screen : Enable support for running domain U console in an app-misc/screen session - - static-libs : Build static versions of dynamic libraries as well - - system-qemu : Using app-emulation/qemu instead of the bundled one - - system-seabios : Using sys-firmware/seabios instead of the bundled one