On Sun, Dec 12, 2010 at 08:18:40AM -0500, Josh Boyer wrote:
> %ifarch %{multilib_64_archs} sparcv9 ppc
> # Ensure glibc{,-devel} is installed for both multilib arches
> BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
> %endif
>
> I am building everything with mock and mock seems to refuse to install
> glibc-devel.ppc64 (which would resolve /usr/lib64/libc.so), although it
> is is in my repo and using yum to manually install it into the mock
> chroot works. Just the automatic dependency resolve process of yum
> inside of mock refuses to install glibc-devel.ppc64. I have the same
> problem with the 32bit versions if I try to build gcc for ppc64.
>
> So, it works manually but not automatically. Does anyone if that is
> intended behaviour for mock? How is this solved inside of Fedora's koji?
> Or is it just a bug in the spec file?
There are special glibc32/glibc64 packages that are used in koji that
provide the other-bitsize bits. They're just in the -build tag
explicitly in koji and not shipped with the distribution. It's been
that way forever.
Ah, thanks. Now that you say it sounds familiar. I will try that.
Adrian