Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2014 10:20:00 GMT
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/189105: textproc/raptor2-2.0.13 build fails
Message-ID:  <201405011020.s41AK0a1075859@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/189105; it has been noted by GNATS.

From: Tijl Coosemans <tijl@FreeBSD.org>
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 <tijl@freebsd.org>:
 >> On Wed, 30 Apr 2014 14:47:45 +0200 Alexander K=FChn wrote:
 >>> Zitat von Tijl Coosemans <tijl@freebsd.org>:
 >>>>> /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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405011020.s41AK0a1075859>