Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65460 - x11-base/xfree-4.3.0-r7 compile accesses random files in system, which it can't access, using FEATURES=userpriv
Summary: x11-base/xfree-4.3.0-r7 compile accesses random files in system, which it can...
Status: RESOLVED DUPLICATE of bug 21693
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-26 14:59 UTC by Elan Ruusamäe
Modified: 2005-08-29 03:24 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 Elan Ruusamäe 2004-09-26 14:59:25 UTC
# emerge -u world
Calculating world dependencies ...done!
>>> emerge (1 of 9) x11-base/xfree-4.3.0-r7 to /
>>> md5 src_uri ;-) X430src-1.tgz
>>> md5 src_uri ;-) X430src-2.tgz
..
>>> md5 src_uri ;-) webdin32.exe
/bin/bash: /etc/portage/bashrc: Permission denied
/bin/bash: /etc/portage/bashrc: Permission denied
/bin/bash: /etc/portage/bashrc: Permission denied
>>> Unpacking source...
....
                               [ ok ]
 *   9950_all_4.3.0-elfloader-linux-non-exec-stack.patch...                                                        [ ok ]
 * Done with patching
 * Applying xfree86-dri-resume-v8.patch...                                                                         [ ok ]
awk: cmd. line:2: fatal: cannot open file `//usr/src/linux/include/linux/version.h' for reading (Permission denied)
/usr/sbin/ebuild.sh: line 74: [: : integer expression expected
 * Updating Wacom USB Driver...                                                                                    [ ok ]
truetype
!bindist
 * Unpacking MS Core Fonts...

 * Done unpacking Core Fonts...                                                                                    [ ok ]
 * Setting up config/cf/host.def...
awk: cmd. line:2: fatal: cannot open file `//usr/src/linux/include/linux/version.h' for reading (Permission denied)
/usr/sbin/ebuild.sh: line 74: [: : integer expression expected
pam
mmx
sse
xml2                                                                                                               [ ok ]
>>> Source unpacked.
egrep: /etc/make.conf: Permission denied
 * Compiling ucs2any C implementation...

well. it's easy to fix, but i think it should warn forehand that it needs read permission on these files.

it could be also a reason why i have (again) to compile xfree, because it failed last time (didn't note down the error, just tought wait couple of days and emerge sync would solve it)

Reproducible: Always
Steps to Reproduce:
Comment 1 Elan Ruusamäe 2004-09-26 15:00:52 UTC
# emerge info
Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.4.22-1.2115.nptlsmp)
=================================================================
System uname: 2.4.22-1.2115.nptlsmp i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distcc sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j25"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/gentoo/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 arts artswrappersuid avi bitmap-fonts chroot crypt cups dga directfb dvd encode extensions fbcon flac gif gphoto2 gpm gstreamer gtk gtk2 imap imlib java javascript jikes jpeg kde libg++ libwww linguas_et mad maildir md5sum memlimit mmx motif mpeg mysql ncurses oggvorbis opengl oss pam pda pdflib perl png qt quicktime readline samba scanner sdl slang slp spell sse ssl svga tcltk tiff truetype usb x86 xinerama xml2 xprint xv zlib"

Comment 2 Marius Mauch (RETIRED) gentoo-dev 2005-01-03 19:53:20 UTC
Please try with a current portage version.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-08-29 03:24:58 UTC

*** This bug has been marked as a duplicate of 21693 ***