[rudder-dev] rpath issues when building rudder-agent rpm

Nicolas Charles nicolas.charles at normation.com
Fri Jul 13 18:16:03 CEST 2012


On 13/07/2012 13:16, Michael Gliwinski wrote:
> On Monday 09 Jul 2012 22:04:17 Michael Gliwinski wrote:
>> Just wanted to check, I'm running into issue with RPM check-rpaths
>> complaining about CFEngine binaries and some perl libraries when building
>> the rudder-agent RPM.  I'm attaching a file with the error output.
> OK, so the error 0001 was due to using wrong CFEngine version.  However I'm
> still getting the error 0020:
>
> ERROR   0020: file '/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-
> multi/auto/DB_File/DB_File.so' contains an rpath referencing '..' of an
> absolute path [/usr/lib/../lib64]
> ERROR   0020: file '/opt/rudder/lib/perl5/5.12.4/x86_64-linux-thread-
> multi/auto/Time/HiRes/HiRes.so' contains an rpath referencing '..' of an
> absolute path [/lib/../lib64]
> error: Bad exit status from /var/tmp/rpm-tmp.voyNAx (%install)
>
> Workaround `QA_RPATHS=$[ 0x0020 ] rpmbuild -ba SPECS/rudder-agent.spec`
> appears to work.
>
Hi Michael !

Thanks for the reports and the workaround.

Just a quick work, it seems you are building from the Master branch, 
which is not the stable one (at least, not until next week), and so you 
encounter every possible bugs that we haven't found yet (which is great 
for us, but probably not so great for you if it's not what you are 
expecting)

Thank you !
Nicolas


More information about the rudder-dev mailing list