Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68160 - sandbox problems in 51_rc9
Summary: sandbox problems in 51_rc9
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: Alpha All
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-19 08:14 UTC by Aron Griffis (RETIRED)
Modified: 2004-10-19 18:42 UTC (History)
0 users

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 Aron Griffis (RETIRED) gentoo-dev 2004-10-19 08:14:01 UTC
I recently updated to 51_rc9. I don't remember what the previous version was, sorry.  It might have been a 50-based release.

At this point I'm unable to emerge any package without first running it through FEATURES=-sandbox emerge -pv.  That somehow "repairs" the package so it can be emerged.

Here is an example:

$ sudo emerge -pv w3m

These are the packages that I would merge, in order:

Calculating dependencies  
aux_get(): (0) Error in www-client/w3m-0.4.2 ebuild. (176)
               Check for syntax error or corruption in the ebuild. (--debug)


aux_get(): (0) Error in www-client/w3m-0.5-r2 ebuild. (176)
               Check for syntax error or corruption in the ebuild. (--debug)


aux_get(): (0) Error in www-client/w3m-0.5.1-r1 ebuild. (176)
               Check for syntax error or corruption in the ebuild. (--debug)


aux_get(): (0) Error in www-client/w3m-0.5.1-r2 ebuild. (176)
               Check for syntax error or corruption in the ebuild. (--debug)

 
!!! All ebuilds that could satisfy "w3m" have been masked.
!!! One of the following masked packages is required to complete your request:

aux_get(): (0) Error in www-client/w3m-0.4.2 ebuild. (176)
               Check for syntax error or corruption in the ebuild. (--debug)



!!! Problem in www-client/w3m dependencies.
!!!  exceptions


$ FEATURES=-sandbox sudo emerge -pv w3m

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] www-client/w3m-0.5.1-r2 [0.4.2-r6] +X -cjk +gpm +gtk +gtk2 +imlib -imlib2 -lynxkeymap -migemo +nls +ssl -xface 1,872 kB 

Total size of downloads: 1,872 kB

$ sudo emerge -pv w3m

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] www-client/w3m-0.5.1-r2 [0.4.2-r6] +X -cjk +gpm +gtk +gtk2 +imlib -imlib2 -lynxkeymap -migemo +nls +ssl -xface 1,872 kB 

Total size of downloads: 1,872 kB

-------
$ sudo emerge --info
Portage 2.0.51_rc9 (default-alpha-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.21-alpha-r1 alpha)
=================================================================
System uname: 2.4.21-alpha-r1 alpha EV67
Gentoo Base System version 1.5.2
distcc 2.12.1 alphaev67-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.23
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="alpha ~alpha"
AUTOCLEAN="yes"
CFLAGS="-mcpu=ev67 -O3 -pipe -mieee"
CHOST="alphaev67-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/rstart /etc/X11/serverconfig /etc/X11/starthere /etc/X11/sysconfig /etc/X11/xdm /etc/X11/xinit /etc/X11/xkb /etc/afs/C /etc/afs/afsws /etc/gconf /etc/init.d /etc/openldap /etc/postfix/sample /etc/sound /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=ev67 -O3 -pipe -mieee"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs ccache cvs distlocks noclean sandbox"
GENTOO_MIRRORS="http://kant.zk3.dec.com/gentoo/mirror/sources/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/local/tmp"
PORTDIR="/usr/local/home/agriffis/portage"
PORTDIR_OVERLAY="/usr/local/home/agriffis/proj/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alpha apache2 avi berkdb bitmap-fonts bonobo cdr crypt cscope cups directfb encode ev6 f77 foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imap imlib jpeg ldap libg++ libwww mad mikmod motif mozilla moznocompose moznoirc moznomail mpeg nas ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby sdl snmp socks5 spell ssl tcltk tcpd tetex truetype xml2 xmms xprint xv zlib"
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2004-10-19 08:30:52 UTC
Does --debug give the same output?
Would /var/cache/edb/dep happen to have permissions 2700?
What about the permissions on /usr/local/tmp?
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-10-19 11:33:46 UTC
Debug output (different package, since w3m is fixed now):

1 kaf ~ $ sudo emerge --debug -pv gnome

These are the packages that I would merge, in order:

