Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69932 - dyn_test cant touch with userpriv
Summary: dyn_test cant touch with userpriv
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 70434 72627 76599 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-03 04:09 UTC by Richard Freeman
Modified: 2005-07-14 06:58 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 Richard Freeman gentoo-dev 2004-11-03 04:09:53 UTC
shadow-4.0.5 fails to compile on amd64 with gcc 3.4 with the following error:

make[2]: Leaving directory `/var/tmp/portage/shadow-4.0.5/work/shadow-4.0.5/src'
Making all in contrib
make[2]: Entering directory `/var/tmp/portage/shadow-4.0.5/work/shadow-4.0.5/contrib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/shadow-4.0.5/work/shadow-4.0.5/contrib'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/shadow-4.0.5/work/shadow-4.0.5/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/shadow-4.0.5/work/shadow-4.0.5/doc'
Making all in etc
make[2]: Entering directory `/var/tmp/portage/shadow-4.0.5/work/shadow-4.0.5/etc'
Making all in pam.d
make[3]: Entering directory `/var/tmp/portage/shadow-4.0.5/work/shadow-4.0.5/etc/pam.d'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/shadow-4.0.5/work/shadow-4.0.5/etc/pam.d'
make[3]: Entering directory `/var/tmp/portage/shadow-4.0.5/work/shadow-4.0.5/etc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/shadow-4.0.5/work/shadow-4.0.5/etc'
make[2]: Leaving directory `/var/tmp/portage/shadow-4.0.5/work/shadow-4.0.5/etc'
make[2]: Entering directory `/var/tmp/portage/shadow-4.0.5/work/shadow-4.0.5'
make[2]: Leaving directory `/var/tmp/portage/shadow-4.0.5/work/shadow-4.0.5'
make[1]: Leaving directory `/var/tmp/portage/shadow-4.0.5/work/shadow-4.0.5'
>>> Test phase [not enabled]: sys-apps/shadow-4.0.5
touch: cannot touch `.tested': Permission denied

!!! ERROR: sys-apps/shadow-4.0.5 failed.
!!! Function dyn_test, Line 940, Exitcode 1
!!! Failed to 'touch .tested' in /var/tmp/portage/shadow-4.0.5
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:




emerge info:

Gentoo Base System version 1.4.16
Portage 2.0.51-r2 (default-linux/amd64/2004.3, gcc-3.4.2,
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1-rf17 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r1-rf17 x86_64 4
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-g -march=k8 -mtune=k8 -O3 -pipe -fomit-frame-pointer -fstack-protector"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /home /opt/zetagrid /usr/X11R6/lib/X11/xkb
/usr/kde/2/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
/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/bind /var/freenet /var/qmail/control /var/www"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-g -march=k8 -mtune=k8 -O3 -pipe -fomit-frame-pointer -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg candy ccache distlocks nostrip sandbox userpriv
usersandbox"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://mirrors.tds.net/gentoo
http://mirrors.tds.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa apache2 arts berkdb bitmap-fonts bonobo canna cdr
crypt cups debug divx4linux dvd esd ethereal evo f77 fam fbcon flac foomaticdb
gd gdbm gif gimpprint glut gnome gpm gstreamer gtk gtkhtml guile imagemagick
imap imlib innodb ipv6 jack jp2 jpeg kde kerberos libwww lzw lzw-tiff mad
maildir mikmod motifmozilla multilib mysql ncurses nls nptl ntlm oav oggvorbis
opengl oss pam pda pdflib perl php png postgres python qt readline ruby samba
sasl sdl slang speex ssl tcltk tcpd tetex theora tiff truetype usb userlocales
wmfxml xml2 xmms xpm xrandr xv zlib"
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2004-11-03 08:05:40 UTC
workaround: remove 'userpriv' and 'usersandbox' (you can leave 'sandbox') from FEATURES
Comment 2 SpanKY gentoo-dev 2004-11-09 08:01:38 UTC
*** Bug 70434 has been marked as a duplicate of this bug. ***
Comment 3 Colin Kingsley (RETIRED) gentoo-dev 2004-11-09 09:46:56 UTC
This also occurs on x86 with usersandbox and userpriv, its not just an amd64 bug
Comment 4 Thomas Matthijs (RETIRED) gentoo-dev 2004-11-29 05:26:35 UTC
*** Bug 72627 has been marked as a duplicate of this bug. ***
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2005-01-04 00:43:46 UTC
*** Bug 76599 has been marked as a duplicate of this bug. ***
Comment 6 Jason Stubbs (RETIRED) gentoo-dev 2005-01-04 01:37:53 UTC
The cause is an old .tested file left behind from a previous emerge with ownership root:root. The clean phase was missing both the .tested and .packaged files. Those will be cleaned from now on as well as one unnecessary empty directory (temp) and the whole scratch directory as well if it is empty.
Comment 7 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 05:47:45 UTC
Fixed on or before 2.0.51.22-r1 
Comment 8 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 06:58:31 UTC
Looking through the batch of bugs, I'm not sure that some of these are 
actually fixed in stable. Others, the requirements have possibly changed after 
the initial fix was committed. 
 
If you think this bug has been closed incorrectly, please reopen or ask that 
it be reopened.