First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 65900
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gstreamer Herd <gstreamer@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ian Abbott <ian@abbott.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 65900 depends on: Show dependency tree
Bug 65900 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-09-30 03:52 0000
I have USE="gtk2 doc" in my /etc/make.conf.  When I emerge the current version
of gstreamer (0.8.5, but I haven't tried building older versions with
USE="doc"), the emerge fails due to sandbox access violations.

Extracts from the emerge output:

creating gstreamer-scan
ACCESS DENIED  mkdir:     /root/.gstreamer-0.8
ACCESS DENIED  mkdir:     /root/.gstreamer-0.8

creating gstreamer-libs-scan
ACCESS DENIED  mkdir:     /root/.gstreamer-0.8
ACCESS DENIED  mkdir:     /root/.gstreamer-0.8


Reproducible: Always
Steps to Reproduce:
1. USE="doc" emerge gstreamer

Actual Results:  
Emerge fails and an access violation summary log is created, containing the
"mkdir:" lines mentioned above.


Portage 2.0.51_rc1 (default-x86-1.4, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.9-rc2 i686)
=================================================================
System uname: 2.6.9-rc2 i686 AMD Duron(tm) processor
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.22,sys-kernel/linux-headers-2.4.19-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
DISTDIR="/work/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo
http://gentoo.osuosl.org/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
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="X alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups doc encode
esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kde
libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss
pam
pdflib perl png python qt quicktime readline scanner sdl slang spell ssl svga
tcltk tcpd truetype x86 xml2 xmms xprint xv zlib video_cards_radeon
linguas_en_GB"

------- Comment #1 From Zaheer Abbas Merali (RETIRED) 2004-10-22 02:49:46 0000 -------
Sorry cannot reproduce with gstreamer-0.8.7, please try with 0.8.7.

------- Comment #2 From foser (RETIRED) 2004-10-22 03:09:55 0000 -------
well, it may be some odd sort of behaviour when there is no writable registry
in /var and falls back, but it may be hard to figure out the right conditions.

------- Comment #3 From Ian Abbott 2004-10-22 04:11:13 0000 -------
I emerged 0.8.7 okay with the same USE flags "gtk2 doc" so I guess something
got fixed.

The only odd thing I noticed was at the end of the emerge process:

>>> original instance of package unmerged safely.
Rebuilding global_registry (/var/lib/cache/gstreamer-0.8/registry.xml) ...
Added plugin alsa with 3 features.
Added plugin y4menc with 1 feature.
[...]
Added plugin avi with 2 features.
Rebuilding user_registry (/root/.gstreamer-0.8/registry.xml) ...
Loaded 107 plugins with 203 features.
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
>>> media-libs/gstreamer-0.8.7 merged.

I'm not sure what that "Rebuilding user_registry" is all about.  I don't think
I generally use gstreamer as user root, though obviously I install it as user
root.

------- Comment #4 From Matt T. Proud 2004-10-22 07:15:05 0000 -------
Hi, I can confirm that this happens for me using gstreamer-0.8.7.
tux ~ # emerge info
Portage 2.0.51 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.4.20041006-r0, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.40GHz
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/local/bmg-gnome-current"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib accessibility acpi aim alsa apm audiofile avi bcmath berkdb bitmap-fonts bmp bonobo bootsplash bzlib calendar cdr crypt cups curl dga divx4linux doc dvd dvdr emacs emacs-w3 encode esd evo exif f77 fam fbcon flac flash foomaticdb ftp gdbm ggi gif gnome gnutls gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib innodb jabber jpeg kerberos libg++ libwww mad mbox mcal mikmod mime ming mmap mmx mng motif mozilla mpeg mysql nas ncurses nls offensive oggvorbis openal opengl oscar oss pam pcmcia pcre pda pdflib perl png pnp posix ppds python quicktime readline recode samba scanner sdl session slang speex spell sse ssl svg svga tcpd tetex theora tidy tiff truetype unicode usb x86 xine xinerama xml xml2 xmms xpm xprint xv xvid zlib"

tux ~ # less /tmp/sandbox-media-libs_-_gstreamer-0.8.7-9281.log
mkdir:     /root/.gstreamer-0.8
mkdir:     /root/.gstreamer-0.8
mkdir:     /root/.gstreamer-0.8
mkdir:     /root/.gstreamer-0.8

------- Comment #5 From Matt T. Proud 2004-10-22 09:41:23 0000 -------
Actually, here is some additional information from the emerge.

