Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2018 08:58:15 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Harry Schmalzbauer <freebsd@omnilan.de>, =?UTF-8?Q?Dag-Erling_Sm=c3=b8rg?= =?UTF-8?Q?rav?= <des@des.no>
Cc:        Glen Barber <gjb@freebsd.org>, Justin Hibbits <chmeeedalf@gmail.com>, =?UTF-8?B?UmHDumw=?= <raul@b2n.org>, freebsd-current@freebsd.org
Subject:   Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
Message-ID:  <e73b238c-b70f-f2c5-54a9-e70cc412d280@FreeBSD.org>
In-Reply-To: <e1597bd4-00d0-abbf-e290-77f7a56e07d1@omnilan.de>
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> <20181011223234.GG53700@FreeBSD.org> <20181011225546.GI53700@FreeBSD.org> <20181012005745.GJ53700@FreeBSD.org> <1cc5f351-3037-cc9c-00a8-266bd7967314@FreeBSD.org> <864ldr67sn.fsf@next.des.no> <e1597bd4-00d0-abbf-e290-77f7a56e07d1@omnilan.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--nUFc2Eb15sfYrvMM34NE11IyZUAlTFFAA
Content-Type: multipart/mixed; boundary="mqVxzFJnm7qrOoxRDnZzzj0f4GXvG8Vna";
 protected-headers="v1"
From: Jung-uk Kim <jkim@FreeBSD.org>
To: Harry Schmalzbauer <freebsd@omnilan.de>, =?UTF-8?Q?Dag-Erling_Sm=c3=b8rg?=
 =?UTF-8?Q?rav?= <des@des.no>
Cc: Glen Barber <gjb@freebsd.org>, Justin Hibbits <chmeeedalf@gmail.com>,
 =?UTF-8?B?UmHDumw=?= <raul@b2n.org>, freebsd-current@freebsd.org
Message-ID: <e73b238c-b70f-f2c5-54a9-e70cc412d280@FreeBSD.org>
Subject: Re: r339289 buildworld stopped in /usr/src/secure/lib/libcrypto
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>
 <20181011223234.GG53700@FreeBSD.org> <20181011225546.GI53700@FreeBSD.org>
 <20181012005745.GJ53700@FreeBSD.org>
 <1cc5f351-3037-cc9c-00a8-266bd7967314@FreeBSD.org>
 <864ldr67sn.fsf@next.des.no>
 <e1597bd4-00d0-abbf-e290-77f7a56e07d1@omnilan.de>
In-Reply-To: <e1597bd4-00d0-abbf-e290-77f7a56e07d1@omnilan.de>

--mqVxzFJnm7qrOoxRDnZzzj0f4GXvG8Vna
Content-Type: multipart/mixed;
 boundary="------------A0C6A9ADD9326551FCEBAD3B"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------A0C6A9ADD9326551FCEBAD3B
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 18. 10. 12., Harry Schmalzbauer wrote:
> Am 12.10.2018 um 07:41 schrieb Dag-Erling Sm=C3=B8rgrav:
>> Jung-uk Kim <jkim@FreeBSD.org> writes:
>>> I forgot to patch one more file, i.e., Makefile.inc1.=C2=A0 Please tr=
y the
>>> attached patch instead.
>> Thanks, I missed that too.
>>
>> DES
>=20
> 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=3D/usr/local/share/deploy-tools/obj/HEAD-S12RP/usr/local/shar=
e/deploy-tools/HEAD/src
>=20
> /amd64.amd64/tmp
> -B/usr/local/share/deploy-tools/obj/HEAD-S12RP/usr/local/share/deploy-t=
ools/HEAD/src/amd64.amd64/tmp/usr/bin
> -f
> stack-protector-strong -shared -Wl,-x -Wl,--fatal-warnings
> -Wl,--warn-shared-textrel=C2=A0 -o libprivateldns.so.5.full -Wl,-soname=
,libp
> rivateldns.so.5=C2=A0 `NM=3D'nm' NMFLAGS=3D'' lorder buffer.pico dane.p=
ico
> 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
> =C2=A0rbtree.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 |=C2=A0 tsort -q` =
-lssl=C2=A0
> -lcrypto
> /usr/local/share/deploy-tools/obj/HEAD-S12RP/usr/local/share/deploy-too=
ls/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

--------------A0C6A9ADD9326551FCEBAD3B
Content-Type: text/x-patch;
 name="ldns.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="ldns.diff"

Index: Makefile.inc1
=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
--- Makefile.inc1	(revision 339326)
+++ Makefile.inc1	(working copy)
@@ -2631,9 +2631,10 @@ lib/librtld_db__L: lib/libprocstat__L
 _secure_lib_libcrypto=3D secure/lib/libcrypto
 _secure_lib_libssl=3D secure/lib/libssl
 lib/libradius__L secure/lib/libssl__L: secure/lib/libcrypto__L
+secure/lib/libcrypto__L: lib/libthr__L
 .if ${MK_LDNS} !=3D "no"
 _lib_libldns=3D lib/libldns
-lib/libldns__L: secure/lib/libcrypto__L
+lib/libldns__L: secure/lib/libssl__L
 .endif
 .if ${MK_OPENSSH} !=3D "no"
 _secure_lib_libssh=3D secure/lib/libssh

--------------A0C6A9ADD9326551FCEBAD3B--

--mqVxzFJnm7qrOoxRDnZzzj0f4GXvG8Vna--

--nUFc2Eb15sfYrvMM34NE11IyZUAlTFFAA
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

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

iQEzBAEBCAAdFiEEl1bqgKaRyqfWXu/CfJ+WJvzb8UYFAlvAmm8ACgkQfJ+WJvzb
8UbRLggAh5Zv3s1ijLRAf8OGGD/o6/yU5vRFAic2NWLFCq3rkMLURaFS1jjoEJmG
s0cq/CIa/k10/EDh4dxR42llzx5BbiZJ7hsUxlMLDrf05t0Sd8XEOw3XPfaZEFGH
t747/X56XG66E+Q/3gJ7CTDTfNo3UyiWM6gIP05wDbbr5wMnfXJWBPP8So6nPtlO
WSkqzPVdN7EPdKq9fOl43a/oKI+8K7IZXjEy77RwmerB5nc/pHJyzItSMcI+qfY0
qcTiDC1M2I1UtaC6xmw9bIXn+rw5iZdejM3DOrKC62veYyi++bT+UyA0E9RjHYAj
Ws4U04hHWsXannLST1/QNTsGOoj7Aw==
=n1Uq
-----END PGP SIGNATURE-----

--nUFc2Eb15sfYrvMM34NE11IyZUAlTFFAA--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e73b238c-b70f-f2c5-54a9-e70cc412d280>