Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829989 - virtual/mailx resolution issue
Summary: virtual/mailx resolution issue
Status: RESOLVED DUPLICATE of bug 814335
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-12-25 20:57 UTC by Carlo
Modified: 2021-12-26 21:44 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 Carlo 2021-12-25 20:57:45 UTC
Hello,

as I did not find the virtual/mailx resolution issue I'm facing, here's my report:

Installed:

virtual/mailx-3:0/0::gentoo
mail-client/s-nail-14.9.22:0/0::gentoo

As I'm trying to update kde-plasma/plasma-meta, Portage is wrongly bugging me to install net-mail/mailutils, even though mail-client/s-nail is installed.

Commandline:

emerge -uD  kde-plasma/plasma-meta --backtrack=3000 -pv

The output looks like this:

ebuild  r  U  ] dev-libs/crypto++-8.6.0:0/8.6::gentoo [8.4.0:0/8.4::gentoo] USE="asm -static-libs -verify-sig%" 9.057 KiB
[ebuild     U  ] sys-apps/accountsservice-0.6.55-r1::gentoo [0.6.55::gentoo] USE="elogind -doc -gtk-doc -introspection (-selinux) -systemd" 96 KiB
[ebuild     U  ] x11-misc/sddm-0.18.1-r5::gentoo [0.18.1-r3::gentoo] USE="elogind pam test -systemd" 3.324 KiB
[ebuild  rR    ] sys-fs/cryfs-0.10.3-r1::gentoo  USE="test* -debug" 0 KiB
[ebuild     U  ] x11-misc/appmenu-gtk-module-0.7.3-r2::gentoo [0.7.3-r1::gentoo] USE="-wayland%" 48 KiB
[ebuild  N     ] net-libs/libgsasl-1.10.0::gentoo  USE="idn nls -gcrypt -kerberos -ntlm -static-libs" 1.812 KiB
[ebuild  N     ] virtual/gsasl-2::gentoo  0 KiB
[ebuild  N     ] net-mail/mailutils-3.12-r3::gentoo  USE="berkdb ipv6 nls pam postgres python sasl (split-usr) ssl threads -bidi -clients -emacs -gdbm -guile -kerberos -kyotocabinet -ldap -mysql -servers -static-libs -tcpd -tokyocabinet" PYTHON_SINGLE_TARGET="python3_8 -python3_9 (-python3_10)" 3.062 KiB
[ebuild     U  ] sys-apps/smartmontools-7.2-r2::gentoo [7.0-r1::gentoo] USE="caps daemon update-drivedb%* (-selinux) -static -systemd (-update_drivedb%)" 969 KiB
[ebuild     U  ] kde-plasma/plasma-systemmonitor-5.23.4-r1:5::gentoo [5.23.4:5::gentoo] USE="-debug" 0 KiB
[ebuild     U  ] kde-plasma/bluedevil-5.23.4-r1:5::gentoo [5.23.4:5::gentoo] USE="-debug" 0 KiB
[ebuild     U  ] kde-plasma/kdeplasma-addons-5.23.4:5::gentoo [5.23.0:5::gentoo] USE="share test webengine -debug -handbook" 0 KiB
[ebuild     U  ] kde-plasma/plasma-browser-integration-5.23.4:5::gentoo [5.23.0:5::gentoo] USE="-debug" 0 KiB
[ebuild     U  ] kde-plasma/plasma-desktop-5.23.4-r1:5::gentoo [5.23.0:5::gentoo] USE="policykit semantic-desktop -debug -emoji -handbook -ibus -kaccounts -scim -telemetry -test" 0 KiB
[ebuild     U  ] kde-plasma/plasma-meta-5.23.4:5::gentoo [5.23.0:5::gentoo] USE="bluetooth browser-integration crash-handler crypt display-manager elogind gtk kwallet sddm smart wallpapers -accessibility -colord -desktop-portal -discover (-firewall) -grub -handbook -legacy-systray -networkmanager -plymouth -pulseaudio -sdk -systemd -thunderbolt (-qrcode%*)" 0 KiB
[blocks B      ] net-mail/mailutils ("net-mail/mailutils" is soft blocking mail-client/s-nail-14.9.22)

Total: 15 packages (11 upgrades, 3 new, 1 reinstall), Size of downloads: 18.365 KiB
Conflict: 1 block (1 unsatisfied)

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

  (net-mail/mailutils-3.12-r3:0/0::gentoo, ebuild scheduled for merge) pulled in by
    net-mail/mailutils required by (virtual/mailx-3:0/0::gentoo, installed) USE="" ABI_X86="(64)"

  (mail-client/s-nail-14.9.22:0/0::gentoo, installed) pulled in by
    mail-client/s-nail required by @mail