Calculating dependencies  
Parent:    None
Depstring: gnome-base/gnome
Candidates: ['gnome-base/gnome']
ebuild: gnome-base/gnome-2.6.2-r1
binpkg: None                                                                                                                                                               -
Parent:    ebuild / gnome-base/gnome-2.6.2-r1 merge
Depstring:  !gnome-base/gnome-core >=dev-libs/glib-2.4.4 >=dev-libs/atk-1.6.1 >=x11-libs/gtk+-2.4.4 >=x11-libs/pango-1.4 hppa? ( >=dev-libs/libxml2-2.6.9 ) !hppa? ( >=dev-libs/libxml2-2.6.11 ) >=dev-libs/libxslt-1.1.8 >=x11-libs/libxklavier-1.02 >=media-libs/audiofile-0.2.6 >=media-sound/esound-0.2.34 >=gnome-base/gnome-mime-data-2.4.1 >=media-libs/libart_lgpl-2.3.16 >=dev-libs/libIDL-0.8.3 >=gnome-base/orbit-2.10.3 >=gnome-base/gconf-2.6.2 >=gnome-base/gnome-keyring-0.2.1 >=gnome-base/gnome-vfs-2.6.1.1 !amd64? ( >=gnome-base/libbonobo-2.6.2 ) amd64? ( >=gnome-base/libbonobo-2.6.0 ) >=gnome-base/libbonoboui-2.6.1 >=gnome-base/libgnome-2.6.1.1-r1 >=gnome-base/libgnomeui-2.6.1.1 >=gnome-base/libgnomecanvas-2.6.1.1 >=gnome-base/libglade-2.4 >=gnome-extra/bug-buddy-2.6.1 >=gnome-base/control-center-2.6.1 >=gnome-base/eel-2.6.2 >=gnome-base/nautilus-2.6.3 >=media-libs/gstreamer-0.8.3-r1 >=media-libs/gst-plugins-0.8.2 >=gnome-extra/gnome-media-2.6.2 >=media-gfx/eog-2.6.1 !hppa? ( !mips? ( >=net-www/epiphany-1.2.6 ) ) >=app-arch/file-roller-2.6.1 >=gnome-extra/gcalctool-4.3.51 >=gnome-extra/gconf-editor-2.6.2 >=gnome-base/gdm-2.4.4.7-r1 >=app-editors/gedit-2.6.2 >=app-text/ggv-2.6.1 >=app-text/gpdf-0.132 >=gnome-base/gnome-session-2.6.2 >=gnome-base/gnome-desktop-2.6.2 >=gnome-base/gnome-applets-2.6.2 >=gnome-base/gnome-panel-2.6.2 >=x11-themes/gnome-icon-theme-1.2.3 >=x11-themes/gnome-themes-2.6.2 >=x11-terms/gnome-terminal-2.6.1 >=gnome-extra/gnome2-user-docs-2.6.0.1 >=x11-libs/gtksourceview-1.0.1 >=gnome-extra/gucharmap-1.4.1 >=gnome-base/libgnomeprint-2.6.2 >=gnome-base/libgnomeprintui-2.6.2 =gnome-extra/libgtkhtml-2.6* >=gnome-extra/gnome-utils-2.6.2-r1 >=gnome-extra/gnome-games-2.6.2 >=gnome-base/libgtop-2.6 >=gnome-extra/gnome-system-monitor-2.6 >=gnome-base/librsvg-2.6.5 >=x11-libs/libwnck-2.6.2 >=x11-wm/metacity-2.8.1 >=x11-libs/startup-notification-0.6 >=gnome-extra/yelp-2.6.1 >=x11-libs/vte-0.11.11 >=gnome-extra/zenity-2.6.2 >=net-analyzer/gnome-netstatus-2.6.2 cdr? ( >=gnome-extra/nautilus-cd-burner-2.6.1 ) dvdr? ( >=gnome-extra/nautilus-cd-burner-2.6.1 ) accessibility? ( >=gnome-extra/libgail-gnome-1.0.4 >=gnome-base/gail-1.6.6 >=gnome-extra/at-spi-1.4.2 >=app-accessibility/dasher-3.2.10 >=app-accessibility/gnome-speech-0.3.2 >=app-accessibility/gnome-mag-0.10.11 >=app-accessibility/gok-0.10.2 >=app-accessibility/gnopernicus-0.8.4 )
Candidates: ['>=gnome-base/gnome-applets-2.6.2', '>=gnome-base/gnome-session-2.6.2', '>=app-arch/file-roller-2.6.1', '>=gnome-base/gdm-2.4.4.7-r1', '>=x11-libs/libwnck-2.6.2', '>=gnome-base/gnome-desktop-2.6.2', '>=net-www/epiphany-1.2.6', '>=app-text/ggv-2.6.1', '>=x11-terms/gnome-terminal-2.6.1', '>=app-editors/gedit-2.6.2', '>=x11-libs/libxklavier-1.02', '>=x11-wm/metacity-2.8.1', '>=gnome-extra/gnome-media-2.6.2', '>=app-text/gpdf-0.132', '>=net-analyzer/gnome-netstatus-2.6.2', '>=gnome-base/nautilus-2.6.3', '>=gnome-extra/gconf-editor-2.6.2', '>=gnome-extra/nautilus-cd-burner-2.6.1', '>=gnome-base/librsvg-2.6.5', '>=gnome-extra/gcalctool-4.3.51', '>=gnome-extra/gnome-system-monitor-2.6', '>=gnome-base/libgtop-2.6', '>=gnome-base/gnome-panel-2.6.2', '>=x11-libs/vte-0.11.11', '>=x11-libs/gtksourceview-1.0.1', '>=gnome-extra/yelp-2.6.1', '>=gnome-extra/gucharmap-1.4.1', '>=gnome-extra/bug-buddy-2.6.1', '>=gnome-extra/zenity-2.6.2', '>=gnome-base/eel-2.6.2', '>=gnome-extra/gnome-utils-2.6.2-r1', '>=media-gfx/eog-2.6.1', '=gnome-extra/libgtkhtml-2.6*', '!gnome-base/gnome-core', '>=gnome-base/libgnomeprintui-2.6.2', '>=gnome-base/control-center-2.6.1', '>=gnome-extra/gnome-games-2.6.2', '>=gnome-base/libgnomeprint-2.6.2', '>=gnome-extra/gnome2-user-docs-2.6.0.1']

