Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge doesn't rebuild dependent packages and fails.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 558

PostPosted: Sun Jul 26, 2020 4:01 am    Post subject: emerge doesn't rebuild dependent packages and fails. Reply with quote

Basically, several packages depend on gdbm and glew and need to be rebuilt when gdbm or glew is updated.
However, an update of gdbm and glew doesn't trigger rebuilding of packages dependent on gdbm or glew.

Therefore, emerge complains about slot conflicts.

How can I make emerge push through slot conflicts?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31255
Location: here

PostPosted: Sun Jul 26, 2020 5:32 am    Post subject: Reply with quote

You can post exactly emerge output?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 558

PostPosted: Sun Jul 26, 2020 8:42 am    Post subject: Reply with quote

fedeliallalinea wrote:
You can post exactly emerge output?


Code:
> 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"
                   ^^^^^^^
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31255
Location: here

PostPosted: Sun Jul 26, 2020 12:49 pm    Post subject: Reply with quote

Adding --backtrack=100 and --with-bdeps=y options to emerge command does that solve anything?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 558

PostPosted: Mon Jul 27, 2020 5:20 am    Post subject: Reply with quote

fedeliallalinea wrote:
Adding --backtrack=100 and --with-bdeps=y options to emerge command does that solve anything?


No.

Code:
emerge -puDN --backtrack=50000 --autounmask-backtrack y --with-bdeps y @world


didn't change a thing.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31255
Location: here

PostPosted: Mon Jul 27, 2020 5:37 am    Post subject: Reply with quote

Ok so try to update manually with
Code:
# emerge -1 =sys-libs/gdbm-1.18.1 dev-lang/perl dev-lang/ruby:2.5 net-dns/avahi sys-apps/man-db
# emerge -1 =media-libs/glew-2.2.0 media-libs/openimageio x11-misc/slop media-libs/opencolorio

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 558

PostPosted: Mon Jul 27, 2020 9:27 am    Post subject: Reply with quote

fedeliallalinea wrote:
Ok so try to update manually with
Code:
# emerge -1 =sys-libs/gdbm-1.18.1 dev-lang/perl dev-lang/ruby:2.5 net-dns/avahi sys-apps/man-db
# emerge -1 =media-libs/glew-2.2.0 media-libs/openimageio x11-misc/slop media-libs/opencolorio


That works, but that's a messy workaround. I shouldn't need to do this.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31255
Location: here

PostPosted: Mon Jul 27, 2020 9:48 am    Post subject: Reply with quote

In some case is only solution see https://wiki.gentoo.org/wiki/Troubleshooting#Software_issues
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 849
Location: Cape Town, South Africa

PostPosted: Mon Jul 27, 2020 8:19 pm    Post subject: Reply with quote

I don't know if this is same issue or something slightly different.

Code:

Calculating dependencies... done!
[ebuild   R    ] dev-libs/json-c-0.14-r3:0/5::gentoo  USE="threads -doc -static-libs (-cpu-flags-x86-rdrand%)" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="-rdrand%" 0 KiB
[ebuild     U  ] sys-libs/readline-8.0_p4:0/8::gentoo [7.0_p5-r1:0/7::gentoo] USE="(split-usr) unicode -static-libs -utils" ABI_X86="32 (64) (-x32)" 2,912 KiB
[ebuild     U  ] app-shells/bash-5.0_p17::gentoo [4.4_p23-r1::gentoo] USE="net nls (readline) -afs -bashlogger -examples -mem-scramble -plugins" 9,948 KiB
[ebuild     U  ] media-libs/glew-2.2.0:0/2.2::gentoo [2.1.0-r1:0/2.1::gentoo] USE="-doc -static-libs" ABI_X86="32 (64) (-x32)" 817 KiB
[ebuild     UD ] dev-python/soupsieve-1.9.5::gentoo [2.0.1::gentoo] USE="-test" PYTHON_TARGETS="python3_7 (-pypy3) -python3_6 -python3_8 (-python3_9)" 0 KiB
[ebuild   R    ] dev-python/beautifulsoup-4.8.2:4::gentoo  USE="-doc -test" PYTHON_TARGETS="python3_7 (-pypy3) -python3_6 -python3_8 (-python3_9) (-python2_7%*)" 0 KiB
[ebuild  NS    ] dev-db/mariadb-10.4.13-r1:10.4/18::gentoo [10.4.13:0/18::gentoo] USE="backup extraengine jdbc pam perl server xml -bindist -cracklib -debug -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jemalloc -kerberos -latin1 -libressl (-mroonga) -numa -odbc -oqgraph -profiling -rocksdb (-selinux) -sphinx -sst-mariabackup -sst-rsync -static -systemd -systemtap -tcmalloc -test -tokudb -yassl" 0 KiB
[uninstall     ] dev-db/mariadb-10.4.13:0/18::gentoo  USE="backup extraengine jdbc pam perl server xml -bindist -cracklib -debug -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jemalloc -kerberos -latin1 -libressl (-mroonga) -numa -odbc -oqgraph -profiling -rocksdb (-selinux) -sphinx -sst-mariabackup -sst-rsync -static -systemd -systemtap -tcmalloc -test -tokudb -yassl"
[blocks b      ] dev-db/mariadb:0 ("dev-db/mariadb:0" is blocking dev-db/mariadb-10.4.13-r1)


readline and bash are there because they don't like PHP 5.6.

Glew is not happy:

Code:


!!! 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
    (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="32 (64) (-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 jpeg2k opengl python qt5 raw ssl truetype -color-management -dicom -doc -field3d -libressl -opencv -ptex" ABI_X86="(64)" CPU_FLAGS_X86="avx sse2 sse3 sse4_1 sse4_2 ssse3 -avx2 -avx512f -f16c" PYTHON_SINGLE_TARGET="python3_7 -python3_6"
                   ^^^^^^^                               


I thought Python and single-target stuff was no longer needed?

Thanks, Ian
_________________
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Back to top
View user's profile Send private message
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 558

PostPosted: Tue Jul 28, 2020 12:13 pm    Post subject: Reply with quote

I think it is a bug in emerge.
Back to top
View user's profile Send private message
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 558

PostPosted: Tue Jul 28, 2020 1:15 pm    Post subject: Reply with quote

I reported this issue on https://bugs.gentoo.org/734294
Back to top
View user's profile Send private message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 849
Location: Cape Town, South Africa

PostPosted: Tue Jul 28, 2020 7:26 pm    Post subject: Reply with quote

using --backtrack=30 seems to have sorted out most of my issues.

Now I have the gdbm block, but that's tied to fixing PHP 5.6.
_________________
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum