2009/3/6 Jesse Keating <jkeating(a)redhat.com>:
On Sun, 2009-03-01 at 19:56 +0000, Mat Booth wrote:
>
> 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?
We looked into this a bit today, and it appears to be a shortfall in
mock, or rpm(build) that is triggered by koji. When koji builds
something for noarch, it explicitly passes --target noarch. This
overwrites some settings in mock for the rpmbuild arch and in the ppc64
case, rpm defaults to ppc, and libdir is wrong. If koji didn't pass
--target, then the default arch for the config would be used and all is
happy. We're not entirely certain where the real bug lies, but we have
a couple possible work arounds, and we'll be discussing with rpm folks
tomorrow.
Thanks for the feedback, Jesse. Much appreciated.
You've probably seen me raise a rel-eng ticket about this already so
the problem doesn't get forgotten.
In the meantime, I've hammered away of the resubmit button in Koji and
my package has now built successfully.
--
Mat Booth
www.matbooth.co.uk