Bug 49081 - gstreamer 0.8.1 failes to register plugins
Bug#: 49081 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: Lovechild@foolclan.com
Component: GNOME
URL: 
Summary: gstreamer 0.8.1 failes to register plugins
Keywords:  
Status Whiteboard: 
Opened: 2004-04-26 16:08 0000
Description:   Opened: 2004-04-26 16:08 0000
gst-register-0.8 gives the following output:

rebuilding global_registry (/var/lib/cache/gstreamer-0.8/registry.xml)
rebuilding user_registry (/root/.gstreamer-0.8/registry.xml)
loaded 0 plugins with 0 features

making all gstreamer applications unable to utilise the framework.

/var/lib/cache/gstreamer-0.8/registry.xml correctly shows /usr/lib/gstreamer-0.8/ as the placeholder for plugins, but it seems they are not loaded.

Reproducible: Always
Steps to Reproduce:
1. emerge gstreamer
2. gst-register-0.8




Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5)
=================================================================
System uname: 2.6.5-speedy3 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://212.219.247.20/sites/www.ibiblio.org/gentoo/
http://212.219.247.10/sites/www.ibiblio.org/gentoo/
http://212.219.247.21/sites/www.ibiblio.org/gentoo/
http://212.219.247.14/sites/www.ibiblio.org/gentoo/
http://212.219.247.13/sites/www.ibiblio.org/gentoo/"
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 alsa apm avi berkdb bindist crypt doc encode esd flac foomaticdb
gdbm gif gnome gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod mmx motif
moznocompose moznoirc moznomail mpeg ncurses nls nptl oggvorbis opengl oss pam
pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcpd
truetype x86 xml2 xv xvid zlib"

------- Comment #1 From foser (RETIRED) 2004-05-01 04:37:28 0000 -------
there are plugins available ? any output if you run the command by hand ?

In your case i'm actually thinking you messed up your system somehow beyond our control.

------- Comment #2 From ak 2004-05-11 06:03:27 0000 -------
Recently faced the same problem, it used to work, but stopped at some point.
Plugins are in /usr/lib/gstreamer-0.8/, gst versions:
[ebuild   R   ] media-libs/gstreamer-0.8.1   0 kB
[ebuild   R   ] media-libs/gst-plugins-0.8.1  +alsa +esd +oss  0 kB

gst-register-0.8 gives:
rebuilding global_registry (/var/lib/cache/gstreamer-0.8/registry.xml)
rebuilding user_registry (/root/.gstreamer-0.8/registry.xml)
loaded 0 plugins with 0 features

There was thread in forums on the issue as well:  http://forums.gentoo.org/viewtopic.php?t=166591

------- Comment #3 From Eric Harney 2004-05-21 11:00:34 0000 -------
Getting the same thing here, right after a regular -u world upgrade to
gstreamer 0.8.1, didn't touch anything myself.

------- Comment #4 From Ed Catmur 2004-05-21 16:46:17 0000 -------
Does anyone who experiences this problem *not* use reiser4?

# gst-register-0.8
rebuilding global_registry (/var/lib/cache/gstreamer-0.8/registry.xml)
rebuilding user_registry (/root/.gstreamer-0.8/registry.xml)
loaded 0 plugins with 0 features
# cd /usr/lib/
# cp -a gstreamer-0.8/ /dev/shm/
# mount --bind /dev/shm/gstreamer-0.8/ gstreamer-0.8
# gst-register-0.8
rebuilding global_registry (/var/lib/cache/gstreamer-0.8/registry.xml)
added plugin ac3parse with 1 feature(s)
added plugin alaw with 2 feature(s)
added plugin alsa with 3 feature(s)
added plugin gstaudio with 0 feature(s)
...

------- Comment #5 From Eric Harney 2004-05-21 19:01:05 0000 -------
I'm using reiser4 here, and it turned out to be the problem for me.

------- Comment #6 From Sebastian Werner 2004-05-22 04:08:15 0000 -------
It's more general I think. All versions of gstreamer I tested (from 0.6.4 to
0.8.1) doesn't seem to work.

------- Comment #7 From Sander Sweers 2004-05-22 05:44:30 0000 -------
When using a reiserfs 3 partition this does not happen. Also people in the
forums have reported it works for ext2/3. If you want me to do some test let me
know.

------- Comment #8 From Sebastian Werner 2004-05-22 08:03:48 0000 -------
OK, I meaned it works not on reiser4 with any version of gstreamer.

------- Comment #9 From Yi Quang (RETIRED) 2004-05-23 18:18:15 0000 -------
Okay, I am not sure what we can do about this bug since it's reiser4 related,
all I can say is that it's probably not a good idea to use reiser4 as your main
partition yet.  

------- Comment #10 From Ed Catmur 2004-05-26 09:59:58 0000 -------
Analysis and patch at http://bugzilla.gnome.org/show_bug.cgi?id=142850#c11

------- Comment #11 From foser (RETIRED) 2004-05-26 16:06:04 0000 -------
teriffic work

------- Comment #12 From foser (RETIRED) 2004-07-11 10:47:46 0000 -------
better late than never, added the patch to gstreamer-0.8.3-r1 

thanks