Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 778038 - sys-apps/portage: -k breaks slot rebuilds on virtual/dist-kernel upgrade
Summary: sys-apps/portage: -k breaks slot rebuilds on virtual/dist-kernel upgrade
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-24 23:27 UTC by Michał Górny
Modified: 2021-10-01 03:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-03-24 23:27:51 UTC
I can reproduce this with every dist-kernel bump.

# emerge -pvDu @world

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

Calculating dependencies... done!
[ebuild  NS   ~] sys-kernel/gentoo-kernel-bin-5.11.9:5.11.9::gentoo [5.11.5:5.11.5::gentoo, 5.11.6:5.11.6::gentoo, 5.11.7:5.11.7::gentoo] USE="initramfs -test" 114 863 KiB
[ebuild  r  U ~] virtual/dist-kernel-5.11.9:0/5.11.9::gentoo [5.11.7:0/5.11.7::gentoo] 0 KiB
[ebuild  rR   ~] dev-util/sysdig-kmod-0.27.1::gentoo  USE="dist-kernel" 915 KiB
[ebuild  rR    ] sys-fs/vhba-20200106-r1::gentoo  USE="dist-kernel" 16 KiB

Total: 4 packages (1 upgrade, 1 in new slot, 2 reinstalls), Size of downloads: 115 793 KiB

