Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 281824

Summary: games-puzzle/neverball-1.5.2 has sandbox violations when built with USE=nls
Product: Gentoo Linux Reporter: playmiac <eap>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: thomas
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description playmiac 2009-08-17 18:06:07 UTC
emerge neverball fails

Reproducible: Always

Steps to Reproduce:
1. emerge neverball

Actual Results:  
x86_64-pc-linux-gnu-gcc -Wall -ansi -pedantic -march=amdfam10 -O2 -pipe -mno-push-args -mcx16 -msahf -funroll-loops -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -U_GNU_SOURCE -I/usr/include/libpng12 -Ishare -DVERSION=\"1.5.2\" -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"/usr/share/games/neverball\" -DCONFIG_LOCALE=\"/usr/share/locale\" -DENABLE_NLS=1 -DNDEBUG -o putt/main.o -c putt/main.c                                                                    
x86_64-pc-linux-gnu-gcc -Wall -ansi -pedantic -march=amdfam10 -O2 -pipe -mno-push-args -mcx16 -msahf -funroll-loops -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -U_GNU_SOURCE -I/usr/include/libpng12 -Ishare -DVERSION=\"1.5.2\" -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"/usr/share/games/neverball\" -DCONFIG_LOCALE=\"/usr/share/locale\" -DENABLE_NLS=1 -DNDEBUG -MM -MP -MF share/mapc.d -MT "share/mapc.o" share/mapc.c                                         
x86_64-pc-linux-gnu-gcc -Wall -ansi -pedantic -march=amdfam10 -O2 -pipe -mno-push-args -mcx16 -msahf -funroll-loops -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -U_GNU_SOURCE -I/usr/include/libpng12 -Ishare -DVERSION=\"1.5.2\" -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"/usr/share/games/neverball\" -DCONFIG_LOCALE=\"/usr/share/locale\" -DENABLE_NLS=1 -DNDEBUG -o share/mapc.o -c share/mapc.c                                                                  
make -C po                                                                                                
make[1]: Entering directory `/var/tmp/portage/games-puzzle/neverball-1.5.2/work/neverball-1.5.2/po'       
sh scripts/translate-desktop.sh < dist/neverball.desktop.in > dist/neverball.desktop                      
mkdir -p /usr/share/locale/ca/LC_MESSAGES/                                                                
mkdir -p /usr/share/locale/de/LC_MESSAGES/                                                                
msgfmt -c --statistics -o /usr/share/locale/ca/LC_MESSAGES/neverball.mo ca.po                             
msgfmt -c --statistics -o /usr/share/locale/de/LC_MESSAGES/neverball.mo de.po                             
ACCESS DENIED  open_wr:      /usr/share/locale/de/LC_MESSAGES/neverball.mo                                
msgfmt: error while opening "/usr/share/locale/de/LC_MESSAGES/neverball.mo" for writing: Permission denied
372 translated messages, 8 fuzzy translations, 10 untranslated messages.                                  
make[1]: *** [/usr/share/locale/de/LC_MESSAGES/neverball.mo] Error 1                                      
sh scripts/translate-desktop.sh < dist/neverputt.desktop.in > dist/neverputt.desktop                      
make[1]: *** Waiting for unfinished jobs....                                                              
x86_64-pc-linux-gnu-gcc -Wall -ansi -pedantic -march=amdfam10 -O2 -pipe -mno-push-args -mcx16 -msahf -funroll-loops -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -o neverball share/lang.o share/st_resol.o share/vec3.o share/base_image.o share/image.o share/solid.o share/solid_gl.o share/solid_phys.o share/part.o share/back.o share/geom.o share/item.o share/ball.o share/gui.o share/base_config.o share/config.o share/video.o share/binary.o share/state.o share/audio.o share/text.o share/tilt.o share/common.o share/keynames.o share/syswm.o share/list.o share/queue.o share/cmd.o share/array.o share/dir.o share/fs.o share/fs_png.o share/fs_jpg.o share/fs_rwops.o share/fs_ov.o ball/hud.o ball/game_common.o ball/game_client.o ball/game_server.o ball/game_proxy.o ball/score.o ball/level.o ball/progress.o ball/set.o ball/demo.o ball/demo_dir.o ball/util.o ball/st_conf.o ball/st_demo.o ball/st_save.o ball/st_goal.o ball/st_fall_out.o ball/st_time_out.o ball/st_done.o ball/st_level.o ball/st_over.o ball/st_play.o ball/st_set.o ball/st_start.o ball/st_title.o ball/st_help.o ball/st_name.o ball/st_shared.o ball/st_pause.o ball/st_ball.o ball/main.o -s -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now -Wl,--hash-style=gnu -lSDL -lpthread -ljpeg -lpng12 -lphysfs   -lSDL_ttf -lvorbisfile -lGL -lm                                                      
ACCESS DENIED  open_wr:      /usr/share/locale/ca/LC_MESSAGES/neverball.mo                                
msgfmt: error while opening "/usr/share/locale/ca/LC_MESSAGES/neverball.mo" for writing: Permission denied
224 translated messages, 7 fuzzy translations, 159 untranslated messages.                                 
make[1]: *** [/usr/share/locale/ca/LC_MESSAGES/neverball.mo] Error 1                                      
make[1]: Leaving directory `/var/tmp/portage/games-puzzle/neverball-1.5.2/work/neverball-1.5.2/po'
make: *** [locales] Error 2
make: *** Waiting for unfinished jobs....
 *
 * ERROR: games-puzzle/neverball-1.5.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2618:  Called die
 * The specific snippet of code:
 *       LINGUAS= emake ENABLE_NLS=$(use nls && echo 1 || echo 0) E_CFLAGS="${CFLAGS}" LOCALEDIR=/usr/share/locale DATADIR="${GAMES_DATADIR}/${PN}" || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-puzzle/neverball-1.5.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-puzzle/neverball-1.5.2/temp/environment'.
 *
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-20404.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /usr/share/locale/de/LC_MESSAGES/neverball.mo
A: /usr/share/locale/de/LC_MESSAGES/neverball.mo
R: /usr/share/locale/de/LC_MESSAGES/neverball.mo
C: msgfmt -c --statistics -o /usr/share/locale/de/LC_MESSAGES/neverball.mo de.po

