Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto

From: Jung-uk Kim <jkim_at_FreeBSD.org>
Date: Fri, 12 Oct 2018 01:10:59 -0400
On 18. 10. 11., Glen Barber wrote:
> On Thu, Oct 11, 2018 at 10:55:46PM +0000, Glen Barber wrote:
>> On Thu, Oct 11, 2018 at 10:32:34PM +0000, Glen Barber wrote:
>>> I still see a failure with this applied.
>>>
>>>  ===> lib/libldns (obj,all,install)
>>>  /usr/obj/usr/src/powerpc.powerpc/tmp/usr/bin/ld: cannot find -lssl
>>>  --- libprivateldns.so.5.full ---
>>>  *** [libprivateldns.so.5.full] Error code 1
>>>
>>> I'll prune .OBJDIR and re-run without -jN to eliminate the possibility
>>> of a build race.
>>>
>>
>> It does not appear to be a build race.
>>
>>  ===> secure/lib/libcrypto (obj,all,install)
>>  /usr/src/crypto/openssl/crypto/err/err.c: In function 'err_load_strings':
>>  /usr/src/crypto/openssl/crypto/err/err.c:311: warning: passing argument 2 of 'lh_ERR_STRING_DATA_insert' discards qualifiers from pointer target type
>>  /usr/src/crypto/openssl/crypto/err/err.c: In function 'err_load_strings':
>>  /usr/src/crypto/openssl/crypto/err/err.c:311: warning: passing argument 2 of 'lh_ERR_STRING_DATA_insert' discards qualifiers from pointer target type
>>  /usr/obj/usr/src/powerpc.powerpc/tmp/usr/bin/ld: cannot find -lpthread
>>  *** Error code 1
>>  
>>  Stop.
>>  make[4]: stopped in /usr/src/secure/lib/libcrypto
>>  *** Error code 1
>>
> 
> In fact, on closer inspection, this patch breaks every architecture.

I forgot to patch one more file, i.e., Makefile.inc1.  Please try the
attached patch instead.

Jung-uk Kim

Received on Fri Oct 12 2018 - 03:11:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:18 UTC