Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120186 - Emerging gst-plugins-* fails on NFS root
Summary: Emerging gst-plugins-* fails on NFS root
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GStreamer package maintainers
Depends on:
Reported: 2006-01-24 07:29 UTC by Bruce Guenter
Modified: 2006-09-11 10:32 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Bruce Guenter 2006-01-24 07:29:03 UTC
Doing "emerge gst-plugins-lame" (as well as every other gst-plugins package) fails after the package is merged with the following error report:

Added plugin matroska with 2 features.
Rebuilding user_registry (/root/.gstreamer-0.8/registry.xml) ...
Loaded 123 plugins with 255 features.
>>> Regenerating /etc/
>>> media-plugins/gst-plugins-lame-0.8.11 merged.
Traceback (most recent call last):
  File "/usr/bin/emerge", line 3228, in ?
  File "/usr/bin/emerge", line 1954, in merge
  File "/usr/lib/portage/pym/", line 2505, in doebuild
  File "/usr/lib/python2.4/", line 163, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib/python2.4/", line 163, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib/python2.4/", line 168, in rmtree
    onerror(os.remove, fullname, sys.exc_info())
  File "/usr/lib/python2.4/", line 166, in rmtree
OSError: [Errno 16] Device or resource busy: '/var/tmp/portage/gst-plugins-lame-0.8.11/temp/gconfd-root/lock/.nfs0036a2bd00009bc9'

With NFS root systems, this is an indication that some program that is still running has a file open in the directory /var/tmp/portage/gst-plugins-lame-0.8.11/temp/gconfd-root/lock/  From the name of the directory, I would have to assume something started up gconfd during the plugin registration process.

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
System uname: 2.6.14-gentoo-r5 i686 mobile AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.6.14
dev-lang/python:     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.22
virtual/os-headers:  2.6.11-r2
CFLAGS="-march=i686 -mtune=athlon -O3 -fomit-frame-pointer -pipe"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/local/clockspeed/etc /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 /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -mtune=athlon -O3 -fomit-frame-pointer -pipe"
FEATURES="autoconfig collision-protect digest distlocks notitles sandbox sfperms strict userpriv usersandbox"
PORTDIR_OVERLAY="/home/bruce/portage /home/bruce/FutureQuest/portage"
USE="x86 16bit 3dnow 3dnowext 7zip X aalib adns alsa apache2 asf avi bash-completion berkdb bitmap-fonts bonobo c++ cairo cdr chroot cpdflib crypt cscope css ctype cups curl curlwrappers dbus dga dillo divx4linux djbfft doc dvd dvdr dvdread edl emacs encode ethereal evo examples exif flac fluidsynth font-server foomaticdb gcj gdbm gif gimp gimpprint glitz gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hbci imap imlib imlib2 innodb ipv6 jack java jikes jpeg jpeg2k justify kde ladcca ladspa ldap mad maildir matroska matrox mbox memlimit mime mmx mng mozilla moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mp3 mpeg mplayer mysql ncurses nfs nls nptl nptlonly ntfs oggvorbis opengl oss pam pcre pda pdf pdflib perl plotutils png posix postgres postgresql ppds python qmail qt quicktime readline real reiserfs samba sdl sendfile shared sharedmem skey slang smime soap sockets sox spell sse ssl svg symlink tabs tcltk tcpd tetex tiff truetype truetype-fonts type1 type1-fonts unicode utf8 uudeview v4l v4l2 vorbis vpopmail win32codecs wmf xchattext xml xml2 xmms xpm xprint xscreensaver xv xvid xvmc zeroconf zlib userland_GNU kernel_linux elibc_glibc"
Comment 1 Bruce Guenter 2006-01-24 11:29:09 UTC
I have confirmed that the gst-register-${SLOT} step produces the problems.  When I "strace -f" gst-register, strace itself waits for gconfd-2 to exit (there is a 30 second timeout), but the emerge proceeds normally after completion with no errors.
Comment 2 Zaheer Abbas Merali (RETIRED) gentoo-dev 2006-02-03 11:23:33 UTC
This is probably because there are plugins for gconfaudiosink and gconfvideosink etc. which are registered when running gst-register

How can we help alleviate this problem?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-10 00:32:49 UTC
(In reply to comment #2)
> This is probably because there are plugins for gconfaudiosink and
> gconfvideosink etc. which are registered when running gst-register
> How can we help alleviate this problem?

Kill the process in the ebuild or mark this CANTFIX. ;) 

Comment 4 Zaheer Abbas Merali (RETIRED) gentoo-dev 2006-09-11 10:32:21 UTC
This is not a bug on GStreamer 0.10 so marking as wontfix.