Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254539 - app-portage/eix - update-eix: /home/liujie/portage/app-emulation/virtualbox-bin/virtualbox-bin-2.1.0.ebuild: Permission denied
Summary: app-portage/eix - update-eix: /home/liujie/portage/app-emulation/virtualbox-b...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-11 11:50 UTC by liujie
Modified: 2009-01-14 15:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description liujie 2009-01-11 11:50:15 UTC
liujie@liujieX ~ $ sudo update-eix
Reading Portage settings ..
Building database (/var/cache/eix) ..
[0] "gentoo" /usr/portage/ (cache: metadata-flat)
     Reading 100%
[1] "" /home/liujie/portage (cache: parse|ebuild*)
     Reading   7%/usr/lib64/portage/bin/ebuild.sh: line 1867: /home/liujie/portage/app-emulation/virtualbox-bin/virtualbox-bin-2.1.0.ebuild: Permission denied
 * 
 * ERROR: app-emulation/virtualbox-bin-2.1.0 failed.
 * Call stack:
 *               ebuild.sh, line 1867:  Called die
 * The specific snippet of code:
 *   	source "${EBUILD}" || die "error sourcing ebuild"
 *  The die message:
 *   error sourcing ebuild
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * This ebuild is from an overlay: '/home/liujie/portage/'
 * 

Ebuild failed with status 1
     Reading   7%
Could not properly execute /home/liujie/portage/app-emulation/virtualbox-bin/virtualbox-bin-2.1.0.ebuild
     Reading   7%/usr/lib64/portage/bin/ebuild.sh: line 1867: /home/liujie/portage/app-emulation/virtualbox-modules/virtualbox-modules-2.1.0.ebuild: Permission denied
 * 
 * ERROR: app-emulation/virtualbox-modules-2.1.0 failed.
 * Call stack:
 *               ebuild.sh, line 1867:  Called die
 * The specific snippet of code:
 *   	source "${EBUILD}" || die "error sourcing ebuild"
 *  The die message:
 *   error sourcing ebuild
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * This ebuild is from an overlay: '/home/liujie/portage/'
 * 

Ebuild failed with status 1
     Reading   7%
Could not properly execute /home/liujie/portage/app-emulation/virtualbox-modules/virtualbox-modules-2.1.0.ebuild
     Reading  70%/usr/lib64/portage/bin/ebuild.sh: line 1867: /home/liujie/portage/net-www/mplayerplug-in/mplayerplug-in-3.55.ebuild: Permission denied
 * 
 * ERROR: net-www/mplayerplug-in-3.55 failed.
 * Call stack:
 *               ebuild.sh, line 1867:  Called die
 * The specific snippet of code:
 *   	source "${EBUILD}" || die "error sourcing ebuild"
 *  The die message:
 *   error sourcing ebuild
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * This ebuild is from an overlay: '/home/liujie/portage/'
 * 

Ebuild failed with status 1
     Reading  70%
Could not properly execute /home/liujie/portage/net-www/mplayerplug-in/mplayerplug-in-3.55.ebuild
     Reading  93%/usr/lib64/portage/bin/ebuild.sh: line 1867: /home/liujie/portage/x11-drivers/nvidia-drivers/nvidia-drivers-177.82.ebuild: Permission denied
 * 
 * ERROR: x11-drivers/nvidia-drivers-177.82 failed.
 * Call stack:
 *               ebuild.sh, line 1867:  Called die
 * The specific snippet of code:
 *   	source "${EBUILD}" || die "error sourcing ebuild"
 *  The die message:
 *   error sourcing ebuild
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * This ebuild is from an overlay: '/home/liujie/portage/'
 * 

Ebuild failed with status 1
     Reading  93%
Could not properly execute /home/liujie/portage/x11-drivers/nvidia-drivers/nvidia-drivers-177.82.ebuild
     Reading  93%/usr/lib64/portage/bin/ebuild.sh: line 1867: /home/liujie/portage/x11-drivers/nvidia-drivers/nvidia-drivers-180.22.ebuild: Permission denied
 * 
 * ERROR: x11-drivers/nvidia-drivers-180.22 failed.
 * Call stack:
 *               ebuild.sh, line 1867:  Called die
 * The specific snippet of code:
 *   	source "${EBUILD}" || die "error sourcing ebuild"
 *  The die message:
 *   error sourcing ebuild
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * This ebuild is from an overlay: '/home/liujie/portage/'
 * 

Ebuild failed with status 1
     Reading  93%