For completeness:

Portage 3.0.28 (python 3.8.12-final-0, default/linux/amd64/17.1/desktop, gcc-11.2.0, glibc-2.33-r7, 5.15.11-gentoo x86_64)
=================================================================
System uname: Linux-5.15.11-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-glibc2.2.5
KiB Mem:    12236740 total,   3570948 free
KiB Swap:    4194300 total,   3891196 free
Head commit of repository gentoo: 6b3daa1bd841f1c3f9817c27eb98962ab288f490

Head commit of repository pentoo: d96a04ab1109338e483b9c69394fe2f65d1d48d8

Head commit of repository qt: c9c71f30735cb1f4618fb09781e15ee1a4ec6888

Head commit of repository ssnb: 4f507206fd0480598f1d2e934f694ca072daf900

Head commit of repository ultrabug: 7700e9dbac150c88fc6c17fef731cbefb7e2335d

Head commit of repository zx2c4: ac2514ea1757196324cf950665c516a5e5026dd5

sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p8::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r3::gentoo
dev-lang/python:           2.7.18_p13::gentoo, 3.6.13_p1::gentoo, 3.8.12_p1::gentoo, 3.9.9::gentoo, 3.10.0_p1::gentoo
dev-lang/rust:             1.56.1::gentoo
dev-util/cmake:            3.21.4::gentoo
dev-util/meson:            0.59.4::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.25::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.4::gentoo
sys-devel/binutils:        2.37_p1::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           11.1.0::gentoo, 12.0.1::gentoo, 13.0.0::gentoo
sys-devel/gcc:             11.2.0::gentoo
sys-devel/gcc-config:      2.4::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             11.1.0-r1::gentoo
sys-devel/llvm:            11.1.0::gentoo, 12.0.1::gentoo, 13.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.33-r7::gentoo
Repositories:

gentoo
    location: /usr/local/overlays/gentoo
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    sync-user: carsten:portage
    priority: 10
    aliases: portage-stable

merged
    location: /usr/local/overlays/merged
    masters: gentoo
    priority: 11

playground
    location: /usr/local/overlays/playground
    masters: gentoo
    priority: 11

eclipse
    location: /usr/local/overlays/eclipse
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/eclipse-overlay.git
    sync-user: carsten:portage
    masters: gentoo
    priority: 50

pentoo
    location: /usr/local/overlays/pentoo
    sync-type: git
    sync-uri: https://github.com/pentoo/pentoo-overlay
    sync-user: carsten:portage
    masters: gentoo
    priority: 50

qt
    location: /usr/local/overlays/qt
    sync-type: git
    sync-uri: https://github.com/gentoo/qt
    sync-user: carsten:portage
    masters: gentoo
    priority: 50

ssnb
    location: /usr/local/overlays/ssnb
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/user/ssnb.git
    sync-user: carsten:portage
    masters: gentoo
    priority: 50

ultrabug
    location: /usr/local/overlays/ultrabug
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/dev/ultrabug
    sync-user: carsten:portage
    masters: gentoo
    priority: 50

zx2c4
    location: /usr/local/overlays/zx2c4
    sync-type: git
    sync-uri: http://git.zx2c4.com/portage/
    sync-user: carsten:portage
    masters: gentoo
    priority: 50

