#3379 Cross-architecture builds failing due to nonexistent packages
Closed: Dropped 2 years ago by tkopecek. Opened 2 years ago by cappyishihara.

Hi! We're currently experimenting with ARM builds for Ultramarine Linux. We figured out we'd have to set up cross-architecture buildroots since we currently only have x86 machines at the moment.

However, it seems like you can't initiate ARM buildroots for some reason. As it can't find any packages for the architecture.

https://lapis.ultramarine-linux.org/kojifiles/work/tasks/3253/3253/mock_output.log

I'm confused to as why it wouldn't be able to resolve aarch64 packages as we use Fedora as an external repository.


How are you forcing arm arch there? If I download mock-config and try the build, it builds normally as x86_64.

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

2 years ago

I added aarch64 to the tags and the x86 builders. I've only recently removed the aarch64 architectures as we had to build other packages.

I'll add it back if you would like to troubleshoot this further.

Edit: I've added back aarch64 into the tag.

UPDATE: I've tried downloading mock-config and the build fails. However, if I add --forcearch when building, it works.

This seems like a Koji issue where Koji does not properly set the architecture when doing cross-architecture builds.

You can use forcearch even in koji. Set tag's extra 'mock.forcearch=1' (#3275) in the latest koji release. It should fix it.

Metadata Update from @tkopecek:
- Issue close_status updated to: Dropped
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata