Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948815 - virtual/linux-sources ignores currently installed version sys-kernel/gentoo-sources if world is updated
Summary: virtual/linux-sources ignores currently installed version sys-kernel/gentoo-s...
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-25 14:55 UTC by dE
Modified: 2025-01-25 20:57 UTC (History)
2 users (show)

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


Attachments
emerge -pv --debug --update --deep --keep-going --newuse --getbinpkg world (upgrade-debug.txt.xz,247.96 KB, application/x-xz)
2025-01-25 14:55 UTC, dE
Details
emerge --debug -pv --tree --getbinpkg app-emulation/virtualbox app-emulation/virtualbox-extpack-oracle app-emulation/virtualbox-modules (manual-upgrade-virtualbox.txt.xz,216.25 KB, application/x-xz)
2025-01-25 14:56 UTC, dE
Details
emerge --debug -pv --getbinpkg --oneshot virtual/linux-sources (linux-sources-debug.txt.xz,211.93 KB, application/x-xz)
2025-01-25 14:59 UTC, dE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dE 2025-01-25 14:55:17 UTC
Created attachment 917463 [details]
emerge -pv --debug --update --deep --keep-going --newuse --getbinpkg world

If have sys-kernel/gentoo-sources installed:

emerge --search gentoo-sources                                                                           
[ Results for search key : gentoo-sources ]
Searching...

*  sys-kernel/gentoo-sources
      Latest version installed: 6.10.7
      Homepage:      https://dev.gentoo.org/~mpagano/genpatches
      Description:   Full sources including the Gentoo patchset for the 6.10 kernel tree
      License:       GPL-2

But it's a version which is no longer in the tree.

virtual/linux-sources is also installed and is satisfied with this fact:

emerge -pv --getbinpkg --oneshot virtual/linux-sources
!!! /etc/portage/binrepos.conf is missing (or PORTAGE_BINHOST is unset), but use is requested.

 * IMPORTANT: 3 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
!!! /etc/portage/binrepos.conf is missing (or PORTAGE_BINHOST is unset), but use is requested.

These are the packages that would be merged, in order:

Calculating dependencies ... done!                                    
Dependency resolution took 5.26 s (backtrack: 0/20).

[ebuild   R    ] virtual/linux-sources-3-r8::gentoo  USE="-firmware" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

However when it comes to upgrading app-emulation/virtualbox-modules, virtual/linux-sources has a problem and pulls in sys-kernel/gentoo-kernel even though it's not required:

emerge -pv --tree --update --deep --keep-going --newuse --getbinpkg world
!!! /etc/portage/binrepos.conf is missing (or PORTAGE_BINHOST is unset), but use is requested.

 * IMPORTANT: 3 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
!!! /etc/portage/binrepos.conf is missing (or PORTAGE_BINHOST is unset), but use is requested.

These are the packages that would be merged, in reverse order:

Calculating dependencies                        ... done!
Dependency resolution took 24.55 s (backtrack: 0/20).

