Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72297 - emerge hibernate-script fails with FEATURES="userpriv usersandbox"
Summary: emerge hibernate-script fails with FEATURES="userpriv usersandbox"
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-23 17:32 UTC by Andy Romeril
Modified: 2005-01-05 13:26 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 Andy Romeril 2004-11-23 17:32:42 UTC
As part of setting up "Software Suspend 2" I added 'sys-apps/hibernate-script' to /etc/portage/package.keywords (~x86). I then attempted to emerge the package and got the output listed in the Actual Results field below.

I was able to successfully emerge the package by temporarily removing the "userpriv usersandbox" entries from the FEATURES statement in /etc/make.conf.

Reproducible: Always
Steps to Reproduce:
1. echo "sys-apps/hibernate-script" >> /etc/portage/package.keywords
2. Edit /etc/make.conf so FEATURES="userpriv usersandbox ..."
3. emerge hibernate-script
Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/hibernate-script-1.01 to /
>>> md5 src_uri ;-) hibernate-script-1.01.tar.gz
>>> Unpacking source...
>>> Unpacking hibernate-script-1.01.tar.gz to
/var/tmp/portage/hibernate-script-1.01/work
tar: /usr/portage/distfiles/hibernate-script-1.01.tar.gz: Cannot open:
Permission denied
tar: Error is not recoverable: exiting now

gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: Error exit delayed from previous errors

!!! ERROR: sys-apps/hibernate-script-1.01 failed.
!!! Function unpack, Line 373, Exitcode 2
!!! failure unpacking hibernate-script-1.01.tar.gz
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
Successful package merge.

emerge info:
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.4.26-gentoo-r9 i686)
=================================================================
System uname: 2.4.26-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -mcpu=pentium4 -pipe -msse -msse2 -mmmx -mfpmath=sse
-funroll-loops -DPIC"
CHOST="i686-pc-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.2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mcpu=pentium4 -pipe -msse -msse2 -mmmx
-mfpmath=sse -funroll-loops -DPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms
userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://kodiak/gentoo-portage/"
USE="X alsa apm arts avi berkdb bitmap-fonts bonobo caps cdr crypt cscope cups
directfb dv dvd dvdr encode esd f77 faad fam fbcon ffmpeg flac foomaticdb
fortran gdbm ggi gif glut gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick
imlib jack java joystick jpeg ladcca libg++ libwww lirc mad matroska mikmod mmx
motif mozilla moznocompose moznoirc mpeg mysql nas ncurses net nls oggvorbis
opengl oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang
spell sqlite sse ssl svga tcltk tcpd tiff transcode truetype usb v4l x86 xml
xml2 xmms xv xvid zlib"
Comment 1 Henrik Brix Andersen 2004-11-25 02:17:40 UTC
Please try running 'rm -f /usr/portage/distfiles/hibernate-script*' and 'rm -rf /var/tmp/portage/hibernate-script*' - the try emerging again.

sys-apps/hibernate-script-1.02 installs fine here using FEATURES="userpriv usersandbox".
Comment 2 Henrik Brix Andersen 2005-01-05 13:26:25 UTC
Closing as WORKSFORME due to lack of feedback from reporter.