-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
Hi,
I tried to crossbuild for aarch64 on x86_64:
docker run --rm --privileged=true --volume=".:/rpmbuild" -w "/rpmbuild" \
--volume="/output:/rpmbuild/output" -e MOUNT_POINT="/rpmbuild" \
-e MOCK_CONFIG=fedora-rawhide-aarch64 -e SOURCES="monitoring-plugins-b784428.tar.gz" \
-e SPEC_FILE=monitoring-plugins-git.spec -e NETWORK="true" -e NO_CLEANUP="true" \
ghcr.io/waja/mock-rpmbuilder:latest
https://github.com/waja/docker-mock-rpmbuilder is just a fork, but with CI pipelines to generate and upload images to GHCR.
There are several error: failed to exec scriptlet interpreter /bin/sh: Exec format error errors and finally the build fails with Error: call to /usr/sbin/ldconfig failed.nError: call to /usr/sbin/iconvconfig failed.nError: call to /usr/sbin/ldconfig failed.n.
The full output can be found in the mock-builder.log.
Thanks Jan
Metadata
Metadata
Assignees
Labels
No labels