[rudder-dev] rpath issues when building rudder-agent rpm
Michael Gliwinski
Michael.Gliwinski at henderson-group.com
Fri Jul 13 13:16:24 CEST 2012
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.
**********************************************************************************************
The information in this email is confidential and may be legally privileged. It is intended solely for the addressee and access to the email by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail are subject to the terms and conditions expressed in the governing client engagement leter or contract.
If you have received this email in error please notify support at henderson-group.com
John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*********************************************************************************
More information about the rudder-dev
mailing list