[torqueusers] building torque 2.3.0 RPM in SLES10SP1

Albino Aveleda bino at coc.ufrj.br
Mon Apr 7 06:23:12 MDT 2008


Hi,

I changed spec file, but I received the same error. Looking bellow:

+++
+ /usr/lib/rpm/brp-lib64-linux
sf at suse.de: if you find problems with this script, drop me a note
/var/tmp/torque-2.3.0-buildroot/usr/local/lib/libtorque.so.2.0.0:     
file format elf64-x86-64
/var/tmp/torque-2.3.0-buildroot/usr/local/lib/libtorque.so.2.0.0: 
should be in */lib64
error: Bad exit status from /var/tmp/rpm-tmp.62768 (%install)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.62768 (%install)

uranus:/usr/local/src/torque-2.3.0 # grep libdir torque.spec %define 
_libdir /usr/local/lib64
%{__rm} -vf $RPM_BUILD_ROOT/%pammoddir/pam_pbssimpleauth.{a,la} 
$RPM_BUILD_ROOT/%{_libdir}/*.la
%{_libdir}/libtorque*.so.*
%{_libdir}/xpbs
%{_libdir}/xpbsmon
%{_libdir}/libtorque*.a
%{_libdir}/libtorque*.so
%{_libdir}/libdrmaa.*

+++

I resolved the problem in the another way. I run the configure with my 
parameters and after that I run "rpmbuild -ba torque.spec" and it works.

Best regards,
Bibo


Quoting Chris Samuel <csamuel at vpac.org>:

>
> ----- "Albino Aveleda" <bino at coc.ufrj.br> wrote:
>
>> Hi,
>>
>> I am trying to build the torque 2.3.0 RPM, but I have a problem.
>> Bellow I show the end of output from "rpmbuild -ta torque-2.3.0.tar.gz"
>> command.
> [...]
>> + /usr/lib/rpm/brp-lib64-linux
>> sf at suse.de: if you find problems with this script, drop me a note
>> /var/tmp/torque-2.3.0-buildroot/usr/local/lib/libtorque.so.2.0.0:
>>
>> file format elf64-x86-64
>> /var/tmp/torque-2.3.0-buildroot/usr/local/lib/libtorque.so.2.0.0:
>> should be in */lib64
>> error: Bad exit status from /var/tmp/rpm-tmp.71331 (%install)
>
> Oops.. looks like Torque is falling fowl of SuSE's build root
> policy that says 64-bit libs should be in */lib64 and not */lib.
>
> You'll probably want to change the spec file in the
> tarball to specify:
>
> --libdir=/usr/local/lib64
>
> instead, and ask the Torque devs to fix configure
> to do that automagically on 64-bit builds.
>
> cheers,
> Chris



More information about the torqueusers mailing list