Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12958 - php-4.3.0 sandbox error
Summary: php-4.3.0 sandbox error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-30 16:39 UTC by Jared H. Hudson (RETIRED)
Modified: 2002-12-31 13:09 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 Jared H. Hudson (RETIRED) gentoo-dev 2002-12-30 16:39:16 UTC
>>> Install php-4.3.0 into /var/tmp/portage/php-4.3.0/image/ category dev-php
Installing PEAR environment:      /var/tmp/portage/php-4.3.0/image//usr/lib/php/
ACCESS DENIED  open_wr:   /usr/share/snmp/mibs/.index
[PEAR] Archive_Tar    - installed: 0.9
[PEAR] Console_Getopt - installed: 1.0
[PEAR] PEAR           - installed: 1.0b3
ACCESS DENIED  open_wr:   /usr/share/snmp/mibs/.index
[PEAR] DB             - installed: 1.3
[PEAR] HTTP           - installed: 1.2
[PEAR] Mail           - installed: 1.0.1
[PEAR] Net_SMTP       - installed: 1.0
[PEAR] Net_Socket     - installed: 1.0.1
[PEAR] XML_Parser     - installed: 1.0
[PEAR] XML_RPC        - installed: 1.0.4
/usr/lib/portage/bin/dodoc: RELEASE_PROCESS does not exist.
/usr/lib/portage/bin/dodoc: ChangeLog* does not exist.
/usr/lib/portage/bin/dodoc: *.txt does not exist.
install: cannot stat `php': No such file or directory
strip:
>>> Completed installing into /var/tmp/portage/php-4.3.0/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-php-4.3.0-18423.log"

open_wr:   /usr/share/snmp/mibs/.index
open_wr:   /usr/share/snmp/mibs/.index
--------------------------------------------------------------------------------
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2002-12-30 17:06:56 UTC
gcc version, portage version?
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2002-12-30 17:09:05 UTC
Jared: does the ebuild work for mod_php?
Comment 3 Jared H. Hudson (RETIRED) gentoo-dev 2002-12-30 18:24:13 UTC
gcc: sys-devel/gcc-3.2.1-r6
portage: sys-apps/portage-2.0.46-r4
USE="aalib afs -apm -arts bonobo cdr -cups doc evo flash gb ggz gphoto2 gtk2
gtkhtml imap -java -kde lcms ldap mbox -motif mozilla nas -nls postgres -qt
-qtmt samba sasl slp snmp sse -svga tiff wmf xml -tcltk -leim"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe"
Using ~x86
Comment 4 Jared H. Hudson (RETIRED) gentoo-dev 2002-12-30 18:34:16 UTC
Same Bug in mod_php:
>>> Install mod_php-4.3.0 into /var/tmp/portage/mod_php-4.3.0/image/ category de
    v-php
Installing PEAR environment:      /var/tmp/portage/mod_php-4.3.0/image//usr/lib/
    php/
ACCESS DENIED  open_wr:   /usr/share/snmp/mibs/.index
[PEAR] Archive_Tar    - installed: 0.9
[PEAR] Console_Getopt - installed: 1.0
[PEAR] PEAR           - installed: 1.0b3
ACCESS DENIED  open_wr:   /usr/share/snmp/mibs/.index
[PEAR] DB             - installed: 1.3
[PEAR] HTTP           - installed: 1.2
[PEAR] Mail           - installed: 1.0.1
[PEAR] Net_SMTP       - installed: 1.0
[PEAR] Net_Socket     - installed: 1.0.1
[PEAR] XML_Parser     - installed: 1.0
[PEAR] XML_RPC        - installed: 1.0.4
/usr/lib/portage/bin/dodoc: RELEASE_PROCESS does not exist.
/usr/lib/portage/bin/dodoc: ChangeLog* does not exist.
/usr/lib/portage/bin/dodoc: *.txt does not exist.
strip:
/var/tmp/portage/mod_php-4.3.0/image/usr/lib/apache-extramodules/libphp4.so
>>> Completed installing into /var/tmp/portage/mod_php-4.3.0/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-mod_php-4.3.0-28847.log"

open_wr:   /usr/share/snmp/mibs/.index
open_wr:   /usr/share/snmp/mibs/.index
--------------------------------------------------------------------------------
Comment 5 Ryan Phillips (RETIRED) gentoo-dev 2002-12-30 19:05:06 UTC
Jared: I have tweaked the sed script... Could you retest?  I'll play with it
some more later tonight, if it doesn't resolve the issue.

-r
Comment 6 Roman Weber 2002-12-31 09:53:49 UTC
Ryan:
This can not be fixed due a sed script....:-(((

The problem is that the cli php interpreter for the pear installation is linked to 
libsnmp (which tries to write to /usr/share/snmp/mibs/.index)

Roman

P.s. I'm now 'happy workarounding'..;-)
Comment 7 Ryan Phillips (RETIRED) gentoo-dev 2002-12-31 11:41:32 UTC
I've added an addwrite for the .index file, and everything appears to work
normally.  Can you guys verify this?
Comment 8 Roman Weber 2002-12-31 12:58:22 UTC
verified!
Comment 9 Ryan Phillips (RETIRED) gentoo-dev 2002-12-31 13:09:46 UTC
sandbox error should be resolved.