From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 1 10:20:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4C772DE8 for ; Thu, 1 May 2014 10:20:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2BC2A1876 for ; Thu, 1 May 2014 10:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s41AK1QL075860 for ; Thu, 1 May 2014 10:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s41AK0a1075859; Thu, 1 May 2014 10:20:00 GMT (envelope-from gnats) Date: Thu, 1 May 2014 10:20:00 GMT Message-Id: <201405011020.s41AK0a1075859@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Tijl Coosemans Subject: Re: ports/189105: textproc/raptor2-2.0.13 build fails X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Tijl Coosemans List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2014 10:20:01 -0000 The following reply was made to PR ports/189105; it has been noted by GNATS. From: Tijl Coosemans To: FreeBSD@nagilum.org Cc: bug-followup@freebsd.org Subject: Re: ports/189105: textproc/raptor2-2.0.13 build fails Date: Thu, 1 May 2014 12:13:34 +0200 --MP_/_l9DUykYYrxWAo5=UdFzmkd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wed, 30 Apr 2014 20:54:59 +0200 FreeBSD@nagilum.org wrote: > Zitat von Tijl Coosemans : >> On Wed, 30 Apr 2014 14:47:45 +0200 Alexander K=FChn wrote: >>> Zitat von Tijl Coosemans : >>>>> /bin/sh ../libtool --tag=3DCC --mode=3Dlink gcc48 -lcrypto -Os -O3 >>>>> -pipe -march=3Dnative -mtune=3Dnative -fno-strict-aliasing >>>>> -L/usr/local/lib -o rapper rapper.o ../src/libraptor2.la >>>>> libtool: link: gcc48 -Os -O3 -pipe -march=3Dnative -mtune=3Dnative >>>>> -fno-strict-aliasing -o .libs/rapper rapper.o -lcrypto >>>>> -L/usr/local/lib ../src/.libs/libraptor2.so -pthread -Wl,-rpath >>>>> -Wl,/usr/local/lib >>>>> //usr/lib/libhx509.so.10: undefined reference to `MD2_Final' >>>>> //usr/lib/libhx509.so.10: undefined reference to `MD2_Update' >>>>> //usr/lib/libhx509.so.10: undefined reference to `MD2_Init' >>>>> collect2: error: ld returned 1 exit status >>>>> gmake: *** [rapper] Error 1 >>>> >>>> Where does the -lcrypto in the command come from? >>> >>> Oh, sorry. I had put that in there in a first attempt to fix it but it >>> didn't make any difference. >> >> What is the output of "readelf -s /usr/lib/libcrypto.so | grep MD2"? >> Also, do you have the openssl port installed? >=20 > I think you may be on to something there! : >=20 > root@cakebox ~ > readelf -s /usr/lib/libcrypto.so | grep MD2 > 138: 00096a20 89 FUNC GLOBAL DEFAULT 11 MD2_Init > 595: 00096690 22 FUNC GLOBAL DEFAULT 11 MD2_options > 648: 000968b0 109 FUNC GLOBAL DEFAULT 11 MD2_Final > 1302: 00096920 242 FUNC GLOBAL DEFAULT 11 MD2_Update > 1367: 0005ccf0 181 FUNC GLOBAL DEFAULT 11 MD2 > 1530: 001330e0 38 OBJECT GLOBAL DEFAULT 13 MD2_version > root@cakebox ~ > readelf -s /usr/local/lib/libcrypto.so | grep MD2 > root@cakebox ~ > >=20 > Yep, I have openssl-1.0.1_11 installed. Can you try the attached patch for ftp/curl? Rebuild/reinstall curl and then raptor2. If it doesn't work I think you'll have to disable the GSSAPI_BASE option in the curl port. Or select another GSSAPI option like HEIMDAL_PORT. --MP_/_l9DUykYYrxWAo5=UdFzmkd Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=curl.patch Index: ftp/curl/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- ftp/curl/Makefile (revision 352677) +++ ftp/curl/Makefile (working copy) @@ -37,7 +37,7 @@ CONFIGURE_ENV+=3D LOCALBASE=3D${LOCALBASE} GNU_CONFIGURE=3D yes MAKE_ENV+=3D INSTALL_STRIP_FLAG=3D${STRIP} USE_PERL5=3D build -USES=3D pathfix perl5 tar:lzma +USES=3D libtool:oldver pathfix perl5 tar:lzma =20 PORTDOCS=3D * PORTEXAMPLES=3D * --MP_/_l9DUykYYrxWAo5=UdFzmkd--