Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124852 - quodlibet 0.17.1 sandbox violation
Summary: quodlibet 0.17.1 sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 124859 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-03 12:44 UTC by Andrew D. Keyser (aka Legoguy)
Modified: 2006-03-04 08:56 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
quodlibet-0.18-gstcheck.patch (quodlibet-0.18-gstcheck.patch,994 bytes, patch)
2006-03-03 18:27 UTC, Thomas Cort (RETIRED)
Details | Diff
quodlibet-0.17.1-gstcheck.patch (quodlibet-0.17.1-gstcheck.patch,871 bytes, patch)
2006-03-03 18:59 UTC, Thomas Cort (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew D. Keyser (aka Legoguy) 2006-03-03 12:44:48 UTC
Checking for Python... /usr/bin/python
Checking Python version: 2.4
Checking for PyGTK >= 2.6: found
ACCESS DENIED  open_wr:   /root/.gstreamer-0.10/registry.i686.xml.tmp
ACCESS DENIED  mkdir:     /root/.gstreamer-0.10
ACCESS DENIED  open_wr:   /root/.gstreamer-0.10/registry.i686.xml.tmp
Checking for PyGSt >= 0.8.2: found
Checking for ogg.vorbis: found
Checking for MAD: found
Checking for egg.trayicon: found
Checking for ctypes: found

Your system meets the requirements to install Quod Libet.
Type 'make install' (as root) to install it.
You may want to make some extensions first; see the README file.
cd trayicon && make trayicon.so && cd ..
cd mmkeys && make mmkeys.so && cd ..
make[1]: Entering directory `/var/tmp/portage/quodlibet-0.17.1/work/quodlibet-0.17.1/mmkeys'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[1]: Entering directory `/var/tmp/portage/quodlibet-0.17.1/work/quodlibet-0.17.1/trayicon'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
pygtk-codegen-2.0 --prefix mmkeys \
--register `pkg-config --variable=defsdir pygtk-2.0`/gdk-types.defs \
--register `pkg-config --variable=defsdir pygtk-2.0`/gtk-types.defs \
--override mmkeys.override \
mmkeys.defs > gen-tmp
pygtk-codegen-2.0 --prefix trayicon \
--register `pkg-config --variable=defsdir pygtk-2.0`/gdk-types.defs \
--register `pkg-config --variable=defsdir pygtk-2.0`/gtk-types.defs \
--override trayicon.override \
trayicon.defs > gen-tmp
Warning: generating old-style constructor for egg_tray_icon_new
Warning: Constructor for EggTrayIcon needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
***INFO*** There are no declared global functions.
***INFO*** There are no declared methods.
***INFO*** There are no declared virtual proxies.
***INFO*** There are no declared virtual accessors.
***INFO*** There are no declared interface proxies.
mv gen-tmp trayicon.c
./setup.py build
***INFO*** There are no declared global functions.
***INFO*** There are no declared methods.
***INFO*** There are no declared virtual proxies.
***INFO*** There are no declared virtual accessors.
***INFO*** There are no declared interface proxies.
mv gen-tmp mmkeyspy.c
./setup.py build
running build
running build_ext
running build
running build_ext
building 'mmkeys' extension
creating build
creating build/temp.linux-i686-2.4
building 'trayicon' extension
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -fPIC -I/usr/include/python2.4 -c mmkeyspy.c -o build/temp.linux-i686-2.4/mmkeyspy.o -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0
creating build
creating build/temp.linux-i686-2.4
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -fPIC -I/usr/include/python2.4 -c trayicon.c -o build/temp.linux-i686-2.4/trayicon.o -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -fPIC -I/usr/include/python2.4 -c mmkeys.c -o build/temp.linux-i686-2.4/mmkeys.o -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -fPIC -I/usr/include/python2.4 -c trayiconmodule.c -o build/temp.linux-i686-2.4/trayiconmodule.o -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -fPIC -I/usr/include/python2.4 -c mmkeysmodule.c -o build/temp.linux-i686-2.4/mmkeysmodule.o -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -fPIC -I/usr/include/python2.4 -c eggtrayicon.c -o build/temp.linux-i686-2.4/eggtrayicon.o -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0
creating build/lib.linux-i686-2.4
i686-pc-linux-gnu-gcc -pthread -shared -O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse build/temp.linux-i686-2.4/mmkeyspy.o build/temp.linux-i686-2.4/mmkeys.o build/temp.linux-i686-2.4/mmkeysmodule.o -o build/lib.linux-i686-2.4/mmkeys.so -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0
cp build/lib*/mmkeys.so .
make[1]: Leaving directory `/var/tmp/portage/quodlibet-0.17.1/work/quodlibet-0.17.1/mmkeys'
cp mmkeys/mmkeys.so _mmkeys.so
creating build/lib.linux-i686-2.4
i686-pc-linux-gnu-gcc -pthread -shared -O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse -O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse build/temp.linux-i686-2.4/trayicon.o build/temp.linux-i686-2.4/trayiconmodule.o build/temp.linux-i686-2.4/eggtrayicon.o -o build/lib.linux-i686-2.4/trayicon.so -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0
cp build/lib*/trayicon.so .
make[1]: Leaving directory `/var/tmp/portage/quodlibet-0.17.1/work/quodlibet-0.17.1/trayicon'
cp trayicon/trayicon.so _trayicon.so
>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-media-sound_-_quodlibet-0.17.1-4285.log"

open_wr:   /root/.gconf/.testing.writeability
unlink:    /root/.gconf/.testing.writeability
open_wr:   /root/.gconfd/saved_state
open_wr:   /root/.gconfd/saved_state
open_wr:   /root/.gstreamer-0.10/registry.i686.xml.tmp
mkdir:     /root/.gstreamer-0.10
open_wr:   /root/.gstreamer-0.10/registry.i686.xml.tmp
--------------------------------------------------------------------------------


emerge info:

Portage 2.1_pre5-r2 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r3, 2.6.15-nitro3 i686)
=================================================================
System uname: 2.6.15-nitro3 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1, 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-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=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse"
CHOST="i686-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/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=prescott -pipe -ftracer -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 7zip X Xaw3d a52 aac acpi aim alsa apache2 arts asf audiofile avi bash-completion berkdb bitmap-fonts bonjour bzip2 cairo ccache cdda cddb cdio cdparanoia cdr clamav crypt cscope css ctype cups curl dba dbus dcraw dga disablexmb dvd dvdr dvdread eds emboss encode exif expat faad faad2 fame ffmpeg firefox flac flash foomaticdb fortran freetype ftp gb gd gdbm gif gimp gimp-print gimpprint glx gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl iconv icq imagemagick imlib inifile ithreads jabber jack java javascript joystick jpeg jpeg2k kde kdeenablefinal ladcca libclamav libg++ libwww lirc live lm_sensors logitech-mouse lzw-tiff mad mbox mhash mikmod mjpeg mmap mmx mmxext mng motif mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg msn musepack musicbrainz mysql ncurses network nls nntp nptl nptlonly nvidia oav objc offensive ogg oggvorbis opengl pam pcre pdflib perl php png posix ppds pthreads python qt quicktime readline real rtc rtsp ruby samba scanner sdl session sharedmem silc sndfile sockets socks5 spell sse sse2 sse3 ssl stream svg tabs tcltk tcpd tga theora threads tidy tiff truetype truetype-fonts trusted type1-fonts unicode usb userlocales utf8 v4l v4l2 visualization vorbis win32codecs wmf wxwindows xchat xcomposite xft xine xml xml2 xmlrpc xmms xosd xpm xrandr xscreensaver xsl xv xvid yahoo zeroconf zip zlib zsh elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_v4l"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS
Comment 1 Andrew Pogrebennyk 2006-03-03 13:21:31 UTC
*** Bug 124859 has been marked as a duplicate of this bug. ***
Comment 2 Thomas Cort (RETIRED) gentoo-dev 2006-03-03 18:27:01 UTC
Created attachment 81253 [details, diff]
quodlibet-0.18-gstcheck.patch

