Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115544 - blogtk - sandbox access violation during emerge
Summary: blogtk - sandbox access violation during emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Daniel Gryniewicz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 08:34 UTC by amette
Modified: 2006-09-25 10:13 UTC (History)
3 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 amette 2005-12-14 08:34:14 UTC
Emerging BloGTK fails with a sandbox access violation.  
 
  

Reproducible: Always
Steps to Reproduce:
1. emerge -atv blogtk 
2. 
3. 
 
Actual Results:  
ben ~ # emerge -atv blogtk 
 
These are the packages that I would merge, in reverse order: 
 
Calculating dependencies ...done! 
[ebuild   R   ] net-misc/blogtk-1.1  0 kB 
 
Total size of downloads: 0 kB 
 
Do you want me to merge these packages? [Yes/No] y 
>>> emerge (1 of 1) net-misc/blogtk-1.1 to / 
>>> md5 files   ;-) blogtk-1.0.ebuild 
>>> md5 files   ;-) blogtk-1.1.ebuild 
>>> md5 files   ;-) files/blogtk-1.0-destdir.patch 
>>> md5 files   ;-) files/digest-blogtk-1.0 
>>> md5 files   ;-) files/digest-blogtk-1.1 
>>> md5 src_uri ;-) BloGTK-1.1.tar.bz2 
>>> Unpacking source... 
>>> Unpacking BloGTK-1.1.tar.bz2 to /var/tmp/portage/blogtk-1.1/work 
 * Applying blogtk-1.0-destdir.patch ...                                                                                                              
[ ok ] 
>>> Source unpacked. 
>>> Test phase [not enabled]: net-misc/blogtk-1.1 
 
