Summary: | sys-apps/portage-2.1.3.7 and 2.1.3.8 FEATURES=test failure | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Ravi Pinjala <ravi> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | rhill |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 181949 | ||
Attachments: | filter SANDBOX_* from the calling environment |
Description
Ravi Pinjala
2007-08-26 08:35:32 UTC
I'm unable to reproduce that sandbox violation here. Do you have anything in /etc/portage/bashrc that interacts with sandbox? Nope, nothing. The sandbox is definitely malfunctioning for some reason. First I'd try rebuilding sandbox. If that doesn't help, please edit /usr/lib/portage/bin/ebuild.sh and add 'set -x' at the very top, just below the header. Run `emerge portage &> debug.log` and attach the log. Ah, perhaps this is the root of the problem: sandbox didn't build, because my gcc-config seems to be broken. I'll fix that, and then see if that fixes things. Mmmkay, sandbox rebuilt (the problem was bug #133209), but portage still refuses to build. Same error and everything. The log you requested is at http://p-static.net/files/portage-testfail.log . Created attachment 130232 [details, diff]
filter SANDBOX_* from the calling environment
Initially I was unable to reproduce the problem because I had FEATURES=usersandbox enabled. With FEATURES="userpriv sandbox -usersandbox" I reproduced it.
The patch has to be applied inside src_compile() in order to prevent the src_test() phase from failing.
Adding FEATURES=usersandbox fixed it for me. Thanks for your help! :) This has been released in 2.1.3.8. I'm still hitting this with 2.1.3.8 but with usersandbox enabled. Disabling it works. Portage 2.1.3.8 (default-linux/x86/2007.0, gcc-4.2.2-pre20070903, glibc-2.6.1-r0, 2.6.22.6 i686) ================================================================= System uname: 2.6.22.6 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz Timestamp of tree: Unknown ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0_rc4 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18 sys-devel/gcc-config: 1.4.0-r2 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -g -march=prescott -fomit-frame-pointer -fno-ident -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -g -march=prescott -fomit-frame-pointer -fno-ident -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache collision-protect cvs digest distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict test unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://gentoo.osuosl.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu" LINGUAS="en en_GB en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/dirtyepic/overlay" SYNC="cvs://dirtyepic@cvs.gentoo.org:/var/cvsroot" USE="X a52 aac acpi alsa audiofile avahi bash-completion berkdb bzip2 cairo calendar caps cddb cdr cpudetection crypt cscope curl dbus dri dts dvd dvdr dvdread encode exif expat fam ffmpeg fftw flac gdbm gif gmp gnutls graphviz gstreamer gtk hal imagemagick imap imlib java jikes jpeg kde kdeenablefinal kdehiddenvisibility libnotify libsamplerate logrotate mad maildir mailwrapper mbox mmap mmx mng mp3 mpeg mplayer ncurses nntp nptl nsplugin odbc ogg opengl oss pam pcmcia pcre pdf perl pic png python qt3 qt4 quicktime readline ruby sasl sdl session sndfile spell sqlite sqlite3 sse sse2 ssl startup-notification svg tcl tcpd test theora threads truetype unicode urandom usb vcd vim-syntax vorbis win32codecs wxwindows x264 x86 xine xml xpm xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" ELIBC="glibc" INPUT_DEVICES="joystick mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US" USERLAND="GNU" VIDEO_CARDS="fglrx radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Thanks, this is fixed in 2.1.3.9. |