Installed sets: @X11, @arch, @base, @db, @dev, @fonts, @kde, @mail, @net, @portage, @python-webapp, @text, @tmp, @vim, @virt
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf /usr/share/maven-bin-3.8/conf /usr/share/themes/oxygen-gtk/gtk-2.0"
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"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/local/share/distfiles"
EMERGE_DEFAULT_OPTS="--noconfmem --jobs=4 --load-average=20 --oneshot --keep-going --with-bdeps=y --changed-deps-report=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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup clean-logs collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news noinfo parallel-fetch pid-sandbox preserve-libs qa-unresolved-soname-deps sandbox sfperms splitdebug strict strict-keepdir test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo        ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo    ftp://ftp.berlios.de/pub/gentoo-deutsch        http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de de_DE"
MAKEOPTS="-j 4 -l 10"
PKGDIR="/usr/local/sharea/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times  --compress  --force  --whole-file  --delete       --delete-after --stats --timeout=180 --contimeout=10 --exclude='/distfiles' --exclude='/local' --exclude='/packages'   --exclude-from=/etc/portage/rsync_excludes"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac aacs acl acpi alsa amd64 ao asf avif berkdb bluetooth branding brotli bzip2 cairo caps cddb cdio cdr chm cli cracklib crypt cups curl cxx dbus djvu dri dts dv dvd dvdr ebook elogind emboss encode exif faac faad fam ffmpeg filecaps flac fontconfig fortran gd geoip gif git glib glut gmp gpg gphoto2 gpl gpm graphviz gui heif http2 iconv icu id3tag idn imagemagick imap inotify ipv6 jpeg jpeg2k json kde kontact lcms libass libffi libglvnd libinput libnotify libsamplerate libtirpc lua lz4 lzma lzo mad maildir matroska mbedtls mercurial mjpeg mmx mmxext mng mp3 mp4 mpeg multilib musepack ncurses netlink nls nptl ntp ogg openexr opengl openh264 openmp openssl opus otf pam pango pcap pcre pdf png policykit postgres postproc postscript ppds python qt5 quicktime readline sasl sdl seccomp semantic-desktop sndfile spell split-usr sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg syslog t1lib taglib test theora threads tiff truetype udev udisks unicode upower usb uuid vaapi vdpau vim-syntax vorbis wavpack webdav webp woff2 x264 x265 xattr xcb xml xmp xpm xv xvid xxhash zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" ALSA_CARDS="intel8x0" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation openssl proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif so speling status substitute unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" FFTOOLS="sidxindex" 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="evdev" KERNEL="linux" L10N="de de-DE de-1901 en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" LLVM_TARGETS="AArch64 BPF X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip grpc limit_req limit_conn map memcached mirror proxy referer rewrite scgi ssi split_clients upstream_ip_hash userid uwsgi dav xslt echo lua naxsi push_stream" NGINX_MODULES_MAIL="imap pop3 smtp" NGINX_MODULES_STREAM="access" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby26" SANE_BACKENDS="epson epson2 net" USERLAND="GNU" VIDEO_CARDS="fbdev modesetting nouveau nvidia svga vesa virgl" 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:  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, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-25 21:04:09 UTC
1. What happens if you try do a world upgrade first?

emerge -a -uvDU @world

2. Then depclean.

3. Then run it again?

May be better for #gentoo.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-25 21:12:50 UTC
(Would also be interesting to know what happened if you temporarily masked mailutils).
Comment 3 Carlo 2021-12-26 21:17:03 UTC
> 1. What happens if you try do a world upgrade first?
>
> emerge -a -uvDU @world#

emerge -ap -uvDU @world

works fine, but I fail to see what this should have to do with Portage not getting the dependency resolution right in the case I'm describing.

> May be better for #gentoo.

Well, I think it is a Portage bug I easily got around, but it's still a Portage bug, so I guess Gentoo Bugzilla is the correct address.

> (Would also be interesting to know what happened if you temporarily masked mailutils).

As I wiggled around this bug already, I can only imagine, Portage would have presented the same blocking issue with mail-client/mailx, as it is virtual/mailx's second || dependency.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-26 21:44:59 UTC
(In reply to Carlo from comment #3)
> > 1. What happens if you try do a world upgrade first?
> >
> > emerge -a -uvDU @world#
> 
> emerge -ap -uvDU @world
> 
> works fine, but I fail to see what this should have to do with Portage not
> getting the dependency resolution right in the case I'm describing.
> 

I just wanted to see if the depgraph was clean and if it happened to resolve with a world upgrade which would be relevant if it failed with just plasma-meta.

> > May be better for #gentoo.
> 
> Well, I think it is a Portage bug I easily got around, but it's still a
> Portage bug, so I guess Gentoo Bugzilla is the correct address.

Sure. It wasn't clear if it was a support query or not and I wanted to poke more at the situation but it's gone now.

> 
> > (Would also be interesting to know what happened if you temporarily masked mailutils).
> 
> As I wiggled around this bug already, I can only imagine, Portage would have
> presented the same blocking issue with mail-client/mailx, as it is
> virtual/mailx's second || dependency.

There's not much we can do to investigate this if you've already fixed it then. I wanted to know what would happen if you tried to force it to use s-nail and if it saw earlier on that mailutils would not be an option. Portage uses priorities.

It's not clear to me how you've wiggled around it though.

Anyway, this is probably a duplicate of bug 814335.

*** This bug has been marked as a duplicate of bug 814335 ***