[torqueusers] rpmbuild fails to build torque rpm for libtorque.so

onceihave onceihave at 163.com
Wed Nov 12 19:00:34 MST 2008


Hi all:
I tried to compile torque rpm by rpmbuild on SLES10 SP2 x86_64, but failed with following errors:
 
LS21-08:/LTC/scheduler/torque-2.3.4 # rpmbuild -ba --target x86_64 torque.spec
..
make[1]: Leaving directory `/usr/src/packages/BUILD/torque-2.3.4'
+ env DESTDIR=/var/tmp/torque-2.3.4-buildroot sh ./buildutils/pbs_mkdirs common
+ '[' -f /etc/SuSE-release ']'
+ initpre=suse.
++ test yes == yes
++ echo pbs_sched pbs_server
+ serverinit='pbs_sched pbs_server'
++ test yes == yes
++ echo pbs_mom
+ mominit=pbs_mom
+ /bin/mkdir -p /var/tmp/torque-2.3.4-buildroot/etc/init.d
+ for initscript in '$serverinit' '$mominit'
+ /usr/bin/sed -e 's|^PBS_HOME=.*|PBS_HOME=/var/spool/torque|' -e 's|^PBS_DAEMON=.*|PBS_DAEMON=/usr/local/sbin/pbs_sched|'
+ /bin/chmod 755 /var/tmp/torque-2.3.4-buildroot/etc/init.d/pbs_sched
+ for initscript in '$serverinit' '$mominit'
+ /usr/bin/sed -e 's|^PBS_HOME=.*|PBS_HOME=/var/spool/torque|' -e 's|^PBS_DAEMON=.*|PBS_DAEMON=/usr/local/sbin/pbs_server|'
+ /bin/chmod 755 /var/tmp/torque-2.3.4-buildroot/etc/init.d/pbs_server
+ for initscript in '$serverinit' '$mominit'
+ /usr/bin/sed -e 's|^PBS_HOME=.*|PBS_HOME=/var/spool/torque|' -e 's|^PBS_DAEMON=.*|PBS_DAEMON=/usr/local/sbin/pbs_mom|'
+ /bin/chmod 755 /var/tmp/torque-2.3.4-buildroot/etc/init.d/pbs_mom
+ /bin/rm -vf /var/tmp/torque-2.3.4-buildroot/disabled/pam_pbssimpleauth.a /var/tmp/torque-2.3.4-buildroot/disabled/pam_pbssimpleauth.la /var/tmp/torque-2.3.4-buildroot//usr/local/lib/libtorque.la
removed `/var/tmp/torque-2.3.4-buildroot//usr/local/lib/libtorque.la'
+ /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.4-buildroot/usr/local/lib/libtorque.so:     file format elf64-x86-64
/var/tmp/torque-2.3.4-buildroot/usr/local/lib/libtorque.so: should be in */lib64
error: Bad exit status from /var/tmp/rpm-tmp.70890 (%install)

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

Is this one known issue? Any advice?
Thanks in advance!
Steven Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20081113/0468b933/attachment.html


More information about the torqueusers mailing list