Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830881 - sys-apps/portage shows bogus error messages and takes too long to world update if media-sound/pulseeffects is in the world file
Summary: sys-apps/portage shows bogus error messages and takes too long to world updat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-09 23:18 UTC by Nikos Chantziaras
Modified: 2022-01-11 06:54 UTC (History)
0 users

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 Nikos Chantziaras 2022-01-09 23:18:57 UTC
After emerging media-sound/pulseeffects, updating world with:

emerge -uDU @world

Results in weird errors:

=======================
!!! The following update(s) have been skipped due to unsatisfied dependencies
!!! triggered by backtracking:

dev-cpp/pangomm:1.4
dev-cpp/gtkmm:3.0
sys-block/gparted:0
media-sound/pulseeffects:0
media-sound/pavucontrol:0

!!! Problems have been detected with your world file
!!! Please run emaint --check world


!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
media-sound/pavucontrol media-sound/pulseeffects sys-block/gparted
=======================

Also, the time it takes for the "emerge -uDU @world" to finish is increased dramatically:

real    1m4.862s
user    1m3.595s
sys     0m0.615s

If I remove media-sound/pulseeffects from /var/lib/portage/world, then the errors are gone and it also finishes much faster:

real    0m22.297s
user    0m22.028s
sys     0m0.207s

I have ran "emaint --check world" and it doesn't find any problems. As a test, I have also deleted the world file and allowed portage to recreate it (by using "emerge --noreplace" to add the packages to it) and the problem persists.

This looks like pulseeffects-4.8.5-r1.ebuild is triggering a portage bug somewhere.
Comment 1 Nikos Chantziaras 2022-01-09 23:19:56 UTC
$ emerge --info media-sound/pulseeffects
Portage 3.0.30 (python 3.9.9-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.2.1, glibc-2.34-r4, 5.10.90-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.90-gentoo-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-glibc2.34
KiB Mem:    16380564 total,   3342040 free
KiB Swap:    5665600 total,   5665600 free
Timestamp of repository gentoo: Sun, 09 Jan 2022 22:00:01 +0000
Head commit of repository gentoo: 2c31229ae1b294e5fe10c6fe88e042db7c639764
Timestamp of repository steam-overlay: Sun, 09 Jan 2022 10:36:35 +0000
Head commit of repository steam-overlay: 166259fb598aae8c8fea17f93576d2b1ed7ff773

sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p1) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           3.8.12_p1-r1::gentoo, 3.9.9-r1::gentoo
dev-lang/rust-bin:         1.57.0::gentoo
dev-util/cmake:            3.22.1::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          250.1::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r1::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           13.0.0::gentoo
sys-devel/gcc:             11.2.1_p20211127::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/llvm:            13.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r4::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

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

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=native -march=native -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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 /etc/vmware-installer"
CXXFLAGS="-O2 -pipe -mtune=native -march=native -ftree-vectorize"
DISTDIR="/mnt/Data/cache/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--backtrack=200 --with-bdeps=y"
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 -mtune=native -march=native -ftree-vectorize"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -mtune=native -march=native -ftree-vectorize"
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="-j8"
PKGDIR="/mnt/Data/cache/gentoo/binpkgs"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities amd64 avif branding bzip2 cairo cdr cli crypt dbus declarative dri dts dvdr emboss encode exif flac fortran gdbm gif gpm grub gtk gui iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc lto mad mng mp3 mp4 mpeg multilib ncurses networkmanager nptl nvidia offensive ogg opengl openmp pam pango pcre pdf pgo plasma png policykit ppds pulseaudio qml qt5 readline sdl seccomp spell split-usr ssl startup-notification svg systemd tiff truetype udev udisks unicode upower usb vorbis vulkan webp widgets wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64 32" ADA_TARGET="gnat_2020" 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="karbon sheets words" 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 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="en-US en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="WebAssembly" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

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

media-sound/pulseeffects-4.8.5-r1::gentoo was built with the following:
USE="calf webrtc zamaudio -bs2b -doc -rnnoise -rubberband" ABI_X86="(64)"
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-09 23:24:40 UTC
I think it'd help to see the full world update output (emerge -p -uvDU @world) rather than just some of it.

Note that the reason it's faster without it in world is because it doesn't have to backtrack at all / it does so less.