[ebuild     U  ] app-emulation/virtualbox-extpack-oracle-7.1.4:0/7.1::gentoo [6.1.50:0/6.1::gentoo] 0 KiB
[ebuild     U  ]  app-emulation/virtualbox-7.1.4:0/7.1::gentoo [7.0.20:0/7.0::gentoo] USE="dbus gui opengl pam pulseaudio udev vmmraw -alsa -debug -doc -dtrace -java -lvm -nls (-pch) -python -sdk -sdl -test% -vboxwebsrv -vde -vnc" PYTHON_SINGLE_TARGET="-python3_10 -python3_11" 0 KiB
[ebuild     U  ]   app-emulation/virtualbox-modules-7.1.4-r1:0/7.1::gentoo [7.0.20:0/7.0::gentoo] USE="strip -dist-kernel -modules-compress -modules-sign" 0 KiB
[nomerge       ] app-emulation/virtualbox-modules-7.1.4-r1:0/7.1::gentoo [7.0.20:0/7.0::gentoo] USE="strip -dist-kernel -modules-compress -modules-sign" 
[nomerge       ]  virtual/linux-sources-3-r8::gentoo  USE="-firmware" 
[nomerge       ]   sys-kernel/gentoo-kernel-6.6.67:6.6.67::gentoo  USE="strip -debug -experimental (-generic-uki) -hardened -initramfs -modules-compress -modules-sign -savedconfig -secureboot -test" 
[ebuild  N     ]    virtual/dist-kernel-6.6.67:0/6.6.67::gentoo  0 KiB
[ebuild  N     ]     sys-kernel/gentoo-kernel-6.6.67:6.6.67::gentoo  USE="strip -debug -experimental (-generic-uki) -hardened -initramfs -modules-compress -modules-sign -savedconfig -secureboot -test" 0 KiB
[nomerge       ] app-emulation/virtualbox-7.1.4:0/7.1::gentoo [7.0.20:0/7.0::gentoo] USE="dbus gui opengl pam pulseaudio udev vmmraw -alsa -debug -doc -dtrace -java -lvm -nls (-pch) -python -sdk -sdl -test% -vboxwebsrv -vde -vnc" PYTHON_SINGLE_TARGET="-python3_10 -python3_11" 
[ebuild  N     ]  dev-build/kbuild-0.1.9998.3592::gentoo  0 KiB
[ebuild  N     ]  dev-libs/libIDL-0.8.14-r4::gentoo  0 KiB
[nomerge       ] app-emulation/virtualbox-modules-7.1.4-r1:0/7.1::gentoo [7.0.20:0/7.0::gentoo] USE="strip -dist-kernel -modules-compress -modules-sign" 
[ebuild  N     ]  dev-util/pahole-1.27-r1::gentoo  USE="verify-sig -debug" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13" 0 KiB
[binary  N     ]   dev-build/cmake-3.30.6::gentoo  USE="verify-sig -dap -doc -gui -ncurses -qt6 -test" 0 KiB
[binary  N     ]    app-crypt/rhash-1.4.4-r1:0/1::gentoo  USE="-debug -nls -ssl -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[nomerge       ] sys-kernel/gentoo-kernel-6.6.67:6.6.67::gentoo  USE="strip -debug -experimental (-generic-uki) -hardened -initramfs -modules-compress -modules-sign -savedconfig -secureboot -test" 
[ebuild  N     ]  sys-kernel/installkernel-48-r1::gentoo  USE="-dracut (-efistub) -grub -refind -systemd -systemd-boot -ugrd -uki -ukify" 0 KiB
[nomerge       ] dev-util/pahole-1.27-r1::gentoo  USE="verify-sig -debug" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13" 
[ebuild  N     ]  sec-keys/openpgp-keys-arnaldocarvalhodemelo-20180830::gentoo  0 KiB
[nomerge       ] app-emulation/virtualbox-7.1.4:0/7.1::gentoo [7.0.20:0/7.0::gentoo] USE="dbus gui opengl pam pulseaudio udev vmmraw -alsa -debug -doc -dtrace -java -lvm -nls (-pch) -python -sdk -sdl -test% -vboxwebsrv -vde -vnc" PYTHON_SINGLE_TARGET="-python3_10 -python3_11" 
[ebuild  N     ]  sys-devel/bin86-0.16.21-r2::gentoo  0 KiB
[ebuild  N     ]  dev-lang/yasm-1.3.0-r2::gentoo  USE="-nls" 0 KiB

Total: 14 packages (3 upgrades, 11 new, 2 binaries), Size of downloads: 0 KiB

However if I individually upgrade virtualbox and app-emulation/virtualbox-extpack-oracle, app-emulation/virtualbox-modules portage has no problems:
emerge -pv --tree --getbinpkg app-emulation/virtualbox app-emulation/virtualbox-extpack-oracle app-emulation/virtualbox-modules
!!! /etc/portage/binrepos.conf is missing (or PORTAGE_BINHOST is unset), but use is requested.

 * IMPORTANT: 3 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
