Bug 69366 - can't build binutils-
Summary: can't build binutils-
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm (Show other bugs)
(Show other bugs)
Version: 1.0
Hardware: i686 Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
Depends On:
Blocks: 67217
TreeView+ depends on / blocked
Reported: 2002-07-22 14:33 UTC by Fortepianissimo
Modified: 2008-05-01 15:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-07-30 03:19:01 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

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:

Steps to Reproduce:
1.rpmbuild --rebuild binutils-
2.stopped with errors

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
+ 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:


(I installed binutils- 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- 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.

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