Date: Thu, 1 May 2014 13:50:01 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: <201405011350.s41Do1la060259@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 15:46:16 +0200 --MP_/53G4gP4iz_TLNZxHMphRPal Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thu, 01 May 2014 15:16:30 +0200 FreeBSD@nagilum.org wrote: > Zitat von Tijl Coosemans <tijl@freebsd.org>: >> 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? >>> >>> I think you may be on to something there! : >>> >>> 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 ~ > >>> >>> 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. >=20 > No change. > Although disabling GSSAPI resolves a similar error in curl (which can =20 > also be fixed by reordering the -L arguments) it does nothing for =20 > raptor2. I've attached a new patch for curl, because I think the HEIMDAL_PORT option currently doesn't work correctly. --MP_/53G4gP4iz_TLNZxHMphRPal 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 352469) +++ 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 * @@ -80,7 +80,7 @@ GSSAPI_BASE_CPPFLAGS=3D -I${INCLUDEDIR} HEIMDAL_PORT_CONFIGURE_ON=3D --with-gssapi=3D${HEIMDAL_HOME} HEIMDAL_PORT_CPPFLAGS=3D -I${HEIMDAL_HOME}/include HEIMDAL_PORT_LDFLAGS=3D -L${HEIMDAL_HOME}/lib -HEIMDAL_PORT_LIB_DEPENDS=3D libgssapi.so:${PORTSDIR}/security/heimdal +HEIMDAL_PORT_LIB_DEPENDS=3D libgssapi.so.3:${PORTSDIR}/security/heimdal HTTP2_CONFIGURE_OFF=3D --without-nghttp2 HTTP2_CONFIGURE_ON=3D --with-nghttp2=3D${LOCALBASE} HTTP2_LIB_DEPENDS=3D libnghttp2.so:${PORTSDIR}/www/nghttp2 @@ -94,7 +94,7 @@ IPV6_CONFIGURE_ON=3D --enable-ipv6 KRB5_PORT_CONFIGURE_ON=3D --with-gssapi=3D${KRB5_HOME} KRB5_PORT_CPPFLAGS=3D -I${KRB5_HOME}/include KRB5_PORT_LDFLAGS=3D -L${KRB5_HOME}/lib -KRB5_PORT_LIB_DEPENDS=3D libgssapi_krb5.so:${PORTSDIR}/security/krb5 +KRB5_PORT_LIB_DEPENDS=3D libgssapi_krb5.so.2:${PORTSDIR}/security/krb5 LDAP_CONFIGURE_OFF=3D --disable-ldap LDAP_CONFIGURE_ON=3D --enable-ldap LDAP_CPPFLAGS=3D -I${LOCALBASE}/include --MP_/53G4gP4iz_TLNZxHMphRPal--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405011350.s41Do1la060259>