Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560888 - media-sound/spotify-1.0.14 needs to depend on net-print/cups
Summary: media-sound/spotify-1.0.14 needs to depend on net-print/cups
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-20 09:14 UTC by Ryan Hill (RETIRED)
Modified: 2015-09-20 23:51 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 Ryan Hill (RETIRED) gentoo-dev 2015-09-20 09:14:11 UTC
Looks like we lost the cups dependency with the rewrite.

$ spotify 
/opt/spotify/spotify-client/spotify: error while loading shared libraries: libcups.so.2: cannot open shared object file: No such file or directory

$ ldd /opt/spotify/spotify-client/libcef.so  | grep cups
    libcups.so.2 => /usr/lib64/libcups.so.2 (0x00007fa5915c8000)
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-09-20 21:09:42 UTC
here are the libs required, quick and dirty

# for lib in $(lddtree /opt/spotify/spotify-client/spotify | awk '{print $3}' | sort -u); do qfile ${lib}; done | awk '{print $1}' | sort -u
app-arch/bzip2
dev-libs/atk
dev-libs/dbus-glib
dev-libs/expat
dev-libs/glib
dev-libs/gmp
dev-libs/libffi
dev-libs/libtasn1
dev-libs/nettle
dev-libs/nspr
dev-libs/nss
dev-libs/openssl
gnome-base/gconf
media-gfx/graphite2
media-libs/alsa-lib
media-libs/fontconfig
media-libs/freetype
media-libs/harfbuzz
media-libs/libpng
media-libs/mesa
media-sound/spotify
media-video/rtmpdump
net-libs/gnutls
net-misc/curl
net-print/cups
sys-apps/dbus
sys-devel/gcc
sys-libs/glibc
sys-libs/zlib
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/gtk+
x11-libs/libdrm
x11-libs/libX11
x11-libs/libXau
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXScrnSaver
x11-libs/libxshmfence
x11-libs/libXtst
x11-libs/libXxf86vm
x11-libs/pango
x11-libs/pixman
Comment 2 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-09-20 22:11:00 UTC
seemed to reduce down pretty well though, with some things depending on others

dev-libs/nss
gnome-base/gconf
media-libs/alsa-lib
media-libs/harfbuzz[fontconfig]
media-libs/mesa
net-misc/curl[rtmp]
net-print/cups[ssl]
sys-libs/glibc
x11-libs/gtk+:2
x11-libs/libXScrnSaver
x11-libs/libXtst
pulseaudio? ( media-sound/pulseaudio )
gnome? ( gnome-extra/gnome-integration-spotify )

fixed in place
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2015-09-20 23:46:51 UTC
(In reply to Matthew Thode ( prometheanfire ) from comment #1)
> here are the libs required, quick and dirty
> 
> # for lib in $(lddtree /opt/spotify/spotify-client/spotify | awk '{print
> $3}' | sort -u); do qfile ${lib}; done | awk '{print $1}' | sort -u

That brings in sub-dependencies that will differ depending on what USE flags you have enabled.  For example rtmpdump only appeared in your list because your curl was built with USE=rtmp.

I wouldn't rely on packages pulling in others too much.  Dependencies change, USE flags get added, etc.  It's up to you though.  These are the direct dependencies:

$ qfile -Sb $(scanelf -RBF "%n" /opt/spotify/spotify-client/ | sed -e 's:/opt.*\b::' -e 's:,:\n:g') | cut -d' ' -f1 | sort -u
dev-libs/atk:0
dev-libs/expat:0
dev-libs/glib:2
dev-libs/nspr:0
dev-libs/nss:0
dev-libs/openssl:0
gnome-base/gconf:2
media-libs/alsa-lib:0
media-libs/fontconfig:1.0
media-libs/freetype:2
media-libs/harfbuzz:0/0.9.18
media-sound/spotify:0
net-misc/curl:0
net-print/cups:0
sys-apps/dbus:0
sys-devel/gcc:4.8
sys-devel/gcc:4.9
sys-devel/gcc:5.1
sys-devel/gcc:5.2
sys-libs/glibc:2.2
x11-libs/cairo:0
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:2
x11-libs/libX11:0
x11-libs/libXcomposite:0
x11-libs/libXcursor:0
x11-libs/libXdamage:0
x11-libs/libXext:0
x11-libs/libXfixes:0
x11-libs/libXi:0
x11-libs/libXrandr:0
x11-libs/libXrender:0
x11-libs/libXScrnSaver:0
x11-libs/libXtst:0
x11-libs/pango:0

So I think if you drop the rtmp flag from curl you're good.
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-09-20 23:51:19 UTC
ah, good point, guess I'll remove that now