F: open_wr
S: deny
P: /usr/share/locale/ca/LC_MESSAGES/neverball.mo
A: /usr/share/locale/ca/LC_MESSAGES/neverball.mo
R: /usr/share/locale/ca/LC_MESSAGES/neverball.mo
C: msgfmt -c --statistics -o /usr/share/locale/ca/LC_MESSAGES/neverball.mo ca.po
--------------------------------------------------------------------------------

>>> Failed to emerge games-puzzle/neverball-1.5.2

Expected Results:  
Successfull emerge of neverball. Emerge of version 1.5.1 works.

emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-2.0.1
Timestamp of tree: Mon, 17 Aug 2009 15:15:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r2, 2.6.2-r1, 3.1
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe -mno-push-args -mcx16 -msahf -funroll-loops -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block"
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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=amdfam10 -O2 -pipe -mno-push-args -mcx16 -msahf -funroll-loops -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.df.lth.se/pub/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ "
LANG="C"
LDFLAGS="-s -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now -Wl,--hash-style=gnu"
LINGUAS="en fr de it es fi sv"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm graphite iconv ipv6 isdnlog lm_sensors mmx mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl pppd python qt4 readline reflection session spl sse sse2 ssl sysfs tcpd truetype unicode xorg zlib" ALSA_CARDS="emu10k1 via82xx" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr de it es fi sv" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY
Comment 1 thomasg 2009-08-17 18:47:04 UTC
Can confirm this.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2009-08-17 19:09:57 UTC
fixed.