Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2018 22:32:34 +0000
From:      Glen Barber <gjb@freebsd.org>
To:        Justin Hibbits <chmeeedalf@gmail.com>
Cc:        Jung-uk Kim <jkim@freebsd.org>, =?iso-8859-1?Q?Ra=FAl?= <raul@b2n.org>, freebsd-current@freebsd.org
Subject:   Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
Message-ID:  <20181011223234.GG53700@FreeBSD.org>
In-Reply-To: <20181011164410.6e9a00aa@ralga.knownspace>
References:  <ca1c05c9-a072-6fc4-4d01-c2cf80c0b1f3@gmail.com> <82f64ae7-2e02-59a7-6058-01b33d594517@b2n.org> <20181011190745.GD53700@FreeBSD.org> <20181011153847.76f256df@ralga.knownspace> <b19c4fe0-9d4a-4594-fa23-c3811438aa82@FreeBSD.org> <20181011164410.6e9a00aa@ralga.knownspace>

next in thread | previous in thread | raw e-mail | index | archive | help

--lHGcFxmlz1yfXmOs
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 <jkim@FreeBSD.org> wrote:
>=20
> > On 18. 10. 11., Justin Hibbits wrote:
> > > On Thu, 11 Oct 2018 19:07:45 +0000
> > > Glen Barber <gjb@freebsd.org> wrote:
> > >  =20
> > >> On Thu, Oct 11, 2018 at 09:05:52AM +0200, Ra=FAl wrote: =20
> > >>> Maybe related to recent Glen's Heads-UP?
> > >>>
> > >>> https://lists.freebsd.org/pipermail/freebsd-current/2018-October/07=
1581.html
> > >>>    =20
> > >>
> > >> 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
> > >> =20
> > >=20
> > > Seems r339303 is the cuplrit.  Reverting this gets my build
> > > completing. =20
> >=20
> > It seems ldns now requires libssl.so to support DANE-TA.  Please try
> > the attached patch.
> >=20
> > Jung-uk Kim
>=20
> Just patching lib/libldns is insufficient.  share/mk/src.libnames.mk
> needs updated as well.  Here's a patch I tested, attached.
>=20
> - Justin

> Index: lib/libldns/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
> --- lib/libldns/Makefile	(revision 339318)
> +++ lib/libldns/Makefile	(working copy)
> @@ -19,7 +19,7 @@
> =20
>  SRCS+=3D	b64_ntop.c b64_pton.c
> =20
> -LIBADD=3D	crypto
> +LIBADD=3D	ssl crypto
> =20
>  WARNS ?=3D 3
> =20
> Index: share/mk/src.libnames.mk
> =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
> --- share/mk/src.libnames.mk	(revision 339318)
> +++ share/mk/src.libnames.mk	(working copy)
> @@ -273,7 +273,7 @@
>  _DP_memstat=3D	kvm
>  _DP_magic=3D	z
>  _DP_mt=3D		sbuf bsdxml
> -_DP_ldns=3D	crypto
> +_DP_ldns=3D	ssl crypto
>  .if ${MK_OPENSSL} !=3D "no"
>  _DP_fetch=3D	ssl crypto
>  .else

I still see a failure with this applied.

 =3D=3D=3D> 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


--lHGcFxmlz1yfXmOs
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAlu/z4IACgkQAxRYpUeP
4pPSSQ/+KAstJFVje7V9FMc0DMvCR9q62Mzqf+7lgXjQJ3TEt7BEjdAVCPx3tLlw
b4BmrpAm3r7KZuAj8uH1r7zf8XD4LhAPbhCHpy6P2RTZpklzcqqweboP7agpIQm1
LnX0mLQQmb+zVgO+qS5npBH8Hu4/xtJIM2JB4toSlbQKeoTRYEGiquZ7r0AUvhMw
XFuBWEEw6g9mJAIUlQ/Z96Mw+SdtLEuHib9fAvWpnPDCkpxpsxZ/gV4zwTL007Mx
vHqATRb+O1SZS0Jw0qpKhz9giqSUT3abKMcha+LJnTSOKQ0uXyBgQIk5wo906B+I
Qei8mlBzH5ii30D59GH+S0lfOqq6N9M5fHMcPJlDUGqFZhhFgDueOIbrksFYugYx
bhVZ9/szI7A8F7WLe857kgd4miGffObUdqll6PY02nOVZAXKLoTzYWYYpNDwKk9d
GUhOH5xF3MJSOCTftCm9Z1V/hk1wfAj6zxAf84fqQ/bpUIFr2eNGyjOnUVcmL7vN
UlRVwBJYji0JruQQfhlQc6VrVjQ8d9b260u5dv/8bHIhRRjfGO8STK2lNu35JCNh
MCmllUzl1Y6nNpB14YrCQwR8IMWJY6Ft1dqo2csza3j3YrMkm41C1pV6ZQKtEMgX
lEd41hHvsjFNb585fvGSYLQGDiYG0zoWY+mhvpEXV2NWdYxd2A8=
=IuMS
-----END PGP SIGNATURE-----

--lHGcFxmlz1yfXmOs--



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