Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 734294 - emerge fails to rebuild reverse dependencies and complains about slot conflicts.
Summary: emerge fails to rebuild reverse dependencies and complains about slot conflicts.
Status: RESOLVED OBSOLETE
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: 2020-07-28 13:15 UTC by anonymous
Modified: 2022-07-28 00:31 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 anonymous 2020-07-28 13:15:02 UTC
In this case, updating gdbm and glew should have resulted in rebuild of reverse dependencies, but emerge fails to do so and complains about slot conflicts instead.

> emerge -puDN --verbose-conflicts @world
[ebuild     U ] sys-kernel/linux-firmware-20200721 [20200619]
[ebuild     U ] dev-lang/luajit-2.0.5-r2 [2.0.5-r1]
[ebuild     U ] sys-devel/binutils-config-5.3.2 [5.3.1]
[ebuild     U ] sys-devel/gcc-config-2.3.1 [2.3]
[ebuild     U ] media-libs/freetype-2.10.2-r1 [2.9.1-r3]
[ebuild     U ] sci-libs/fftw-3.3.8-r1 [3.3.6_p2]
[ebuild     U ] media-fonts/fontawesome-5.14.0 [5.13.1]
[ebuild     U ] media-fonts/noto-20200521 [20190524]
[ebuild     U ] net-misc/socat-1.7.3.4 [1.7.3.2]
[ebuild     U ] sys-libs/gdbm-1.18.1 [1.13-r2]
[ebuild     U ] media-libs/audiofile-0.3.6-r4 [0.3.6-r3]
[ebuild     U ] sys-kernel/genkernel-4.0.10 [4.0.9-r1]
[ebuild     U ] sys-process/cronie-1.5.5 [1.5.4-r1]
[ebuild     U ] app-eselect/eselect-vi-1.2 [1.1.9]
[ebuild     U ] dev-lang/python-2.7.18-r1 [2.7.18]
[ebuild     U ] dev-texlive/texlive-formatsextra-2020-r2 [2020-r1]
[ebuild     U ] dev-lang/python-3.7.8-r2 [3.7.8-r1]
[ebuild     U ] dev-lang/python-3.8.4-r1 [3.8.3-r1]
[ebuild     U ] dev-python/soupsieve-2.0.1 [1.9.5]
[ebuild     U ] x11-libs/libdrm-2.4.102 [2.4.100]
[ebuild     U ] dev-python/cryptography-3.0 [2.9]
[ebuild     U ] x11-libs/libxkbcommon-0.10.0-r1 [0.10.0]
[ebuild     U ] media-libs/libglvnd-1.3.2 [1.3.1]
[ebuild     U ] sys-apps/portage-2.3.103 [2.3.99-r2]
[ebuild     U ] media-libs/glew-2.2.0 [2.1.0-r1]
[ebuild     U ] dev-python/arrow-0.15.8 [0.15.7]
[ebuild   R   ] dev-python/beautifulsoup-4.8.2
[ebuild     U ] x11-misc/xkeyboard-config-2.30 [2.29]
[ebuild   R   ] dev-libs/json-c-0.14-r3
[ebuild     U ] dev-libs/libgit2-1.0.1 [1.0.0-r1]
[ebuild     U ] app-text/xmlto-0.0.28-r3 [0.0.28-r2]
[ebuild  N    ] dev-util/colm-0.13.0.5
[ebuild     U ] x11-misc/xdg-utils-1.1.3_p20200220 [1.1.3-r1]
[ebuild     U ] sys-libs/libblockdev-2.24 [2.23-r1]
[ebuild     U ] dev-util/ragel-7.0.0.10-r2 [6.10]
[ebuild     U ] x11-base/xorg-server-1.20.8-r1 [1.20.8]
[ebuild     U ] dev-libs/libinput-1.15.6 [1.15.5]
[ebuild     U ] x11-libs/cairo-1.16.0-r4 [1.16.0-r3]
[ebuild   R   ] app-emulation/qemu-5.0.0-r1
[ebuild     U ] net-im/skypeforlinux-8.62.0.85 [8.62.0.83]
[ebuild     U ] www-client/brave-bin-1.11.101 [1.11.97]
[ebuild     U ] app-text/texlive-2020-r6 [2020-r5]

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

sys-libs/gdbm:0

  (sys-libs/gdbm-1.18.1:0/6::gentoo, ebuild scheduled for merge) USE="berkdb nls readline -static-libs" ABI_X86="(64) -32 (-x32)" pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (sys-libs/gdbm-1.13-r2:0/1.13::gentoo, installed) USE="berkdb nls readline -exporter -static-libs" ABI_X86="(64) -32 (-x32)" pulled in by
    >=sys-libs/gdbm-1.8.3:0/1.13= required by (dev-lang/perl-5.30.3:0/5.30::gentoo, installed) USE="berkdb gdbm ithreads -debug -doc" ABI_X86="(64)"
                         ^^^^^^^^                                                                                                                             
    sys-libs/gdbm:0/1.13= required by (dev-lang/ruby-2.5.8:2.5/2.5::gentoo, installed) USE="berkdb gdbm ipv6 rdoc ssl -debug -doc -examples -jemalloc -libressl -rubytests -socks5 -static-libs -tk -xemacs" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
    sys-libs/gdbm:0/1.13=[abi_x86_64(-)] required by (net-dns/avahi-0.8-r2:0/0::gentoo, installed) USE="gdbm gtk introspection ipv6 nls qt5 -autoipd -bookmarks -dbus -doc -gtk2 -howl-compat -mdnsresponder-compat -mono -python (-selinux) -systemd -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_7 -python3_6 -python3_8"
                 ^^^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
    sys-libs/gdbm:0/1.13= required by (sys-apps/man-db-2.8.7:0/0::gentoo, installed) USE="berkdb gdbm manpager nls seccomp zlib (-selinux) -static-libs" ABI_X86="(64)"
                 ^^^^^^^^                                                                                                                                                                                                                                                                                                     

