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

Bug 100972

Summary: evince sandbox violation
Product: Gentoo Linux Reporter: Nguyen Thai Ngoc Duy (RETIRED) <pclouds>
Component: New packagesAssignee: Daniel Gryniewicz (RETIRED) <dang>
Status: RESOLVED FIXED    
Severity: normal CC: rumi
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2005-08-01 00:44:25 UTC
I tried evince 0.3.2 and got these:

gcc -O2 -mcpu=i686 -pipe -o evince-thumbnailer evince-thumbnailer.o
-Wl,--export-dynamic  -pthread /usr/lib/libgnomevfs-2.so /usr/lib/libxml2.so
-lssl -lcrypto /usr/lib/libhowl.so -lresolv -lrt /usr/lib/libbonobo-2.so
/usr/lib/libgconf-2.so /usr/lib/libbonobo-activation.so
/usr/lib/libORBitCosNaming-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so
/usr/lib/libgthread-2.0.so -lpthread /usr/lib/libpoppler-glib.so
/usr/lib/libpoppler.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so
/usr/lib/libexpat.so ../lib/.libs/libev.a ../shell/.libs/libevbackendfactory.a
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130
-L/usr/lib/gcc/i686-pc-linux-gnu/3.3.5-20050130
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../.. -lgcc_s
/usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
/usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so
/usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /usr/lib/libt1.so
/usr/lib/libtiff.so /usr/lib/libjpeg.so -lm -lc -lz
make[2]: Leaving directory
`/var/tmp/portage/evince-0.3.2/work/evince-0.3.2/thumbnailer'
make[2]: Entering directory `/var/tmp/portage/evince-0.3.2/work/evince-0.3.2'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/evince-0.3.2/work/evince-0.3.2'
make[1]: Leaving directory `/var/tmp/portage/evince-0.3.2/work/evince-0.3.2'
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-app-text_-_evince-0.3.2-19419.log"

open_wr:   /var/tmp/portage/evince-0.3.2/work/evince-0.3.2/config.sub (symlink
to /usr/share/libtool/config.sub)
--------------------------------------------------------------------------------
Comment 1 Steev Klimaszewski (RETIRED) gentoo-dev 2005-08-01 00:46:44 UTC
please include the output of "emerge info"
Comment 2 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2005-08-01 00:54:40 UTC
Below is `emerge info`. Also adding --copy to libtoolize would solve the problem:

Index: evince-0.3.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/evince/evince-0.3.2.ebuild,v
retrieving revision 1.1
diff -u -r1.1 evince-0.3.2.ebuild
--- evince-0.3.2.ebuild 27 Jun 2005 18:43:16 -0000      1.1
+++ evince-0.3.2.ebuild 1 Aug 2005 07:50:34 -0000
@@ -54,7 +54,7 @@
        epatch ${FILESDIR}/${P}-t1lib_is_t1.patch
        autoconf || die "autoconf failed"
        automake || die "automake failed"
-       libtoolize --force || die "libtoolize failed"
+       libtoolize --copy --force || die "libtoolize failed"
 }

 src_install() {


Emerge info:
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r0, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.12
ccache version 2.3 [disabled]
dev-lang/python:     2.2.3-r1, 2.3.4
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.3
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.7-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/jetty/etc /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/lib/jboss
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig cvs distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.averse.net/pub/gentoo/
ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo
ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
http://ftp6.uni-erlangen.de/pub/mirrors/gentoo"
LANG="vi_VN.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/home/pclouds/cvs/gentoo-x86"
PORTDIR_OVERLAY="/home/pclouds/cvs/vinux-portage /home/pclouds/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apache2 apm avi bash-completion berkdb bitmap-fonts canna
cdr crypt cups curl directfb eds emboss encode esd fam flac foomaticdb fortran
freetds gd gdbm gif gnome gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6
java jpeg junit kde ldap libg++ libwww lirc mad mcal mikmod motif mozilla mp3
mpeg mysql ncurses nls nptl ogg oggvorbis opengl pam pdflib perl png postgres
python quicktime readline ruby samba sdl slang spell sqlite ssl svga tcpd tetex
tiff truetype truetype-fonts type1-fonts vorbis xine xml xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 3 Masse Nicolas 2005-09-04 11:39:08 UTC
I have the same kinds of problems with evince-0.31:

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-app-text_-_evince-0.3.1-19975.log"

open_wr:   /var/tmp/portage/evince-0.3.1/work/evince-0.3.1/config.sub (symlink
to /usr/share/libtool/config.sub)
--------------------------------------------------------------------------------

#>emerge info:

Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    1.2.11
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.4
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo http://gentoo.inode.at/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr fr_FR"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib acl acpi adns alsa apm audiofile avi berkdb bitmap-fonts
bonobo cdr crypt cscope cups curl dga directfb divx4linux doc dvd dvdr eds
emboss encode esd evo fam fastcgi fbcon flac foomaticdb fortran gb gd gdbm gif
gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib innodb ipv6
java jikes joystick jpeg junit kerberos krb4 ldap libg++ libwww mad mikmod mmx
motif mozilla mp3 mpeg msn ncurses nls nocd ogg oggvorbis opengl oss pam pdf
pdflib perl png python quicktime readline samba scanner sdl slang spell sse ssl
svga svgalib szip tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts
unicode usb videos vorbis wmf wxwindows xine xml xml2 xmms xvid zlib
video_cards_radeon linguas_fr linguas_fr_FR userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY

#> less /etc/portage/package.keywords 
...
=app-text/evince-0.3.1 ~x86
=app-text/poppler-0.3.2 ~x86

#> less /etc/portage/package.unmask
...
=app-text/evince-0.3.1


I'm also having this at the begining of the merge:
>>> md5 src_uri ;-) evince-0.3.1.tar.bz2
>>> Unpacking source...
>>> Unpacking evince-0.3.1.tar.bz2 to /var/tmp/portage/evince-0.3.1/work
 * Applying evince-0.3.1-t1lib_is_t1.patch ...                            [ ok ]
* Applying evince-0.3.1-64bit.patch ...                                  [ ok
]>>> Source unpacked.
 * Patching ${S}/ltmain.sh ...
 *   Applying max_cmd_len-1.5.0.patch ...
 *   Applying sed-1.5.6.patch ...
 * Applying uClibc/libtool patches ...
 * econf: updating evince-0.3.1/config.sub with /usr/share/gnuconfig/config.sub
ACCESS DENIED  open_wr:   /var/tmp/portage/evince-0.3.1/work/evince-0.3.1/config.sub
cp: ne peut cr
Comment 4 Masse Nicolas 2005-09-04 11:39:08 UTC
I have the same kinds of problems with evince-0.31:

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-app-text_-_evince-0.3.1-19975.log"

open_wr:   /var/tmp/portage/evince-0.3.1/work/evince-0.3.1/config.sub (symlink
to /usr/share/libtool/config.sub)
--------------------------------------------------------------------------------

#>emerge info:

Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    1.2.11
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.4
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo http://gentoo.inode.at/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr fr_FR"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib acl acpi adns alsa apm audiofile avi berkdb bitmap-fonts
bonobo cdr crypt cscope cups curl dga directfb divx4linux doc dvd dvdr eds
emboss encode esd evo fam fastcgi fbcon flac foomaticdb fortran gb gd gdbm gif
gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib innodb ipv6
java jikes joystick jpeg junit kerberos krb4 ldap libg++ libwww mad mikmod mmx
motif mozilla mp3 mpeg msn ncurses nls nocd ogg oggvorbis opengl oss pam pdf
pdflib perl png python quicktime readline samba scanner sdl slang spell sse ssl
svga svgalib szip tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts
unicode usb videos vorbis wmf wxwindows xine xml xml2 xmms xvid zlib
video_cards_radeon linguas_fr linguas_fr_FR userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY

#> less /etc/portage/package.keywords 
...
=app-text/evince-0.3.1 ~x86
=app-text/poppler-0.3.2 ~x86

#> less /etc/portage/package.unmask
...
=app-text/evince-0.3.1


I'm also having this at the begining of the merge:
>>> md5 src_uri ;-) evince-0.3.1.tar.bz2
>>> Unpacking source...
>>> Unpacking evince-0.3.1.tar.bz2 to /var/tmp/portage/evince-0.3.1/work
 * Applying evince-0.3.1-t1lib_is_t1.patch ...                            [ ok ]
* Applying evince-0.3.1-64bit.patch ...                                  [ ok
]>>> Source unpacked.
 * Patching ${S}/ltmain.sh ...
 *   Applying max_cmd_len-1.5.0.patch ...
 *   Applying sed-1.5.6.patch ...
 * Applying uClibc/libtool patches ...
 * econf: updating evince-0.3.1/config.sub with /usr/share/gnuconfig/config.sub
ACCESS DENIED  open_wr:   /var/tmp/portage/evince-0.3.1/work/evince-0.3.1/config.sub
cp: ne peut créer le fichier régulier
`/var/tmp/portage/evince-0.3.1/work/evince-0.3.1/config.sub': Permission non
accordée
Comment 5 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-09-07 08:22:38 UTC
I believe I fixed these in 0.4.0.  Could you try that and see if it works for you?
Comment 6 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2005-09-08 02:31:41 UTC
0.4.0 works fine. You may close this bug now :)
Comment 7 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-09-08 17:04:18 UTC
Closed per comment #5
Comment 8 Leonardo Boshell (RETIRED) gentoo-dev 2005-10-20 06:20:44 UTC
*** Bug 109773 has been marked as a duplicate of this bug. ***