Bug 165710

Summary: rpmbuild fails to find ia32e arch macros
Product: [Fedora] Fedora Reporter: Tim Fletcher <tim>
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED WONTFIX QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: ia32e   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-25 17:28:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tim Fletcher 2005-08-11 14:08:40 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.0.4-1.3.1 Firefox/1.0.4

Description of problem:
while trying to rebuild openvpn-2.0-1.rf.src.rpm on an ia32e host (install in 64bit mode) the rpm fails to build with the following error:

 RPM build errors:
    File must begin with "/": %{_initrddir}/openvpn

and running rpm --showrc | grep initrd doesn't show anything

This can be fixed by running the following command:

cd /usr/lib/rpm
ln -s x86_64-linux ia32e-linux

rpm --showrc and the rpmbuild command works as expected.

I'm not sure that this is the correct fix but it "Works for me" tm

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

How reproducible:
Always

Steps to Reproduce:
1. Install ia32e host in 64bit mode (bare install)
2. Install rpmbuild 
3. Try to build openvpn rpm
  

Actual Results:  rpmbuild failed

Expected Results:  an openvpn binary rpm

Additional info:

Comment 1 Jeff Johnson 2005-08-25 17:28:10 UTC
For *.rpm purposes, the arch is "x86_64", not "ia32e".