Mailinglist Archive: opensuse-buildservice (354 mails)

< Previous Next >
[opensuse-buildservice] x86_64 build issues
I'm having difficulty building on the x86_64 systems, for some reason it doesn't want to accept the following statement:

%ifarch x86_64
%files -n lib%{name}
%defattr(-,root,root,0755)
%{prefix}/lib64/
%endif

I get the following error:

/var/tmp/build-root-bongo/usr/lib/libbongostreamio.so.0: file format elf64-x86-64
/var/tmp/build-root-bongo/usr/lib/libbongostreamio.so.0: should be in */lib64
error: Bad exit status from /var/tmp/rpm-tmp.46374 (%install)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.46374 (%install)
mount: can't find / in /etc/fstab or /etc/mtab
md: stopping all md devices.
System halted.

I know it may sound like a dumb question, but.... Is it telling me to remove %{prefix}/lib64 and replace it with */lib64? I don't have a 64bit machine so I'm not entirely sure on the differences between architecture filesystem layouts.

Many thanks,

Andy

--
Andrew Wafaa
Business Tel: +44 (0)7919 522451
Personal Tel: +44 (0)7974 074546
e-Mail: andrew@xxxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >