When building aarch64 pkgs with mock on x86_64 machine the following error is shown: Running scriptlet: glibc-6:2.36-28.mga9.aarch64 25/186 error: lua script failed: [string "%post(glibc-6:2.36-28.mga9.aarch64)"]:15: assertion failed! error: No exec() called after fork() in lua scriptlet
Might be related to qemu: https://github.com/rpm-software-management/mock/issues/277
Downgrading to qemu-user-static-aarch64-7.1.0-4.1.mga9 makes things to work again. Steps to reproduce: 1. # urpmi qemu-user-static-aarch64 2. $ mock -r mageia-cauldron-aarch64 --forcearch aarch64 --scrub=all 3. $ mock -r mageia-cauldron-aarch64 --forcearch aarch64 --shell
Source RPM: glibc-2.36-28.mga9 => qemu-7.2.0-2.mga9.src.rpmAssignee: bugsquad => thierry.vignaud
Config file /usr/lib/binfmt.d/qemu-aarch64-static.conf is broken since 7.2.0-1.mga9. https://svnweb.mageia.org/packages/cauldron/qemu/current/SPECS/qemu.spec?view=patch&r1=1915884&r2=1922775&pathrev=1922775 $staticfmt is written twice and the second one overwrites the first one.
Summary: glibc-2.36-28.mga9 lua %post scriptlet fails when using mock to build aarch64 pkgs on x86_64 => Broken qemu binfmt.d qemu-*-static.conf since 7.2.0-1.mga9
Fixed with qemu-7.2.0-3.mga9.
Status: NEW => RESOLVEDResolution: (none) => FIXED