Bug 984929 - linking error when rebuilding openhpi
Summary: linking error when rebuilding openhpi
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: openhpi
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Dan Horák
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-16 11:48 UTC by Martin Kyral
Modified: 2013-07-16 11:59 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-16 11:59:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Martin Kyral 2013-07-16 11:48:00 UTC
Description of problem:
Linker tries to link with /usr/lib64/perl5/5.8.8/ppc64-linux-thread-multi/auto/DynaLoader/DynaLoader.a which is not present at the system even when all the build requirements are installed. It seems that it just searches in the wrong path - the library is located in /usr/lib/perl5/5.8.8/ppc-linux-thread-multi/auto/DynaLoader/DynaLoader.a on RHEL5 ppc (ppc64 is not supported by RHEL5).

Version-Release number of selected component (if applicable):
openhpi-2.14.0-5.el5

How reproducible:
Always

Steps to Reproduce:
1. install build deps of openhpi-2.14.0-5.el5
2. cd /usr/src/redhat
3. rpmbuild -bb SPECS/openhpi.spec

Actual results:
gcc: /usr/lib64/perl5/5.8.8/ppc64-linux-thread-multi/auto/DynaLoader/DynaLoader.a: No such file or directory
make[4]: *** [hpiSubagent] Error 1

build fails

Expected results:
binary packages are built

Additional info:

Comment 1 Dan Horák 2013-07-16 11:59:15 UTC
Please do rebuilding as done in brew, in a mock created chroot. Your build environment likely mixes 32 and 64 bit packages, which is completely legal in ppc, but can lead to unwanted results.


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