Summary: | sys-fs/vhba must not depend on virtual/dist-kernel | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | dE <de.techno> |
Component: | Current packages | Assignee: | Michał Górny <mgorny> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | de.techno, ionen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
dE
2024-10-21 06:56:38 UTC
Sorry. Wrong category. It inherits linux-mod-r1 which adds USE=dist-kernel to allow optional rebuilding. (In reply to Sam James from comment #2) > It inherits linux-mod-r1 which adds USE=dist-kernel to allow optional > rebuilding. $ rg RDEPEND /var/db/repos/gentoo/metadata/md5-cache/sys-fs/vhba-20240* /var/db/repos/gentoo/metadata/md5-cache/sys-fs/vhba-20240202:12:RDEPEND=virtual/udev sys-apps/kmod[tools] dist-kernel? ( virtual/dist-kernel:= ) /var/db/repos/gentoo/metadata/md5-cache/sys-fs/vhba-20240917:12:RDEPEND=virtual/udev sys-apps/kmod[tools] dist-kernel? ( virtual/dist-kernel:= ) But I'm building without dist-kernel It doesn't depend on it. equery doesn't always show USE-conditional deps. What exact issue are you seeing? VHBA is pulling up dependencies of binary kernels. Whereas I'm build the kernel from source so I don't need those. . . . [ebuild N ] sys-kernel/gentoo-kernel-6.6.51:6.6.51::gentoo USE="strip -debug -experimental (-generic-uki) -hardened -initramfs -modules-compress -modules-sign -savedconfig -secureboot -test" 140,110 KiB [ebuild N ] virtual/dist-kernel-6.6.51:0/6.6.51::gentoo 0 KiB [ebuild N ] virtual/linux-sources-3-r8::gentoo USE="-firmware" 0 KiB [ebuild N ] sys-fs/vhba-20240917::gentoo USE="strip -dist-kernel -modules-compress -modules-sign" 16 KiB (In reply to dE from comment #6) > VHBA is pulling up dependencies of binary kernels. Whereas I'm build the > kernel from source so I don't need those. > > . > . > . > [ebuild N ] sys-kernel/gentoo-kernel-6.6.51:6.6.51::gentoo USE="strip > -debug -experimental (-generic-uki) -hardened -initramfs -modules-compress > -modules-sign -savedconfig -secureboot -test" 140,110 KiB > [ebuild N ] virtual/dist-kernel-6.6.51:0/6.6.51::gentoo 0 KiB > [ebuild N ] virtual/linux-sources-3-r8::gentoo USE="-firmware" 0 KiB > [ebuild N ] sys-fs/vhba-20240917::gentoo USE="strip -dist-kernel > -modules-compress -modules-sign" 16 KiB It's because virtual/dist-kernel satisfies virtual/linux-sources. You need to install *something* which satisfies virtual/linux-sources or add it to package.provided. (In reply to dE from comment #6) > VHBA is pulling up dependencies of binary kernels. Whereas I'm build the > kernel from source so I don't need those. Also, it's not binary kernels gentoo-kernel is built from source, just by portage rather than manually (you can even use your own .config with USE=savedconfig) It's working now, but it was not working before (possibly because the installed gentoo-sources was no longer in tree). (In reply to dE from comment #9) > It's working now, but it was not working before (possibly because the > installed gentoo-sources was no longer in tree). YES. This is the issue. sys-kernel/gentoo-kernel is being installed despite sys-kernel/gentoo-sources being installed. But the version installed is no longer in (the updated) portage tree. [nomerge ] app-cdr/cdemu-daemon-3.2.7:0/7::gentoo to /usr/x86_64-mypc-linux-gnu/ [nomerge ] sys-fs/vhba-20240917::gentoo to /usr/x86_64-mypc-linux-gnu/ USE="strip -dist-kernel -modules-compress -modules-sign" [nomerge ] virtual/linux-sources-3-r8::gentoo to /usr/x86_64-mypc-linux-gnu/ USE="-firmware" [nomerge ] sys-kernel/gentoo-kernel-6.6.51:6.6.51::gentoo to /usr/x86_64-mypc-linux-gnu/ USE="strip -debug -experimental (-generic-uki) -hardened -initramfs -modules-compress -modules-sign -savedconfig -secureboot -test" [nomerge ] virtual/libelf-3-r1:0/1::gentoo to /usr/x86_64-mypc-linux-gnu/ ABI_X86="(64) -32 (-x32)" [ebuild R ] dev-libs/elfutils-0.191-r1::gentoo to /usr/x86_64-mypc-linux-gnu/ USE="verify-sig -bzip2 -debuginfod -lzma -nls -test -utils -valgrind -zstd" ABI_X86="(64) -32 (-x32)" 9,093 KiB [nomerge ] kde-plasma/plasma-desktop-6.1.5-r1:6::gentoo to /usr/x86_64-mypc-linux-gnu/ USE="-debug -handbook -ibus -scim -screencast -sdl -semantic-desktop -test -webengine" [nomerge ] sys-kernel/gentoo-kernel-6.6.51:6.6.51::gentoo to /usr/x86_64-mypc-linux-gnu/ USE="strip -debug -experimental (-generic-uki) -hardened -initramfs -modules-compress -modules-sign -savedconfig -secureboot -test" [ebuild N ] virtual/dist-kernel-6.6.51:0/6.6.51::gentoo to /usr/x86_64-mypc-linux-gnu/ 0 KiB [ebuild N ] sys-kernel/gentoo-kernel-6.6.51:6.6.51::gentoo to /usr/x86_64-mypc-linux-gnu/ USE="strip -debug -experimental (-generic-uki) -hardened -initramfs -modules-compress -modules-sign -savedconfig -secureboot -test" 3,328 KiB |