On Sat, 19 Dec 2020 at 03:59, Michael Ivanov <ivans@isle.spb.ru> wrote:

Hallo,

I'm trying to build 32 bit rpm package for centos8 with mock. When I specify target arch as i386, then a lot of packages are reported as not found. When arch is omitted, then mock tries to build 64-bit package.

In mock config I have:

config_opts['target_arch'] = 'i386'
config_opts['legal_host_arches'] = ('x86_64')

This worked in older centos systems.

Any hints?


RHEL and CentOS-8 do not have 32 bit support in the default directories. If you need to build for 32 bit you will need to use the 'altarch' CentOS-8.

 

Best regards,

-- 
 \   / |			           |
 (OvO) |  Михаил Иванов                    |
 (^^^) |                                   |
  \^/  |      E-mail:  ivans@isle.spb.ru   |
  ^ ^  |                                   |
_______________________________________________
buildsys mailing list -- buildsys@lists.fedoraproject.org
To unsubscribe send an email to buildsys-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/buildsys@lists.fedoraproject.org


--
Stephen J Smoogen.