Bug 984929 - linking error when rebuilding openhpi
linking error when rebuilding openhpi
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: openhpi (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Dan Horák
Depends On:
  Show dependency treegraph
Reported: 2013-07-16 07:48 EDT by Martin Kyral
Modified: 2013-07-16 07:59 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-07-16 07:59:15 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Martin Kyral 2013-07-16 07:48:00 EDT
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):

How reproducible:

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 07:59:15 EDT
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.