Thanks for response,

Why separate repository would be needed? CentOS-8 as far as I can see contains 32-bit versions
of all packages that I need. I can manually install them and compile the package, no problems.
But when I try to compile the package using mock it tries also to pull in 32-bit binaries, when
target arch is specified as  i386. And when it is not specified, then naturally 64-bit is used throughout.

On 19.12.2020 21:14, Stephen John Smoogen wrote:


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.


-- 
 \   / |			           |
 (OvO) |  Михаил Иванов                    |
 (^^^) |                                   |
  \^/  |      E-mail:  ivans@isle.spb.ru   |
  ^ ^  |                                   |