Bug 2445164

Summary: arch-test completely broken: wrong executables and risc-v support completely missing
Product: [Fedora] Fedora Reporter: Marcel Ziswiler <marcel>
Component: arch-testAssignee: Robin Lee <robinlee.sysu>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: robinlee.sysu
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: arch-test-0.22-5.fc45 arch-test-0.22-5.fc44 arch-test-0.22-5.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-03-07 15:24:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marcel Ziswiler 2026-03-06 11:08:49 UTC
Unfortunately, arch-test is completely broken: not only does it contain the wrong executables, meaning all compiled for X86_64 rather than their individual arches, but RISC-V support is suddenly also completely missing!

For this to make sense one has to understand a little bit what arch-test does. It contains executables for various arches, which print ok if they can be executed on the respective arch e.g. like so (using previous working arch-test-0.21-5.fc41.noarch for reference):

⬢ [zim@toolbx ~]$ /usr/bin/qemu-riscv64-static /usr/lib/arch-test/riscv64
ok

What I noticed is that the latest arch-test-0.22-2.fc43.noarch does not work anymore and is completely missing RISC-V support.

Reproducible: Always

Steps to Reproduce:
1. /usr/bin/qemu-aarch64-static /usr/libexec/arch-test/arm64
2. file /usr/libexec/arch-test/arm64
3. rpm -qil arch-test-0.22-2.fc43.noarch | grep risc
Actual Results:
1.⬢ [zim@toolbx ~]$ /usr/bin/qemu-aarch64-static /usr/libexec/arch-test/arm64
qemu-aarch64-static: /usr/libexec/arch-test/arm64: Invalid ELF image for this architecture
2.⬢ [zim@toolbx ~]$ file /usr/libexec/arch-test/arm64
/usr/libexec/arch-test/arm64: ELF 64-bit LSB executable, no machine, version 1 (SYSV), statically linked, stripped
3.⬢ [zim@toolbx ~]$ rpm -qil arch-test-0.22-2.fc43.noarch | grep risc

Expected Results:
1. ⬢ [zim@toolbx ~]$ /usr/bin/qemu-aarch64-static /usr/lib/arch-test/arm64
ok
2. ⬢ [zim@toolbx ~]$ file /usr/lib/arch-test/arm64
/usr/lib/arch-test/arm64: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, stripped
3. ⬢ [zim@toolbx ~]$ rpm -qil arch-test-0.21-5.fc41.noarch | grep risc
/usr/lib/arch-test/riscv64

Additional Information:
As suggested by abologna on #riscv:fedoraproject.org, ideally, the Fedora package would explicitly pass a list of architectures it expects to work with to upstream configure, e.g. something like ./configure --arches-list x86_64,ppc64le,riscv64. Thanks!

Comment 1 Marcel Ziswiler 2026-03-06 11:28:51 UTC
BTW: The previous version also works fine. Looks like the update to 0.22 broke it.

⬢ [zim@toolbx ~]$ rpm -q arch-test
arch-test-0.21-6.fc42.noarch
⬢ [zim@toolbx ~]$ arch-test
amd64
arm64
i386
riscv64

Comment 2 Fedora Update System 2026-03-07 15:21:48 UTC
FEDORA-2026-a85778f912 (arch-test-0.22-5.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-a85778f912

Comment 3 Fedora Update System 2026-03-07 15:24:47 UTC
FEDORA-2026-a85778f912 (arch-test-0.22-5.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2026-03-07 15:48:54 UTC
FEDORA-2026-bd8b2e45b7 (arch-test-0.22-5.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-bd8b2e45b7

Comment 5 Fedora Update System 2026-03-07 15:48:54 UTC
FEDORA-2026-a766ca24d8 (arch-test-0.22-5.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-a766ca24d8

Comment 6 Marcel Ziswiler 2026-03-07 18:56:52 UTC
(In reply to Fedora Update System from comment #4)
> FEDORA-2026-bd8b2e45b7 (arch-test-0.22-5.fc43) has been submitted as an
> update to Fedora 43.
> https://bodhi.fedoraproject.org/updates/FEDORA-2026-bd8b2e45b7

I can confirm that this fixes it. Thanks!

Comment 7 Fedora Update System 2026-03-08 00:51:38 UTC
FEDORA-2026-a766ca24d8 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-a766ca24d8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-a766ca24d8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-03-08 01:12:55 UTC
FEDORA-2026-bd8b2e45b7 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-bd8b2e45b7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-bd8b2e45b7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2026-03-16 00:26:52 UTC
FEDORA-2026-a766ca24d8 (arch-test-0.22-5.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2026-03-16 00:57:40 UTC
FEDORA-2026-bd8b2e45b7 (arch-test-0.22-5.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.