Bug 149457 - update-gtk-immodules fails in %post
update-gtk-immodules fails in %post
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gnome-utils (Show other bugs)
4.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ray Strode [halfline]
desktop-bugs@redhat.com
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-02-23 05:49 EST by Andreas Thienemann
Modified: 2012-06-20 11:58 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-20 11:58:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andreas Thienemann 2005-02-23 05:49:46 EST
Installing gnome-utils-2.8.0-5 results in the following error to appear in the
%post script:

/usr/bin/update-gtk-immodules: line 27:
/etc/gtk-2.0/i386-redhat-linux-gnu/gtk.immodules: No such file or directory

This comes from the fact that /etc/gtk-2.0/i386-redhat-linux-gnu/ does not exist
on my system but /etc/gtk-2.0/i686-redhat-linux-gnu/ does.

A bit of googleing turned up the thread at
https://www.redhat.com/archives/fedora-devel-list/2004-June/msg00987.html, which
does talk about this problem.
Specifically
https://www.redhat.com/archives/fedora-devel-list/2004-June/msg01043.html and
https://www.redhat.com/archives/fedora-devel-list/2004-June/msg01045.html from
Dan Williams do explain the problem.

I thought this was fixed for Fedora, shouldn't this be true for RHEL4 as well?
Comment 1 Andreas Thienemann 2005-02-23 06:03:30 EST
A bit of looking through the specfiles shows the following mismatch:

The gtk2 specfile gets the directory name by taking the %{_host} variable into
account:

# Deriving /etc/gtk-2.0/$host location
# NOTE: Duplicated below
#
# autoconf changes linux to linux-gnu
case "%{_host}" in
  *linux) host="%{_host}-gnu"
  ;;
  *) host="%{_host}"
  ;;
esac

This results in /etc/gtk-2.0/i686-redhat-linux-gnu/ being created.

The gnome-utils (and other packages as well) gain the same data by callling:
concatting: %{_arch}-%{_host_vendor}-%{_host_os}

%{_arch} however is i386 while %{_host} is i686, thus the error occurs.

Comment 2 Jiri Pallich 2012-06-20 11:58:46 EDT
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. 
Please See https://access.redhat.com/support/policy/updates/errata/

If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.

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