mock, i686 targets?

Issues related to applications and software problems and general support
Post Reply
mathog
Posts: 142
Joined: 2008/07/09 23:52:06

mock, i686 targets?

Post by mathog » 2020/03/26 18:43:13

I needed to build an i686 rpm from src and installed mock to do so. But it didn't have any CentOS 8 i686 targets. So I looked here

https://buildlogs.centos.org/

for an example, but it only went up to c7. Is there an i686 CentOS 8 target somewhere?

In the end it was possible to build with just:

Code: Select all

rpmbuild --rebuild --target=i686 libpng-1.5.13-7.el7_2.src.rpm
after installing a bunch of i686 devel RPMS. The resulting i686.rpm wouldn't install normally (some conflict with the existing libpng needed by freetype) but it was possible to pull out the libpng15.so.* entries and move them to their final location with

Code: Select all

rpm2cpio /root/rpmbuild/RPMS/i686/libpng-1.5.13-7.el8.i686.rpm | cpio -idmv
mv usr/lib/libpng15.so* /usr/lib
Yes, I know this is bad form, but it is only to support an ancient version of SGE 6 which I'm hoping to phase out soon, at which point those libraries can be removed again.

Post Reply

Return to “CentOS 8 - General Support”