Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258690 - sys-apps/sandbox-1.3.6 fails tests
Summary: sys-apps/sandbox-1.3.6 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-12 07:52 UTC by Alexis Ballier
Modified: 2009-02-12 23:51 UTC (History)
1 user (show)

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


Attachments
testsuite 1 log (1.log,824 bytes, text/plain)
2009-02-12 07:53 UTC, Alexis Ballier
Details
testsuite 4 log (4.log,623 bytes, text/plain)
2009-02-12 07:53 UTC, Alexis Ballier
Details
testsuite.log (testsuite.log,879 bytes, text/plain)
2009-02-12 13:04 UTC, Olivier Huber
Details
4-testsuite.log (testsuite.log,676 bytes, text/plain)
2009-02-12 13:06 UTC, Olivier Huber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Ballier gentoo-dev 2009-02-12 07:52:11 UTC
make[2]: Entering directory `/var/tmp/portage/sys-apps/sandbox-1.3.6/work/build-x86/tests'
/bin/sh '../../sandbox-1.3.6/tests/testsuite' 
## ------------------------- ##
## sandbox 1.3.6 test suite. ##
## ------------------------- ##
  1: libsigsegv                                      FAILED (libsigsegv.at:3)
  2: sb_printf                                       ok
  3: scripts/0                                       ok
  4: scripts/1                                       FAILED (script.at:11)

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: All 4 tests were run,
2 failed unexpectedly.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##


Portage 2.2_rc23 (default/linux/amd64/2008.0/developer, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28.4 x86_64)
=================================================================
System uname: Linux-2.6.28.4-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-glibc2.2.5
Timestamp of tree: Unknown
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.6
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -mssse3 -msse4.1 -g -ggdb  -Wno-pointer-sign"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -mssse3 -msse4.1 -g -ggdb"
DISTDIR="/share/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --verbose"
FEATURES="buildpkg buildsyspkg collision-protect cvs distcc distlocks fixpackages multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu"
LINGUAS="en fr en_US"
MAKEOPTS="-j8"
PKGDIR="/share/gentoo/packages"
PORTAGE_COMPRESS="lzma"
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_cvs/gentoo-x86"
PORTDIR_OVERLAY="/usr/local/portage /share/overlay /share/bsdoverlay/gentoo-bsd"
SYNC="cvs://aballier@cvs.gentoo.org:/var/cvsroot"
USE="X a52 aac aalib acl acpi alsa amd64 amr amrnb amrwb apache2 aspell audiofile bash-completion berkdb bidi bluetooth bzip2 cairo caps cdaudio cdda cddb cdio cdparanoia cdr cegui chardet cjk cli clisp cpufreq cracklib crypt css cups curl custom-cxxflags cvs dbus devil dga dirac djvu doc dri dssi dts dv dvb dvd dvdr dvdread dvi emboss enca encode evo exif expat fam fame fbcon fbcondecor ffmpeg fftw firefox flac fluidsynth fontconfig fontforge fortran gd gdbm gif glep glib glitz glsa glut gmp gnomecanvas gnutls gpac gpg gpm graphviz gs gstreamer gtk hal hddtemp icecast iconv icu id3tag ieee1394 imagemagick imap imlib ipv6 isdnlog ithreads jack javascript jbig jpeg jpeg2k kdehiddenvisibility kpathsea ladspa lame lapack lash latex lcms libcaca libnotify libsamplerate live lm_sensors lua lv2 lzma lzo mad mailwrapper matroska mbox md5sum midi mikmod mjpeg mmx mmxext mng modplug motif mp2 mp3 mp4 mpeg mudflap multilib musepack musicbrainz mysql ncurses network nls nntp nodrm nptl nptlonly nsplugin ocaml offensive ogg ogm openexr opengl openmp pam pcre pdf perl pgf png pnm pop portaudio postgres ppds pppd pstricks python qa qt3support qt4 quicktime radio rar readline reflection rle rtc rtsp rubberband ruby schroedinger scrobbler sdl session shorten shout slang smp smtp sndfile snmp soundtouch sox speex spell spl sqlite sqlite3 srt sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs t1lib taglib tcl tcpd teletext test tga theora threads threadsafe tiff timidity tk truetype tse3 tta twolame unicode usb v4l v4l2 vamp vcd vim-syntax visibility vorbis wavpack wma wmf wxwindows x264 xcb xcomposite xft xine xml xorg xpm xspf xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" DVB_CARDS="usb-umt usb-dib0700 dibusb-usb2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr en_US" USERLAND="GNU" VIDEO_CARDS="vesa radeon radeonhd ati"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexis Ballier gentoo-dev 2009-02-12 07:53:08 UTC
Created attachment 181753 [details]
testsuite 1 log
Comment 2 Alexis Ballier gentoo-dev 2009-02-12 07:53:24 UTC
Created attachment 181754 [details]
testsuite 4 log
Comment 3 SpanKY gentoo-dev 2009-02-12 08:10:59 UTC
you have sandbox-1.3.6 installed on your system already right ?  i should tweak that error message so we can see what file exactly sandbox is attempting to read.

could you go into the build dir and apply this:
--- a/src/sandbox.c
+++ b/src/sandbox.c
@@ -262,7 +262,7 @@ int main(int argc, char **argv)
    dputs("Verification of the required files.");

    if (!rc_file_exists(sandbox_info.sandbox_rc))
-       sb_perr("could not open the sandbox rc file");
+       sb_perr("could not open the sandbox rc file: %s", sandbox_info.sandbox_rc);

    /* set up the required environment variables */
    dputs("Setting up the required environment variables.");

then re-run `make` and `make check` and see if it fails ?
Comment 4 Olivier Huber 2009-02-12 13:04:44 UTC
Created attachment 181771 [details]
testsuite.log

I'm also facing this failure.
Here is the output w/ the above patch applied
Comment 5 Olivier Huber 2009-02-12 13:06:02 UTC
Created attachment 181772 [details]
4-testsuite.log

Portage 2.2_rc23 (default/linux/amd64/2008.0/developer, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 x86_64)                                 
=================================================================                                                                                   
System uname: Linux-2.6.28-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-glibc2.2.5                                              
Timestamp of tree: Thu, 12 Feb 2009 11:45:01 +0000                                                                                                  
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                                                           
ccache version 2.4 [enabled]                                                                                                                        
app-shells/bash:     3.2_p48                                                                                                                        
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                                                                                               
dev-lang/python:     2.5.4-r2                                                                                                                                                       
dev-util/ccache:     2.4-r8                                                                                                                                                         
dev-util/cmake:      2.6.2-r1                                                                                                                                                       
sys-apps/baselayout: 2.0.0                                                                                                                                                          
sys-apps/openrc:     0.4.2                                                                                                                                                          
sys-apps/sandbox:    1.3.6                                                                                                                                                          
sys-devel/autoconf:  2.13, 2.63                                                                                                                                                     
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                                                                                      
sys-devel/binutils:  2.18-r3, 2.19, 2.19.1                                                                                                                                          
sys-devel/gcc-config: 1.4.1                                                                                                                                                         
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -g -mssse3 -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -g -mssse3 -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect cvs distlocks fixpackages multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test unmerge-orphansuserfetch usersandbox"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo"
LANG="fr_FR.utf-8"
LC_ALL="fr_FR.utf-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="fr"
MAKEOPTS="-j3"
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/local/overlays/science /usr/local/overlays/local /usr/local/overlays/x11"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi adns alsa amd64 amrnb amrwb ares ass bash-completion berkdb bluetooth bzip2 cairo caps cdaudio cdda cddb cdio cdparanoia cdr cli cracklib crypt cups curl cvs daap dbus dia dirac djvu dri dts dv dvb dvd dvdnav dvdr dvdread eds emboss encode esd evo expat extra fam fbcondecor ffmpeg fftw firefox flac fontconfig fontforge fortran ftp gcrypt gd gdbm gif glitz gmp gnutls gpm graphics graphviz gsm gstreamer gtk hal hdri humanities iconv id3tag idn imagemagick iproute2 ipv6 isdnlog jack jadetex jpeg jpeg2k kde kpathsea kqemu lame lapack laptop lash latex ldap libass libgcrypt libnotify libsamplerate libusb-0 libv4l2 live lua mad mailwrapper matroska messenger midi mikmod mktemp mmx mng modplugmp3 mp4 mpeg mtp mudflap multilib multislot multitarget musepack music mysql ncurses nemesi nls nptl nptlonly nsplugin nss ntp ogg omega openexr opengl openmp pam passwdqc pch pcre pdf perl pkcs11 plotutils png postgres postscript ppds pppd pstricks publishers pulseaudio python qt3 qt3support qt4 quicktime rar readline reflection rnca rtsp ruby schroedingerscience sdl sdl-image sensord session shout smi sms sndfile snmp speex spell spl sqlite sqlite3 sse sse2 ssh ssl ssse3 startup-notification stream subversion svg sysfs taglib tcpdteletext tga theora threads tiff tools truetype unicode upnp usb utils v4l v4l2 vcd vcdinfo vcdx vim-syntax vorbis wavpack webdav webkit wifi wmf x264 xcb xcomposite xine xml xorgxosd xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linearmeter 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="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="vesa intel v4l fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 SpanKY gentoo-dev 2009-02-12 23:51:12 UTC
arg, the generated sandbox.sh was left as a dist target.  i didnt notice on my machines because i have a sandbox git repo checked out at the right place: /usr/local/src/gentoo/sandbox/

fixed in git

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