Bug 69366

Summary: can't build binutils-2.12.90.0.9-1.src.rpm
Product: [Retired] Red Hat Raw Hide Reporter: Fortepianissimo <fortepianissimo>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED DEFERRED QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: sopwith
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-07-30 03:19:01 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:
Bug Depends On:    
Bug Blocks: 67217    

Description Fortepianissimo 2002-07-22 14:33:32 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020626

Description of problem:
rebuild the src rpm on i686 platform failed with missing lib*.so* files

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


How reproducible:
Always

Steps to Reproduce:
1.rpmbuild --rebuild binutils-2.12.90.0.9-1.src.rpm
2.stopped with errors
3.

Actual Results:  error message:

... snipped ...
+ install -m 644 include/libiberty.h /var/tmp/binutils-root/usr/include
+ rm -f /var/tmp/binutils-root/usr/share/man/man1/dlltool.1
/var/tmp/binutils-root/usr/share/man/man1/nlmconv.1
/var/tmp/binutils-root/usr/share/man/man1/windres.1
+ chmod +x '/var/tmp/binutils-root/usr/lib/lib*.so*'
chmod: failed to get attributes of `/var/tmp/binutils-root/usr/lib/lib*.so*': No
such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.12411 (%install)


RPM build errors:
    InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID 897da07a
    Bad exit status from /var/tmp/rpm-tmp.12411 (%install)


Additional info:

my /etc/rpmrc:

buildarchtranslate:i686: i686

optflags: i686 -O6 -march=i686

Related packages:

rpm-4.1-0.51
gcc-3.1-9

(I installed binutils-2.12.90.0.9.i386.rpm before rebuilding and installing
gcc-3.1 i686 rpms)

Comment 1 Jakub Jelinek 2002-07-23 14:52:13 UTC
This is rpm problem.
It is passing
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i386-redhat-linux-gnu
in its %configure macro, which means all canadian-cross capable projects
think it is cross compiling.

Comment 2 Fortepianissimo 2002-07-30 03:18:54 UTC
binutils-2.12.90.0.15-1 src rpm built fine now (but from the changelog I guess
it's just a workaround?).

Comment 3 Jeff Johnson 2002-07-31 19:28:49 UTC
I'm gonna defer this until some better value
for the %configure default is suggested.