Bug 191798 - definition of %{_host} and co different in beehive and stock RPM
definition of %{_host} and co different in beehive and stock RPM
Product: Fedora
Classification: Fedora
Component: distribution (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 2006-05-15 16:51 EDT by Roozbeh Pournader
Modified: 2014-03-16 22:59 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-07-31 12:01:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Roozbeh Pournader 2006-05-15 16:51:17 EDT
Description of problem:
The definition of the macro %{_host} is different in beehive and RPM as shipped
in Fedora Core. For i386, the beehive definition is i386-redhat-linux-gnu, while
in FC's rpm it is i686-redhat-linux-gn

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

How reproducible:

Steps to Reproduce:
1. rpm --rebuild a package that uses %{_host} (e.g. gtk2).
2. Compare with stable's or Rawhide's version of the same package.
Actual results:
The will be different in some way. For the case of gtk2, the rebuilt package
will contain a directory named /etc/gtk-2.0/i686-redhat-linux-gnu while FC's RPM
will have /etc/gtk-2.0/i386-redhat-linux-gnu

Expected results:
They should produce the same results.

Additional info:
This results in broken functionality when packages assume that the definition of
%{_host} is the same everywhere and result in unexpeted things. On my machine
with a rebuilt gtk2, this resulted in breaking librsvg2 and libwmf's %post
scripts which resulted in gnome-games not working.

bug 143950 and bug 143547 are also related to this.

FarsiWeb's internal reference:
farsiweb #287, originally reported by Reza Mohammadi and Hessam M. Armandehi,
fix by Roozbeh Pournader
Comment 1 Bill Nottingham 2006-05-16 16:24:37 EDT
Is redhat-rpm-config installed in both cases?
Comment 2 Roozbeh Pournader 2006-05-17 06:34:08 EDT
I(In reply to comment #1)
> Is redhat-rpm-config installed in both cases?

I really have no clue about beehive, but redhat-rpm-config was/is installed on
the box that I tested rpm --rebuild on.
Comment 3 Bill Nottingham 2006-05-17 16:16:00 EDT
Assigning to beehive guru, CC'ing plague and brew gurus.
Comment 4 Bill Nottingham 2006-07-25 21:12:29 EDT
Is this still the case with current packages?
Comment 5 Roozbeh Pournader 2006-07-29 08:54:14 EDT
I think it only happens with beehive. Latest rawhide gtk2 package
(gtk2-2.10.1-1) that is built with brew (?) uses i686, which is the same
definitions shipped with rpm.
Comment 6 Bill Nottingham 2006-07-31 12:01:31 EDT
OK, closing, as beehive is retired.

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