!!! /etc/portage/binrepos.conf is missing (or PORTAGE_BINHOST is unset), but use is requested.

These are the packages that would be merged, in reverse order:

Calculating dependencies                   ... done!
Dependency resolution took 5.97 s (backtrack: 0/20).

[ebuild     U  ] app-emulation/virtualbox-extpack-oracle-7.1.4:0/7.1::gentoo [6.1.50:0/6.1::gentoo] 0 KiB
[ebuild     U  ]  app-emulation/virtualbox-7.1.4:0/7.1::gentoo [7.0.20:0/7.0::gentoo] USE="dbus gui opengl pam pulseaudio udev vmmraw -alsa -debug -doc -dtrace -java -lvm -nls (-pch) -python -sdk -sdl -test% -vboxwebsrv -vde -vnc" PYTHON_SINGLE_TARGET="-python3_10 -python3_11" 0 KiB
[ebuild     U  ]   app-emulation/virtualbox-modules-7.1.4-r1:0/7.1::gentoo [7.0.20:0/7.0::gentoo] USE="strip -dist-kernel -modules-compress -modules-sign" 0 KiB
[ebuild  N     ]   dev-build/kbuild-0.1.9998.3592::gentoo  0 KiB
[ebuild  N     ]   dev-libs/libIDL-0.8.14-r4::gentoo  0 KiB
[nomerge       ] app-emulation/virtualbox-modules-7.1.4-r1:0/7.1::gentoo [7.0.20:0/7.0::gentoo] USE="strip -dist-kernel -modules-compress -modules-sign" 
[ebuild  N     ]  dev-util/pahole-1.27-r1::gentoo  USE="verify-sig -debug" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13" 0 KiB
[binary  N     ]   dev-build/cmake-3.30.6::gentoo  USE="verify-sig -dap -doc -gui -ncurses -qt6 -test" 0 KiB
[binary  N     ]    app-crypt/rhash-1.4.4-r1:0/1::gentoo  USE="-debug -nls -ssl -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[nomerge       ] app-emulation/virtualbox-7.1.4:0/7.1::gentoo [7.0.20:0/7.0::gentoo] USE="dbus gui opengl pam pulseaudio udev vmmraw -alsa -debug -doc -dtrace -java -lvm -nls (-pch) -python -sdk -sdl -test% -vboxwebsrv -vde -vnc" PYTHON_SINGLE_TARGET="-python3_10 -python3_11" 
[ebuild  N     ]  sys-devel/bin86-0.16.21-r2::gentoo  0 KiB
[ebuild  N     ]  dev-lang/yasm-1.3.0-r2::gentoo  USE="-nls" 0 KiB
[nomerge       ] dev-util/pahole-1.27-r1::gentoo  USE="verify-sig -debug" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13" 
[ebuild  N     ]  sec-keys/openpgp-keys-arnaldocarvalhodemelo-20180830::gentoo  0 KiB

