Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328459 - dev-lang/php-5.3.2 sandbox violation
Summary: dev-lang/php-5.3.2 sandbox violation
Status: RESOLVED DUPLICATE of bug 324739
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-15 18:31 UTC by Frank Hellmuth
Modified: 2010-07-15 20:51 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 Frank Hellmuth 2010-07-15 18:31:01 UTC
Emerging dev-lang/php-5.3.2 fails with

Build complete.
Don't forget to run 'make test'.

make -j3 INSTALL_ROOT=/var/tmp/portage/dev-lang/php-5.3.2/work/sapis/apache2/ install-sapi 
Installing PHP SAPI module:       apache2handler
Use of assignment to $[ is deprecated at /usr/sbin/apxs line 86.
/usr/lib64/apache2/build/instdso.sh SH_LIBTOOL='/usr/bin/libtool' libphp5.la /var/tmp/portage/dev-lang/php-5.3.2/work/sapis/apache2//usr/lib64/apache2/modules
/usr/bin/libtool --mode=install cp libphp5.la /var/tmp/portage/dev-lang/php-5.3.2/work/sapis/apache2//usr/lib64/apache2/modules/
libtool: install: cp .libs/libphp5.so /var/tmp/portage/dev-lang/php-5.3.2/work/sapis/apache2//usr/lib64/apache2/modules/libphp5.so
libtool: install: cp .libs/libphp5.lai /var/tmp/portage/dev-lang/php-5.3.2/work/sapis/apache2//usr/lib64/apache2/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish /var/tmp/portage/dev-lang/php-5.3.2/work/php-5.3.2/libs'
chmod 755 /var/tmp/portage/dev-lang/php-5.3.2/work/sapis/apache2//usr/lib64/apache2/modules/libphp5.so
>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-1248.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/snmp/mibs/.index
A: /usr/share/snmp/mibs/.index
R: /usr/share/snmp/mibs/.index
C: /var/tmp/portage/dev-lang/php-5.3.2/work/php-5.3.2/sapi/cli/php -n -d open_basedir= -d output_buffering=0 -d memory_limit=-1 -d phar.readonly=0 -d safe_mode=0 /var/tmp/portage/dev-lang/php-5.3.2/work/php-5.3.2/ext/phar/build_precommand.php 

F: open_wr
S: deny
P: /usr/share/snmp/mibs/.index
A: /usr/share/snmp/mibs/.index
R: /usr/share/snmp/mibs/.index
C: /var/tmp/portage/dev-lang/php-5.3.2/work/php-5.3.2/sapi/cli/php -n -d open_basedir= -d output_buffering=0 -d memory_limit=-1 -d phar.readonly=0 -d safe_mode=0 ext/phar/phar.php pack -f ext/phar/phar.phar -a pharcommand -c auto -x \.svn -p 0 -s /var/tmp/portage/dev-lang/php-5.3.2/work/php-5.3.2/ext/phar/phar/phar.php -h sha1 -b /var/tmp/portage/dev-lang/php-5.3.2/work/php-5.3.2/sapi/cli/php /var/tmp/portage/dev-lang/php-5.3.2/work/php-5.3.2/ext/phar/phar/ 
--------------------------------------------------------------------------------

Reproducible: Always




# emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r2-default x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r2-default-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-2.0.1
Timestamp of tree: Thu, 15 Jul 2010 10:00:16 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.gentoo.no/ http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.blueyonder.co.uk http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/nx /usr/portage/local/layman/science /usr/portage/local/layman/sunrise /usr/portage/local/layman/gnome2-globalmenu /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow R X a52 aac aalib accessibility acl acpi akonadi alsa amazon amd64 apache2 avahi bash-completion berkdb bluetooth branding bzip2 cairo calendar cddb cdparanoia cdr cli consolekit cracklib crypt css cups cvs cxx dbus desktopglobe detex dia dirac djvu dri dssi dts dv dvb dvd dvdnav dvdr dvi2tty dvipdfm ebook eigen emacs emboss encode examples exif extras fbcon festival ffmpeg fftw firefox firefox3 flac fluidsynth fortran ftp gd gdbm gecko gif gimp ginac glut gmp gnome gnuplot gnutls gphoto2 gpm gps graphviz gsl gstreamer gtk hal iconv icq idn ieee1394 imagemagick imap inotify ipod jack jackmidi java java6 javascript jpeg kde kerberos kpathsea ladspa lame lapack lash latex latex3 lcms libcaca libnotify libsamplerate lirc lm_sensors luatex lv2 lzo mad midi mikmod mime mmx mmxext mng modules mozilla mp3 mp4 mpeg mplayer mudflap multilib multimedia music musicbrainz mysql mythtv ncurses nls nntp nptl nptlonly nsplugin ocrad offensive ogg openexr opengl openmp pam pango pcre pdf perl plasma player plotutils plugins-symlink png policykit posix postscript ppds pppd preview-latex pstoedit pstricks publishers python qt3support qt4 quicktime rar raw rdesktop readline redeyes reflection reiserfs rss samba scanner sdl semantic-desktop session slang smp sms sndfile snmp sockets sound sox spell spl sse sse2 ssh ssl startup-notification subversion svg sysfs syslog tcpd tex4ht theora threads tiff timidity truetype udev unicode usb v4l v4l2 vcd videos virtualbox vnc vorbis vst wav webcam webkit wifi winetriks wmf wxwindows x264 xcb xcomposite xemacs xetex xine xinerama xml xorg xosd xpm xscreensaver xulrunner xv xvid xvmc yahoo zlib" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" LIRC_DEVICES="devinput" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Frank Hellmuth 2010-07-15 18:55:56 UTC
Maybe it's helpful, here are the USE flags:

# emerge -pv php

These are the packages that would be merged, in order:

Calculating dependencies   
... done!
[ebuild   R   ] dev-lang/php-5.3.2  USE="apache2 berkdb bzip2 calendar cli crypt ctype exif fileinfo filter ftp gd gdbm gmp hash iconv imap json kerberos mysql nls pcntl phar posix readline session simplexml snmp sockets spell ssl threads tokenizer truetype unicode xml xpm zlib (-adabas) -bcmath (-birdstep) -cdb -cgi -cjk -concurrentmodphp -curl -curlwrappers -db2 (-dbmaker) -debug -doc -embed (-empress) (-empress-bcs) -enchant (-esoob) (-firebird) -flatfile (-frontbase) -gd-external -inifile -interbase -intl -iodbc -ipv6 -kolab -ldap -ldap-sasl -libedit -mssql -mysqli -mysqlnd -oci8 -oci8-instant-client -odbc -pdo -pic -postgres -qdbm -recode -sapdb -sharedext -sharedmem -soap (-solid) -sqlite -sqlite3 -suhosin (-sybase-ct) -sysvipc -tidy -wddx -xmlreader -xmlrpc -xmlwriter -xsl -zip" 0 kB
Comment 2 Rafał Mużyło 2010-07-15 20:51:25 UTC

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