Bug 182679 - Beagle trigger incorrect on ppc64
Summary: Beagle trigger incorrect on ppc64
Alias: None
Product: Fedora
Classification: Fedora
Component: beagle
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Alexander Larsson
QA Contact:
: 182569 (view as bug list)
Depends On:
Blocks: FC5Blocker
TreeView+ depends on / blocked
Reported: 2006-02-23 22:52 UTC by Paul Nasrat
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-03-01 15:29:26 UTC
Type: ---

Attachments (Terms of Use)

Description Paul Nasrat 2006-02-23 22:52:52 UTC
Description of problem:

Updating: beagle
/var/tmp/rpm/rpm-tpm.97919: line 8: cd: /usr/lib64/firefox-
No such file or directory

Version-Release number of selected component (if applicable):


How reproducible:

Steps to Reproduce:
1. Install beagle (assuming firefox installed) on a ppc64 box
Actual results:

Trigger fails

Expected results:

Trigger works

Additional info:

You can not assume the presence of lib64 indicates that that is the primary
arch, this is untrue on big-endian 64bit systems (ppc64, sparc64) which run the
32 bit arch as the primary arch.  The trigger is completely incorrect for these

Comment 1 Matthias Clasen 2006-02-24 04:10:35 UTC
Hmm, I could do 

if [ -d /usr/lib64/firefox-$latest/extensions ]; then

Or can I use %{_libdir} in a trigger ?  That would be nicer.

Comment 2 Matthias Clasen 2006-02-24 05:22:58 UTC
*** Bug 182569 has been marked as a duplicate of this bug. ***

Comment 3 Matthias Clasen 2006-02-24 06:48:05 UTC
I tried to make the trigger more robust, can you try again, Paul ?

Comment 4 Matthias Clasen 2006-03-01 14:55:23 UTC
Paul, any luck ?

Warren, did you want to take a stab at improving the trigger ?

Comment 5 Paul Nasrat 2006-03-01 15:29:26 UTC
Yes the trigger no longer fails on the G5.

Comment 6 Warren Togami 2006-03-01 21:27:17 UTC
I still want to rewrite the entire %post and %trigger because this leaves behind
files and is untracked by RPM.  This is a clean way of doing this.

Comment 7 Warren Togami 2006-03-01 21:27:47 UTC
Er, I mean there is a clean way of doing this.

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