This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 223355 - rpm in Intel x86_64 doesn't read /usr/lib/rpm/x86_64-linux/macros
rpm in Intel x86_64 doesn't read /usr/lib/rpm/x86_64-linux/macros
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Panu Matilainen
:
Depends On:
Blocks: FC7Target
  Show dependency treegraph
 
Reported: 2007-01-18 17:59 EST by Jesse Keating
Modified: 2013-01-09 21:34 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-08-28 07:03:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Jesse Keating 2007-01-18 17:59:13 EST
ARCHITECTURE AND OS:
build arch            : x86_64
compatible build archs: ia32e x86_64 noarch
build os              : Linux
compatible build os's : linux
install arch          : ia32e
install os            : Linux
compatible archs      : ia32e x86_64 athlon noarch amd64 i686 i586 i486 i386 fat
compatible os's       : linux

RPMRC VALUES:
macrofiles            :
/usr/lib/rpm/macros:/usr/lib/rpm/ia32e-linux/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/ia32e-linux/macros:~/.rpmmacros

If I change /etc/rpm/platform to read x86_64-linux rather than ia32e-linux, it
will then look in the right place:

ARCHITECTURE AND OS:
build arch            : x86_64
compatible build archs: x86_64 noarch
build os              : Linux
compatible build os's : linux
install arch          : x86_64
install os            : Linux
compatible archs      : x86_64 amd64 athlon noarch i686 i586 i486 i386 fat
compatible os's       : linux

RPMRC VALUES:
macrofiles            :
/usr/lib/rpm/macros:/usr/lib/rpm/x86_64-linux/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/x86_64-linux/macros:~/.rpmmacros

Jeremy thinks that ia32e-linux platform should still be looking in
x86_64-linux/macros for stuff.  We don't seem to provide an ia32e-linux/macros file.
Comment 1 Will Woods 2007-05-17 16:17:18 EDT
This seems to be unchanged in current rawhide - do we need this for release?
What happens if we fail to fix this?
Comment 2 Peter Gordon 2007-05-18 00:38:00 EDT
Will,

I may be missing something but it seems to me that this bug is not fixed in
recent rawhide. Though I find it a bit odd that my macrofiles setting now
references x86_64-linux directories instead of ia32e-linux:


ARCHITECTURE AND OS:
build arch            : x86_64
compatible build archs: ia32e x86_64 noarch
build os              : Linux
compatible build os's : linux
install arch          : ia32e
install os            : Linux
compatible archs      : ia32e x86_64 athlon noarch amd64 i686 i586 i486 i386 fat
compatible os's       : linux

RPMRC VALUES:
macrofiles            : /usr/lib/rpm/macros:/usr/lib/rpm/x86_64-linux/macros:/us
r/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/x86_64-linux/
macros:~/.rpmmacros


I have not altered /etc/rpm/platform from its default and the file still
contains a single line, reading "ia32e-redhat-linux".
Comment 3 Will Woods 2007-05-18 00:40:36 EDT
Same on my x86_64 machine(s) - I'm hoping Paul can help shed some light on
whether this needs fixing now or later. Paul?
Comment 4 Peter Gordon 2007-05-18 00:49:14 EDT
Oh wait a second, it seems that the bug was about the ia32e-linux platform not
looking in x86_64-linux/macros; but that is apparently fixed (?). 

Will, this does indeed seem to be fixed to the contrary of my earlier comment
#2; though I can't pin down exactly which E:V-R it was fixed in (if indeed it
was). Nothing in the %changelog seems to show a patch or fix applied. :|
Comment 5 Will Woods 2007-05-18 10:25:20 EDT
AFAIK this is not going to horribly break anyone's system, so we'll fix it with
an update soon after F7 is released.
Comment 6 Jeff Johnson 2007-05-18 13:33:36 EDT
The problem is fixed in the rpm-4.4.2-ia32e-install.patch which (appears) to
be first included in (these are cvs tags)
    rpm-4_4_2-27                    (revision: 1.1)
Comment 7 Gordon Messmer 2007-06-04 14:34:06 EDT
It does break the occasional spec, making it difficult for people to build
packages on x86 hosts.  For instance:
http://marc.info/?l=courier-users&m=117682266604494&w=2
Comment 8 Red Hat Bugzilla 2007-08-21 01:30:50 EDT
User pnasrat@redhat.com's account has been closed
Comment 9 Panu Matilainen 2007-08-22 02:34:30 EDT
Reassigning to owner after bugzilla made a mess, sorry about the noise...
Comment 10 Panu Matilainen 2007-08-28 07:03:43 EDT
Fixed in rpm-4.4.2.2(-rc1) in next rawhide push.

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