Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
On 18. 10. 12., Harry Schmalzbauer wrote: > Am 12.10.2018 um 07:41 schrieb Dag-Erling Smørgrav: >> Jung-uk Kim writes: >>> I forgot to patch one more file, i.e., Makefile.inc1. Please try the >>> attached patch instead. >> Thanks, I missed that too. >> >> DES > > Even with 339326 (adjusting Makefile.inc1) I get the foollowing build > error (compiling 339326-amd64 on stable/11-amd64): > building shared library libprivateldns.so.5 > cc -target x86_64-unknown-freebsd12.0 > --sysroot=/usr/local/share/deploy-tools/obj/HEAD-S12RP/usr/local/share/deploy-tools/HEAD/src > > /amd64.amd64/tmp > -B/usr/local/share/deploy-tools/obj/HEAD-S12RP/usr/local/share/deploy-tools/HEAD/src/amd64.amd64/tmp/usr/bin > -f > stack-protector-strong -shared -Wl,-x -Wl,--fatal-warnings > -Wl,--warn-shared-textrel -o libprivateldns.so.5.full -Wl,-soname,libp > rivateldns.so.5 `NM='nm' NMFLAGS='' lorder buffer.pico dane.pico > dname.pico dnssec.pico dnssec_sign.pico dnssec_verify.pico dnsse > c_zone.pico duration.pico error.pico higher.pico host2str.pico > host2wire.pico keys.pico net.pico packet.pico parse.pico radix.pico > rbtree.pico rdata.pico resolver.pico rr.pico rr_functions.pico > sha1.pico sha2.pico str2host.pico tsig.pico update.pico util.pico > wire2host.pico zone.pico b64_ntop.pico b64_pton.pico | tsort -q` -lssl > -lcrypto > /usr/local/share/deploy-tools/obj/HEAD-S12RP/usr/local/share/deploy-tools/HEAD/src/amd64.amd64/tmp/usr/bin/ld: > error: unable to fi > nd library -lssl > cc: error: linker command failed with exit code 1 (use -v to see > invocation) > *** [libprivateldns.so.5.full] Error code 1 https://docs.freebsd.org/cgi/mid.cgi?d218a9de-bfac-3a66-6197-4b58d5a78a94 The remaining patch is attached. Jung-uk Kim Index: Makefile.inc1 === --- Makefile.inc1 (revision 339326) +++ Makefile.inc1 (working copy) @@ -2631,9 +2631,10 @@ lib/librtld_db__L: lib/libprocstat__L _secure_lib_libcrypto= secure/lib/libcrypto _secure_lib_libssl= secure/lib/libssl lib/libradius__L secure/lib/libssl__L: secure/lib/libcrypto__L +secure/lib/libcrypto__L: lib/libthr__L .if ${MK_LDNS} != "no" _lib_libldns= lib/libldns -lib/libldns__L: secure/lib/libcrypto__L +lib/libldns__L: secure/lib/libssl__L .endif .if ${MK_OPENSSH} != "no" _secure_lib_libssh= secure/lib/libssh signature.asc Description: OpenPGP digital signature
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
On Fri, 12 Oct 2018 09:59+0200, Raúl wrote: > (also deleted obj) I do that whenever sys/sys/param.h changes. My builder wipes obj unconditionally every Monday in addition to the above. -- Trond. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
El 12/10/18 a las 7:30, Dag-Erling Smørgrav escribió: > Alex, Julian and others are seeing linker failures in libcrypto, long > before libldns. I have the exact same issue on i386 but not amd64; I Same here on amd64, to follow head I was building on other box and tarballing src and obj. Then I saw Glen's Heads-up and I tried (also deleted obj). It built fine and that's why I suggested following Glen's heads-up. This same box built this night from r339293 to r339318 without patches nor glitches. Raúl. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
Am 12.10.2018 um 07:41 schrieb Dag-Erling Smørgrav: Jung-uk Kim writes: I forgot to patch one more file, i.e., Makefile.inc1. Please try the attached patch instead. Thanks, I missed that too. DES Even with 339326 (adjusting Makefile.inc1) I get the foollowing build error (compiling 339326-amd64 on stable/11-amd64): building shared library libprivateldns.so.5 cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/local/share/deploy-tools/obj/HEAD-S12RP/usr/local/share/deploy-tools/HEAD/src /amd64.amd64/tmp -B/usr/local/share/deploy-tools/obj/HEAD-S12RP/usr/local/share/deploy-tools/HEAD/src/amd64.amd64/tmp/usr/bin -f stack-protector-strong -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel -o libprivateldns.so.5.full -Wl,-soname,libp rivateldns.so.5 `NM='nm' NMFLAGS='' lorder buffer.pico dane.pico dname.pico dnssec.pico dnssec_sign.pico dnssec_verify.pico dnsse c_zone.pico duration.pico error.pico higher.pico host2str.pico host2wire.pico keys.pico net.pico packet.pico parse.pico radix.pico rbtree.pico rdata.pico resolver.pico rr.pico rr_functions.pico sha1.pico sha2.pico str2host.pico tsig.pico update.pico util.pico wire2host.pico zone.pico b64_ntop.pico b64_pton.pico | tsort -q` -lssl -lcrypto /usr/local/share/deploy-tools/obj/HEAD-S12RP/usr/local/share/deploy-tools/HEAD/src/amd64.amd64/tmp/usr/bin/ld: error: unable to fi nd library -lssl cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [libprivateldns.so.5.full] Error code 1 Thanks, -harry ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
On 18. 10. 12., Jung-uk Kim wrote: > On 18. 10. 11., Glen Barber wrote: >> On Thu, Oct 11, 2018 at 10:55:46PM +, Glen Barber wrote: >>> On Thu, Oct 11, 2018 at 10:32:34PM +, 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. Darn, I attached an incomplete patch. This should be final. Sorry about the brain farts. I need some sleep. :-( Jung-uk Kim Index: Makefile.inc1 === --- Makefile.inc1 (revision 339324) +++ Makefile.inc1 (working copy) @@ -2534,8 +2534,8 @@ _prebuild_libs= ${_kerberos5_lib_libasn1} \ ${_cddl_lib_libctf} \ lib/libufs \ lib/libutil lib/libpjdlog ${_lib_libypclnt} lib/libz lib/msun \ - ${_secure_lib_libcrypto} ${_lib_libldns} \ - ${_secure_lib_libssh} ${_secure_lib_libssl} + ${_secure_lib_libcrypto} ${_secure_lib_libssl} \ + ${_lib_libldns} ${_secure_lib_libssh} .if ${MK_GNUCXX} != "no" _prebuild_libs+= gnu/lib/libstdc++ gnu/lib/libsupc++ @@ -2631,9 +2631,10 @@ lib/librtld_db__L: lib/libprocstat__L _secure_lib_libcrypto= secure/lib/libcrypto _secure_lib_libssl= secure/lib/libssl lib/libradius__L secure/lib/libssl__L: secure/lib/libcrypto__L +secure/lib/libcrypto__L: lib/libthr__L .if ${MK_LDNS} != "no" _lib_libldns= lib/libldns -lib/libldns__L: secure/lib/libcrypto__L +lib/libldns__L: secure/lib/libssl__L .endif .if ${MK_OPENSSH} != "no" _secure_lib_libssh= secure/lib/libssh Index: lib/libldns/Makefile === --- lib/libldns/Makefile (revision 339324) +++ lib/libldns/Makefile (working copy) @@ -19,7 +19,7 @@ SRCS= buffer.c dane.c dname.c dnssec.c dnssec_sign SRCS+= b64_ntop.c b64_pton.c -LIBADD= crypto +LIBADD= ssl crypto WARNS ?= 3 Index: share/mk/src.libnames.mk === --- share/mk/src.libnames.mk (revision 339324) +++ share/mk/src.libnames.mk (working copy) @@ -273,7 +273,7 @@ _DP_mp= crypto _DP_memstat= kvm _DP_magic= z _DP_mt= sbuf bsdxml -_DP_ldns= crypto +_DP_ldns= ssl crypto .if ${MK_OPENSSL} != "no" _DP_fetch= ssl crypto .else signature.asc Description: OpenPGP digital signature
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
On 18. 10. 12., Jung-uk Kim wrote: > On 18. 10. 11., Glen Barber wrote: >> On Thu, Oct 11, 2018 at 10:55:46PM +, Glen Barber wrote: >>> On Thu, Oct 11, 2018 at 10:32:34PM +, 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. Darn, I attached an incomplete patch. This should be final. Sorry about the brain farts. I need some sleep. :-( Jung-uk Kim Index: Makefile.inc1 === --- Makefile.inc1 (revision 339324) +++ Makefile.inc1 (working copy) @@ -2534,8 +2534,8 @@ _prebuild_libs= ${_kerberos5_lib_libasn1} \ ${_cddl_lib_libctf} \ lib/libufs \ lib/libutil lib/libpjdlog ${_lib_libypclnt} lib/libz lib/msun \ - ${_secure_lib_libcrypto} ${_lib_libldns} \ - ${_secure_lib_libssh} ${_secure_lib_libssl} + ${_secure_lib_libcrypto} ${_secure_lib_libssl} \ + ${_lib_libldns} ${_secure_lib_libssh} .if ${MK_GNUCXX} != "no" _prebuild_libs+= gnu/lib/libstdc++ gnu/lib/libsupc++ @@ -2631,9 +2631,10 @@ lib/librtld_db__L: lib/libprocstat__L _secure_lib_libcrypto= secure/lib/libcrypto _secure_lib_libssl= secure/lib/libssl lib/libradius__L secure/lib/libssl__L: secure/lib/libcrypto__L +secure/lib/libcrypto__L: lib/libthr__L .if ${MK_LDNS} != "no" _lib_libldns= lib/libldns -lib/libldns__L: secure/lib/libcrypto__L +lib/libldns__L: secure/lib/libssl__L .endif .if ${MK_OPENSSH} != "no" _secure_lib_libssh= secure/lib/libssh Index: lib/libldns/Makefile === --- lib/libldns/Makefile (revision 339324) +++ lib/libldns/Makefile (working copy) @@ -19,7 +19,7 @@ SRCS= buffer.c dane.c dname.c dnssec.c dnssec_sign SRCS+= b64_ntop.c b64_pton.c -LIBADD= crypto +LIBADD= ssl crypto WARNS ?= 3 Index: share/mk/src.libnames.mk === --- share/mk/src.libnames.mk (revision 339324) +++ share/mk/src.libnames.mk (working copy) @@ -273,7 +273,7 @@ _DP_mp= crypto _DP_memstat= kvm _DP_magic= z _DP_mt= sbuf bsdxml -_DP_ldns= crypto +_DP_ldns= ssl crypto .if ${MK_OPENSSL} != "no" _DP_fetch= ssl crypto .else signature.asc Description: OpenPGP digital signature
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
Jung-uk Kim writes: > I forgot to patch one more file, i.e., Makefile.inc1. Please try the > attached patch instead. Thanks, I missed that too. DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
Glen Barber writes: > Justin Hibbits writes: > > Seems r339303 is the cuplrit. Reverting this gets my build completing. > Justin, thanks for identifying the commit in question. DES, can you > take a look at this? It's a bit complicated because there are two separate issues here. Alex, Julian and others are seeing linker failures in libcrypto, long before libldns. I have the exact same issue on i386 but not amd64; I haven't been able to build world on i386 since openssl111 was merged to head, before any of my LDNS and Unbound commits. I assumed that it was a local problem, but now several people are seeing the same thing. Justin is seeing a linker failure in libldns which is probably related to my commit, but which I am unable to reproduce. I hope that r339325 will fix it. The question is, why did it break everything *but* amd64? I think a build system expert is needed here. (and libldns probably needs a version bump, but that won't affect this) DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
On 18. 10. 11., Glen Barber wrote: > On Thu, Oct 11, 2018 at 10:55:46PM +, Glen Barber wrote: >> On Thu, Oct 11, 2018 at 10:32:34PM +, 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 Index: Makefile.inc1 === --- Makefile.inc1 (revision 339324) +++ Makefile.inc1 (working copy) @@ -2534,8 +2534,8 @@ _prebuild_libs= ${_kerberos5_lib_libasn1} \ ${_cddl_lib_libctf} \ lib/libufs \ lib/libutil lib/libpjdlog ${_lib_libypclnt} lib/libz lib/msun \ - ${_secure_lib_libcrypto} ${_lib_libldns} \ - ${_secure_lib_libssh} ${_secure_lib_libssl} + ${_secure_lib_libcrypto} ${_secure_lib_libssl} \ + ${_lib_libldns} ${_secure_lib_libssh} .if ${MK_GNUCXX} != "no" _prebuild_libs+= gnu/lib/libstdc++ gnu/lib/libsupc++ Index: lib/libldns/Makefile === --- lib/libldns/Makefile (revision 339324) +++ lib/libldns/Makefile (working copy) @@ -19,7 +19,7 @@ SRCS= buffer.c dane.c dname.c dnssec.c dnssec_sign SRCS+= b64_ntop.c b64_pton.c -LIBADD= crypto +LIBADD= ssl crypto WARNS ?= 3 Index: share/mk/src.libnames.mk === --- share/mk/src.libnames.mk (revision 339324) +++ share/mk/src.libnames.mk (working copy) @@ -273,7 +273,7 @@ _DP_mp= crypto _DP_memstat= kvm _DP_magic= z _DP_mt= sbuf bsdxml -_DP_ldns= crypto +_DP_ldns= ssl crypto .if ${MK_OPENSSL} != "no" _DP_fetch= ssl crypto .else signature.asc Description: OpenPGP digital signature
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
On Thu, Oct 11, 2018 at 7:57 PM Glen Barber wrote: > > On Thu, Oct 11, 2018 at 10:55:46PM +, Glen Barber wrote: > > On Thu, Oct 11, 2018 at 10:32:34PM +, 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. > > Glen > Yes it does. Can r339303 be reverted until DES can look at it closer? - Justin ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
I'm seeing this one, and am dead in the water from it :( On 10/11/18 3:07 PM, Glen Barber wrote: > On Thu, Oct 11, 2018 at 09:05:52AM +0200, Raúl wrote: >> Maybe related to recent Glen's Heads-UP? >> >> https://lists.freebsd.org/pipermail/freebsd-current/2018-October/071581.html >> > > No, this is different, and more recent than the heads-up. I now see > failures on powerpc, powerpc64, powerpcspe, sparc64, and arm. > > I'm trying to track down what commit introduced this, but it was not the > final merge from the projects/openssl111 branch. > > Glen > signature.asc Description: OpenPGP digital signature
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
On Thu, Oct 11, 2018 at 10:55:46PM +, Glen Barber wrote: > On Thu, Oct 11, 2018 at 10:32:34PM +, 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. Glen signature.asc Description: PGP signature
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
On Thu, Oct 11, 2018 at 10:32:34PM +, 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 Glen signature.asc Description: PGP signature
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
On Thu, Oct 11, 2018 at 04:44:10PM -0500, Justin Hibbits wrote: > On Thu, 11 Oct 2018 17:32:21 -0400 > Jung-uk Kim wrote: > > > On 18. 10. 11., Justin Hibbits wrote: > > > On Thu, 11 Oct 2018 19:07:45 + > > > Glen Barber wrote: > > > > > >> On Thu, Oct 11, 2018 at 09:05:52AM +0200, Raúl wrote: > > >>> Maybe related to recent Glen's Heads-UP? > > >>> > > >>> https://lists.freebsd.org/pipermail/freebsd-current/2018-October/071581.html > > >>> > > >> > > >> No, this is different, and more recent than the heads-up. I now > > >> see failures on powerpc, powerpc64, powerpcspe, sparc64, and arm. > > >> > > >> I'm trying to track down what commit introduced this, but it was > > >> not the final merge from the projects/openssl111 branch. > > >> > > >> Glen > > >> > > > > > > Seems r339303 is the cuplrit. Reverting this gets my build > > > completing. > > > > It seems ldns now requires libssl.so to support DANE-TA. Please try > > the attached patch. > > > > Jung-uk Kim > > Just patching lib/libldns is insufficient. share/mk/src.libnames.mk > needs updated as well. Here's a patch I tested, attached. > > - Justin > Index: lib/libldns/Makefile > === > --- lib/libldns/Makefile (revision 339318) > +++ lib/libldns/Makefile (working copy) > @@ -19,7 +19,7 @@ > > SRCS+= b64_ntop.c b64_pton.c > > -LIBADD= crypto > +LIBADD= ssl crypto > > WARNS ?= 3 > > Index: share/mk/src.libnames.mk > === > --- share/mk/src.libnames.mk (revision 339318) > +++ share/mk/src.libnames.mk (working copy) > @@ -273,7 +273,7 @@ > _DP_memstat= kvm > _DP_magic= z > _DP_mt= sbuf bsdxml > -_DP_ldns=crypto > +_DP_ldns=ssl crypto > .if ${MK_OPENSSL} != "no" > _DP_fetch= ssl crypto > .else 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. Glen signature.asc Description: PGP signature
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
On Thu, 11 Oct 2018 17:32:21 -0400 Jung-uk Kim wrote: > On 18. 10. 11., Justin Hibbits wrote: > > On Thu, 11 Oct 2018 19:07:45 + > > Glen Barber wrote: > > > >> On Thu, Oct 11, 2018 at 09:05:52AM +0200, Raúl wrote: > >>> Maybe related to recent Glen's Heads-UP? > >>> > >>> https://lists.freebsd.org/pipermail/freebsd-current/2018-October/071581.html > >>> > >> > >> No, this is different, and more recent than the heads-up. I now > >> see failures on powerpc, powerpc64, powerpcspe, sparc64, and arm. > >> > >> I'm trying to track down what commit introduced this, but it was > >> not the final merge from the projects/openssl111 branch. > >> > >> Glen > >> > > > > Seems r339303 is the cuplrit. Reverting this gets my build > > completing. > > It seems ldns now requires libssl.so to support DANE-TA. Please try > the attached patch. > > Jung-uk Kim Just patching lib/libldns is insufficient. share/mk/src.libnames.mk needs updated as well. Here's a patch I tested, attached. - Justin Index: lib/libldns/Makefile === --- lib/libldns/Makefile (revision 339318) +++ lib/libldns/Makefile (working copy) @@ -19,7 +19,7 @@ SRCS+= b64_ntop.c b64_pton.c -LIBADD= crypto +LIBADD= ssl crypto WARNS ?= 3 Index: share/mk/src.libnames.mk === --- share/mk/src.libnames.mk (revision 339318) +++ share/mk/src.libnames.mk (working copy) @@ -273,7 +273,7 @@ _DP_memstat= kvm _DP_magic= z _DP_mt= sbuf bsdxml -_DP_ldns= crypto +_DP_ldns= ssl crypto .if ${MK_OPENSSL} != "no" _DP_fetch= ssl crypto .else pgpUyM6srNt8R.pgp Description: OpenPGP digital signature
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 18. 10. 11., Jung-uk Kim wrote: > On 18. 10. 11., Justin Hibbits wrote: >> On Thu, 11 Oct 2018 19:07:45 + Glen Barber >> wrote: >> >>> On Thu, Oct 11, 2018 at 09:05:52AM +0200, Raúl wrote: Maybe related to recent Glen's Heads-UP? https://lists.freebsd.org/pipermail/freebsd-current/2018-October/07 1581.html >>> >>> No, this is different, and more recent than the heads-up. I >>> now see failures on powerpc, powerpc64, powerpcspe, sparc64, >>> and arm. >>> >>> I'm trying to track down what commit introduced this, but it >>> was not the final merge from the projects/openssl111 branch. >>> >>> Glen >>> >> >> Seems r339303 is the cuplrit. Reverting this gets my build >> completing. > > It seems ldns now requires libssl.so to support DANE-TA. Please > try the attached patch. I forgot to update share/mk/src.libnames.mk. Please ignore the previous patch and use the attached one instead. Sorry, Jung-uk Kim -BEGIN PGP SIGNATURE- iQEzBAEBCAAdFiEEl1bqgKaRyqfWXu/CfJ+WJvzb8UYFAlu/w9cACgkQfJ+WJvzb 8Uahywf9EkFSt4r6d7wdW5i0zU9VBxIyZ6xSuKq0zTJMKifXndzcpEQgyhQfyvkg 0c3eH+974kR61Y+DnycoUe8Q8XAHfaMe5CuPZ2OJTiu3RLGaBxAkfYgfydJn70/J amQMsDhD9bKSo4YaoydqzMtGDU3C6CwLSZA3Ww8IwzIAElkI9Orx02hShYr8GQvK EoR5wOyvl+XqrGHbbuzusROCVrHHGgFpwhSvcDOBvPB0xEsmEJkv+scZNNArgjF4 YjTQW77Jv0l5VO3Fa0rRw/YOMs4VVlycDrov3RL4/ILAzjig6nE6bomjiFYbmKjQ m4/KyaMCeCfDPn9d3mc5jZqDaOUE7A== =VBUK -END PGP SIGNATURE- Index: lib/libldns/Makefile === --- lib/libldns/Makefile (revision 339318) +++ lib/libldns/Makefile (working copy) @@ -19,7 +19,7 @@ SRCS= buffer.c dane.c dname.c dnssec.c dnssec_sign SRCS+= b64_ntop.c b64_pton.c -LIBADD= crypto +LIBADD= ssl crypto WARNS ?= 3 Index: share/mk/src.libnames.mk === --- share/mk/src.libnames.mk (revision 339318) +++ share/mk/src.libnames.mk (working copy) @@ -273,7 +273,7 @@ _DP_mp= crypto _DP_memstat= kvm _DP_magic= z _DP_mt= sbuf bsdxml -_DP_ldns= crypto +_DP_ldns= ssl crypto .if ${MK_OPENSSL} != "no" _DP_fetch= ssl crypto .else ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
On 18. 10. 11., Justin Hibbits wrote: > On Thu, 11 Oct 2018 19:07:45 + > Glen Barber wrote: > >> On Thu, Oct 11, 2018 at 09:05:52AM +0200, Raúl wrote: >>> Maybe related to recent Glen's Heads-UP? >>> >>> https://lists.freebsd.org/pipermail/freebsd-current/2018-October/071581.html >>> >> >> No, this is different, and more recent than the heads-up. I now see >> failures on powerpc, powerpc64, powerpcspe, sparc64, and arm. >> >> I'm trying to track down what commit introduced this, but it was not >> the final merge from the projects/openssl111 branch. >> >> Glen >> > > Seems r339303 is the cuplrit. Reverting this gets my build completing. It seems ldns now requires libssl.so to support DANE-TA. Please try the attached patch. Jung-uk Kim Index: lib/libldns/Makefile === --- lib/libldns/Makefile (revision 339318) +++ lib/libldns/Makefile (working copy) @@ -19,7 +19,7 @@ SRCS= buffer.c dane.c dname.c dnssec.c dnssec_sign SRCS+= b64_ntop.c b64_pton.c -LIBADD= crypto +LIBADD= ssl crypto WARNS ?= 3 signature.asc Description: OpenPGP digital signature
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
On Thu, Oct 11, 2018 at 07:07:45PM +, Glen Barber wrote: > On Thu, Oct 11, 2018 at 09:05:52AM +0200, Raúl wrote: > > Maybe related to recent Glen's Heads-UP? > > > > https://lists.freebsd.org/pipermail/freebsd-current/2018-October/071581.html > > > > No, this is different, and more recent than the heads-up. I now see > failures on powerpc, powerpc64, powerpcspe, sparc64, and arm. > > I'm trying to track down what commit introduced this, but it was not the > final merge from the projects/openssl111 branch. The libcrypto library dependency on libpthread was introduced with the OpenSSL 1.1.1 import. ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
On Thu, Oct 11, 2018 at 03:38:47PM -0500, Justin Hibbits wrote: > On Thu, 11 Oct 2018 19:07:45 + > Glen Barber wrote: > > > On Thu, Oct 11, 2018 at 09:05:52AM +0200, Raúl wrote: > > > Maybe related to recent Glen's Heads-UP? > > > > > > https://lists.freebsd.org/pipermail/freebsd-current/2018-October/071581.html > > > > > > > No, this is different, and more recent than the heads-up. I now see > > failures on powerpc, powerpc64, powerpcspe, sparc64, and arm. > > > > I'm trying to track down what commit introduced this, but it was not > > the final merge from the projects/openssl111 branch. > > > > Glen > > > > Seems r339303 is the cuplrit. Reverting this gets my build completing. > Justin, thanks for identifying the commit in question. DES, can you take a look at this? Glen signature.asc Description: PGP signature
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
On Thu, 11 Oct 2018 19:07:45 + Glen Barber wrote: > On Thu, Oct 11, 2018 at 09:05:52AM +0200, Raúl wrote: > > Maybe related to recent Glen's Heads-UP? > > > > https://lists.freebsd.org/pipermail/freebsd-current/2018-October/071581.html > > > > No, this is different, and more recent than the heads-up. I now see > failures on powerpc, powerpc64, powerpcspe, sparc64, and arm. > > I'm trying to track down what commit introduced this, but it was not > the final merge from the projects/openssl111 branch. > > Glen > Seems r339303 is the cuplrit. Reverting this gets my build completing. - Justin pgpOqoFg6PKcb.pgp Description: OpenPGP digital signature
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
On Thu, Oct 11, 2018 at 09:05:52AM +0200, Raúl wrote: > Maybe related to recent Glen's Heads-UP? > > https://lists.freebsd.org/pipermail/freebsd-current/2018-October/071581.html > No, this is different, and more recent than the heads-up. I now see failures on powerpc, powerpc64, powerpcspe, sparc64, and arm. I'm trying to track down what commit introduced this, but it was not the final merge from the projects/openssl111 branch. Glen signature.asc Description: PGP signature
Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
Maybe related to recent Glen's Heads-UP? https://lists.freebsd.org/pipermail/freebsd-current/2018-October/071581.html ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
building shared library libcrypto.so.9 cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -Wl,--version-script=/usr/src/secure/lib/libcrypto/Version.map -fstack-protector-strong -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel -o libcrypto.so.9.full -Wl,-soname,libcrypto.so.9 `NM='nm' NMFLAGS='' lorder cpt_err.pico cryptlib.pico ctype.pico cversion.pico ex_data.pico init.pico mem.pico mem_dbg.pico mem_sec.pico o_dir.pico o_fips.pico o_fopen.pico o_init.pico o_str.pico o_time.pico threads_pthread.pico uid.pico x86_64cpuid.pico aes_cfb.pico aes_ecb.pico aes_ige.pico aes_misc.pico aes_ofb.pico aes_wrap.pico aes-x86_64.pico aesni-mb-x86_64.pico aesni-sha1-x86_64.pico aesni-sha256-x86_64.pico aesni-x86_64.pico bsaes-x86_64.pico vpaes-x86_64.pico aria.pico a_bitstr.pico a_d2i_fp.pico a_digest.pico a_dup.pico a_gentm.pico a_i2d_fp.pico a_int.pico a_mbstr.pico a_object.pico a_octet.pico a_print.pico a_sign.pico a_strex.pico a_strnid.pico a_time.pico a_type.pico a_utctm.pico a_utf8.pico a_verify.pico ameth_lib.pico asn1_err.pico asn1_gen.pico asn1_item_list.pico asn1_lib.pico asn1_par.pico asn_mime.pico asn_moid.pico asn_mstbl.pico asn_pack.pico bio_asn1.pico bio_ndef.pico d2i_pr.pico d2i_pu.pico evp_asn1.pico f_int.pico f_string.pico i2d_pr.pico i2d_pu.pico n_pkey.pico nsseq.pico p5_pbe.pico p5_pbev2.pico p5_scrypt.pico p8_pkey.pico t_bitst.pico t_pkey.pico t_spki.pico tasn_dec.pico tasn_enc.pico tasn_fre.pico tasn_new.pico tasn_prn.pico tasn_scn.pico tasn_typ.pico tasn_utl.pico x_algor.pico x_bignum.pico x_info.pico x_int64.pico x_long.pico x_pkey.pico x_sig.pico x_spki.pico x_val.pico async.pico async_err.pico async_posix.pico async_wait.pico bf_cfb64.pico bf_ecb.pico bf_ofb64.pico bf_skey.pico bf_enc.pico b_addr.pico b_dump.pico b_print.pico b_sock.pico b_sock2.pico bf_buff.pico bf_lbuf.pico bf_nbio.pico bf_null.pico bio_cb.pico bio_err.pico bio_lib.pico bio_meth.pico bss_acpt.pico bss_bio.pico bss_conn.pico bss_dgram.pico bss_fd.pico bss_file.pico bss_log.pico bss_mem.pico bss_null.pico bss_sock.pico blake2b.pico blake2s.pico m_blake2b.pico m_blake2s.pico bn_add.pico bn_blind.pico bn_const.pico bn_ctx.pico bn_depr.pico bn_dh.pico bn_div.pico bn_err.pico bn_exp.pico bn_exp2.pico bn_gcd.pico bn_gf2m.pico bn_intern.pico bn_kron.pico bn_lib.pico bn_mod.pico bn_mont.pico bn_mpi.pico bn_mul.pico bn_nist.pico bn_prime.pico bn_print.pico bn_rand.pico bn_recp.pico bn_shift.pico bn_sqr.pico bn_sqrt.pico bn_srp.pico bn_word.pico bn_x931p.pico rsaz-avx2.pico rsaz-x86_64.pico rsaz_exp.pico x86_64-gcc.pico x86_64-gf2m.pico x86_64-mont.pico x86_64-mont5.pico buf_err.pico buffer.pico cmll_cfb.pico cmll_ctr.pico cmll_ecb.pico cmll_ofb.pico cmll-x86_64.pico cmll_misc.pico c_cfb64.pico c_ecb.pico c_enc.pico c_ofb64.pico c_skey.pico chacha-x86_64.pico cm_ameth.pico cm_pmeth.pico cmac.pico cms_asn1.pico cms_att.pico cms_dd.pico cms_enc.pico cms_env.pico cms_err.pico cms_ess.pico cms_io.pico cms_kari.pico cms_lib.pico cms_pwri.pico cms_sd.pico cms_smime.pico c_zlib.pico comp_err.pico comp_lib.pico conf_api.pico conf_def.pico conf_err.pico conf_lib.pico conf_mall.pico conf_mod.pico conf_sap.pico conf_ssl.pico ct_b64.pico ct_err.pico ct_log.pico ct_oct.pico ct_policy.pico ct_prn.pico ct_sct.pico ct_sct_ctx.pico ct_vfy.pico ct_x509v3.pico cbc_cksm.pico cbc_enc.pico cfb64ede.pico cfb64enc.pico cfb_enc.pico ecb3_enc.pico ecb_enc.pico fcrypt.pico ofb64ede.pico ofb64enc.pico ofb_enc.pico pcbc_enc.pico qud_cksm.pico rand_key.pico set_key.pico str2key.pico xcbc_enc.pico des_enc.pico fcrypt_b.pico dh_ameth.pico dh_asn1.pico dh_check.pico dh_depr.pico dh_err.pico dh_gen.pico dh_kdf.pico dh_key.pico dh_lib.pico dh_meth.pico dh_pmeth.pico dh_prn.pico dh_rfc5114.pico dh_rfc7919.pico dsa_ameth.pico dsa_asn1.pico dsa_depr.pico dsa_err.pico dsa_gen.pico dsa_key.pico dsa_lib.pico dsa_meth.pico dsa_ossl.pico dsa_pmeth.pico dsa_prn.pico dsa_sign.pico dsa_vrf.pico dso_dlfcn.pico dso_err.pico dso_lib.pico curve25519.pico curve448.pico curve448_tables.pico ec2_oct.pico ec2_smpl.pico ec_ameth.pico ec_asn1.pico ec_check.pico ec_curve.pico ec_cvt.pico ec_err.pico ec_key.pico ec_kmeth.pico ec_lib.pico ec_mult.pico ec_oct.pico ec_pmeth.pico ec_print.pico ecdh_kdf.pico ecdh_ossl.pico ecdsa_ossl.pico ecdsa_sign.pico ecdsa_vrf.pico eck_prn.pico ecp_mont.pico ecp_nist.pico ecp_oct.pico ecp_smpl.pico ecx_meth.pico eddsa.pico f_generic.pico f_impl.pico scalar.pico ecp_nistz256-x86_64.pico ecp_nistz256.pico x25519-x86_64.pico eng_all.pico eng_cnf.pico eng_ctrl.pico eng_dyn.pico eng_err.pico eng_fat.pico eng_init.pico eng_lib.pico eng_list.pico eng_openssl.pico eng_pkey.pico eng_rdrand.pico eng_table.pico tb_asnmth.pico tb_cipher.pico tb_dh.pico tb_digest.pico tb_dsa.pico tb_eckey.pico tb_pkmeth.pico tb_rand.pico tb_rsa.pico err.pico err_all.pico err_prn.pico bio_b64.pico bio_enc.pico bio_md.pico bio_ok.pico c_allc.pico c_alld.pico cmeth_lib.pico digest.pico e_aes.pico e_aes_cbc_h