Bug 432571 - RPM install scriptlet buggy...
Summary: RPM install scriptlet buggy...
Keywords:
Status: CLOSED DUPLICATE of bug 433063
Alias: None
Product: Fedora
Classification: Fedora
Component: beagle
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: David Nielsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-12 23:13 UTC by Valdis Kletnieks
Modified: 2008-02-18 06:40 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-02-17 17:27:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Valdis Kletnieks 2008-02-12 23:13:48 UTC
Description of problem:
During a 'yum update', the following error got reported:

  Updating  : beagle                       ##################### [101/421] 
/usr/src/redhat/tmp/rpm-tmp.66648: line 11: cd:
/usr/lib64/xulrunner-1.9pre/extensions: No such file or directory

I'm looking at the xulrunner RPM, and not seeing where it either contains the
'extensions' directory nor where the install scriptlets for xulrunner create it,
so relying on the value of $ffdir/extensions existing seems a bit hazardous.

And the unprotected 'cd', when it fails, also explains why I have a directory
called '/{fda00e13-8c62-4f63-9d19-d168115b11ca}' with beagle crap in it in the
'/' root directory.

Version-Release number of selected component (if applicable):
beagle-0.3.3-1.fc9.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Valdis Kletnieks 2008-02-12 23:19:00 UTC
% rpm -qlp xulrunner-1.9-0.beta2.18.nightly20080210.fc9.x86_64.rpm | grep exten
/etc/skel/.mozilla/extensions
/usr/lib64/mozilla/extensions
/usr/lib64/xulrunner-1.9pre/components/extensions.xpt
/usr/share/mozilla/extensions

while /etc/gre.d/gre.conf says GRE_PATH=/usr/lib64/xulrunner-1.9pre - so as far
as I can tell, xulrunner wants *ITS* path, and a separate
/usr/lib64/mozilla/extensions directory, and beagle is conflating the two...

Comment 2 Adel Gadllah 2008-02-17 17:27:12 UTC

*** This bug has been marked as a duplicate of 433063 ***

Comment 3 Adel Gadllah 2008-02-17 17:53:19 UTC
There are some problems with this tried to apply as is but the build failed
because nobody created the
$RPM_BUILD_ROOT%{_libdir}/xulrunner/extensions/%{firefox_app_id}/ 
A mkdir -p would fix this but looking further it seems that
%{_libdir}/xulrunner/ is versioned so just installing in there seems to be
incorrect (does firefox/xulrunner even look into this directory?). And nobody
seems to own this directory seems wrong too ...

Comment 4 Christopher Aillon 2008-02-18 06:40:56 UTC
Sorry, it should have been
$RPM_BUILD_ROOT%{_libdir}/mozilla/extensions/%{firefox_app_id}/


Note You need to log in before you can comment on or make changes to this bug.