From owner-freebsd-current@freebsd.org Fri Jun 23 15:50:16 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42BF6DA70AE for ; Fri, 23 Jun 2017 15:50:16 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1C1B7654DE for ; Fri, 23 Jun 2017 15:50:16 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 188F8DA70AD; Fri, 23 Jun 2017 15:50:16 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1808EDA70AC for ; Fri, 23 Jun 2017 15:50:16 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D8488654DD; Fri, 23 Jun 2017 15:50:15 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 034CC76F7; Fri, 23 Jun 2017 15:50:15 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 259F02DDC; Fri, 23 Jun 2017 15:50:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id ARLU6qdRH7h4; Fri, 23 Jun 2017 15:50:09 +0000 (UTC) Subject: Re: release.sh: sh: head: not found \n Unable to determine linker type from LD=ld DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 7B0B62DD6 To: Alastair Hogge , Guy Yur Cc: current@freebsd.org References: <1498221373.1658355.1018900488.31D8D037@webmail.messagingengine.com> <1498230867.1691089.1019164208.57204C85@webmail.messagingengine.com> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <61a2ef9e-6348-5859-85f3-58e5611d7b08@FreeBSD.org> Date: Fri, 23 Jun 2017 08:49:55 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <1498230867.1691089.1019164208.57204C85@webmail.messagingengine.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="p2Qui3qiN8vV7MjV3QslvmuX3f0OBnG1t" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2017 15:50:16 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --p2Qui3qiN8vV7MjV3QslvmuX3f0OBnG1t Content-Type: multipart/mixed; boundary="9GKbHB5hREVI9owofIKo4jKcIspkM43aw"; protected-headers="v1" From: Bryan Drewery To: Alastair Hogge , Guy Yur Cc: current@freebsd.org Message-ID: <61a2ef9e-6348-5859-85f3-58e5611d7b08@FreeBSD.org> Subject: Re: release.sh: sh: head: not found \n Unable to determine linker type from LD=ld References: <1498221373.1658355.1018900488.31D8D037@webmail.messagingengine.com> <1498230867.1691089.1019164208.57204C85@webmail.messagingengine.com> In-Reply-To: <1498230867.1691089.1019164208.57204C85@webmail.messagingengine.com> --9GKbHB5hREVI9owofIKo4jKcIspkM43aw Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 6/23/2017 8:14 AM, Alastair Hogge wrote: > On Fri, Jun 23, 2017, at 21:00, Guy Yur wrote: >> On 23 June 2017 at 15:36, Alastair Hogge wrote: >>> Hi, >>> >>> My 12.0-CURRENT r320259 host is unable to complete a release.sh build= of >>> a generic world: >>> >>> [...] >>> =3D/tmp/install.hb5C6cay PATH_LOCALE=3D/tmp/install.hb5C6cay/locale = rm -rf >>> /tmp/install.hb5C6cay >>> sh: head: not found >>> make[4]: "/usr/src/share/mk/bsd.linker.mk" line 42: Unable to determi= ne >>> linker type from LD=3Dld >>> *** Error code 1 >>> >>> ... >>> >>> To good health, >>> Alastair >>> _______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd= =2Eorg" >> >> Hi, >> >> I got the same error with r320258. >> Is it because "head" is not part of the bootstrap tools? >> >> I was able to continue by replacing "| head 1" with "| sed -n 1p" in >> _ld_version!=3D ${${ld}} --version 2>/dev/null | head -n 1 || echo n= one >> >> head is not in /tmp/install.RANDOMVALUES but sed is. >=20 > Great, that worked, thanks :-) >=20 I'll look into it. While replacing head with sed here would fix it, I think it should not be needed. A value should already be known. --=20 Regards, Bryan Drewery --9GKbHB5hREVI9owofIKo4jKcIspkM43aw-- --p2Qui3qiN8vV7MjV3QslvmuX3f0OBnG1t Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJZTTijAAoJEDXXcbtuRpfPlcEIALQqVr6kM95ndVqJtwd/J016 H9JnWS/SpbLS4EZPYO0t+EuQlXT0bTtk8ETB7Kled6MVrnQ89E2ibQmbTb6qn0JN 3+pJWwEEFkeUOwYzeK1r8bok1krdNXOuzBNNmMKO4MYdOlOe81LDKCAm08GYYwwd SBTjueOeGMWfMCLZhxpDqiJY0jZiAyxxpC7fi4sSDD50zxqEHjvUCXsByiFIhyau b0KaEx6q+/I8/mS/4SkAHspjQuApw0lEE5Jv8jtwwr+jccXkxLaCUcbLeqAroo5e kYpFFjDr9IQVs/e8Sj467f/tdINhMEpP+QNjH9+L1RFJmPagDSxJ11mqBbliDAE= =Ra9N -----END PGP SIGNATURE----- --p2Qui3qiN8vV7MjV3QslvmuX3f0OBnG1t--