I actually think the pangomm/gtkmm thing may be related to https://github.com/gentoo/gentoo/pull/23680 which sohuld be merged shortly, FWIW.
Comment 3 Nikos Chantziaras 2022-01-10 18:14:59 UTC
(In reply to Sam James from comment #2)
> I think it'd help to see the full world update output (emerge -p -uvDU
> @world) rather than just some of it.

$ emerge -p -uvDU @world

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB

!!! The following update(s) have been skipped due to unsatisfied dependencies
!!! triggered by backtracking:

dev-cpp/pangomm:1.4
dev-cpp/gtkmm:3.0
sys-block/gparted:0
media-sound/pulseeffects:0
media-sound/pavucontrol:0

!!! Problems have been detected with your world file
!!! Please run emaint --check world


!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
media-sound/pavucontrol media-sound/pulseeffects sys-block/gparted
Comment 4 Nikos Chantziaras 2022-01-10 18:23:52 UTC
I made an oopsie. I was experimenting with the world file and forgot to restore it first. I removed packages from the world file until only the above errors were left. But restoring my actual world file gives this:

$ emerge -p -uvDU @world

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

x11-libs/pango:0

  (x11-libs/pango-1.50.3:0/0::gentoo, ebuild scheduled for merge) USE="X introspection -debug -sysprof" ABI_X86="32 (64) (-x32)" conflicts with
    <x11-libs/pango-1.50.0[abi_x86_32(-),abi_x86_64(-)] required by (dev-cpp/pangomm-2.42.2-r1:1.4/1.4::gentoo, installed) USE="-doc" ABI_X86="32 (64) (-x32)"
    ^               ^^^^^^                             

dev-python/docutils:0

  (dev-python/docutils-0.18.1:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" conflicts with
    <dev-python/docutils-0.18[python_targets_python3_9(-)] required by (dev-python/sphinx_rtd_theme-1.0.0:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
    ^                    ^^^^                             
    <dev-python/docutils-0.18[python_targets_python3_9(-)] required by (dev-python/sphinx-4.3.2:0/0::gentoo, installed) USE="-doc -latex -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
    ^                    ^^^^                             


!!! The following update(s) have been skipped due to unsatisfied dependencies
!!! triggered by backtracking:

dev-cpp/pangomm:1.4
dev-cpp/gtkmm:3.0
sys-block/gparted:0
media-sound/pulseeffects:0
media-sound/pavucontrol:0

!!! Problems have been detected with your world file
!!! Please run emaint --check world


!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
media-sound/pavucontrol media-sound/pulseeffects sys-block/gparted
Comment 5 Larry the Git Cow gentoo-dev 2022-01-10 23:05:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbbc4230812e3d7484284a9fcd4ef9c01a833df3

commit cbbc4230812e3d7484284a9fcd4ef9c01a833df3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-01-06 23:41:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-10 23:05:02 +0000

    dev-cpp/pangomm: add 2.46.2
    
    Will resolve confusing conflicts with gtkmm/pangomm too.
    
    Bug: https://bugs.gentoo.org/830881
    Closes: https://bugs.gentoo.org/829510
    Closes: https://github.com/gentoo/gentoo/pull/23680
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-cpp/pangomm/Manifest              |  1 +
 dev-cpp/pangomm/pangomm-2.46.2.ebuild | 40 +++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-10 23:06:34 UTC
Can you try --backtrack=0 and share the output? That said, after a sync (when the change I just tagged this bug with has landed in your mirror), it should work then anyway ;)
Comment 7 Nikos Chantziaras 2022-01-11 03:12:27 UTC
(In reply to Sam James from comment #6)
> Can you try --backtrack=0 and share the output? That said, after a sync
> (when the change I just tagged this bug with has landed in your mirror), it
> should work then anyway ;)

Thanks! The errors are gone:

=====================
$ emerge -p -uvDU --backtrack=0 @world

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-python/docutils:0

  (dev-python/docutils-0.18.1:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" conflicts with
    <dev-python/docutils-0.18[python_targets_python3_9(-)] required by (dev-python/sphinx_rtd_theme-1.0.0:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
    ^                    ^^^^                             
    <dev-python/docutils-0.18[python_targets_python3_9(-)] required by (dev-python/sphinx-4.3.2:0/0::gentoo, installed) USE="-doc -latex -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
    ^
=====================

The output without "--backtrack=0" is identical. So it seems it's fixed now.

(The "dev-python/docutils:0" thing has been there forever, so that's normal, I think.)