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

Bug 122539

Summary: Mozilla Firefox 1.5.0.1(-r1) sandbox violation
Product: Gentoo Linux Reporter: Magnus Anderson <magnus>
Component: New packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Magnus Anderson 2006-02-12 03:40:45 UTC
During Compilation of Mozilla Firefox (1.5.0.1 and 1.5.0.1-r1) I get this error.

----------------------------------
/var/tmp/portage/mozilla-firefox-1.5.0.1/work/mozilla/config/nsinstall -R -m 755 libnecko2.so ../../dist/gre/components
../../dist/bin/elf-dynstr-gc ../../dist/gre/components/libnecko2.so
Couldn't GC any strings, exiting.
/var/tmp/portage/mozilla-firefox-1.5.0.1/work/mozilla/config/nsinstall -R -m 755 libnecko2.so ../../dist/bin/components
../../dist/bin/elf-dynstr-gc ../../dist/bin/components/libnecko2.so
Couldn't GC any strings, exiting.
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.1/work/mozilla/netwerk/build2'
gmake[3]: Entering directory `/var/tmp/portage/mozilla-firefox-1.5.0.1/work/mozilla/netwerk/resources'
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.1/work/mozilla/netwerk/resources'
gmake[3]: Entering directory `/var/tmp/portage/mozilla-firefox-1.5.0.1/work/mozilla/netwerk/locales'
+++ making chrome /var/tmp/portage/mozilla-firefox-1.5.0.1/work/mozilla/netwerk/locales  => ../../dist/bin/chrome/en-US.jar
+++ updating chrome ../../dist/bin/chrome/en-US.manifest
        zip warning: name not matched: ../../../bin/chrome/en-US.jar
        zip warning: /usr/bin/zip.zip not found or empty
ACCESS DENIED  open_wr:   /usr/bin/zip.zip
zip I/O error: Permission denied

zip error: Could not create output file (/usr/bin/zip.zip)
Error invoking zip: 15 at ../../config/make-jars.pl line 211, <STDIN> line 4.
gmake[3]: *** [libs] Error 9
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.1/work/mozilla/netwerk/locales'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.1/work/mozilla/netwerk'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5.0.1/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-firefox-1.5.0.1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-www-client_-_mozilla-firefox-1.5.0.1-25824.log"

open_wr:   /usr/bin/zip.zip
--------------------------------------------------------------------------------

emerge --info
------------------------
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r3 i686)
=================================================================
System uname: 2.6.15-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage.distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi berkdb bitmap-fonts bzip2 crypt cups dri dvd dvdr eds emboss encode esd firefox flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imlib ipv6 java jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nfs nls nsplugin ogg oggvorbis opengl pam pdflib perl png ppds python quicktime readline samba scanner sdl spell sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs xml2 xmms xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_vesa video_cards_fglrx"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS
Comment 1 Magnus Anderson 2006-04-22 13:01:19 UTC
Invalid bug

Make.conf makes portage screw up if there's a variable in it containing the name "ZIP".

I use various variable names for saving USE flags in.

Short Example:

NETWORK="firefox -mozilla"
GUI="gnome -kde"
ZIP="bzip"
USE="${NETWORK} ${GUI} ${ZIP}"