Created attachment 275889 [details] Build log Hello there! You're getting this bug because the package in Summary failed to build in my tinderbox using the gold link editor from binutils. Before closing the bug as INVALID let me explain why this is still important! The gold link editor does not support underlinking of shared objects, which is something I have described in my blog post: http://blog.flameeyes.eu/2010/11/26/it-s-not-all-gold-that-shines-why-underlinking-is-a-bad-thing Even the basic link editor (ld.bfd) has an option to support this but it is a heck to enable and get passed, so linking with gold is simply quicker. Fixing underlinking provides optimized --as-needed builds (because the "softer" version no longer need to recover libraries that are underlinked), so it is a Good Thing To Do. Thank you very much for the attention!
Output file "sslsniff" needs libboost_system.so and libcrypto.so, but does not request them. Adding "-lboost_system -lcrypto" to the link line should fix it.
Created attachment 292999 [details, diff] sslsniff-0.8-underlinking.patch Use pkgconfig to get openssl libraries (configure.ac) and add -lboost_system to LDFLAGS. Also needs these changes to the ebuild: Index: sslsniff-0.8.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-analyzer/sslsniff/sslsniff-0.8.ebuild,v retrieving revision 1.1 diff -u -B -r1.1 sslsniff-0.8.ebuild --- sslsniff-0.8.ebuild 2 Oct 2011 01:27:31 -0000 1.1 +++ sslsniff-0.8.ebuild 18 Nov 2011 17:50:32 -0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/sslsniff/sslsniff-0.8.ebuild,v 1.1 2011/10/02 01:27:31 robbat2 Exp $ -EAPI=2 +EAPI=4 inherit autotools eutils DESCRIPTION="MITM all SSL connections on a LAN and dynamically generates certs" @@ -14,12 +14,14 @@ KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND="dev-libs/boost +DEPEND="dev-util/pkgconfig" +CDEPEND="dev-libs/boost dev-libs/log4cpp dev-libs/openssl" +RDEPEND="${CDEPEND}" src_prepare() { - epatch "${FILESDIR}"/${PN}-0.6-asneeded.patch + epatch "${FILESDIR}"/${P}-underlinking.patch eautoreconf }
(In reply to comment #2) > Created attachment 292999 [details, diff] [details, diff] > sslsniff-0.8-underlinking.patch > > Use pkgconfig to get openssl libraries (configure.ac) and add -lboost_system > to LDFLAGS. Maybe AC_SUBST(openssl_LIBS) isn't even needed. I haven't checked.
Can I get a bump on this from someone that know how to test if "AC_SUBST(openssl_LIBS)" is needed? Feel free to fix it however you see fit, as long as you sanely tested.
Fixed in 0.8-r1.