media-sound/spotify links to libgcrypt.so.11. Launching it on an ~ARCH system with libgcrypt-1.6.0 breaks it: /opt/spotify/spotify-client/spotify: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory Not sure what would be the best way to fix this, either shipping an older version of the library with the package (which seems to be already done for libudev.so.0), or slotting libgcrypt so we could install 1.5 in parallel to 1.6. Reproducible: Always Steps to Reproduce: 1. Install spotify on an ~ARCH system 2. Try to launch spotify Actual Results: /opt/spotify/spotify-client/spotify: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory Expected Results: No error :)
Ah, now I see that a dependency was already added in -r4 wrt bug #498054. Of course that just made Portage pull in -r3 instead which is still around, so I didn't notice.
ok, closing as invalid. post again if you still have issues with this/
Well, removing the older ebuilds would probably be a good thing, so others won't fall into the same trap...
Considering libgcrypt is indeed slotted now, the depedency should be changed to || ( gcrypt:0/11 gcrypt:11 ).
(In reply to Christoph Mende from comment #4) > Considering libgcrypt is indeed slotted now, the depedency should be changed > to || ( gcrypt:0/11 gcrypt:11 ). I totally agree: today I had to edit spotify ebuild, remove libgrypt:0/11 and install libgcrypt:11/11 in order to fix some blockers.
Created attachment 375546 [details, diff] Depend on libgcrypt:11/11 to solve the libgcrypt-1.6 blocks
fixed, sorry for being somewhat unresponsive, busy busy (fixed in spotify-0.9.4.183-r6.ebuild ).
I added libgcrypt:11 to keywords, but this resolves in an inconsistency with the original libgcrypt, which requires then to downgrade libgpg-error to 1.10, which in turn is not enough for gnupg-2.0.22 (requires >=libgpg-error-1.11). Maybe I'm getting this wrong, but this is the output of emerge -NDuva libgcrypt:11 [ebuild UD ] dev-libs/libgpg-error-1.10 [1.12] USE="nls -common-lisp -static-libs" 429 kB [ebuild U ~] media-libs/libsamplerate-0.1.8-r1 [0.1.7] USE="sndfile -static-libs%" 4,203 kB [ebuild NS ~] dev-libs/libgcrypt-1.5.3-r100:11 [1.5.3:0/11] 0 kB [blocks B ] dev-libs/libgcrypt:0/11 ("dev-libs/libgcrypt:0/11" is blocking dev-libs/libgcrypt-1.5.3-r100) Total: 3 packages (1 upgrade, 1 downgrade, 1 in new slot), Size of downloads: 4,632 kB Conflict: 1 block (1 unsatisfied) !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: dev-libs/libgpg-error:0 (dev-libs/libgpg-error-1.12::gentoo, installed) pulled in by >=dev-libs/libgpg-error-1.11 required by (app-crypt/gnupg-2.0.22::gentoo, installed) (dev-libs/libgpg-error-1.10::gentoo, ebuild scheduled for merge) pulled in by >=dev-libs/libgpg-error-1.8[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] required by (dev-libs/libgcrypt-1.5.3-r100::gentoo, ebuild scheduled for merge) [... cut ...] * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (dev-libs/libgcrypt-1.5.3-r100::gentoo, ebuild scheduled for merge) pulled in by libgcrypt:11 (dev-libs/libgcrypt-1.5.3::gentoo, installed) pulled in by >=dev-libs/libgcrypt-1.1.42:0/11= required by (dev-libs/libxslt-1.1.28-r1::gentoo, installed) >=dev-libs/libgcrypt-1.2.2:0/11= required by (gnome-base/gnome-keyring-3.10.1::gentoo, installed) >=dev-libs/libgcrypt-1.4:0 required by (app-crypt/gnupg-2.0.22::gentoo, installed) >=dev-libs/libgcrypt-1.2.2:0= required by (app-crypt/gcr-3.10.1::gentoo, installed) dev-libs/libgcrypt:0 required by (media-libs/libaacs-0.7.0::gentoo, installed) >=dev-libs/libgcrypt-1.2.2:0= required by (gnome-base/gnome-keyring-3.10.1::gentoo, installed) >=dev-libs/libgcrypt-1.2.0:0 required by (media-video/vlc-2.0.9::gentoo, installed) dev-libs/libgcrypt:0/11= required by (www-client/chromium-34.0.1847.116::gentoo, installed) >=dev-libs/libgcrypt-1.1.42:0= required by (dev-libs/libxslt-1.1.28-r1::gentoo, installed) dev-libs/libgcrypt:0/11 required by (media-sound/spotify-0.9.4.183-r5::gentoo, installed) >=dev-libs/libgcrypt-1.2.2:0/11= required by (app-crypt/gcr-3.10.1::gentoo, installed) dev-libs/libgcrypt:0= required by (media-sound/ario-1.5.1::gentoo, installed) dev-libs/libgcrypt:0 required by (media-libs/libmtp-1.1.6-r1::gentoo, installed)
I have the exact same problem and have no idea how to fix it. It's a good thing i can still use the -r5 build. So I would say that this fix brings a new problem. (In reply to MaurizioB from comment #8) > I added libgcrypt:11 to keywords, but this resolves in an inconsistency with > the original libgcrypt, which requires then to downgrade libgpg-error to > 1.10, which in turn is not enough for gnupg-2.0.22 (requires > >=libgpg-error-1.11). > Maybe I'm getting this wrong, but this is the output of emerge -NDuva > libgcrypt:11 > > [ebuild UD ] dev-libs/libgpg-error-1.10 [1.12] USE="nls -common-lisp > -static-libs" 429 kB > [ebuild U ~] media-libs/libsamplerate-0.1.8-r1 [0.1.7] USE="sndfile > -static-libs%" 4,203 kB > [ebuild NS ~] dev-libs/libgcrypt-1.5.3-r100:11 [1.5.3:0/11] 0 kB > [blocks B ] dev-libs/libgcrypt:0/11 ("dev-libs/libgcrypt:0/11" is > blocking dev-libs/libgcrypt-1.5.3-r100) > > Total: 3 packages (1 upgrade, 1 downgrade, 1 in new slot), Size of > downloads: 4,632 kB > Conflict: 1 block (1 unsatisfied) > > !!! Multiple package instances within a single package slot have been pulled > !!! into the dependency graph, resulting in a slot conflict: > > dev-libs/libgpg-error:0 > > (dev-libs/libgpg-error-1.12::gentoo, installed) pulled in by > >=dev-libs/libgpg-error-1.11 required by > (app-crypt/gnupg-2.0.22::gentoo, installed) > > (dev-libs/libgpg-error-1.10::gentoo, ebuild scheduled for merge) pulled in > by > > >=dev-libs/libgpg-error-1.8[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?, > abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] required by > (dev-libs/libgcrypt-1.5.3-r100::gentoo, ebuild scheduled for merge) > > > [... cut ...] > > * Error: The above package list contains packages which cannot be > * installed at the same time on the same system. > > (dev-libs/libgcrypt-1.5.3-r100::gentoo, ebuild scheduled for merge) pulled > in by > libgcrypt:11 > > (dev-libs/libgcrypt-1.5.3::gentoo, installed) pulled in by > >=dev-libs/libgcrypt-1.1.42:0/11= required by > (dev-libs/libxslt-1.1.28-r1::gentoo, installed) > >=dev-libs/libgcrypt-1.2.2:0/11= required by > (gnome-base/gnome-keyring-3.10.1::gentoo, installed) > >=dev-libs/libgcrypt-1.4:0 required by (app-crypt/gnupg-2.0.22::gentoo, > installed) > >=dev-libs/libgcrypt-1.2.2:0= required by (app-crypt/gcr-3.10.1::gentoo, > installed) > dev-libs/libgcrypt:0 required by (media-libs/libaacs-0.7.0::gentoo, > installed) > >=dev-libs/libgcrypt-1.2.2:0= required by > (gnome-base/gnome-keyring-3.10.1::gentoo, installed) > >=dev-libs/libgcrypt-1.2.0:0 required by (media-video/vlc-2.0.9::gentoo, > installed) > dev-libs/libgcrypt:0/11= required by > (www-client/chromium-34.0.1847.116::gentoo, installed) > >=dev-libs/libgcrypt-1.1.42:0= required by > (dev-libs/libxslt-1.1.28-r1::gentoo, installed) > dev-libs/libgcrypt:0/11 required by > (media-sound/spotify-0.9.4.183-r5::gentoo, installed) > >=dev-libs/libgcrypt-1.2.2:0/11= required by > (app-crypt/gcr-3.10.1::gentoo, installed) > dev-libs/libgcrypt:0= required by (media-sound/ario-1.5.1::gentoo, > installed) > dev-libs/libgcrypt:0 required by (media-libs/libmtp-1.1.6-r1::gentoo, > installed)
It seem that after this, you must unmask libgcrypt-1.1.6, emerge it, unmask libgcrypt:11 then you can install/upgrade spotify
We could, but actually I don't understand why this should be necessary. Another thing: I am on x86 and I've not seen this problem, but I always had similar problems with spotify. Have you tried to make a symlink to the actual library in the /opt/spotify/spotify-client directory?
one bug at a time. as this one is closed (it may require installing both slots of libgcrypt) I'd suggest documenting the new bug in a new bug :D
Hi, Maybe I'm missing something, but I can use spotify with :0/11 without problems. Presumably it works with :11/11,too. I believe the problems above arise, because some users do not have ~amd64 / ~x86 / ~whatever globally enabled but only for spotify (there's no stable spotify). So, I suggest: # diff -Nau /usr/portage/media-sound/spotify/spotify-0.9.4.183-r6.ebuild spotify-0.9.4.183-r6.ebuild --- /usr/portage/media-sound/spotify/spotify-0.9.4.183-r6.ebuild 2014-04-24 10:02:32.000000000 +0300 +++ spotify-0.9.4.183-r6.ebuild 2014-05-10 10:47:26.132985281 +0300 @@ -44,7 +44,7 @@ media-libs/freetype dev-libs/openssl:0 dev-libs/glib:2 - dev-libs/libgcrypt:11/11 + || ( dev-libs/libgcrypt:11/11 dev-libs/libgcrypt:0/11 ) media-libs/libpng:1.2 dev-db/sqlite:3 sys-libs/zlib instead of the current fix.