Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 484978

Summary: sys-apps/portage-2.2.1 prints "# required by @__auto_slot_operator_replace_installed__ (argument)"
Product: Portage Development Reporter: Mike Limansky <limanski>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: UNCONFIRMED ---    
Severity: normal CC: bircoph, dschridde+gentoobugs, esigra, kentnl, kingjon3377, triffid.hunter
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=419381
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 376695    
Attachments: emerge --info

Description Mike Limansky 2013-09-15 09:41:57 UTC
Packages names, which require keyword changes are not shown. Looks like it starts after upgrading to portage 2.2.1. For example:

Total: 48 packages (5 upgrades, 1 downgrade, 42 reinstalls), Size of downloads: 201,216 kB

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by @__auto_slot_operator_replace_installed__ (argument)
=dev-haskell/highlighting-kate-0.5.5 ~amd64
# required by @__auto_slot_operator_replace_installed__ (argument)
=dev-haskell/texmath-0.6.4 ~amd64
# required by @__auto_slot_operator_replace_installed__ (argument)
=dev-haskell/polyparse-1.9 ~amd64

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.

Reproducible: Always

Steps to Reproduce:
I'm not sure about the steps to reproduce. It seems like it's works fine in trivial cases (for example if I trying to install some masked package). I got it after 
emerge -1uDav ghc
Actual Results:  
@__auto_slot_operator_replace_installed__ placeholder is shown.

Expected Results:  
Package name shall be shown.

emerge --info
!!! Repository 'My-local-repo' is missing masters attribute in '/usr/local/portage/my/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
Portage 2.2.1 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.15-r3, 3.10.7-gentoo x86_64)
=================================================================
System uname: Linux-3.10.7-gentoo-x86_64-AMD_Phenom-tm-_II_X4_810_Processor-with-gentoo-2.2
KiB Mem:     4047560 total,   2572200 free
KiB Swap:    1959924 total,   1959924 free
Timestamp of tree: Sat, 14 Sep 2013 18:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r2, 3.2.5-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo My-local-repo gentoo-haskell
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /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"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/my /var/lib/layman/haskell"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr encode exif firefox flac fortran gdbm gif gpm gtk iconv jabber jpeg lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl offensive ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session smp spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19" SANE_BACKENDS="mustek_pp" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Ben Kohler gentoo-dev 2013-11-26 14:01:36 UTC
*** Bug 491132 has been marked as a duplicate of this bug. ***
Comment 2 Andrew Savchenko gentoo-dev 2014-02-23 05:28:06 UTC
Interesting, if I add -t to emerge args, this
# required by @__auto_slot_operator_replace_installed__ (argument)
misery goes away and I see normal deps.
Comment 3 Peter Bohning 2018-03-21 20:58:48 UTC
I'm getting this @__auto_slot_operator_replace_installed__ with 