Could not properly execute /home/liujie/portage/x11-drivers/nvidia-drivers/nvidia-drivers-180.22.ebuild
     Reading  93%/usr/lib64/portage/bin/ebuild.sh: line 1867: /home/liujie/portage/x11-drivers/nvidia-drivers/nvidia-drivers-71.86.06.ebuild: Permission denied
 * 
 * ERROR: x11-drivers/nvidia-drivers-71.86.06 failed.
 * Call stack:
 *               ebuild.sh, line 1867:  Called die
 * The specific snippet of code:
 *   	source "${EBUILD}" || die "error sourcing ebuild"
 *  The die message:
 *   error sourcing ebuild
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * This ebuild is from an overlay: '/home/liujie/portage/'
 * 

Ebuild failed with status 1
     Reading  93%
Could not properly execute /home/liujie/portage/x11-drivers/nvidia-drivers/nvidia-drivers-71.86.06.ebuild
     Reading  93%/usr/lib64/portage/bin/ebuild.sh: line 1867: /home/liujie/portage/x11-drivers/nvidia-drivers/nvidia-drivers-71.86.07.ebuild: Permission denied
 * 
 * ERROR: x11-drivers/nvidia-drivers-71.86.07 failed.
 * Call stack:
 *               ebuild.sh, line 1867:  Called die
 * The specific snippet of code:
 *   	source "${EBUILD}" || die "error sourcing ebuild"
 *  The die message:
 *   error sourcing ebuild
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * This ebuild is from an overlay: '/home/liujie/portage/'
 * 

Ebuild failed with status 1
     Reading  93%
Could not properly execute /home/liujie/portage/x11-drivers/nvidia-drivers/nvidia-drivers-71.86.07.ebuild
     Reading  93%/usr/lib64/portage/bin/ebuild.sh: line 1867: /home/liujie/portage/x11-drivers/nvidia-drivers/nvidia-drivers-96.43.07.ebuild: Permission denied
 * 
 * ERROR: x11-drivers/nvidia-drivers-96.43.07 failed.
 * Call stack:
 *               ebuild.sh, line 1867:  Called die
 * The specific snippet of code:
 *   	source "${EBUILD}" || die "error sourcing ebuild"
 *  The die message:
 *   error sourcing ebuild
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * This ebuild is from an overlay: '/home/liujie/portage/'
 * 

Ebuild failed with status 1
     Reading  93%
Could not properly execute /home/liujie/portage/x11-drivers/nvidia-drivers/nvidia-drivers-96.43.07.ebuild
     Reading  93%/usr/lib64/portage/bin/ebuild.sh: line 1867: /home/liujie/portage/x11-drivers/nvidia-drivers/nvidia-drivers-96.43.09.ebuild: Permission denied
 * 
 * ERROR: x11-drivers/nvidia-drivers-96.43.09 failed.
 * Call stack:
 *               ebuild.sh, line 1867:  Called die
 * The specific snippet of code:
 *   	source "${EBUILD}" || die "error sourcing ebuild"
 *  The die message:
 *   error sourcing ebuild
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * This ebuild is from an overlay: '/home/liujie/portage/'
 * 

Ebuild failed with status 1
     Reading  93%
Could not properly execute /home/liujie/portage/x11-drivers/nvidia-drivers/nvidia-drivers-96.43.09.ebuild
     Reading 100%
[2] "china" /usr/local/portage/layman/gentoo-china (cache: parse|ebuild*)
     Reading 100%
[3] "desktop-effects" /usr/local/portage/layman/desktop-effects (cache: parse|ebuild*)
     Reading 100%
[4] "gnome" /usr/local/portage/layman/gnome (cache: parse|ebuild*)
     Reading 100%
[5] "sunrise" /usr/local/portage/layman/sunrise (cache: parse|ebuild*)
     Reading 100%
Applying masks ..
Calculating hash tables ..
Writing database file /var/cache/eix ..
Database contains 14020 packages in 158 categories.
Comment 1 liujie 2009-01-11 11:51:19 UTC
liujie@liujieX ~ $ emerge --info
Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4000+-with-glibc2.2.5
Timestamp of tree: Sun, 11 Jan 2009 09:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1-r1
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=k8 -msse3 -pipe -fomit-frame-pointer "
CHOST="x86_64-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/bind"
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/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=k8 -msse3 -pipe -fomit-frame-pointer "
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O2"
LINGUAS="zh_CN zh"
MAKEOPTS="-j3"
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="/home/liujie/portage /usr/local/portage/layman/gentoo-china /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/gnome /usr/local/portage/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X Xaw3d aac aalib acl acpi alsa amd64 amrnb amrwb avahi avi bash-completion berkdb bluetooth bzip2 cairo cdda cdr cli colordiff cracklib crypt cups custom-cflags custom-cpuopts custom-optimization dbus directfb dri dv dvb dvd dvdr dvdread encode ffmpeg flac fortran freetype fuse gdbm gif glitz gnome gnutls gpm gstreamer gtk gtk2 hal iconv id3tag ipv6 isdnlog jpeg jpeg2k md5sum midi mmap mmx mmx2 mmxext mp3 mp4 mpeg mudflap multilib ncurses newspr nls nptl nptlonly nvidia ogg oggvorbis opengl openmp openssh openssl opensslcrypt pam pcre pdf perl png posix pppd pulseaudio python quicktime raw readline reflection samba sdl session speex spl sse sse2 sse3 ssl svg sysfs tcpd tiff tracker truetype truetype-fonts type1-fonts udev unicode utf8 wma wxwindows x264 xine xml xorg xulrunner xvid zlib" ALSA_CARDS="hda-intel" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN zh" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 liujie 2009-01-11 11:52:50 UTC
liujie@liujieX ~ $ eix eix
[I] app-portage/eix
     Available versions:  0.13.3-r1 0.15.2 {doc sqlite}
     Installed versions:  0.15.2(17时13分07秒 2008年11月28日)(-doc -sqlite)
     Homepage:            http://eix.sourceforge.net
     Description:         Search and query ebuilds, portage incl. local settings, ext. overlays, version changes, and more