The access violation is because of the check for PyGSt in check.py. When it does the import, something in the library tries to access /root/.gstreamer-0.10.

This patch comments out the PyGSt check. This is okay because check.py doesn't do anything special, just aborts if you don't have the right deps. However, portage will make sure the proper PyGSt version is installed, so the check can be skipped.
Comment 3 Thomas Cort (RETIRED) gentoo-dev 2006-03-03 18:59:05 UTC
Created attachment 81254 [details, diff]
quodlibet-0.17.1-gstcheck.patch

same as attachment #81253 [details, diff], but for 0.17.1
Comment 4 Luis Medinas (RETIRED) gentoo-dev 2006-03-03 19:18:12 UTC
fixed in cvs using Thomas ugly patch until we stablize gst 0.10 or the upstream writes a nice makefile.
Comment 5 Zaheer Abbas Merali (RETIRED) gentoo-dev 2006-03-04 00:04:08 UTC
This is an awful way of solving it.

checking for gst-python obviously does an import gst which will run gst_init() which in turn will check how recent the registry is.   If the registry is not recent enough, it will rebuild it.  So in this bug's case it is rebuilding it.  Registry default location is ~/.gstreamer-0.10.  However it is overridable with an environment variable.

The correct fix should be setting that environment variable to somewhere sandbox has access to..Have a look at the flumotion 0.2.0 ebuild which can be used as an example or reference.
Comment 6 Luis Medinas (RETIRED) gentoo-dev 2006-03-04 08:56:47 UTC
yes it's an ugly fix(i only commited until i found a good solution it was a temporary fix) but it's now properly fixed on -r2.