On Sun, Mar 01, 2009 at 07:56:31PM +0000, Mat Booth wrote:
<snip>
And the error message on ppc64 builds is the following:
/var/tmp/rpm-tmp.5hAGBF: line 31:
/usr/lib/eclipse/buildscripts/pdebuild: No such file or directory
Now, I could be wrong, but it looks to me like the RPM macro
%{_libdir} is expanding incorrectly on ppc64 hosts. (Surely it should
expand to /usr/lib64!) Is this a bug? If so, what component should I
raise the ticket for in Bugzilla?
I don't know about raising a ticket in bugzilla, but yes _libdir /should/ be
'/usr/lib64' AFAIK
ny@mango ~]$ uname -a
Linux
mango.ozlabs.ibm.com 2.6.27.5-117.fc10.ppc64 #1 SMP Tue Nov 18 11:46:31 EST 2008
ppc64 ppc64 ppc64 GNU/Linux
[tony@mango ~]$ setarch ppc rpmbuild --showrc | egrep ': _libdir'
-14: _libdir %{_prefix}/lib
[tony@mango ~]$ setarch ppc64 rpmbuild --showrc | egrep ': _libdir'
-14: _libdir %{_prefix}/lib64
Yours Tony