Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16845 - userpriv issue: chown/chmod to anything as portage is forbidden
Summary: userpriv issue: chown/chmod to anything as portage is forbidden
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 20100 (view as bug list)
Depends on:
Blocks: 32636
  Show dependency tree
 
Reported: 2003-03-04 13:38 UTC by Martin Larsen
Modified: 2004-02-07 03:20 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 Martin Larsen 2003-03-04 13:38:00 UTC
Emerge svgalib-1.4.3-r4 fails with: 
 
In file included from triangl.c:298, 
                 from swtriangle.c:3: 
tri.c: In function `gl_swtriangle': 
tri.c:211: warning: implicit declaration of function `abs' 
gcc -L ../sharedlib -o plane planukit.o planinit.o 3dinit.o 3dkit.o wrapsurf.o quickmath.o 
triangle.o striangle.o wtriangle.o swtriangle.o -lm -lvgagl -lvga 
chown root plane 
chown: changing ownership of `plane': Operation not permitted 
make[1]: *** [plane] Error 1 
make[1]: Leaving directory `/var/tmp/portage/svgalib-1.4.3-r4/work/svgalib-1.4.3/threeDKit' 
make: *** [demoprogs] Error 2 
 
Could this be caused by me having userpriv in FEATURES? 

Reproducible: Always
Steps to Reproduce:
1. Add userpriv to FEATURES 
2. emerge svgalib-1.4.3-r4 
3. PROFIT! ;-) 
Actual Results:  
compile failed 

Expected Results:  
Finish emerge succesfully. :-) 

Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2) 
================================================================= 
System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(tm) Processor 
GENTOO_MIRRORS=" ftp://ftp.fhh.opensource-mirror.de/pub/gentoo.org/ 
ftp://gentoo.linux.no/pub/gentoo/ http://gentoo.linux.no/ 
http://ftp.easynet.nl/mirror/gentoo// ftp://ftp.easynet.nl/mirror/gentoo//" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="/usr/local/portage" 
USE="x86 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls 
pdflib png quicktime spell truetype xmms xv zlib gdbm berkdb slang readline arts tetex svga 
java X sdl gpm tcpd pam libwww ssl python esd imlib oggvorbis qt kde motif opengl aalib alsa 
cdr dga directfb doc fbcon gb -gnome -gtk innodb jikes junit lcms leim maildir mysql -oss perl 
pic postgres ruby tiff -xml2" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-tbird -O2 -pipe -mmmx -m3dnow -fforce-addr -fomit-frame-pointer 
-ffast-math" 
CXXFLAGS="-march=athlon-tbird -O2 -pipe -mmmx -m3dnow -fforce-addr 
-fomit-frame-pointer -ffast-math" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox buildpkg ccache userpriv usersandbox"
Comment 1 SpanKY gentoo-dev 2003-03-04 15:02:23 UTC
userpriv is experimental
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-05-22 13:59:32 UTC
*** Bug 20100 has been marked as a duplicate of this bug. ***
Comment 3 Andrew Cooks (RETIRED) gentoo-dev 2004-02-07 03:20:45 UTC
I successfully merged media-libs/svgalib-1.9.17-r3 with all the FEATURES listed by default in make.conf turned on, including userpriv.

Closing as FIXED. Please reopen if needed.