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

Bug 531746

Summary: =sci-electronics/eagle-7.2.0 should not depend on media-libs/libpng
Product: Gentoo Linux Reporter: Kobboi <gentoo>
Component: Current packagesAssignee: Christian Ruppert (idl0r) <idl0r>
Status: RESOLVED FIXED    
Severity: normal CC: jouni.kosonen, sci-electronics
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dependency graph

Description Kobboi 2014-12-05 13:01:24 UTC
The "ldd" dependency of /opt/eagle/bin/eagle is because of freetype as shown in the attachment. 

The current dependency in the ebuild makes me hit GLSAs 201010-01 and 201206-15 and needlessly so, IMHO.

Reproducible: Always
Comment 1 Kobboi 2014-12-05 13:01:46 UTC
Created attachment 390994 [details]
dependency graph
Comment 2 Jouni Kosonen 2015-01-08 17:48:58 UTC
I believe the original summary was correct: eagle-7.2.0 depends on libpng:1.2 but actually links against libpng:0 

Also, at least from eagle-6.6.0 onwards, the binary links against 32-bit libcrypto.so.1.0.0 and libssl.so.1.0.0 so the openssl dependency is for a wrong slot as well.

--- a/eagle-7.2.0.ebuild
+++ b/eagle-7.2.0.ebuild
@@ -25,2 +25,2 @@ RDEPEND="
-                       >=media-libs/libpng-1.2.51:1.2[abi_x86_32(-)]
-                       >=dev-libs/openssl-0.9.8z_p1-r2:0.9.8[abi_x86_32(-)]
+                       >=media-libs/libpng-1.6.10:0[abi_x86_32(-)]
+                       >=dev-libs/openssl-1.0.1f:0[abi_x86_32(-)]
Comment 3 Kobboi 2015-01-08 19:09:32 UTC
My point was that there is no direct dependency of eagle on *ANY* libpng, so it should be removed completely from RDEPEND. No?
Comment 4 Christian Ruppert (idl0r) gentoo-dev 2015-02-07 14:08:30 UTC
Fixed in CVS. Thanks!