aux_get(): (0) Error in gnome-base/gnome-applets-2.4.1-r1 ebuild. (176)
               Check for syntax error or corruption in the ebuild. (--debug)


aux_get(): (0) Error in gnome-base/gnome-applets-2.4.1-r2 ebuild. (176)
               Check for syntax error or corruption in the ebuild. (--debug)


aux_get(): (0) Error in gnome-base/gnome-applets-2.6.0-r1 ebuild. (176)
               Check for syntax error or corruption in the ebuild. (--debug)


aux_get(): (0) Error in gnome-base/gnome-applets-2.6.2 ebuild. (176)
               Check for syntax error or corruption in the ebuild. (--debug)


aux_get(): (0) Error in gnome-base/gnome-applets-2.8.0 ebuild. (176)
               Check for syntax error or corruption in the ebuild. (--debug)


!!! All ebuilds that could satisfy ">=gnome-base/gnome-applets-2.6.2" have been masked.
!!! One of the following masked packages is required to complete your request:

aux_get(): (0) Error in gnome-base/gnome-applets-2.6.2 ebuild. (176)
               Check for syntax error or corruption in the ebuild. (--debug)

Traceback (most recent call last):
  File "/usr/bin/emerge", line 2867, in ?
    retval,favorites=mydepgraph.select_files(myfiles)
  File "/usr/bin/emerge", line 1025, in select_files
    self.mysd = self.select_dep(portage.root,mykey,arg=x)
  File "/usr/bin/emerge", line 1225, in select_dep
    if not self.create(myk,myparent,"--onlydeps" not in myopts,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 963, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1148, in select_dep
    mreasons = portage.getmaskingstatus(p)
  File "/usr/lib/portage/pym/portage.py", line 3661, in getmaskingstatus
    mygroups = portdb.aux_get(mycpv, ["KEYWORDS"])[0].split()
  File "/usr/lib/portage/pym/portage.py", line 5089, in aux_get
    raise KeyError
KeyError

$ ls -ld /var/cache/edb/dep
drwxrwsr-x  112 root portage 8.0K Oct 19 14:32 /var/cache/edb/dep/

$ ls -ld /usr/local/tmp
drwxrwxr-x  5 portage portage 4.0K May  2 16:20 /usr/local/tmp/
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2004-10-19 18:42:48 UTC
This is fixed in 51_rc10, thanks