Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259244 - sys-apps/sandbox-1.3.7 test scripts/1 fails
Summary: sys-apps/sandbox-1.3.7 test scripts/1 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-16 17:43 UTC by Joshua Doll
Modified: 2009-03-11 16:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,117.94 KB, text/plain)
2009-02-16 17:45 UTC, Joshua Doll
Details
log of testsuite.log (testsuite.log,97.80 KB, text/plain)
2009-02-16 17:46 UTC, Joshua Doll
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Doll 2009-02-16 17:43:57 UTC
sandbox-1.3.7 fails tests do to missing files. 

Reproducible: Always




emerge --info

 * Overlay eclasses override eclasses from PORTDIR:          
 *                                                           
 *   '/usr/portage/local/layman/kde-testing/eclass/kde4-base.eclass'
 *   '/usr/portage/local/layman/kde-testing/eclass/kde4-functions.eclass'
 *   '/usr/portage/local/layman/kde-testing/eclass/kde4-meta.eclass'     
 *                                                                       
 * It is best to avoid overriding eclasses from PORTDIR because it will  
 * trigger invalidation of cached ebuild metadata that is distributed with
 * the portage tree. If you must override eclasses from PORTDIR then you  
 * are advised to add FEATURES="metadata-transfer" to /etc/make.conf and to
 * run `emerge --regen` after each time that you run `emerge --sync`. Set  
 * PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you would like to
 * disable this warning.                                                   
Portage 2.2_rc23 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-gentoo-r1 x86_64)
=================================================================                                
System uname: Linux-2.6.28-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_6420_@_2.13GHz-with-glibc2.2.5
Timestamp of tree: Mon, 16 Feb 2009 16:35:01 +0000                                               
app-shells/bash:     3.2_p39                                                                     
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                         
dev-lang/python:     2.5.2-r7                                                                    
dev-util/cmake:      2.6.2-r1                                                                    
sys-apps/baselayout: 2.0.0                                                                       
sys-apps/openrc:     0.4.2                                                                       
sys-apps/sandbox:    1.3.5                                                                       
sys-devel/autoconf:  2.13, 2.63                                                                  
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                            
sys-devel/binutils:  2.18-r3                                                                     
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O3 -pipe -msse -msse2 -msse3 "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O3 -pipe -msse -msse2 -msse3 "
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j5 --load-average "
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/desktop-effects /usr/portage/local/layman/kde-testing /usr/portage/local/layman/java-overlay /root/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 ao avahi bash-completion berkdb bluetooth branding bzip2 cairo cd cdda cddb cdparanoia cdr cli cpudetection cracklib crypt css cups custom-cflags custom-cxxflags dbus device-mapper directfb doc dri dvd dvdr dvdread dvi encode esd exif fam fame ffmpeg flac fontconfig foomaticdb fortran gcdmaster gdbm gif gimp glitz gphoto2 gpm gstreamer gtk hal iconv id3tag ieee1394 imagemagick ipod iptc isdnlog joystick jpeg jpeg2k kde4 kdeprefix lame libnotify libvisual lm_sensors mad matroska midi mmx mozilla mp3 mp4 mpeg mudflap multilib musepack musicbrainz ncurses network nfs nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp oss pam pango pcre pdf perl png portage ppds pppd python qt3support qt4 quicktime rar raw readline reflection rtc session smp spell spl srt sse sse2 ssl ssse3 startup-notification svg sysfs taglib tcpd theora threads tiff truetype twolame type1 unicode usb vcd vim-syntax visualization vorbis wxwindows x264 xcb xcomposite xinexmp xorg xpm xscreensaver xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia i810 nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Joshua Doll 2009-02-16 17:45:08 UTC
Created attachment 182248 [details]
build.log
Comment 2 Joshua Doll 2009-02-16 17:46:24 UTC
Created attachment 182250 [details]
log of testsuite.log
Comment 3 SpanKY gentoo-dev 2009-02-17 00:31:53 UTC
if you install sandbox-1.3.7 with tests disabled and then emerge it again with tests enabled, does it pass ?
Comment 4 SpanKY gentoo-dev 2009-02-17 00:32:08 UTC
the actual failure being:
-touch: cannot touch `/a/b/c/d/e/f/g/no/real/path/so/dont/make/it': No such file or directory
+touch: cannot touch `/a/b/c/d/e/f/g/no/real/path/so/dont/make/it': Permission denied
Comment 5 Joshua Doll 2009-02-17 00:40:59 UTC
(In reply to comment #3)
> if you install sandbox-1.3.7 with tests disabled and then emerge it again with
> tests enabled, does it pass ?
> 

It does in fact pass when installing with Test disabled, and then reinstall with Test enabled.
Comment 6 SpanKY gentoo-dev 2009-03-11 16:18:42 UTC
i thought about this and i'm pretty sure it's because we attempt to test the 32bit libsandbox.so, but we're actually running 64bit binaries (/bin/bash).  as such, all script/# tests will not actually test the local 32bit sandbox, and so newer script/# tests will trigger the old bugs in the libsandbox in $ROOT.

so ive changed the tests so the script/# will not be run for non-native ABIs

http://git.overlays.gentoo.org/gitweb/?p=proj/sandbox.git;a=commitdiff;h=51f791541305d2d69097c1dcdb5d97915fa58d02