Description of problem: Running mock for s390x (with forced arch on x86_64) fails to init due to crashes in scriptlets run while creating the initial buildroot. Version-Release number of selected component (if applicable): mock-1.4.20-1.fc30.noarch Steps to Reproduce: 1. mock -r fedora-rawhide-s390x --forcearch=s390x --init Actual results: Running scriptlet: libsepol-2.9-2.fc31.s390x warning: %post(libsepol-2.9-2.fc31.s390x) scriptlet failed, signal 4 Error in POSTIN scriptlet in rpm package libsepol Running scriptlet: libutempter-1.1.6-17.fc31.s390x error: %prein(libutempter-1.1.6-17.fc31.s390x) scriptlet failed, signal 4 Error in PREIN scriptlet in rpm package libutempter error: libutempter-1.1.6-17.fc31.s390x: install failed Running scriptlet: elfutils-default-yama-scope-0.177-1.fc32.noarch warning: %post(elfutils-default-yama-scope-0.177-1.fc32.noarch) scriptlet failed, signal 4 Error in POSTIN scriptlet in rpm package elfutils-default-yama-scope Running scriptlet: p11-kit-trust-0.23.18.1-1.fc32.s390x warning: %post(p11-kit-trust-0.23.18.1-1.fc32.s390x) scriptlet failed, signal 4 Error in POSTIN scriptlet in rpm package p11-kit-trust Running scriptlet: ca-certificates-2019.2.32-3.fc31.noarch error: %prein(ca-certificates-2019.2.32-3.fc31.noarch) scriptlet failed, signal 4 Error in PREIN scriptlet in rpm package ca-certificates error: ca-certificates-2019.2.32-3.fc31.noarch: install failed Running scriptlet: libblkid-2.34-6.fc32.s390x warning: %post(libblkid-2.34-6.fc32.s390x) scriptlet failed, signal 4 Error in POSTIN scriptlet in rpm package libblkid Running scriptlet: binutils-2.32-27.fc32.s390x warning: %post(binutils-2.32-27.fc32.s390x) scriptlet failed, signal 4 Error in POSTIN scriptlet in rpm package binutils Running scriptlet: systemd-libs-243-3.gitef67743.fc32.s390x warning: %post(systemd-libs-243-3.gitef67743.fc32.s390x) scriptlet failed, signal 4 Error in POSTIN scriptlet in rpm package systemd-libs Running scriptlet: util-linux-2.34-6.fc32.s390x warning: %post(util-linux-2.34-6.fc32.s390x) scriptlet failed, signal 4 Error in POSTIN scriptlet in rpm package util-linux Running scriptlet: filesystem-3.12-2.fc31.s390x warning: %posttrans(filesystem-3.12-2.fc31.s390x) scriptlet failed, signal 4 Error in POSTTRANS scriptlet in rpm package filesystem Running scriptlet: crypto-policies-20190816-4.gitbb9bf99.fc32.noarch warning: %posttrans(crypto-policies-20190816-4.gitbb9bf99.fc32.noarch) scriptlet failed, signal 4 Error in POSTTRANS scriptlet in rpm package crypto-policies Running scriptlet: glibc-common-2.30.9000-11.fc32.s390x warning: %triggerin(glibc-common-2.30.9000-11.fc32.s390x) scriptlet failed, signal 4 Error in <unknown> scriptlet in rpm package glibc-common Running scriptlet: info-6.7-2.fc32.s390x warning: %triggerin(info-6.7-2.fc32.s390x) scriptlet failed, signal 4 Error in <unknown> scriptlet in rpm package info Expected results: Mock chroot is initialized correctly.
Do you have package qemu-user-static installed?
Yes. $ rpm -q qemu-user-static qemu-user-static-3.1.1-2.fc30.x86_64
This has unlikely anything to do with mock, but it could be another symptom of bug 1741935 or some other emulation bug. I can provide access to real s390 hw if needed.
Also recommended is to use latest (rawhide) qemu from the virt-preview repo (https://copr.fedorainfracloud.org/coprs/g/virtmaint-sig/virt-preview/).
This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component.
The bug 1741935 is fixed, is this still an issue?
It probably doesn't make sense to require additional info. This is really unlikely to be a thing we could fix in mock. I'm switching against qemu and marking as duplicate. Feel free to reopen if you think it is worth tracking. *** This bug has been marked as a duplicate of bug 1741935 ***