During the install phase virtinst tries to read outside the sandbox. Error message: ACCESS DENIED open_wr: /proc/xen/privcmd I have tried with virtinst-0.300.3 also Reproducible: Always Steps to Reproduce: 1. emerge app-emulation/virtinst-0.300.3-r1 2. 3. Expected Results: Successful emerge of virtinst.
Please attach the entire build log and post your `emerge --info' too.
Here you go. # emerge virtinst -va These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-emulation/virtinst-0.300.3 0 kB Total: 1 package (1 new), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) app-emulation/virtinst-0.300.3 to / * virtinst-0.300.3.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking virtinst-0.300.3.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking virtinst-0.300.3.tar.gz to /var/tmp/portage/app-emulation/virtinst-0.300.3/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-emulation/virtinst-0.300.3/work/virtinst-0.300.3 ... ACCESS DENIED open_wr: /proc/xen/privcmd running build Building build/po/pl/virtinst.mo from pl.po Building build/po/ja/virtinst.mo from ja.po Building build/po/fr/virtinst.mo from fr.po running build_py creating build/lib creating build/lib/virtinst copying virtinst/CloneManager.py -> build/lib/virtinst copying virtinst/ImageManager.py -> build/lib/virtinst copying virtinst/Guest.py -> build/lib/virtinst copying virtinst/DistroManager.py -> build/lib/virtinst copying virtinst/util.py -> build/lib/virtinst copying virtinst/CapabilitiesParser.py -> build/lib/virtinst copying virtinst/FullVirtGuest.py -> build/lib/virtinst copying virtinst/ImageParser.py -> build/lib/virtinst copying virtinst/__init__.py -> build/lib/virtinst copying virtinst/OSDistro.py -> build/lib/virtinst copying virtinst/ParaVirtGuest.py -> build/lib/virtinst copying virtinst/cli.py -> build/lib/virtinst copying virtinst/LiveCDInstaller.py -> build/lib/virtinst copying virtinst/ImageFetcher.py -> build/lib/virtinst running build_scripts creating build/scripts-2.5 copying and adjusting virt-install -> build/scripts-2.5 copying and adjusting virt-clone -> build/scripts-2.5 copying and adjusting virt-image -> build/scripts-2.5 changing mode of build/scripts-2.5/virt-install from 644 to 755 changing mode of build/scripts-2.5/virt-clone from 644 to 755 changing mode of build/scripts-2.5/virt-image from 644 to 755 >>> Source compiled. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-5548.log" open_wr: /proc/xen/privcmd -------------------------------------------------------------------------------- emerge --info sys-devel/libtool: 1.5.26 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -mno-tls-direct-seg-refs" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc /php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /e tc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe -mno-tls-direct-seg-refs" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.mdfnet.se/mirror/gentoo ftp://mirror.mdfnet.se/gentoo http://ftp.ing.umu.se/linux/ gentoo/ ftp://ftp.ing.umu.se/linux/gentoo/ http://ftp.ds.karen.hj.se/gentoo/ ftp://ftp.ds.karen.hj.se/gentoo/ " LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete -- stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl acpi apache2 async berkdb bzip2 cli cracklib crypt cups cvs dri fortran ftp gdbm glibc-omitfp gpm hvm i conv ipv4 ipv6 isdnlog java jpeg kerberos krb4 latin1 lm_sensors lmsensors midi mmx mudflap mysql nagios-dns nag ios-ntp nagios-ping nagios-ssh ncurses nls nptl nptlonly nx odbc openmp pam pcre perl php png pppd python readli ne reflection sasl server session smtp snmp sockets spl sse sse2 ssl subversion sysfs syslog tcpd unicode usb vh osts x86 xen xml xml2 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-mod em ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug lads pa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions al ias 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 dav dav_fs dav_lock deflate dir disk_cache env expires ext_fi lter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite seten vif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" K ERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware vo odoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, P ORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
That were with virtinst-0.300.3 here's with virtinst-0.300.3-r1 emerge virtinst -va These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-emulation/virtinst-0.300.3-r1 0 kB Total: 1 package (1 new), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) app-emulation/virtinst-0.300.3-r1 to / * virtinst-patches-0.300.3-1.tbz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * virtinst-0.300.3.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking virtinst-0.300.3.tar.gz ;-) ... [ ok ] * checking virtinst-patches-0.300.3-1.tbz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking virtinst-0.300.3.tar.gz to /var/tmp/portage/app-emulation/virtinst-0.300.3-r1/work >>> Unpacking virtinst-patches-0.300.3-1.tbz2 to /var/tmp/portage/app-emulation/virtinst-0.300.3-r1/work * Applying various patches (bugfixes/updates) ... * 0001_all_forward-to-hg-as-of-6462dfd3e606.patch ... [ ok ] * 0002_all_don-t-require-256MB-on-Debian-installations.patch ... [ ok ] * 9001_all_virtio_virt-install.patch ... [ ok ] * 9005_all_add_gentoo.patch ... [ ok ] * Done with patching >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-emulation/virtinst-0.300.3-r1/work/virtinst-0.300.3 ... ACCESS DENIED open_wr: /proc/xen/privcmd running build Building build/po/pl/virtinst.mo from pl.po Building build/po/ja/virtinst.mo from ja.po Building build/po/sr@latin/virtinst.mo from sr@latin.po Building build/po/it/virtinst.mo from it.po Building build/po/fr/virtinst.mo from fr.po Building build/po/sr/virtinst.mo from sr.po running build_py creating build/lib creating build/lib/virtinst copying virtinst/CloneManager.py -> build/lib/virtinst copying virtinst/ImageManager.py -> build/lib/virtinst copying virtinst/Guest.py -> build/lib/virtinst copying virtinst/DistroManager.py -> build/lib/virtinst copying virtinst/util.py -> build/lib/virtinst copying virtinst/CapabilitiesParser.py -> build/lib/virtinst copying virtinst/FullVirtGuest.py -> build/lib/virtinst copying virtinst/ImageParser.py -> build/lib/virtinst copying virtinst/__init__.py -> build/lib/virtinst copying virtinst/OSDistro.py -> build/lib/virtinst copying virtinst/ParaVirtGuest.py -> build/lib/virtinst copying virtinst/cli.py -> build/lib/virtinst copying virtinst/LiveCDInstaller.py -> build/lib/virtinst copying virtinst/ImageFetcher.py -> build/lib/virtinst running build_scripts creating build/scripts-2.5 copying and adjusting virt-install -> build/scripts-2.5 copying and adjusting virt-clone -> build/scripts-2.5 copying and adjusting virt-image -> build/scripts-2.5 changing mode of build/scripts-2.5/virt-install from 644 to 755 changing mode of build/scripts-2.5/virt-clone from 644 to 755 changing mode of build/scripts-2.5/virt-image from 644 to 755 >>> Source compiled. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-5870.log" open_wr: /proc/xen/privcmd --------------------------------------------------------------------------------
That's odd - a good part of your `emerge --info' is missing.
Emerge --info again Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686) ================================================================= System uname: 2.6.25-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Timestamp of tree: Wed, 24 Sep 2008 00:46:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://bobcat.nuff.se/mirror/gentoo " LANG="C" LINGUAS="sv en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/kg" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="7zip X a52 aac acl acpi alsa artworkextra automount avahi berkdb bzip2 cairo ccache cddb cdr cli cracklib crypt cups curl dbus dga dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox flac fortran fping ftp gdbm ghmod gif glew gnome gpm gstreamer gtk guitarhero hal httpd iconv imlib ipv6 isdnlog jack java joystick jpeg kerberos libsamplerate lzo mad md5sum midi mikmod mjpeg mmext mms mmx mp2 mp3 mpeg mplayer mudflap musepack mysql ncurses network nls nptl nptlonly nsplugin ntp ogg openal opengl openmp oss pam pcre pdf perl png pppd psyco python qt3 qt3support qt4 quicktime rar readline reflection rtc sdl session sid sound speex spell spl sse sse2 ssl subtitles svg syslog tcpd theora threads tiff truetype unicode vcd vim-syntax vorbis win32codecs wma x264 x86 xanim xml xorg xrandr xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Found a solution. # FEATURES="-sandbox" emerge virtinst Don't know if this is the best way. But at least I got it installed. cheers.
This is fixed in newer versions.