Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Cannot resolve libgcrypt dependency conflict
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
Cecillian
n00b
n00b


Joined: 28 Jul 2015
Posts: 14

PostPosted: Wed Oct 07, 2015 6:39 pm    Post subject: [SOLVED]Cannot resolve libgcrypt dependency conflict Reply with quote

I'm trying to update world, and I had a couple dependency conflicts that I was able to resolve by following the instructions regarding portage troubleshooting - https://wiki.gentoo.org/wiki/Troubleshooting#Dependency_graph_slot_conflicts

However, regarding libgcrypt, I am unable to resolve it by following the same instructions. emerging the most recent version of libgcrypt does not seem to solve the issue. It simply tells me that it has skipped over it due to a dependency conflict. I've tried various permutations of the version and the packages that I'm trying to re-emerge, but the error messages persist.

update world
Code:

$ emerge --pretend --verbose --update --deep --newuse @world
[...]
Total: 87 packages (66 upgrades, 2 new, 2 in new slots, 17 reinstalls), Size of downloads: 883,197 KiB
Conflict: 1 block

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

dev-libs/libgcrypt:0

  (dev-libs/libgcrypt-1.6.3-r4:0/20::gentoo, ebuild scheduled for merge) conflicts with
    >=dev-libs/libgcrypt-1.2.2:0/11= required by (gnome-base/libgnome-keyring-3.12.0:0/0::gentoo, installed)
                              ^^^^^^
    =dev-libs/libgcrypt-1.5* required by (app-emulation/vmware-workstation-11.1.2.2780323:0/0::vmware, installed)
    ^                   ^^^^
    >=dev-libs/libgcrypt-1.5.3:0/11=[abi_x86_32(-),abi_x86_64(-)] required by (dev-libs/libxslt-1.1.28-r4:0/0::gentoo, installed)
                              ^^^^^^                             



attempt to follow troubleshooting instructions

Code:

$ sudo emerge --ask --oneshot '>=dev-libs/libgcrypt-1.5.3'
[...]
Calculating dependencies... done!
[ebuild   R    ] dev-libs/libgcrypt-1.5.4-r1

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

dev-libs/libgcrypt:0

  (dev-libs/libgcrypt-1.6.3-r4:0/20::gentoo, ebuild scheduled for merge) conflicts with
    >=dev-libs/libgcrypt-1.2.2:0/11= required by (gnome-base/libgnome-keyring-3.12.0:0/0::gentoo, installed)
                              ^^^^^^
    >=dev-libs/libgcrypt-1.2.2:0/11= required by (gnome-base/gnome-keyring-3.14.0:0/0::gentoo, installed)
                              ^^^^^^
    >=dev-libs/libgcrypt-1.4:0/11= required by (app-crypt/gnupg-2.0.26-r3:0/0::gentoo, installed)
                            ^^^^^^
    >=dev-libs/libgcrypt-1.2.2:0/11= required by (app-crypt/gcr-3.14.0:0/1::gentoo, installed)
                              ^^^^^^
    >=dev-libs/libgcrypt-1.5.3:0/11=[abi_x86_32(-),abi_x86_64(-)] required by (dev-libs/libxslt-1.1.28-r4:0/0::gentoo, installed)
                              ^^^^^^                             
    =dev-libs/libgcrypt-1.5* required by (app-emulation/vmware-workstation-11.1.2.2780323:0/0::vmware, installed)
    ^                   ^^^^



I've checked the manpages for portage and emerge, but the only mention of conflicts is in emerge where it tells you about the backtrack option. I have tried that as well to no avail.

I'm pretty sure I've checked in all the places relevant to my problem, but somehow I've missed something.

And just in case it's relevant, my emerge info:

Code:

$ emerge --info
Portage 2.2.20.1 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.4, glibc-2.20-r2, 4.0.5-gentoo x86_64)
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i5-4570_CPU_@_3.20GHz-with-gentoo-2.2
KiB Mem:    16374232 total,   2851728 free
KiB Swap:     524284 total,    478356 free
Timestamp of repository gentoo: Mon, 05 Oct 2015 06:30:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

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

vmware
    location: /var/lib/layman/vmware
    masters: gentoo
    priority: 0

Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -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://distfiles.gentoo.org"
LANG="en_US.utf8"
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"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv infinality ipv6 jpeg lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl seccomp session spell sqlite sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid xvmc zlib" ABI_X86="32 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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 ublox ubx" INPUT_DEVICES="evdev" 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Last edited by Cecillian on Wed Oct 07, 2015 7:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Wed Oct 07, 2015 6:52 pm    Post subject: Reply with quote

Quote:
=dev-libs/libgcrypt-1.5* required by (app-emulation/vmware-workstation-11.1.2.2780323:0/0::vmware, installed)


Says it all, on the reason of the blocker. Simply put, vmware-workstation requires a libgcrypt version of 1.5.x (1.6.3 is not the same as 1.5.x). There is very little you can do to resolve this, until vmware-workstation package is updated to support a newer version of libgcrypt. Until this happens, you could mask >=libgcrypt-1.6 (though you will want to keep an eye out when vmware-workstation comes out to see if a newer version allows a newer version.
Back to top
View user's profile Send private message
Cecillian
n00b
n00b


Joined: 28 Jul 2015
Posts: 14

PostPosted: Wed Oct 07, 2015 7:30 pm    Post subject: Reply with quote

Ah, thank you. And for future reference, what part of the error message tipped you off that vmware specifically was the problem? It has a very similar format to the other ones. The only difference I'm noticing is that it has carrots pointing toward the version number rather than the slot number.
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Wed Oct 07, 2015 9:59 pm    Post subject: Reply with quote

the part that tipped me off as significant issue, is the straight = sign. Though a <= would also have shown a blocker too... When the = sign (not >=) is in front of a dependency, it means the package has a hard dependency on a specific version of a library. When you have a = sign trailing at the end of a dependency, it is usually using in slotting and usually means the package needs to be rebuild along with the dependency. A = at the end must always satisfy the version dependency specifier (=,<=,>=) and the slotting requirements to clear.

So in short, you had one of the easier issues as slotting conflicts are rather common and ends up being a mess.
Back to top
View user's profile Send private message
Manfred
n00b
n00b


Joined: 27 Apr 2004
Posts: 65

PostPosted: Thu Oct 08, 2015 1:37 pm    Post subject: Reply with quote

You might c.f. Gentoo Bug 562384 :

Bug 562384 - [overlay] vmware-workstation-11.1.2.2780323-r[1..3].ebuild : ">=dev-libs/libgcrypt-1.5.0:0/11" conflicts

https://bugs.gentoo.org/show_bug.cgi?id=562384
https://bugs.gentoo.org/show_bug.cgi?id=562384#c2
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