[CentOS-devel] rebuilding packages for ppc

Wed Feb 17 17:47:07 UTC 2016
James O'Connor <jpoc at linux.vnet.ibm.com>

> On Feb 16, 2016, at 11:54 PM, Bryson Lee <Bryson.Lee at sslmda.com> wrote:
> 
> For gcc, mock fails to set up the chroot because it can’t find a package to provide /usr/lib64/libc.so (which is called out explicitly in a BuildRequires), even though the mock.cfg includes a repo containing glibc-devel.ppc64 and glibc.ppc64.

To build multilib gcc.ppc, the trick I used was similar to Fedora’s glibc64 package

http://ppc.koji.fedoraproject.org/koji/packageinfo?packageID=9083

I basically took Fedora’s glibc64.spec and modified it using the binaries from

http://mirror.centos.org/altarch/7.2.1511/os/ppc64/Packages/glibc-2.17-105.el7.ppc64.rpm