Comment 3 Emil Beinroth 2009-01-13 00:55:57 UTC
Check the permissions of the files in your overlay. What does ls -l /home/liujie/portage/x11-drivers/nvidia-drivers/nvidia-drivers-96.43.07.ebuild say?
Comment 4 liujie 2009-01-13 11:02:19 UTC
liujie@liujieX ~ $ ls -l /home/liujie/portage/x11-drivers/nvidia-drivers/nvidia-drivers-96.43.07.ebuild
-rwxr-xr-x 1 liujie liujie 14475 01-10 18:02 /home/liujie/portage/x11-drivers/nvidia-drivers/nvidia-drivers-96.43.07.ebuild
Comment 5 Patrick Lauer gentoo-dev 2009-01-13 20:11:25 UTC
/home/liujie/portage/app-emulation/virtualbox-bin/virtualbox-bin-2.1.0.ebuild:
Permission denied

Fix the permissions :)
Comment 6 liujie 2009-01-14 13:45:51 UTC
(In reply to comment #5)
> /home/liujie/portage/app-emulation/virtualbox-bin/virtualbox-bin-2.1.0.ebuild:
> Permission denied
> 
> Fix the permissions :)
> 

Howto fix the permissions?
I can emerge it use these ebuild file OK but update-eix.
Thanks.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-14 14:58:54 UTC
(In reply to comment #6)
> Howto fix the permissions?

Change the group of the ebuilds to portage or edit the eix configuration.

Quoting the build log:

 *
 * Security Warning:
 *
 * Since >=eix-0.12.0, eix uses by default OVERLAY_CACHE_METHOD="parse|ebuild*"
 * This is rather reliable, but ebuilds may be executed by user "portage". Set
 * OVERLAY_CACHE_METHOD=parse in /etc/eixrc if you do not trust the ebuilds.
Comment 8 liujie 2009-01-14 15:11:41 UTC
(In reply to comment #5)
> /home/liujie/portage/app-emulation/virtualbox-bin/virtualbox-bin-2.1.0.ebuild:
> Permission denied
> 
> Fix the permissions :)
> 

Howto fix the permissions?
I can emerge it use these ebuild file OK but update-eix.
Thanks.(In reply to comment #7)
> (In reply to comment #6)
> > Howto fix the permissions?
> 
> Change the group of the ebuilds to portage or edit the eix configuration.
> 
> Quoting the build log:
> 
>  *
>  * Security Warning:
>  *
>  * Since >=eix-0.12.0, eix uses by default OVERLAY_CACHE_METHOD="parse|ebuild*"
>  * This is rather reliable, but ebuilds may be executed by user "portage". Set
>  * OVERLAY_CACHE_METHOD=parse in /etc/eixrc if you do not trust the ebuilds.
> 

I have try to Change the group of the ebuilds to portage, that's not OK.
and edit the eix configuration by Set OVERLAY_CACHE_METHOD=parse in /etc/eixrc,
It's OK & quickly than before.
Thanks

liujie@liujieX ~ $ sudo update-eix
Reading Portage settings ..
Building database (/var/cache/eix) ..
[0] "gentoo" /usr/portage/ (cache: metadata-flat)
     Reading 100%
[1] "" /home/liujie/portage (cache: parse)
     Reading 100%
[2] "china" /usr/local/portage/layman/gentoo-china (cache: parse)
     Reading 100%
[3] "desktop-effects" /usr/local/portage/layman/desktop-effects (cache: parse)
     Reading 100%
[4] "gnome" /usr/local/portage/layman/gnome (cache: parse)
     Reading 100%
[5] "sunrise" /usr/local/portage/layman/sunrise (cache: parse)
     Reading 100%
Applying masks ..
Calculating hash tables ..
Writing database file /var/cache/eix ..
Database contains 14036 packages in 158 categories.