ports/189105: textproc/raptor2-2.0.13 build fails
FreeBSD at nagilum.org
FreeBSD at nagilum.org
Thu May 1 18:40:01 UTC 2014
The following reply was made to PR ports/189105; it has been noted by GNATS.
From: FreeBSD at nagilum.org
To: Tijl Coosemans <tijl at freebsd.org>
Cc: bug-followup at freebsd.org
Subject: Re: ports/189105: textproc/raptor2-2.0.13 build fails
Date: Thu, 01 May 2014 20:37:20 +0200
This message is in MIME format and has been PGP signed.
--=_JX9va_gJbSrzTRrrYT0Kqg1
Content-Type: multipart/mixed; boundary="=_ox3SaBw766Ao-NsVNVsQKw3"
This message is in MIME format.
--=_ox3SaBw766Ao-NsVNVsQKw3
Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Zitat von Tijl Coosemans <tijl at freebsd.org>:
> On Thu, 01 May 2014 15:16:30 +0200 FreeBSD at nagilum.org wrote:
>> Zitat von Tijl Coosemans <tijl at freebsd.org>:
>>> On Wed, 30 Apr 2014 20:54:59 +0200 FreeBSD at nagilum.org wrote:
>>>> Zitat von Tijl Coosemans <tijl at freebsd.org>:
>>>>> On Wed, 30 Apr 2014 14:47:45 +0200 Alexander K=C3=BChn wrote:
>>>>>> Zitat von Tijl Coosemans <tijl at 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 at 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 at cakebox ~ > readelf -s /usr/local/lib/libcrypto.so | grep MD2
>>>> root at 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.
>>
>> No change.
>> Although disabling GSSAPI resolves a similar error in curl (which can
>> also be fixed by reordering the -L arguments) it does nothing for
>> raptor2.
>
> I've attached a new patch for curl, because I think the HEIMDAL_PORT
> option currently doesn't work correctly.
Success!
With your patch raptor2 builds fine!
Thanks! :)
--=_ox3SaBw766Ao-NsVNVsQKw3
Content-Type: application/pgp-keys
Content-Description: =?utf-8?b?w5ZmZmVudGxpY2hlciA=?=
=?utf-8?b?UEdQLVNjaGzDvHNzZWw=?=
-----BE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SfY8MXc/0oDzvM0klgto8R0D5Pdf842s
rREVJXPeJcZWoi1CuujhvW6wf73nVIM9npSAN75uDD5dAk/sXM1CfnBkCcQOWTBs
23U323JoAiM47kzYhHgn3xZ+CTigVvWRmAMTI9o+NOImruxt6FrGrEP3fQGrutTp
E3EVkSgznpe5YN5jGBJmBy/DR5l5RajxEu3zCyc7WjQJUpVsEM7kj7Gmng+VO9RA
Ive2b/OGTHBYRBx8rjVoh78EWzPyiVdfq1oLCNPTEI5LFdNVLeaSQNPqVjwmTSe1
G7H/kfdeuqllngc0qPSdXT1Z9uPtI+wzxuS3aL8usBnqLu/J4Wuuds8FJD5W3HW0
Y9P8LiuC7DoqRLnmrmWNXA0Zf/zkVfLo2htusA8MfJUt8iI0i7pYh232CWFZ4yAR
ZQ1dFUn7aVPamZysOgRtnUfczJzEIuNc8X7TuKm9mRIi2MQ5N8/2Q+xyoJOr9J5V
/wkXAKSc6YKIHV2VZCMgoi6Q6SlZSQ6j70VczA1WxQBxFJyQN8WdwEh0mlUQiIw0
XBD+cDa5LiwAVR0psB19I/Wtoyt86XQ3nk9eViCto6OJE6zUjkPgCmqE+7K23HxH
DQ2zYG9Kan9YuqnsDotO+jw97BxL+iE=
=SQLm
-----END PGP PUBLIC KEY BLOCK-----
--=_ox3SaBw766Ao-NsVNVsQKw3--
--=_JX9va_gJbSrzTRrrYT0Kqg1
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAABAgAGBQJTYpRfAAoJEK8pu2wOF4nWeUwP+wTsnR1RBBBbMMJP+BLpyywI
quI+wP/z9XdKppNrUaEC52E0wcH5VSReTcmMohm3XCls8GBpe3aO9QtbF8oCH+S5
+Jp7pB1I7CahzPPMh/a1lCbuwpCQngTc5PTSH2RwZhVWHyTIDVCz/Q8/cxQewy8S
/uN2FIY1OVqGi2HPSAq9saKXmd27oUlawVTcenAseRwS+gGkx2QpozzzY5DQr5X1
CrIhqBayQT1TnRAIsIPEurYrRZf/Y/Nkf7LLFwZEQNrWyQYBiPi2VabZymUDAKur
V881lQSYsWSG4zBDAhRanFvKWHC9eHKERJoCRI+9tOg2S42RANZ6z62q2QWkK+B1
VrDiKfNGILvZEXQoP5HLte/tIjtQKH50lnkk8C8mu05kSu6AY9Dr9gpiKAl4II83
YjCN2P0xAjSltN2GipfUTybYBqDLO3V2Pnirj8u5X72qVys0ao813UFvj1FabsSO
nERqDd89YfuRt2We7eutGveu1JNzuCUnl9WzhEX57IM31lyy8VkO7GWWErhb4fXB
6YG1K2+4zJ2X+PNms/REpzm8n8sW1mm2Y3ukx4iyOM8qUJ9z0eKp29q+v0+9LBr5
WVJSphb2GE8CgpsnJzK6vvs0sEj7t8L6gaApL6m2hhh2tX2aPd2+yxb9/qifjptB
XEohtPf5uKl1k3IQSkP7
=38LW
-----END PGP SIGNATURE-----
--=_JX9va_gJbSrzTRrrYT0Kqg1--
More information about the freebsd-ports-bugs
mailing list