Hi Brice,

I have upgraded to Fedora 18 recently and I see following when building
hwloc rpm:

ERROR   0001: file '/usr/bin/lstopo-no-graphics' contains a standard rpath
'/usr/lib64' in [/usr/lib64]
ERROR   0001: file '/usr/bin/lstopo' contains a standard rpath '/usr/lib64'
in [/usr/lib64]
ERROR   0001: file '/usr/bin/hwloc-distances' contains a standard rpath
'/usr/lib64' in [/usr/lib64]
ERROR   0001: file '/usr/bin/hwloc-distrib' contains a standard rpath
'/usr/lib64' in [/usr/lib64]
ERROR   0001: file '/usr/bin/hwloc-calc' contains a standard rpath
'/usr/lib64' in [/usr/lib64]
ERROR   0001: file '/usr/bin/hwloc-annotate' contains a standard rpath
'/usr/lib64' in [/usr/lib64]
ERROR   0001: file '/usr/bin/hwloc-bind' contains a standard rpath
'/usr/lib64' in [/usr/lib64]
ERROR   0001: file '/usr/bin/hwloc-ps' contains a standard rpath
'/usr/lib64' in [/usr/lib64]
ERROR   0001: file '/usr/bin/hwloc-assembler' contains a standard rpath
'/usr/lib64' in [/usr/lib64]
error: Bad exit status from /var/tmp/rpm-tmp.6Uu2Z4 (%install)

*    0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor
*               issue but are introducing redundant searchpaths without
*               providing a benefit. They can also cause errors in multilib
*               environments.

RPATH is not allowed to be in binary files in RPM:

https://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath

I have tried to eliminate rpath by using methods described here:

https://fedoraproject.org/wiki/Packaging:Guidelines#Removing_Rpath


   - If the application uses configure, try passing the
*--disable-rpath*flag to configure. => it's not supported in the
current version of hwloc
   - If the application uses a local copy of libtool, add the following
   lines to the spec after %configure:=> it will make tests FAIL (without this
   change, it runs just fine - all tests are PASSED)

FAIL: test-hwloc-annotate.sh
FAIL: test-hwloc-assembler.sh
PASS: test-hwloc-calc.sh
PASS: test-hwloc-distances.sh
PASS: test-hwloc-distrib.sh
FAIL: test-hwloc-info.sh

Log file is attached.

Do you have any idea what's going on? Could you enhance ./configure to
add *--disable-rpath
*feature?*
*
Thanks a lot!
Jirka*
*

Attachment: test-suite.log
Description: Binary data

Reply via email to