Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 404185

Summary: net-misc/dropbox-1.2.51 depends on "old slot" versions of libpng and openssl
Product: Gentoo Linux Reporter: Melendro <melendro>
Component: New packagesAssignee: Naohiro Aota <naota>
Status: RESOLVED FIXED    
Severity: normal CC: jlec
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Melendro 2012-02-16 20:27:36 UTC
When emerging dropbox-1.2.51 it emerged libpng-1.2.46 and openssl-0.9.8t as dependencies. I realized that I have newer versions (in newer slots) of these packages, so I removed the newly emerged old versions and dropbox doesn't give any problem with the more recent versions.

Shouldn't be enough to make dropbox depend on libpng and openssl without restricting the dependencies to old slots? i.e. replace:

RDEPEND="
        dev-libs/popt
        dev-libs/openssl:0.9.8
        >=sys-devel/gcc-4.2.0
        net-misc/wget
        net-misc/rsync
        media-libs/libpng:1.2"

by 

RDEPEND="
        dev-libs/popt
        dev-libs/openssl
        >=sys-devel/gcc-4.2.0
        net-misc/wget
        net-misc/rsync
        media-libs/libpng"
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2012-02-16 20:40:55 UTC
Right, but that is because this time it is statically linked. Otherwise we would need the other versions.


   16 Feb 2012; Justin Lecher <jlec@gentoo.org> dropbox-1.2.51.ebuild:
+  Drop all deps as the binary is statically linked
+
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2012-02-16 22:29:02 UTC
I was wrong, it is not statically linked, but somehow ldd doesn't work on it.

But the deps are right except of libpng


Dynamic section at offset 0x34b510 contains 28 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libutil.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libssl.so.0.9.8]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.0.9.8]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]