Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 759592 - app-emulation/qemu-5.2.0: Symbolic links pointing to nonexistent files
Summary: app-emulation/qemu-5.2.0: Symbolic links pointing to nonexistent files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-12 12:23 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2020-12-13 11:37 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
0001-app-emulation-qemu-add-missing-ipxe-qemu-USE-dep.patch (0001-app-emulation-qemu-add-missing-ipxe-qemu-USE-dep.patch,3.42 KB, patch)
2020-12-13 00:54 UTC, Ionen Wolkens
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2020-12-12 12:23:22 UTC
app-emulation/qemu-5.2.0 (and some older versions) has these QA notices:

>  * QA Notice: Symbolic link /usr/share/qemu/pxe-virtio.rom points to /usr/share/ipxe/1af41000.rom which does not exist.
>  * QA Notice: Symbolic link /usr/share/qemu/pxe-rtl8139.rom points to /usr/share/ipxe/10ec8139.rom which does not exist.
>  * QA Notice: Symbolic link /usr/share/qemu/pxe-pcnet.rom points to /usr/share/ipxe/10222000.rom which does not exist.
>  * QA Notice: Symbolic link /usr/share/qemu/pxe-ne2k_pci.rom points to /usr/share/ipxe/10500940.rom which does not exist.
>  * QA Notice: Symbolic link /usr/share/qemu/pxe-eepro100.rom points to /usr/share/ipxe/80861209.rom which does not exist.
>  * QA Notice: Symbolic link /usr/share/qemu/pxe-e1000.rom points to /usr/share/ipxe/8086100e.rom which does not exist.

[ebuild   R    ] app-emulation/qemu-5.2.0::gentoo  USE="aio alsa bzip2 caps curl fdt filecaps gnutls gtk io-uring jpeg lzo ncurses nls opengl oss pin-upstream-blobs png sasl sdl seccomp slirp snappy usb vhost-net vnc xattr xkb zstd -accessibility -capstone -debug -doc -glusterfs -infiniband -iscsi -jack -jemalloc -multipath -nfs -numa -plugins -pulseaudio -python -rbd -sdl-image (-selinux) -smartcard -spice -ssh -static -static-user -systemtap -test -usbredir -vde -vhost-user-fs -virgl -virtfs -vte -xen -xfs" KERNEL="(linux) (-FreeBSD)" PYTHON_TARGETS="python3_9 -python3_6 -python3_7 -python3_8" QEMU_SOFTMMU_TARGETS="aarch64 alpha arm avr cris hppa i386 lm32 m68k microblaze microblazeel mips mips64 mips64el mipsel moxie nios2 or1k ppc ppc64 riscv32 riscv64 rx s390x sh4 sh4eb sparc sparc64 tricore unicore32 x86_64 xtensa xtensaeb" QEMU_USER_TARGETS="aarch64 aarch64_be alpha arm armeb cris hppa i386 m68k microblaze microblazeel mips mips64 mips64el mipsel mipsn32 mipsn32el nios2 or1k ppc ppc64 ppc64abi32 ppc64le riscv32 riscv64 s390x sh4 sh4eb sparc sparc32plus sparc64 tilegx x86_64 xtensa xtensaeb" 0 KiB
Comment 1 Ionen Wolkens gentoo-dev 2020-12-12 18:35:09 UTC
Do you not have sys-firmware/ipxe installed somehow? Pretty sure it should be pulling the dependency with the x86_64 and i386 softmmu targets being enabled.

$ qlist -v sys-firmware/ipxe
sys-firmware/ipxe-1.0.0_p20190728 CONTENTS:
/usr/share/ipxe/10222000.rom
/usr/share/ipxe/10500940.rom
/usr/share/ipxe/10ec8139.rom
/usr/share/ipxe/15ad07b0.rom
/usr/share/ipxe/1af41000.rom
/usr/share/ipxe/8086100e.rom
/usr/share/ipxe/808610de.rom
/usr/share/ipxe/80861209.rom
Comment 2 Arfrever Frehtes Taifersar Arahesis 2020-12-12 22:04:48 UTC
[ebuild   R    ] sys-firmware/ipxe-1.0.0_p20190728::gentoo  USE="binary ipv6 usb -efi -iso -lkrn -qemu -savedconfig -undi -vmware" 0 KiB
Comment 3 Ionen Wolkens gentoo-dev 2020-12-12 22:11:01 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #2)
> USE="binary ipv6 usb -efi -iso -lkrn -qemu -savedconfig -undi -vmware"
Oh, I guess qemu needs to depend on ipxe[qemu], use check is missing.
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2020-12-12 23:57:43 UTC
(In reply to Ionen Wolkens from comment #3)
> (In reply to Arfrever Frehtes Taifersar Arahesis from comment #2)
> > USE="binary ipv6 usb -efi -iso -lkrn -qemu -savedconfig -undi -vmware"
> Oh, I guess qemu needs to depend on ipxe[qemu], use check is missing.

Sounds reasonable. Would you like to write a 'git am'-able patch?
Comment 5 Ionen Wolkens gentoo-dev 2020-12-13 00:54:17 UTC
Created attachment 678214 [details, diff]
0001-app-emulation-qemu-add-missing-ipxe-qemu-USE-dep.patch

(In reply to Sergei Trofimovich from comment #4)
> Would you like to write a 'git am'-able patch?
Sure, quick enough.

I opted to not revbump given how trivial this is but it's still a RDEPEND change, so I'll leave it to your judgment to git-mv or not.
Comment 6 Larry the Git Cow gentoo-dev 2020-12-13 11:37:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a4d99e92b4e3ab19fdf772146213ec8e082eb42

commit 4a4d99e92b4e3ab19fdf772146213ec8e082eb42
Author:     Ionen Wolkens <sudinave@gmail.com>
AuthorDate: 2020-12-13 00:31:54 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-12-13 11:37:15 +0000

    app-emulation/qemu: add missing ipxe[qemu] USE dep
    
    Closes: https://bugs.gentoo.org/759592
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 app-emulation/qemu/qemu-5.1.0-r2.ebuild | 4 ++--
 app-emulation/qemu/qemu-5.1.0-r3.ebuild | 4 ++--
 app-emulation/qemu/qemu-5.2.0.ebuild    | 4 ++--
 app-emulation/qemu/qemu-9999.ebuild     | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2020-12-13 11:37:45 UTC
Pulled as is. Thank you!