>>> Install blogtk-1.1 into /var/tmp/portage/blogtk-1.1/image/ category 
net-misc 
mv src/BloGTK.py src/BloGTK.py.old 
sed -e "s|/usr/share|`pkg-config libgnome-2.0 --variable=prefix || 
echo /usr`/share|g" src/BloGTK.py.old > src/BloGTK.py 
rm src/BloGTK.py.old 
install -m 755 -d /var/tmp/portage/blogtk-1.1/image/`pkg-config libgnome-2.0 
--variable=prefix || 
echo /usr`/bin /var/tmp/portage/blogtk-1.1/image/`pkg-config libgnome-2.0 
--variable=prefix || 
echo /usr`/lib/blogtk /var/tmp/portage/blogtk-1.1/image/`pkg-config 
libgnome-2.0 --variable=prefix || 
echo /usr`/share/blogtk /var/tmp/portage/blogtk-1.1/image/`pkg-config 
libgnome-2.0 --variable=prefix || 
echo /usr`/share/applications    /var/tmp/portage/blogtk-1.1/image/`pkg-config 
libgnome-2.0 --variable=prefix || echo /usr`/share/pixmaps 
install -m 755 src/* /var/tmp/portage/blogtk-1.1/image/`pkg-config libgnome-2.0 
--variable=prefix || echo /usr`/lib/blogtk 
install -m 644 pixmaps/* /var/tmp/portage/blogtk-1.1/image/`pkg-config 
libgnome-2.0 --variable=prefix || echo /usr`/share/blogtk 
install -m 644 
data/blogtk-icon.png /var/tmp/portage/blogtk-1.1/image/`pkg-config libgnome-2.0 
--variable=prefix || echo /usr`/share/pixmaps 
install -m 644 
data/blogtk.desktop /var/tmp/portage/blogtk-1.1/image/`pkg-config libgnome-2.0 
--variable=prefix || echo /usr`/share/applications 
ln -sf `pkg-config libgnome-2.0 --variable=prefix || 
echo /usr`/lib/blogtk/BloGTK.py /var/tmp/portage/blogtk-1.1/image/`pkg-config 
libgnome-2.0 --variable=prefix || echo /usr`/bin/BloGTK 
chmod +x /var/tmp/portage/blogtk-1.1/image/`pkg-config libgnome-2.0 
--variable=prefix || echo /usr`/bin/BloGTK 
ACCESS DENIED  chmod:     /var/tmp/portage/blogtk-1.1/image/usr/bin/BloGTK 
chmod: Beim Setzen der Zugriffsrechte f
Comment 1 amette 2005-12-14 08:34:14 UTC
Emerging BloGTK fails with a sandbox access violation.  
 
  

Reproducible: Always
Steps to Reproduce:
1. emerge -atv blogtk 
2. 
3. 
 
Actual Results:  
ben ~ # emerge -atv blogtk 
 
These are the packages that I would merge, in reverse order: 
 
Calculating dependencies ...done! 
[ebuild   R   ] net-misc/blogtk-1.1  0 kB 
 
Total size of downloads: 0 kB 
 
Do you want me to merge these packages? [Yes/No] y 
>>> emerge (1 of 1) net-misc/blogtk-1.1 to / 
>>> md5 files   ;-) blogtk-1.0.ebuild 
>>> md5 files   ;-) blogtk-1.1.ebuild 
>>> md5 files   ;-) files/blogtk-1.0-destdir.patch 
>>> md5 files   ;-) files/digest-blogtk-1.0 
>>> md5 files   ;-) files/digest-blogtk-1.1 
>>> md5 src_uri ;-) BloGTK-1.1.tar.bz2 
>>> Unpacking source... 
>>> Unpacking BloGTK-1.1.tar.bz2 to /var/tmp/portage/blogtk-1.1/work 
 * Applying blogtk-1.0-destdir.patch ...                                                                                                              
[ ok ] 
>>> Source unpacked. 
>>> Test phase [not enabled]: net-misc/blogtk-1.1 
 
>>> Install blogtk-1.1 into /var/tmp/portage/blogtk-1.1/image/ category 
net-misc 
mv src/BloGTK.py src/BloGTK.py.old 
sed -e "s|/usr/share|`pkg-config libgnome-2.0 --variable=prefix || 
echo /usr`/share|g" src/BloGTK.py.old > src/BloGTK.py 
rm src/BloGTK.py.old 
install -m 755 -d /var/tmp/portage/blogtk-1.1/image/`pkg-config libgnome-2.0 
--variable=prefix || 
echo /usr`/bin /var/tmp/portage/blogtk-1.1/image/`pkg-config libgnome-2.0 
--variable=prefix || 
echo /usr`/lib/blogtk /var/tmp/portage/blogtk-1.1/image/`pkg-config 
libgnome-2.0 --variable=prefix || 
echo /usr`/share/blogtk /var/tmp/portage/blogtk-1.1/image/`pkg-config 
libgnome-2.0 --variable=prefix || 
echo /usr`/share/applications    /var/tmp/portage/blogtk-1.1/image/`pkg-config 
libgnome-2.0 --variable=prefix || echo /usr`/share/pixmaps 
install -m 755 src/* /var/tmp/portage/blogtk-1.1/image/`pkg-config libgnome-2.0 
--variable=prefix || echo /usr`/lib/blogtk 
install -m 644 pixmaps/* /var/tmp/portage/blogtk-1.1/image/`pkg-config 
libgnome-2.0 --variable=prefix || echo /usr`/share/blogtk 
install -m 644 
data/blogtk-icon.png /var/tmp/portage/blogtk-1.1/image/`pkg-config libgnome-2.0 
--variable=prefix || echo /usr`/share/pixmaps 
install -m 644 
data/blogtk.desktop /var/tmp/portage/blogtk-1.1/image/`pkg-config libgnome-2.0 
--variable=prefix || echo /usr`/share/applications 
ln -sf `pkg-config libgnome-2.0 --variable=prefix || 
echo /usr`/lib/blogtk/BloGTK.py /var/tmp/portage/blogtk-1.1/image/`pkg-config 
libgnome-2.0 --variable=prefix || echo /usr`/bin/BloGTK 
chmod +x /var/tmp/portage/blogtk-1.1/image/`pkg-config libgnome-2.0 
--variable=prefix || echo /usr`/bin/BloGTK 
ACCESS DENIED  chmod:     /var/tmp/portage/blogtk-1.1/image/usr/bin/BloGTK 
chmod: Beim Setzen der Zugriffsrechte für 
„/var/tmp/portage/blogtk-1.1/image//usr/bin/BloGTK“: Keine Berechtigung 
make: *** [install] Fehler 1 
 
!!! ERROR: net-misc/blogtk-1.1 failed. 
!!! Function src_install, Line 35, Exitcode 2 
!!! Unable to compile blogtk 
!!! If you need support, post the topmost build error, NOT this status message. 
 
--------------------------- ACCESS VIOLATION SUMMARY 
--------------------------- 
LOG FILE = "/var/log/sandbox/sandbox-net-misc_-_blogtk-1.1-25701.log" 
 
chmod:     /var/tmp/portage/blogtk-1.1/image/usr/bin/BloGTK (symlink 
to /usr/lib64/blogtk/BloGTK.py) 
-------------------------------------------------------------------------------- 
 

Expected Results:  
install BloGTK 

I have BloGTK already emerged and it was working. During an emerge --emptytree  
world BloGTK failed. I ran python-updater, didn't help. The already installed  
BloGTK doesn't start any more with these errors:  
 
amette@ben ~ $ BloGTK  
Traceback (most recent call last):  
  File "/usr/bin/BloGTK", line 1244, in ?  
    blogtk = BloGTK()  
  File "/usr/bin/BloGTK", line 156, in __init__  
    self.editPostsItem.set_sensitive(FALSE)  
NameError: global name 'FALSE' is not defined  
 
------------------- emerge --info --------------------------- 
ben ~ # emerge --info 
Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 
2.6.14-gentoo-r2Desktop x86_64) 
================================================================= 
System uname: 2.6.14-gentoo-r2Desktop x86_64 AMD Athlon(tm) 64 Processor 3000+ 
Gentoo Base System version 1.12.0_pre11 
ccache version 2.3 [disabled] 
dev-lang/python:     2.3.5-r2, 2.4.2 
sys-apps/sandbox:    1.2.12 
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.6-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-O2 -pipe -march=k8" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-O2 -pipe -march=k8" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks nostrip sandbox sfperms strict" 
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ 
ftp://pandemonium.tiscali.de/pub/gentoo/ 
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" 
LANG="de_DE.UTF-8" 
LC_ALL="de_DE.UTF-8" 
LINGUAS="de fi en" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X a52 aac aalib accessibility acl acpi alsa apache2 apm arts 
audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzip2 bzlib 
c++ calendar cdparanoia cdr cjk crypt cscope cups curl curlwrappers dbus debug 
dedicated dga dio directfb divx4linux doc dts dv dvd dvdr dvdread edl eds 
emboss emul-linux-x86 encode esd examples exif expat fam fbcon ffmpeg flac 
flash foomaticdb fortran fpx ftp gd gdbm ggi gif gimpprint glut gmp gnome 
gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal icq idn ieee1394 
imagemagick imap imlib inkjar innodb ipv6 jabber jack java javascript jbig jpeg 
junit kde kdeenablefinal ladcca lcms ldap libcaca libwww live lm_sensors lzo 
lzw lzw-tiff m17n-lib mad maildir matroska mbox mcal memlimit mhash mikmod 
milter mime ming mjpegmythtv mmap mng mnogosearch motif mozilla mp3 mpeg mpi 
msession musicbrainz mysql mysqli ncurses network nls nocd nptl nsplugin nvidia 
offensive ofx ogg oggvorbis openal opengl osc oscar oss pam pcntl pcre pda 
pdflib perl php pic plotutils plugin png portaudio posix ppds profile python qt 
quicktime readline real recode rtc ruby samba sasl scanner sdl session 
sharedext sharedmem shorten simplexml slang slp smartcard sndfile sox speex 
spell spl sqlite ssl svg szip tcltk tcpd tetex theora threads tidy tiff 
tokenizer transcode truetype truetype-fonts type1-fonts udev unicode usb 
userlocales v4l v4l2 vcd vhosts videos vidixfame vorbis wmf xanim xine xml xml2 
xmlrpc xmms xosd xpm xprint xsl xv xvid xvmc zlib linguas_de linguas_fi 
linguas_en userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2006-03-11 07:10:19 UTC
even if you disable sandbox (ouch) i still get:

Traceback (most recent call last):
  File "/usr/bin/BloGTK", line 14, in ?
    import gtkhtml2
ImportError: libgtkhtml-2.so.0: cannot open shared object file: No such file or directory

Tried all manner of tricks, no good. 
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2006-03-11 07:15:52 UTC
Bah, got it, dep needs to be for =gnome-extra/gtkhtml-2* for my half of the error (yep, outside the scope of the sandbox issue, i realize that)
Comment 4 Ana Andrés 2006-04-06 07:04:08 UTC
i got this to when emerging blogtk:

chmod +x /var/tmp/portage/blogtk-1.1/image/`pkg-config libgnome-2.0 --variable=prefix || echo /usr`/bin/BloGTK
ACCESS DENIED  chmod:     /var/tmp/portage/blogtk-1.1/image/usr/bin/BloGTK
chmod: cambiando los permisos de 
Comment 5 Ana Andrés 2006-04-06 07:04:08 UTC
i got this to when emerging blogtk:

chmod +x /var/tmp/portage/blogtk-1.1/image/`pkg-config libgnome-2.0 --variable=prefix || echo /usr`/bin/BloGTK
ACCESS DENIED  chmod:     /var/tmp/portage/blogtk-1.1/image/usr/bin/BloGTK
chmod: cambiando los permisos de «/var/tmp/portage/blogtk-1.1/image//usr/bin/BloGTK»: Permiso denegado
make: *** [install] Error 1

!!! ERROR: net-misc/blogtk-1.1 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_install
  ebuild.sh, line 999:   Called src_install
  blogtk-1.1.ebuild, line 35:   Called die

!!! Unable to compile blogtk
!!! If you need support, post the topmost build error, and the call stack if relevant.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/var/log/sandbox/sandbox-net-misc_-_blogtk-1.1-4679.log"

chmod:     /var/tmp/portage/blogtk-1.1/image/usr/bin/BloGTK (symlink to /usr/lib/blogtk/BloGTK.py)
--------------------------------------------------------------------------------
Comment 6 Ana Andrés 2006-04-06 07:05:49 UTC
this is happenig on x86 too not only amd64. my emerge --info:

Portage 2.1_pre7-r4 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre16
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-r2
sys-devel/binutils:  2.16.1-r2
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="-O2 -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/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/hda2/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/  ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/  http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/  ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/  http://pandemonium.tiscali.de/pub/gentoo/  ftp://pandemonium.tiscali.de/pub/gentoo/  http://ftp.caliu.info/pub/gentoo/  ftp://ftp.caliu.info/pub/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es es_ES"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/xgl-coffee /usr/local/portage /usr/local/gnome-experimental /usr/local/cairoclock-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acl acpi alsa asf audiofile avahi avi bash-completion beagle berkdb bitmap-fonts bonobo bzip2 cairo cdparanoia cdr cli crypt ctype cups dba dbus dga doc dri dts dvb dvd dvdr eds emboss encode esd evo expat fam fastbuild fbsplash ffmpeg flac fontconfig foomaticdb force-cgi-redirect fortran ftp gcj gd gdbm ggi ghkhtml gif gimp glitz glut gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 hal howl imagemagick imlib ipv6 isdnlog java javascript jikes joystick jpeg kde lcms ldap libg++ libvisual libwww lm_sensors mad memlimit mikmod mmx mng modplug mono motif mp3 mpeg msn ncurses nls nptl nptlonly nsplugin objc ogg oggvorbis openal opengl oss pam pam_console pcmcia pcre pdflib perl png posix ppds pppd pwdb python qt quicktime readline ruby samba scanner sdl session sharedmem simplexml slp sndfile soap sockets spell spl sse sse2 ssl svg tcltk tcpd theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb vcd verbose videos vorbis win32codecs wmf x264 xface xine xinerama xml xml2 xpm xsl xv xvid xvmc zlib elibc_glibc input_devices_synaptics input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux linguas_es linguas_es_ES userland_GNU video_cards_fglrx video_cards_vesa video_cards_fbdev video_cards_none"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
Comment 7 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-09-25 10:13:48 UTC
Fixed.