I've hit a snag with 
https://github.com/rpm-software-management/mock/commit/58684e072d7e05563c43d73205ccc1c2074ac9e2

I've got a somewhat novel koji setup.

It is a single host that does cross compiles for all my arches: i686, x86_64, 
aarch64, and ppc64le.

I don't have dedicated hardware for aarch64 or ppc64le, so I'm using 
`forcearch` and the qemu-static packages to build for these platforms.  I have 
terribly few internal users of these platforms and most of what I build 
internally is noarch so the performance is sufficient given the cost of 
physical nodes.

But every so often, I need to build a native binary for these platforms.

Obviously this is an infrequent task as I just ran into behavior from a 2 year 
old release of mock.

But koji is using a repo that is filtered for my target arch, so my native host 
x86_64 can't bootstrap.  The dnf config in the installroot is pointing to an 
ppc64le  or aarch64 only repository for the target packages and thus can't 
satisfy any binary dependencies.

The way I read the notes in mock.py suggest that `bootstrap_forcearch` should 
never be True, so I'm at a loss for how to work around this.

I've looked over:
https://github.com/rpm-software-management/mock/pull/1129
https://github.com/rpm-software-management/mock/pull/1172

Pat
-- 
_______________________________________________
buildsys mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to