Bug 2329331

Summary: F42FailsToInstall: qemu-system-arm-core
Product: [Fedora] Fedora Reporter: Fedora Fails To Install <fti-bugs>
Component: qemuAssignee: Fedora Virtualization Maintainers <virt-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: berrange, cfergeau, crobinso, kraxel, lsm5, mcascell, pbonzini, philmd, rjones, suraj.ghimire7, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-9.2.0-0.3.rc1.fc42 qemu-8.2.8-2.fc40 qemu-9.1.2-2.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-03 01:36:22 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:
Bug Depends On:    
Bug Blocks: 2260877, 2300529    

Description Fedora Fails To Install 2024-11-28 12:12:18 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (qemu) Fails To Install in Fedora 42:

can't install qemu-system-arm-core:
  - nothing provides edk2-arm needed by qemu-system-arm-core-2:9.2.0-0.1.rc1.fc42.x86_64
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-42-x86_64 --config-opts mirrored=False install qemu-system-arm-core


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Richard W.M. Jones 2024-11-28 13:36:06 UTC
Kraxel dropped the 32 bit arm images:

https://src.fedoraproject.org/rpms/edk2/c/53fa21dafcef14a7d264a89c2977cdbef58df770?branch=rawhide

I'm not sure if we should just drop this dependency from the qemu package, or if
it's actually needed (-kernel and/or devicetree boot would still work without it?)

Comment 2 Daniel Berrangé 2024-11-28 13:52:06 UTC
Cole added the EDK dep back in:

  commit 3f428d8457525dcd5badbde873c6f1b0287c7eb5
  Author: Cole Robinson <crobinso>
  Date:   Thu Feb 24 14:49:11 2022 -0500

    Add edk-arm dep for system-arm
    
    It's expected nowdays for -M virt

It is certainly relevant to aarch64, and it happens that QEMU broadly mirrors functionality across arm7 & arch64, hence 'virt' on arm7

What I'm unclear on is whether there were ever any OS that supported '-M virt' with arm7, that expected EDK ?

Comment 3 Richard W.M. Jones 2024-12-02 12:25:28 UTC
*** Bug 2329905 has been marked as a duplicate of this bug. ***

Comment 4 Richard W.M. Jones 2024-12-02 12:43:21 UTC
https://src.fedoraproject.org/rpms/qemu/pull-request/73

Comment 5 Gerd Hoffmann 2024-12-02 17:06:43 UTC
Updates edk2 for f40 + f41 are pending (in updates-testing right now),
so I guess the comment 4 fix should go to f41 and f40 too?

Also a heads up:  edk2-ovmf-ia32 is a drop candidate too.  The number
of distros actually supporting i386 installs is shrinking, and i386
EFI guest support is an extremly rare thing too.  Essentially because
the large style adoption of x86_64 happened before the large style
adoption of UEFI.

Maybe I should do that right away, while being busy dropping 32-bit EFI
platforms, for consistency reasons.

"dnf repoquery --whatdepends=edk2-ovmf-ia32" comes up empty, so that
should at least not cause any dependency problems.

Comment 6 Richard W.M. Jones 2024-12-02 17:23:28 UTC
qemu doesn't require edk2-ovmf-ia32 so there'll be nothing to do there.
Note this too: https://www.spinics.net/lists/fedora-devel/threads.html#324668

Comment 7 Richard W.M. Jones 2024-12-02 18:43:17 UTC
I also fixed this in F41 & F40.

Comment 8 Fedora Update System 2024-12-02 20:47:48 UTC
FEDORA-2024-0f32d3621e (qemu-8.2.8-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-0f32d3621e

Comment 9 Fedora Update System 2024-12-02 20:48:51 UTC
FEDORA-2024-26dc43251a (qemu-9.2.0-0.3.rc1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-26dc43251a

Comment 10 Fedora Update System 2024-12-02 20:56:24 UTC
FEDORA-2024-fc5af039a0 (qemu-9.1.2-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-fc5af039a0

Comment 11 Fedora Update System 2024-12-03 01:36:22 UTC
FEDORA-2024-26dc43251a (qemu-9.2.0-0.3.rc1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2024-12-03 03:06:21 UTC
FEDORA-2024-0f32d3621e has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-0f32d3621e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-0f32d3621e

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

Comment 13 Richard W.M. Jones 2024-12-03 18:38:47 UTC
*** Bug 2330192 has been marked as a duplicate of this bug. ***

Comment 14 Fedora Update System 2024-12-04 03:48:27 UTC
FEDORA-2024-fc5af039a0 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-fc5af039a0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-fc5af039a0

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

Comment 15 Fedora Update System 2024-12-05 01:33:35 UTC
FEDORA-2024-0f32d3621e (qemu-8.2.8-2.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2024-12-05 02:23:09 UTC
FEDORA-2024-fc5af039a0 (qemu-9.1.2-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.