make[4]: *** [libgstreamer_0.8_la-gstpluginfeature.lo] Error 1
ACCESS DENIED  open_wr:   /.deps
cc1: Permission denied: opening dependency file .deps/libgstreamer_0.8_la-gstpad.Tpo
ACCESS DENIED  unlink:    /.deps
rm: cannot remove `.deps/libgstreamer_0.8_la-gstpad.Tpo': Permission denied
make[4]: *** [libgstreamer_0.8_la-gstpad.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gstreamer-0.8.7/work/gstreamer-0.8.7/gst'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gstreamer-0.8.7/work/gstreamer-0.8.7/gst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gstreamer-0.8.7/work/gstreamer-0.8.7'
make: *** [all] Error 2

!!! ERROR: media-libs/gstreamer-0.8.7 failed.
!!! Function src_compile, Line 63, Exitcode 2
!!! compile failed
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-media-libs_-_gstreamer-0.8.7-22185.log"

unlink:    /libgstreamer_0.8_la-gstplugin.o
unlink:    /.libs
unlink:    /libgstreamer_0.8_la-gstplugin.lo
unlink:    /libgstreamer_0.8_la-gstplugin.loT
unlink:    /libgstreamer_0.8_la-gstplugin.lo
unlink:    /libgstreamer_0.8_la-gstplugin.loT
open_wr:   /libgstreamer_0.8_la-gstplugin.loT
mkdir:     /.libs
unlink:    /.deps
open_wr:   /.deps
unlink:    /.deps
open_wr:   /.deps
unlink:    /.deps
--------------------------------------------------------------------------------


------- Comment #6 From Ivan Yosifov 2004-10-26 13:18:09 0000 -------
gentoo gstreamer # cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -fforce-addr -falign-functions=4"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo"
MAKEOPTS="-j2"
USE="-oss -apm -cups -xmms -xprint java alsa doc nptlonly nptl cdr"
ALSA_CARDS="snd-intel8x0"
#FEATURES="candy maketest"
FORCE_JAVA=yes

gentoo gstreamer # emerge gstreamer (gstreamer-0.8.7 is unmasked)
...
ACCESS DENIED  mkdir:     /root/.gstreamer-0.8
ACCESS DENIED  mkdir:     /root/.gstreamer-0.8
...
ACCESS DENIED  mkdir:     /root/.gstreamer-0.8
ACCESS DENIED  mkdir:     /root/.gstreamer-0.8
...
ACCESS DENIED  mkdir:     /root/.gstreamer-0.8
ACCESS DENIED  mkdir:     /root/.gstreamer-0.8
...
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-media-libs_-_gstreamer-0.8.7-5099.log"

mkdir:     /root/.gstreamer-0.8
mkdir:     /root/.gstreamer-0.8
mkdir:     /root/.gstreamer-0.8
mkdir:     /root/.gstreamer-0.8
--------------------------------------------------------------------------------


IMO this is a MAJOR bug , since it is blocking gnome 2.8.

------- Comment #7 From Ivan Yosifov 2004-10-26 14:04:19 0000 -------
Tried emergind with -doc for gstreamer. Works fine.

------- Comment #8 From Clampinus 2004-10-30 06:05:02 0000 -------
I have the same problem doing an emerge world. Probably a dependence to gnome.
I tried masking 0.8.5 to use 0.8.3-r1 instead. Same problem (mkdir /root/.gstreamer-0.8).

I have no clue where this comes from though.
Here is my emerge info, though you'll notice my use flag is huuuuge :

~ # emerge info
Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/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/mozilla/defaults/pref /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="-pipe -O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://212.219.56.146/sites/www.ibiblio.org/gentoo/ http://mir.zyrianes.net/gentoo/ http://src.gentoo.pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib alsa apm arts atm avi berkdb bitmap-fonts bonobo cdr crypt cups curl dga directfb doc dvd encode esd esnd f77 fbcon flac flash foomaticdb gdbm ggi gif gnome gpm gtk gtk2 gtkhtml imagemagick imlib java joystick jpeg kde lcms libg++
libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss palm pam pda pdflib perl png ppds python qt quicktime
readline samba scanner sdl slang slp spell ssl svga tcpd tetex tiff truetype usb videos wmf x86 xml2 xmms xprint xv zlib video_cards_nvidia"

------- Comment #9 From Clampinus 2004-10-30 07:10:03 0000 -------
As mentioned, removing the doc use-flag removes the problem. I emerged the
package with USE=-doc and it built fine. I will live with that, bye bye
--newuse on emerge world for the time being...

------- Comment #10 From Tiago Scolari 2004-10-31 18:01:30 0000 -------
Im trying to emerge gstreamer 8.5 too and im receiving the same error:

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-media-libs_-_gstreamer-0.8.5-9526.log"

mkdir:     /root/.gstreamer-0.8
mkdir:     /root/.gstreamer-0.8
mkdir:     /root/.gstreamer-0.8
mkdir:     /root/.gstreamer-0.8
-------------------------------------------------------------------------------- 

My USE var is a litle big, but im using doc on it too.

------- Comment #11 From foser (RETIRED) 2004-11-02 15:06:22 0000 -------
added an addpredict for root, this should keep this from happening for now.

I'd like someone to look into this & fix it in a cleaner way if possible.

First Last Prev Next    No search results available      Search page      Enter new bug