Total: 11 packages (3 upgrades, 8 new, 2 binaries), Size of downloads: 0 KiB
Comment 1 dE 2025-01-25 14:56:37 UTC
Created attachment 917464 [details]
emerge --debug -pv --tree --getbinpkg app-emulation/virtualbox app-emulation/virtualbox-extpack-oracle app-emulation/virtualbox-modules
Comment 2 dE 2025-01-25 14:59:34 UTC
Created attachment 917465 [details]
emerge --debug -pv --getbinpkg --oneshot virtual/linux-sources
Comment 3 dE 2025-01-25 15:11:40 UTC
Portage 3.0.66.1 (python 3.12.8-final-0, !../custom-profiles-gentoo/profiles/mypc/, gcc-14, glibc-2.40-r5, 6.10.7-gentoo-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.10.7-gentoo-gentoo-dist-x86_64-AMD_Ryzen_5_PRO_2600_Six-Core_Processor-with-glibc2.40
KiB Mem:    16300452 total,   7179920 free
KiB Swap:    6291452 total,   6199548 free
Head commit of repository oubliette: 460b5c9c1f6e20a175187dca9dbe942f784146fa

Timestamp of repository gentoo: Wed, 22 Jan 2025 00:45:00 +0000
sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
ccache version 4.10.2 [enabled]
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.5.2::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.11.11_p1::gentoo, 3.12.8_p1::gentoo, 3.13.1_p1::gentoo
dev-lang/rust-bin:         1.82.0-r101::gentoo, 1.83.0::gentoo
dev-util/ccache:           4.10.2-r1::gentoo
llvm-core/clang:           15.0.7-r3::gentoo, 19.1.4::gentoo
llvm-core/lld:             15.0.7::gentoo
llvm-core/llvm:            15.0.7-r7::gentoo, 19.1.4::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-apps/systemd:          256.7::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo
sys-libs/libselinux:       3.7-r1::gentoo
Repositories:

custom-profiles
    location: /etc/custom-profiles-gentoo
    masters: gentoo
    volatile: True

oubliette
    location: /var/db/repos/oubliette
    sync-type: git
    sync-uri: https://github.com/nabbi/oubliette-overlay
    masters: gentoo
    priority: 50
    volatile: False

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: 100
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-mypc-linux-gnu"
CFLAGS="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=12288 -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-loop-distribution -O3 -pipe -flto=1 -fuse-linker-plugin -ffat-lto-objects -fno-semantic-interposition"
CHOST="x86_64-mypc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=12288 -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-loop-distribution -O3 -pipe -flto=1 -fuse-linker-plugin -ffat-lto-objects -fno-semantic-interposition"
DISTDIR="/var/cache/distfiles/"
EMERGE_DEFAULT_OPTS="--with-bdeps=n --complete-graph --binpkg-respect-use=y --binpkg-changed-deps=n --changed-deps=n --rebuild-if-new-slot=y --load-average 12"
ENV_UNSET="ABI_X86 ACCEPT_LICENSE APACHE2_MODULES APACHE2_MPMS CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH L10N NGINX_MODULES_HTTP PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT SANE_BACKENDS VIDEO_CARDS XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://mirror.leaseweb.com/gentoo/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j12"
PKGDIR="/var/cache/binpkgs-mypc"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
SHELL="/bin/bash"
USE="a52 aac acpi adns alsa alt-svc amd64 amrenc asm asyncns atm avif bluetooth branding bzip2 cairo cet crypt custom-cflags dav1d dbus declarative dri dts dv dvbpsi editorconfig eglfs enca encode exif faad fdk ffmpeg flac fontconfig gif gles2 gles2-only glslang gmp gstreamer gui heif http2 iconv idn ipv6 jit jpeg jpeg2k jpegxl kde kf6compat lame large-stack libdrm libinput libnotify libsamplerate libtirpc lto mad man matroska mikmod minimal mmap modplug mp3 mp4 mpeg mprisi multilib natspec ncurses networkmanager offensive ogg opencl opengl openmp opus orc pam pcre pdf plasma png policykit ppds pulseaudio qml qt6 quicktime raw readline seccomp smp sound spell ssl startup-notification strip svg svt-av1 symlink system-png systemd taglib tbb tcmalloc test-rust theora threads tiff tls-compression truetype twolame uchardet udev udisks unicode upower usb v4l vaapi verify-sig vorbis vpx vulkan wallpaper-metadata wayland webp widgets wxwidgets x264 x265 xft xvid zlib" ABI_X86="64" ADA_TARGET="gcc_13" APACHE2_MODULES="unixd authn_core authz_core authz_host access_compat alias auth_basic authn_file log_config mime log_config proxy proxy_http rewrite proxy_balancer lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat slotmem_shm env cache dir cgid headers proxy_connect http2 allowmethods auth_digest actions" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="pc efi-64" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access fastcgi gzip gzip_static limit_req rewrite upstream_check proxy" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_11 python3_12" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 4 Zac Medico gentoo-dev 2025-01-25 20:57:08 UTC
This may be related to the _equiv_ebuild_visible code which prevents packages with missing ebuild from being considered visible.