The following packages are causing rebuilds:

  (virtual/dist-kernel-5.11.9:0/5.11.9::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (dev-util/sysdig-kmod-0.27.1:0/0::gentoo, ebuild scheduled for merge)
    (sys-fs/vhba-20200106-r1:0/0::gentoo, ebuild scheduled for merge)


but:

# emerge -pvDuk @world                                                                                                        
                                                                                                                                                  
These are the packages that would be merged, in order:                                                                                            
                                                                         
Calculating dependencies... done!                                        
[ebuild  NS   ~] sys-kernel/gentoo-kernel-bin-5.11.9:5.11.9::gentoo [5.11.5:5.11.5::gentoo, 5.11.6:5.11.6::gentoo, 5.11.7:5.11.7::gentoo] USE="ini
tramfs -test" 114 863 KiB                                                
[ebuild     U ~] virtual/dist-kernel-5.11.9:0/5.11.9::gentoo [5.11.7:0/5.11.7::gentoo] 0 KiB
                                                                         
Total: 2 packages (1 upgrade, 1 in new slot), Size of downloads: 114 863 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

virtual/dist-kernel:0

  (virtual/dist-kernel-5.11.7-1:0/5.11.7::gentoo, installed) USE="" ABI_X86="64" pulled in by
    =virtual/dist-kernel-5.11.7 required by (dev-util/sysdig-kmod-0.27.1-23:0/0::gentoo, installed) USE="dist-kernel" ABI_X86="64"
    ^                    ^^^^^^     
                                                                              
    virtual/dist-kernel:0/5.11.7= required by (sys-fs/vhba-20200106-r1-33:0/0::gentoo, installed) USE="dist-kernel" ABI_X86="64"
                       ^^^^^^^^^^   
                                                         
    (and 2 more with the same problems)

  (virtual/dist-kernel-5.11.9:0/5.11.9::gentoo, ebuild scheduled for merge) USE="" ABI_X86="64" pulled in by
    >=virtual/dist-kernel-5.11.9 required by (sys-kernel/gentoo-kernel-bin-5.11.9:5.11.9/5.11.9::gentoo, ebuild scheduled for merge) USE="initramf
s -test" ABI_X86="64"
    ^^                    ^^^^^^    
                                                                                                                                      
    =virtual/dist-kernel-5.11.9 required by (sys-kernel/gentoo-kernel-bin-5.11.9:5.11.9/5.11.9::gentoo, ebuild scheduled for merge) USE="initramfs
 -test" ABI_X86="64"
    ^                    ^^^^^^     

[...]
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-03-24 23:28:27 UTC
Portage 3.0.17 (python 3.9.2-final-0, !../../home/mgorny/git/gentoo/profiles/default/linux/amd64/17.1/desktop, gcc-10.2.0, glibc-2.32-r8, 5.11.7-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.11.7-gentoo-dist-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.32
KiB Mem:    32898556 total,   4680300 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 24 Mar 2021 22:20:42 +0000
Head commit of repository gentoo: 91f95aa1312818634556e391b0a6f3bb80bbee8c

sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 4.2 [disabled]
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p7::gentoo, 3.6.13::gentoo, 3.7.10::gentoo, 3.8.8::gentoo, 3.9.2::gentoo, 3.10.0_alpha6-r1::gentoo
dev-util/ccache:          4.2::gentoo
dev-util/cmake:           3.20.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.21::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo, 10.2.0-r5::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: true

python
    location: /home/mgorny/git/python
    masters: gentoo

Installed sets: @mg_depends_cb_agent
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="myspell-en_CA-KevinAtkinson LDP-1a UbuntuFontLicense-1.0 LDP-1 man-pages quake1-textures vlgothic wxWinFDL-3 mplus-fonts CC-PD CC-SA-1.0 man-pages-posix CC-BY-SA-1.0 man-pages-posix-2013 Texinfo-manual BitstreamVera BAEKMUK MaxMind2 CC-BY-SA-2.5 CC-BY-3.0 CC-BY-SA-3.0 CC-BY-SA-2.0 CC-BY-2.5 OFL-1.1 GPL-2 IPAfont GPL-1 OPL OFL Arphic FDL-1.2+ FDL-1.1 GPL-3 GPL-2+ FDL-1.1+ FDL-1.3+ FreeArt CC-BY-2.0 FDL-1.3 CC-BY-SA-4.0 FDL-1.2 GPL-3+ CC-BY-4.0 GPL-1+ tm-align buddy Toyoda CDDL-1.1 CeCILL-C DES Sendmail Time-modules x2x the-Click-license tcp_wrappers_license NEWLIB scanlogd MIT-with-advertising imagemagick canfep tablelist Info-ZIP htmlc sash AIFFWriter.m wm2 Khronos-CLHPP ngrep RSA FVWM BSD-1 feh docbook TeX-other-free xboing Princeton symlinks Flashpix Sendmail-Open-Source netcat bufexplorer.vim tcltk mpich2 JNIC gsm Time-Format FLEX par regexp-UofT mm curl minpack BZIP2 repoze ErlPL-1.1 Openwall Snd freetts FLTK psutils rc ElementTree BSD-with-disclosure otter XC Old-MIT xtrs totd URT rwpng rdisc boehm-gc IDPL UCAR-Unidata PHP-2.02 PCRE matplotlib w3m JOVE libpng2 Emacs Sympow-BSD icu Mini-XML SVFL File-MMagic LPPL-1.3b ZSH DUMB-0.9.3 VTK Xdebug LPPL-1.3 flexmock BEER-WARE libtiff CRACKLIB torque-2.5 SSLeay Crypt-IDEA ipadic TeX HTML-Tidy lsof BSD-with-attribution Allegro Interbase-1.0 inner-net NCSA-HDF dom4j sdlsasteroids xbatt FastCGI perforce CDDL-Schily JDOM LambdaMOO CMake pngnq CPL-0.5 photopc libpng gd CAOSL Ispell LIBGLOSS alternate pngcrush openafs-krb5-a iASL libmng bea.ri.jsr173 AMPAS SMAIL Apache-2.0 AGPL-3+ HPND ISC CNRI MPL-1.0 MPL-1.1 nethack QPL CDDL UoI-NCSA EUPL-1.2 APSL-2 MPL-2.0 LGPL-2+ W3C OFL-1.1 EPL-1.0 LPPL-1.3c EPL-2.0 GPL-2 PSF-2 MIT Watcom-1.0 Artistic IPAfont ZLIB ECL-2.0 Ms-PL LGPL-3+ GPL-3 EUPL-1.1 GPL-2+ AFL-3.0 LGPL-2.1+ Boost-1.0 LGPL-2.1 IBM NOSA LGPL-3 Apache-1.1 CPL-1.0 BSD PHP-3 PHP-3.01 wxWinLL-3 BSD-2 ZPL Artistic-2 GPL-3+ AGPL-3 OSL-2.1 CPAL-1.0 POSTGRESQL APL-1.0 Sleepycat GPL-1+ gnuplot Zend-2.0 QPL-1.0 CNRI openssl MPL-1.0 MPL-1.1 AFL-2.1 QPL CDDL OSL-2.0 EUPL-1.2 APSL-2 EPL-1.0 Apache-2.0 GPL-3+-with-font-exception GPL-2-with-classpath-exception tanuki-community Clear-BSD PYTHON CeCILL-2 AGPL-3+ HPND PSF-2.3 GPL-3-with-openssl-exception OPENLDAP UoI-NCSA Apache-2.0-with-LLVM-exceptions GPL-2-with-linking-exception LGPL-2+ MPL-2.0 UPX-exception W3C WTFPL-2 PSF-2 GPL-2 qwt MIT FSFAP FTL GPL-1 GPL-2-with-exceptions ZLIB gcc-runtime-library-exception-3.1 ECL-2.0 Clarified-Artistic GPL-2+-with-openssl-exception IJG LGPL-2 Nokia-Qt-LGPL-Exception-1.1 PSF-2.4 SGI-B-2.0 LGPL-3+ GPL-3 Ruby-BSD libstdc++ GPL-2+ Transmission-OpenSSL-exception public-domain vim GPL-2-with-MySQL-FLOSS-exception unicode LGPL-2.1+ wxWinLL-3.1 Boost-1.0 LGPL-3-with-linking-exception metapackage LGPL-2-with-linking-exception LGPL-2.1 Ruby GPL-2-with-font-exception LGPL-3 ZPL BSD BSD-2 GPL-3-with-font-exception Artistic-2 Unlicense libgcc GPL-3+ AGPL-3 GPL-3+-with-autoconf-exception LGPL-2.1-with-linking-exception PSF-2.2 ISC Sleepycat GPL-1+ CC0-1.0 EPL-2.0 Apache-1.0 Ms-PL BSD-4 EUPL-1.1 AFL-3.0 FraunhoferFDK OSL-1.1 LPPL-1.2 IBM CPL-1.0 NPL-1.1 PHP-3.01 OSL-2.1 CPAL-1.0 Apache-1.1 -AGPL-3 -AGPL-3+"
CBUILD="x86_64-pc-linux-gnu"
CC="x86_64-pc-linux-gnu-gcc-10.2.0"
CFLAGS="-march=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXX="x86_64-pc-linux-gnu-g++-10.2.0"
CXXFLAGS="-march=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches"
DISTDIR="/tmp/dist"
EMERGE_DEFAULT_OPTS="--with-bdeps y --ask --keep-going --quiet-build=n --dynamic-deps=n --autounmask=n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches"
FEATURES="assume-digests binpkg-logs binpkg-multi-instance buildpkg cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync mount-sandbox multilib-strict news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=znver2 --param l1-cache-size=32 --param l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://gentoo.mirror.web4u.cz/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://ftp.vectranet.pl/gentoo/ http://ftp.fi.muni.cz/pub/linux/gentoo/"
INSTALL_MASK="/test /usr/share/locale -/usr/share/locale/pl"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
MAKEOPTS="-j12"
PKGDIR="/var/cache/binpkg"
PORTAGE_BINHOST=" 	https://dev.gentoo.org/~mgorny/binpkg/amd64/pypy 	https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel"
PORTAGE_COMPRESS="lzip"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --times --compress --force --whole-file --delete --stats --timeout=45 --exclude=/distfiles --exclude=/packages --exclude=/local --exclude=CVS --exclude=/metadata/cache --omit-dir-times"
PORTAGE_TMPDIR="/tmp"
USE="3dnow 3dnowext X a52 aac acl adns aio alsa amd64 ayatana bash-completion bluetooth branding btrfs bzip2 cairo caps cdda cdr cli crypt cups curl dbus dist-kernel djvu dri dts dvb dvd dvdr egl emboss exif fftw flac fontconfig fortran gd gif glamor gmp gnuplot gnutls gphoto2 gstreamer gtk gui iconv icu idn ipv6 jpeg jpeg2k kate latex lcms libass libatomic libglvnd liblockfile libnotify libproxy libsamplerate libsecret libtiger libtirpc linguas_pl lz4 lzma lzo mad mmap mmxext mng mp3 mp4 mpeg mtp multilib ncurses nls nptl ogg openal opengl openmp openvg opus osmesa pam pango pch pcre pcre-jit pdf plotutils png policykit postscript ppds pulseaudio qt3support qt5 readline sctp sdl seccomp slang smp sndfile speex spell split-usr sse3 ssl startup-notification svg systemd t1lib tcpd threads tiff truetype udev udisks unicode upower usb v4l2 vaapi verify-sig vhosts vim-syntax vorbis vulkan wavpack wayland webp wmf wxwidgets x264 xattr xcb xft xml xpm xv xvid xvmc zeroconf zlib zstd" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel emu10k1 mpu401 pcsp virmidi" APACHE2_MODULES="socache_shmcb unixd actions alias deflate filter mime mime_magic negotiation rewrite" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="serial" LLVM_TARGETS="*" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="gzip limit_conn limit_req rewrite spdy uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8 *" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 mips mips64 mips64el mipsel ppc ppc64 ppc64abi32 x86_64" QEMU_USER_TARGETS="aarch64 arm ppc ppc64" RUBY_TARGETS="ruby26 *" SANE_BACKENDS="artec_eplus48u test" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon radeonsi r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

virtual/dist-kernel-5.11.7::gentoo was built with the following:
USE="" ABI_X86="64"


sys-kernel/gentoo-kernel-bin-5.11.5::gentoo was built with the following:
USE="initramfs -test" ABI_X86="64"
FEATURES="sandbox preserve-libs sign binpkg-logs unmerge-orphans strict usersandbox parallel-fetch ipc-sandbox ccache network-sandbox assume-digests news unknown-features-warn strict-keepdir sfperms unmerge-logs merge-sync multilib-strict usersync binpkg-multi-instance collision-protect protect-owned pid-sandbox buildpkg userpriv distlocks userfetch qa-unresolved-soname-deps ebuild-locks mount-sandbox fixlafiles config-protect-if-modified cgroup"


sys-kernel/gentoo-kernel-bin-5.11.6::gentoo was built with the following:
USE="initramfs -test" ABI_X86="64"
FEATURES="parallel-fetch userpriv unknown-features-warn multilib-strict sandbox usersandbox ebuild-locks ipc-sandbox strict unmerge-logs userfetch binpkg-multi-instance fixlafiles assume-digests cgroup sfperms protect-owned unmerge-orphans distlocks buildpkg preserve-libs usersync mount-sandbox config-protect-if-modified pid-sandbox binpkg-logs collision-protect news qa-unresolved-soname-deps strict-keepdir sign merge-sync"


sys-kernel/gentoo-kernel-bin-5.11.7::gentoo was built with the following:
USE="initramfs -test" ABI_X86="64"
FEATURES="merge-sync usersync config-protect-if-modified binpkg-logs collision-protect pid-sandbox preserve-libs usersandbox protect-owned ebuild-locks binpkg-multi-instance sign strict unknown-features-warn unmerge-logs cgroup qa-unresolved-soname-deps userpriv fixlafiles unmerge-orphans distlocks buildpkg parallel-fetch mount-sandbox sandbox sfperms strict-keepdir userfetch multilib-strict news assume-digests ipc-sandbox"


sys-fs/vhba-20200106-r1::gentoo was built with the following:
USE="dist-kernel" ABI_X86="64"


dev-util/sysdig-kmod-0.27.1::gentoo was built with the following:
USE="dist-kernel" ABI_X86="64"