Re: [gentoo-user] Re: zsh: not so bad?
On 14 July 2015 at 08:42, Martin Vaeth mar...@mvath.de wrote: Alon Bar-Lev alo...@gentoo.org wrote: Only issue I could not find a solution to is tab completion after '=', for example: xxx --file=TAB This will not complete files, while it will be nice if it does. For standard commands, it works as it should. For instance, tar --file=TAB chmod --reference=TAB dd if=TAB all work as excpected. For your own custom-commands, it is usually the best idea to write your own _custom-command completion file for _zsh where you can specify the options and their arguments (and how the option arguments can look like, e.g. whether = is acceptable as an option-argument separator) in detail. For instance, gentoo-zsh-completion does this for most commands of gentoo projects, others like eix bring their own completion files. If you don't, you do not get completion for options but only the generic completion of filenames (in which case = has no magic meaning, of course). I do not want to write completion for every command out there. There is magic_equal_subst option which enables that but also cause harm when using = in other places such as: That's exactly the purpose of magic_equal_subst: To support it for *all* arguments everywhere. no, it also has side unwanted side effects that have nothing to do with completion. I gave the example of: echo xxx==cat I did not press tab and it completes... Usually there is no point to specify this globally. yes there is, most commands that have no specific completion will enjoy --xxx=TAB to complete a file name. You can of course set it locally in a specific completion function, in which you want it (although other completion helper functions like _arguments are usually sufficient to treat = correctly). how? can you give an example? Is there any sequence to enable completion after space without effecting the entire interpreter? After space? I suppose the question you meant is answered above. I was confused, after '=', and I am afraid I do not have an answer. Thanks for your answer! Alon
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.
[gentoo-user] Re: zsh: not so bad?
Alon Bar-Lev alo...@gentoo.org wrote: I do not want to write completion for every command out there. For most commands there already do exist completion functions. Essentially, it is only your own scripts for which you have to do it, and this does not take a lot of time when you write the scripts anyway... In my case, I had to write 11 files (not counting the projects which I had made public for which I wrote completions files, of course, as well). It is a surprisingly low number of commands which one really uses, and the time spent to write a completion was always worth it, in the end... I did not press tab and it completes... This can happen only if you are using something like auto-fu-zsh. The latter is very convenient, but only if you have perfect completion functions for everything. Otherwise it can be very annoying. Usually there is no point to specify this globally. yes there is, most commands that have no specific completion will enjoy --xxx=TAB to complete a file name. Don't do it (trying to enable correct completion for commands without completion files) - it will fail anyway: There is no generic completion which is always right. You might try to write some generic completion functions and assign them to a whole bulk of your commands, but in my experience you are bettter off to spend the time to write correct completions in the first place. how? can you give an example? /usr/share/zsh/site-functions/_enjoy: #compdef enjoy _arguments : \ '--file=[use specified file for output]:output file:_files' \ '*:files:_files'
Re: [gentoo-user] Re: zsh: not so bad?
On 14 July 2015 at 09:50, Alon Bar-Lev alo...@gentoo.org wrote: On 14 July 2015 at 10:47, Emanuele Rusconi ema...@gmail.com wrote: In my setup (borrowed from grml, which has an AWESOME zsh setup), ^xf (ctrl-x f) is bound to insert-files and completes file names, regardless of other completion rules for the command I'm typing. -- Emanuele Rusconi Great! will check it out. Command please? (for these that are new for zsh). The grml's setup uses a custom function bind2maps: bind2maps emacs viins -- -s ^xf insert-files I think the regular commands would be like: bindkey -M emacs -s ^xf insert-files bindkey -M viins -s ^xf insert-files
Re: [gentoo-user] Re: zsh: not so bad?
On 14 July 2015 at 10:47, Emanuele Rusconi ema...@gmail.com wrote: In my setup (borrowed from grml, which has an AWESOME zsh setup), ^xf (ctrl-x f) is bound to insert-files and completes file names, regardless of other completion rules for the command I'm typing. -- Emanuele Rusconi Great! will check it out. Command please? (for these that are new for zsh).
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 doesn't work
Am 13.07.2015 um 20:17 schrieb hydra: Please post the output of emerge --info xen Portage 2.2.20 (python 2.7.9-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.8.4, glibc-2.20-r2, 4.0.5-gentoo x86_64) = System Settings = System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_X5650_@_2.67GHz-with-gentoo-2.2 KiB Mem:24742332 total, 23827252 free KiB Swap: 67069948 total, 67069948 free Timestamp of repository gentoo: Tue, 14 Jul 2015 08:00:01 + sh bash 4.3_p33-r2 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33-r2::gentoo dev-lang/perl:5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.3.5-r1::gentoo dev-util/cmake: 3.2.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.17::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.14.1::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc:4.8.4::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool:2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 ACCEPT_KEYWORDS=amd64 ACCEPT_LICENSE=* -@EULA CBUILD=x86_64-pc-linux-gnu CFLAGS=-O2 -pipe -march=native -fomit-frame-pointer CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/gnupg/qualified.txt CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo CXXFLAGS=-O2 -pipe -march=native -fomit-frame-pointer DISTDIR=/usr/portage/distfiles EMERGE_DEFAULT_OPTS=-j 4 FCFLAGS=-O2 -pipe FEATURES=assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync FFLAGS=-O2 -pipe GENTOO_MIRRORS=http://tux.rainside.sk/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://gd.tuwien.ac.at/opsys/linux/gentoo/; LANG=en_US.utf8 LDFLAGS=-Wl,-O1 -Wl,--as-needed MAKEOPTS=-j24 PKGDIR=/usr/portage/packages PORTAGE_CONFIGROOT=/ PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages PORTAGE_TMPDIR=/var/tmp USE=acl alsa amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv mmx mmxext modules ncurses nls nptl opengl openmp pam pcre readline session sse sse2 ssl tcpd unicode vdpau xvmc zlib ABI_X86=64 ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci APACHE2_MODULES=authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias CALLIGRA_FEATURES=kexi words flow plan sheets stage tables krita karbon braindump author CAMERAS=ptp2 COLLECTD_PLUGINS=df interface irq load memory rrdtool swap syslog CPU_FLAGS_X86=aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx INPUT_DEVICES=keyboard mouse evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text LIBREOFFICE_EXTENSIONS=presenter-console presenter-minimizer OFFICE_IMPLEMENTATION=libreoffice PHP_TARGETS=php5-5 PYTHON_SINGLE_TARGET=python2_7 PYTHON_TARGETS=python2_7 python3_3 RUBY_TARGETS=ruby19 ruby20 USERLAND=GNU VIDEO_CARDS=nouveau XTABLES_ADDONS=quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account USE_PYTHON=2.7 3.4 Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS = Package
[gentoo-user] Emerge not updating the Installed database
Hi List, I have just updated MythTV, but when I do `emerge -s mythtv` I get the previous version is the installed version # emerge -s mythtv [ Results for search key : mythtv ] Searching... * media-tv/mythtv Latest version available: 0.27.5_p20150627 Latest version installed: 0.27.4_p20150124 Size of files: 83,658 KiB Homepage: http://www.mythtv.org Description: Homebrew PVR project License: GPL-2 Yet, when I scroll up further, the correct version is installed (no errors) Installing (1 of 1) media-tv/mythtv-0.27.5_p20150627::gentoo * checking 2239 files for package collisions 1000 files checked ... 2000 files checked ... Merging media-tv/mythtv-0.27.5_p20150627 to / snip * Messages for package media-tv/mythtv-0.27.5_p20150627: # ls -la /usr/share/doc/mythtv-0.27.5_p20150627/ total 60 drwxr-xr-x2 root root 4096 Jul 14 18:33 . drwxr-xr-x 1007 root root 36864 Jul 11 12:46 .. -rw-r--r--1 root root 1676 Jul 14 18:33 AUTHORS.bz2 -rw-r--r--1 root root 4833 Jul 14 18:33 keys.txt.bz2 -rw-r--r--1 root root 1610 Jul 14 18:33 README.bz2 -rw-r--r--1 root root 969 Jul 14 18:33 UPGRADING.bz2 So, 0.27.5 is installed, yet emerge -s tells me its 0.27.4 is the current install? # mythfrontend --version Please attach all output as a file in bug reports. MythTV Version : 9498257571e8158926b60a0eefc74568c4436823 MythTV Branch : fixes/0.27 Network Protocol : 77 Library API : 0.27.20150622-1 QT Version : 4.8.4 -- --- Regards, Rod Smart
Re: [gentoo-user] Re: zsh: not so bad?
In my setup (borrowed from grml, which has an AWESOME zsh setup), ^xf (ctrl-x f) is bound to insert-files and completes file names, regardless of other completion rules for the command I'm typing. -- Emanuele Rusconi
Re: [gentoo-user] Securely deletion of an HDD
On Sun, Jul 12, 2015 at 7:18 PM, Rich Freeman ri...@gentoo.org wrote: I think that assumes that the two get averaged together in some way and cannot be separated. If you could determine the orientation of individual magnetic domains it is possible that you might be able to determine which ones are which. For example, if in a given location you found 90% of the grains had one orientation, and 10% had another, you might be able to infer that the 10% was the previous value of that location. Every bit on the disk will have this ghost inverse behind it. If you flip bits at random - what overwriting the drive with random data effectively does - then it's impossible to tell which ones were flipped recently and which ones were flipped before the last write. That probably isn't practical with current technology, but I see no reason that it should be impossible. Magnetic force microscopy has a resolution fine enough to read any disk that can be created - they're just really expensive. On Sun, Jul 12, 2015 at 8:50 PM, Thomas Mueller mueller6...@bellsouth.net wrote: All that has been said on this thread supposes that the hard drive is still readable and writable. On Sun, Jul 12, 2015 at 6:22 PM, R0b0t1 r03...@gmail.com wrote: If you need to destroy a platter drive take it apart and sand the platters (probably the easiest). If it's solid state heat the drive over 150C-250C for an extended period of time or mechanically destroy the chips.
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
[gentoo-user] Re: Emerge not updating the Installed database
On Tue, 14 Jul 2015 18:55:20 +1000 Rod r...@rods.id.au wrote: Hi List, I have just updated MythTV, but when I do `emerge -s mythtv` I get the previous version is the installed version # emerge -s mythtv [ Results for search key : mythtv ] Searching... * media-tv/mythtv Latest version available: 0.27.5_p20150627 Latest version installed: 0.27.4_p20150124 Yep, you seem to be right :) Someone will surely ask what version of portage you're using, so I may as well ask it first. I tend to use app-portage/eix instead of emerge for searching functions, so if you're in the mood for experiments you could try installing that and initialize its database (/var/cache/eix/portage.eix) with eix-update. Assuming that worked, search for mythtv with 'eix mythtv' and you should see any available and installed versions. This should at least distract you from worrying about a portage bug :)
Re: [gentoo-user] Re: Emerge not updating the Installed database
On Tue, Jul 14, 2015 at 04:06:16PM -0700, walt wrote: On Tue, 14 Jul 2015 18:55:20 +1000 Rod r...@rods.id.au wrote: Hi List, I have just updated MythTV, but when I do `emerge -s mythtv` I get the previous version is the installed version Yep, you seem to be right :) Someone will surely ask what version of portage you're using, so I may as well ask it first. Can you also check whether the correct package version is listed in /var/db/pkg/media-tv (and, if the old version was removed, that the old version is _not_ listed in there)? -- wraeth wra...@wraeth.id.au GnuPG Key: B2D9F759 pgpNqeZ0n5daj.pgp Description: PGP 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
[gentoo-user] Virtualbox-5.0.0 [wow!]
Even while slogging through my painful and ongoing update of perl and friends, I managed to install Virtualbox-5.0.0 and its guest-additions. (Apparently these two packages don't depend on perl at build-time.) I fired up my vbox gentoo guest machine and, of course, I tried to install the 5.0.0 guest additions kernel modules. I got an error message about usb support in the guest kernel, so I disabled guest usb support (temporarily) with the vbox gui, tried again and the guest kernel modules installed with amazing speed. I'd like to know if anyone else is seeing spectacular speed performance with vbox-5.0.0.
Re: [gentoo-user] xen doesn't work
On Tue, Jul 14, 2015 at 10:42 AM, hw h...@gartencenter-vaehning.de wrote: Am 13.07.2015 um 20:17 schrieb hydra: Please post the output of emerge --info xen Portage 2.2.20 (python 2.7.9-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.8.4, glibc-2.20-r2, 4.0.5-gentoo x86_64) = System Settings = System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_X5650_@ _2.67GHz-with-gentoo-2.2 KiB Mem:24742332 total, 23827252 free KiB Swap: 67069948 total, 67069948 free Timestamp of repository gentoo: Tue, 14 Jul 2015 08:00:01 + sh bash 4.3_p33-r2 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33-r2::gentoo dev-lang/perl:5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.3.5-r1::gentoo dev-util/cmake: 3.2.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.17::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.14.1::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc:4.8.4::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool:2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 ACCEPT_KEYWORDS=amd64 ACCEPT_LICENSE=* -@EULA CBUILD=x86_64-pc-linux-gnu CFLAGS=-O2 -pipe -march=native -fomit-frame-pointer CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/gnupg/qualified.txt CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo CXXFLAGS=-O2 -pipe -march=native -fomit-frame-pointer DISTDIR=/usr/portage/distfiles EMERGE_DEFAULT_OPTS=-j 4 FCFLAGS=-O2 -pipe FEATURES=assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync FFLAGS=-O2 -pipe GENTOO_MIRRORS=http://tux.rainside.sk/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://gd.tuwien.ac.at/opsys/linux/gentoo/; LANG=en_US.utf8 LDFLAGS=-Wl,-O1 -Wl,--as-needed MAKEOPTS=-j24 PKGDIR=/usr/portage/packages PORTAGE_CONFIGROOT=/ PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages PORTAGE_TMPDIR=/var/tmp USE=acl alsa amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv mmx mmxext modules ncurses nls nptl opengl openmp pam pcre readline session sse sse2 ssl tcpd unicode vdpau xvmc zlib ABI_X86=64 ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci APACHE2_MODULES=authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias CALLIGRA_FEATURES=kexi words flow plan sheets stage tables krita karbon braindump author CAMERAS=ptp2 COLLECTD_PLUGINS=df interface irq load memory rrdtool swap syslog CPU_FLAGS_X86=aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx INPUT_DEVICES=keyboard mouse evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text LIBREOFFICE_EXTENSIONS=presenter-console presenter-minimizer OFFICE_IMPLEMENTATION=libreoffice PHP_TARGETS=php5-5 PYTHON_SINGLE_TARGET=python2_7 PYTHON_TARGETS=python2_7 python3_3 RUBY_TARGETS=ruby19 ruby20 USERLAND=GNU VIDEO_CARDS=nouveau XTABLES_ADDONS=quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account USE_PYTHON=2.7 3.4 Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
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.