Bug 115647

Summary: Error in gstreamer post-install scriptlet
Product: [Fedora] Fedora Reporter: Bob Arendt <rda>
Component: gstreamerAssignee: Colin Walters <walters>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-02-14 18:51:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bob Arendt 2004-02-14 05:14:45 UTC
The gstreamer postinstall scriptlet fails during installation:

   2:gstreamer             
########################################### [ 40%]
error: %post(gstreamer-0.7.3-3) scriptlet failed, exit status 127

Version info:
   % rpm -q gstreamer
   gstreamer-0.7.3-3

The postinstall scriptlet:
  % rpm -q --scripts gstreamer
  postinstall scriptlet (using /bin/sh):
  /sbin/ldconfig
  env DISPLAY= /usr/bin/gst-register --gst-mask=0 > /dev/null 2> /dev/null
  postuninstall program: /sbin/ldconfig

The postinstall scriptlet looks strange.  gst-register is actually
installed as "gst-register-0.7" and the argument has changed.

I believe the following works to establish the gstreamer registry:
  /usr/bin/gst-register-0.7 --gst-plugin-spew

Comment 1 Bob Arendt 2004-02-14 17:39:04 UTC
*** Bug 115645 has been marked as a duplicate of this bug. ***

Comment 2 Bob Arendt 2004-02-14 17:39:32 UTC
*** Bug 115646 has been marked as a duplicate of this bug. ***

Comment 3 Bob Arendt 2004-02-14 18:51:50 UTC
Looks like it's been fixed in development (rawhide?) tree:

% rpm -q --scripts gstreamer-plugins
postinstall scriptlet (using /bin/sh):
/sbin/ldconfig
env DISPLAY= /usr/bin/gst-register-0.7 >/dev/null 2>&1
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="gstreamer.schemas"
for S in $SCHEMAS; do 
  gconftool-2 --makefile-install-rule /etc/gconf/schemas/$S > /dev/null
done
postuninstall scriptlet (using /bin/sh):
/sbin/ldconfig
env DISPLAY= /usr/bin/gst-register-0.7 >/dev/null 2>&1