emerge -t -pv --oneshot llvm

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-devel/llvm-5.0.1:5/5::gentoo, ebuild scheduled for merge) pulled in by
    <sys-devel/llvm-6:=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (<sys-devel/llvm-6:=[abi_x86_64(-)]) required by (media-libs/mesa-17.2.8:0/0::gentoo, ebuild scheduled for merge)
    sys-devel/llvm:5[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (sys-devel/llvm:5[abi_x86_64(-)]) required by (media-libs/mesa-17.2.8:0/0::gentoo, ebuild scheduled for merge)
    llvm
    >=sys-devel/llvm-3.5 required by (sys-devel/llvm-3.9.1-r1:0/3.9.1::gentoo, ebuild scheduled for merge)

  (sys-devel/llvm-3.9.1-r1:0/3.9.1::gentoo, ebuild scheduled for merge) pulled in by
    sys-devel/llvm:0 required by @__auto_slot_operator_replace_installed__



Portage 2.3.8 (python 3.4.3-final-0, default/linux/amd64/17.0, gcc-4.9.3, glibc-2.25-r9, 4.12.12-gentoo x86_64)
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700HQ_CPU_@_2.80GHz-with-gentoo-2.4.1
KiB Mem:    16273208 total,  14356328 free
KiB Swap:   15999996 total,  15999996 free
Timestamp of repository gentoo: Wed, 21 Mar 2018 20:30:01 +0000
Head commit of repository gentoo: c766d91b70819666658681fb5fc7c113ffdd5bb7
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.7::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.28.1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

cortex-a53
    location: /usr/local/portage/cortex-a53
    masters: gentoo

other
    location: /usr/local/portage/other
    masters: gentoo

tizendev
    location: /usr/local/portage/tizendev
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://rsync.gtlib.gatech.edu/gentoo ftp://lug.mtu.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
USE="acl amd64 berkdb bindist bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 modules multilib ncurses nls nptl openmp pam pcre readline seccomp ssl tcpd unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2 mmxext" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Zac Medico gentoo-dev 2018-03-21 21:34:21 UTC
(In reply to Peter Bohning from comment #3)
> I'm getting this @__auto_slot_operator_replace_installed__ with 
> 
> emerge -t -pv --oneshot llvm
> 
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.

The llvm:0 to llvm:5 upgrade is too complicated to work with that command, so you really need to use 'emerge --update --deep @world' instead.
Comment 5 Michael Moon 2023-09-25 07:00:23 UTC
Created attachment 871269 [details]
emerge --info

I just ran into this:

emerge -avtDUu @world
…
[ebuild     U  ]                                                         virtual/rust-1.71.1:0/llvm-16::gentoo [1.69.0:0/llvm-15::gentoo] USE="rustfmt" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild     U  ]                                                          dev-lang/rust-1.71.1:stable/1.71::gentoo [1.69.0-r1:stable/1.69::gentoo] USE="(-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) lto%* (-miri) (-nightly) (-parallel-compiler) (-profiler) -rust-analyzer -rust-src rustfmt (-system-bootstrap) (-system-llvm) -test -verify-sig -wasm" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="-AArch64 AMDGPU ARM -AVR BPF -Hexagon -Lanai -LoongArch% -MSP430 -Mips NVPTX -PowerPC -RISCV -Sparc -SystemZ -VE% -WebAssembly (X86) -XCore" 508,043 KiB
[nomerge       ]                                                           net-misc/curl-8.1.2::gentoo  USE="adns -alt-svc brotli ftp -gnutls -gopher -hsts http2 -idn imap -kerberos -ldap -mbedtls (-nghttp3) -nss openssl pop3 progress-meter -rtmp (-rustls) samba smtp ssh ssl (-sslv3) -static-libs -telnet -test tftp -verify-sig -websockets zstd" ABI_X86="32 (64) (-x32)" CURL_SSL="-gnutls -mbedtls -nss openssl (-rustls)"
[ebuild  rR    ]                                                            net-libs/nghttp2-1.51.0:0/1.14::gentoo  USE="cxx -debug -hpack-tools -jemalloc -static-libs -test utils xml" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild  r  U ~]                                                             dev-libs/boost-1.83.0-r1:0/1.83.0::gentoo [1.82.0-r1:0/1.82.0::gentoo] USE="bzip2 context -debug -doc icu lzma -mpi nls -numpy python stacktrace%* -tools zlib zstd" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="-python3_10 python3_11 -python3_12%" 120,013 KiB
…
The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by @__auto_slot_operator_replace_installed__ (argument)
=dev-libs/boost-1.83.0-r1 ~amd64

So now I'm scratching my head about why it looks like stable rust/nghttp2 requires testing boost?
Comment 6 Zac Medico gentoo-dev 2023-09-26 00:39:29 UTC
(In reply to Michael Moon from comment #5)
> …
> The following keyword changes are necessary to proceed:
>  (see "package.accept_keywords" in the portage(5) man page for more details)
> # required by @__auto_slot_operator_replace_installed__ (argument)
> =dev-libs/boost-1.83.0-r1 ~amd64
> 
> So now I'm scratching my head about why it looks like stable rust/nghttp2
> requires testing boost?

It's worth a try with --autounmask=n just to check whether or not it results in a successful and valid calculation. These days --autounmask is disabled by default, except for the --autounmask-use portion of it.
Comment 7 Michael Moon 2023-09-26 03:13:57 UTC
!!! All ebuilds that could satisfy "dev-libs/boost:=[stacktrace(-)]" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-libs/boost-1.83.0-r1::gentoo (masked by: ~amd64 keyword)
- dev-libs/boost-1.83.0::stefantalpalaru (masked by: package.mask, ~amd64 keyword)

(dependency required by "media-gfx/inkscape-1.3::gentoo" [ebuild])
(dependency required by "@selected" [set])



Hmm so testing inkscape wants boost[stacktrace] ?

Would have been nice for portage to complain about that instead of "@__auto_slot_operator_replace_installed__" - maybe give a list of all the autounmask decisions that were necessary to generate the offered dep graph?