Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98694 - emerge of php-4.3.11 fails with sandbox access violation
Summary: emerge of php-4.3.11 fails with sandbox access violation
Status: RESOLVED DUPLICATE of bug 101433
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 99910 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-11 11:15 UTC by Mark R
Modified: 2005-08-25 09:52 UTC (History)
2 users (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 Mark R 2005-07-11 11:15:12 UTC
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-dev-php_-_php-4.3.11-819.log"

access_wr: /etc/krb5.conf
access_wr: /etc/krb5.conf
access_wr: /etc/krb5.conf
--------------------------------------------------------------------------------


cat /tmp/sandbox-dev-php_-_php-4.3.11-819.log
access_wr: /etc/krb5.conf
access_wr: /etc/krb5.conf
access_wr: /etc/krb5.conf


Reproducible: Always
Steps to Reproduce:
1. emerge php
2.
3.

Actual Results:  
It throws the acces violation summary

Expected Results:  
emerged php successfully.

Please let me know if I can provide any additional information.


emerge info
Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0,
2.6.11-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -funroll-loops -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -funroll-loops -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo/
ftp://gentoo.mirrors.pair.com/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acl acpi aim alsa avi bash-completion berkdb bitmap-fonts bzlib
cdr crypt cscope ctype cups curl dvd dvdr dvx4linux eds encode esd ethereal exif
fam flac font-server fortran ftp gif gnome gpm gstreamer gtk icq imagemagick
imap imlib ipv6 java jp2 jpeg kde kerberos ldap libwww lzw lzw-tiff mad memlimit
mng motif mozilla mp3 mpeg ncurses nls offensive ogg oggvorbis opengl oss pam
pdflib perl php png python qt readline samba spell ssl szip tcpd tiff truetype
truetype-fonts type1-fonts unicode usb userlocales vorbis wmf xine xml2 xmms xpm
xrandr xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS,PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-11 12:35:14 UTC
<snip>
GENTOO LINUX IS WHERE YOU PUT EBUILD BUGS.

The Gentoo Linux Distribution - Ebuilds and System related issues.
If you're unsure where your bugs go, then file them here.
</snip>

I don't really know how much more clear that page could be made to stop people
that apparently don't bother with reading the instructions and misassign the
bugs to Bugzilla product. :/

We also have a Bug Reporting Guide: http://www.gentoo.org/doc/en/bugzilla-howto.xml
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-11 12:38:05 UTC
@php herd: Looks like another 'addpredict /etc/krb5.conf' is needed (also see
Bug 98281, Bug 95840 and Bug 96453).
Comment 3 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-14 01:55:48 UTC
Correct platform, summary.
Comment 4 Andy Wang 2005-07-17 08:13:20 UTC
This isn't specific to AMD64.  It also happens on x86, and I'm assuming it'll
happen on all platforms that use php with the kerberos use flag.  This ALSO
affects php 4.4.0, and since 4.4.0 is a GLSA fix, and it seems that the fix is
relatively easy this seems like a blocker bug to me.
Comment 5 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-17 09:01:37 UTC
Fixed in CVS.
Comment 6 Andy Wang 2005-07-17 19:52:08 UTC
still broken.
addpredict needs to be added to src_compile() apparently.  Not src_install()
Comment 7 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-22 10:48:28 UTC
Reopening.
Comment 8 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-22 10:48:44 UTC
*** Bug 99910 has been marked as a duplicate of this bug. ***
Comment 9 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-22 22:25:58 UTC
Moved addpredict from src_install() to src_compile().
Comment 10 Andy Wang 2005-07-25 09:39:12 UTC
apparently
it needs to be in both src_install and src_compile.
as this still doesn't work
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-08-06 02:39:54 UTC
Please, emerge sync and upgrade to sandbox-1.2.12; report back if it helps or
not. Meanwhile, I'll reopen it, this is probably dupe of Bug 101433.
Comment 12 Luca Longinotti (RETIRED) gentoo-dev 2005-08-25 09:50:48 UTC
Works with sandbox 1.2.12. Not reproducible in the new overlay (link:
http://svn.gnqs.org/projects/gentoo-php-overlay/ ), there it works.
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2005-08-25 09:52:02 UTC
Marking as a dupe. Anyone having this issue should upgrade to latest sandbox.

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