media-libs/glew:0

  (media-libs/glew-2.2.0:0/2.2::gentoo, ebuild scheduled for merge) USE="-doc -static-libs" ABI_X86="(64) -32 (-x32)" pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (media-libs/glew-2.1.0-r1:0/2.1::gentoo, installed) USE="-doc -static-libs" ABI_X86="(64) -32 (-x32)" pulled in by
    media-libs/glew:0/2.1= required by (media-libs/openimageio-1.8.17-r2:0/0::gentoo, installed) USE="ffmpeg gif opengl qt5 ssl truetype -color-management (-dicom) -doc -field3d -jpeg2k -libressl -opencv -ptex -python -raw" ABI_X86="(64)" CPU_FLAGS_X86="avx f16c sse2 sse3 sse4_1 sse4_2 ssse3 -avx2 -avx512f" PYTHON_SINGLE_TARGET="python3_7 -python3_6"
                   ^^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
    media-libs/glew:0/2.1= required by (x11-misc/slop-7.5:0/7.5::gentoo, installed) USE="opengl" ABI_X86="(64)"
                   ^^^^^^^                                                                                                                                     
    media-libs/glew:0/2.1= required by (media-libs/opencolorio-1.1.0-r4:0/0::gentoo, installed) USE="opengl -doc -python -static-libs -test" ABI_X86="(64)" CPU_FLAGS_X86="sse2" PYTHON_SINGLE_TARGET="python3_7 -python3_6"
                   ^^^^^^^

Reproducible: Always
Comment 1 Brian McKee 2020-08-03 18:27:25 UTC
Just adding myself as another one with this problem. I only have problems with glew though:

emerge -pv -1 glew

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

Calculating dependencies... done!
[ebuild   R    ] media-libs/glew-2.1.0-r1:0/2.1::gentoo  USE="-doc -static-libs" ABI_X86="32 (64) (-x32)" 0 KiB

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

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

media-libs/glew:0

  (media-libs/glew-2.2.0:0/2.2::gentoo, ebuild scheduled for merge) USE="-doc -static-libs" ABI_X86="32 (64) (-x32)" conflicts with
    media-libs/glew:0/2.1= required by (sci-electronics/kicad-5.1.6:0/0::gentoo, installed) USE="ngspice oce openmp python -doc -examples -github -occ" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_6 -python3_7 -python3_8"
                   ^^^^^^^


Changing backtrack doesn't help.

The arrows are pointing to: ABI_X86="(64)"

As if portage doesn't think 64 bit ABI will work.
Comment 2 Brian McKee 2020-08-03 18:37:52 UTC
Update: I got more information: This is a package conflict. I think I should be able to resolve this myself:

emerge =media-libs/glew-2.2.0
Calculating dependencies... done!
[ebuild     U  ] media-libs/glew-2.2.0 [2.1.0-r1]

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

media-libs/glew:0

  (media-libs/glew-2.2.0:0/2.2::gentoo, ebuild scheduled for merge) USE="-doc -static-libs" ABI_X86="32 (64) (-x32)" pulled in by
    =media-libs/glew-2.2.0 (Argument)

  (media-libs/glew-2.1.0-r1:0/2.1::gentoo, installed) USE="-doc -static-libs" ABI_X86="32 (64) (-x32)" pulled in by
    media-libs/glew:0/2.1= required by (sci-electronics/kicad-5.1.6:0/0::gentoo, installed) USE="ngspice oce openmp python -doc -examples -github -occ" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_6 -python3_7 -python3_8"
                   ^^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
    (and 1 more with the same problem)

NOTE: Use the '--verbose-conflicts' option to display parents omitted above

!!! The slot conflict(s) shown above involve package(s) which may need to
!!! be rebuilt in order to solve the conflict(s). However, the following
!!! package(s) cannot be rebuilt for the reason(s) shown:

  (sci-electronics/kicad-5.1.6:0/0::gentoo, installed): ebuild is masked or unavailable


Somehow the version of kicad I had installed was masked. Either it was masked in repo or I accidentally deleted the accept_keywords file.

However, once I unmasked kicad, emerge still failed:

emerge =media-libs/glew-2.2.0 --verbose-conflicts
Calculating dependencies... done!
[ebuild     U  ] media-libs/glew-2.2.0 [2.1.0-r1]

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

media-libs/glew:0

  (media-libs/glew-2.2.0:0/2.2::gentoo, ebuild scheduled for merge) USE="-doc -static-libs" ABI_X86="32 (64) (-x32)" pulled in by
    =media-libs/glew-2.2.0 (Argument)

  (media-libs/glew-2.1.0-r1:0/2.1::gentoo, installed) USE="-doc -static-libs" ABI_X86="32 (64) (-x32)" pulled in by
    media-libs/glew:0/2.1= required by (media-libs/libprojectm-2.1.0-r2:0/0::gentoo, installed) USE="openmp -debug" ABI_X86="(64)" VIDEO_CARDS="nvidia"
                   ^^^^^^^                                                                                                                                                                                                                                             
    media-libs/glew:0/2.1= required by (sci-electronics/kicad-5.1.6:0/0::gentoo, installed) USE="ngspice oce openmp python -doc -examples -github -occ" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_6 -python3_7 -python3_8"

Oh, and it's not pointing at the ABI, it's pointing at the glew requirement of kicad. So this is a real conflict. Sorry to clutter the bug report.
Comment 3 anonymous 2022-07-28 00:31:39 UTC
I can't reproduce this anymore.