Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170952 - many PEAR packages fail with sandbox violation
Summary: many PEAR packages fail with sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 170735 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-14 21:40 UTC by Péter Werner
Modified: 2007-03-22 20:17 UTC (History)
1 user (show)

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 Péter Werner 2007-03-14 21:40:44 UTC
1) PEAR-DB-1.7.6-r1
>>> Install PEAR-DB-1.7.6-r1 into /var/tmp/portage/dev-php/PEAR-DB-1.7.6-r1/image/ category dev-php
ACCESS DENIED  unlink:    /session_mm_cli0.sem
ACCESS DENIED  open_wr:   /session_mm_cli0.sem
ACCESS DENIED  unlink:    /session_mm_cli0.sem
>>> Completed installing PEAR-DB-1.7.6-r1 into /var/tmp/portage/dev-php/PEAR-DB-1.7.6-r1/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-dev-php_-_PEAR-DB-1.7.6-r1-27463.log"

unlink:    /session_mm_cli0.sem
open_wr:   /session_mm_cli0.sem
unlink:    /session_mm_cli0.sem
--------------------------------------------------------------------------------

2) dev-php/PEAR-Mail_Mime-1.3.1-r1
>>> Install PEAR-Mail_Mime-1.3.1-r1 into /var/tmp/portage/dev-php/PEAR-Mail_Mime-1.3.1-r1/image/ category dev-php
ACCESS DENIED  unlink:    /session_mm_cli0.sem
ACCESS DENIED  open_wr:   /session_mm_cli0.sem
ACCESS DENIED  unlink:    /session_mm_cli0.sem
>>> Completed installing PEAR-Mail_Mime-1.3.1-r1 into /var/tmp/portage/dev-php/PEAR-Mail_Mime-1.3.1-r1/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-dev-php_-_PEAR-Mail_Mime-1.3.1-r1-9081.log"

unlink:    /session_mm_cli0.sem
open_wr:   /session_mm_cli0.sem
unlink:    /session_mm_cli0.sem
--------------------------------------------------------------------------------

3) dev-php/PEAR-Net_Socket-1.0.6-r1
4) dev-php/PEAR-Net_URL-1.0.14-r1
5) dev-php/PEAR-File-1.2.2
6) dev-php/PEAR-Auth_SASL-1.0.1-r1
7) dev-php/PEAR-Net_DIME-0.3-r1
8) dev-php/PEAR-XML_Parser-1.2.7
... dependencies of horde-imp

I have the following versions of some relevant packages:
sys-apps/sandbox-1.2.17
dev-php/PEAR-PEAR-1.4.11
dev-lang/php-5.2.1-r3

rm /etc/pear.conf && emerge -1av dev-php/PEAR-PEAR
does not help

emerge --info
-------------
Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r8-wp4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8-wp4 x86_64 Intel(R) Xeon(TM) CPU 3.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 14 Mar 2007 20:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.nyx.hu/gentoo/ http://gentoo.inf.elte.hu/ http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.inode.at/"
LINGUAS="hu en de"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X acl amd64 apache2 bash-completion berkdb bitmap-fonts bzip2 cli cracklib crypt dedicated doc dri examples expat fam firefox fortran fpx gcj gdbm gnutls gpgme gpm graphviz gs gtk2 hardenedphp iconv idn imagemagick imap ipv6 isdnlog java javascript jbig jikes jpeg jpeg2k lcm ldap libedit libg++ logrotate math memlimit midi mpeg mpm-prefork mysql ncurses nls nptl nptlonly nsplugin odbc offensive openssl pager pam patch pcre perl php png postfix ppds pppd python readline reflection restrict-javascript sasl server session sftplogging smime source spl srvdir ssl svg svn-mirror tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode utf8 vhosts virus-scan wmf xml xorg xpm 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu en de" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-14 21:42:56 UTC
*** Bug 170735 has been marked as a duplicate of this bug. ***
Comment 2 Thomas Beutin 2007-03-15 17:43:36 UTC
These problems occures only on amd64 but not on x86 hardware
Comment 3 Neil Bothwick 2007-03-22 14:46:15 UTC
(In reply to comment #2)
> These problems occures only on amd64 but not on x86 hardware

#emerge PEAR-DB
[snip]
>>> Compiling source in /var/tmp/portage/dev-php/PEAR-DB-1.7.10/work/DB-1.7.10 ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-php/PEAR-DB-1.7.10

>>> Install PEAR-DB-1.7.10 into /var/tmp/portage/dev-php/PEAR-DB-1.7.10/image/ category dev-php
ACCESS DENIED  unlink:    /session_mm_cli0.sem
ACCESS DENIED  open_wr:   /session_mm_cli0.sem
ACCESS DENIED  unlink:    /session_mm_cli0.sem
>>> Completed installing PEAR-DB-1.7.10 into /var/tmp/portage/dev-php/PEAR-DB-1.7.10/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-dev-php_-_PEAR-DB-1.7.10-10054.log"

unlink:    /session_mm_cli0.sem
open_wr:   /session_mm_cli0.sem
unlink:    /session_mm_cli0.sem
--------------------------------------------------------------------------------

# emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo-r3 i686)
=================================================================
System uname: 2.6.20-gentoo-r3 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 22 Mar 2007 06:20:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/init.d /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://gentoo.blueyonder.co.uk ftp://gentoo.blueyonder.co.uk/mirrors/gentoo ftp://ftp.easynet.nl/mirror/gentoo/"
LANG="en_GB"
LC_ALL="en_GB"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/mnt/portage/packages/desiato"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
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="/mnt/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow apache2 apm berkdb bitmap-fonts bzip2 cli cracklib crypt cups curl dbus dri eds emboss encode esd fam foomaticdb fortran ftp gd gdbm gif gmp gstreamer gtk2 iconv imap imlib isdnlog jpeg libg++ libwww logrotate mad maildir mbox midi mikmod mmx mp3 mpeg mysql ncurses nptl ogg opengl oss pcre perl png ppds pppd python quicktime readline reflection sasl session spl ssl tcpd truetype-fonts type1-fonts usb vhosts vorbis x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS



Comment 4 Luca Longinotti (RETIRED) gentoo-dev 2007-03-22 20:17:39 UTC
This should be fixed in CVS now, just emerge --sync in a few hours to get the fixes.
Best regards, CHTEKK.