Date: Fri, 23 Jun 2017 08:49:55 -0700 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Alastair Hogge <agh@fastmail.fm>, Guy Yur <guyyur@gmail.com> Cc: current@freebsd.org Subject: Re: release.sh: sh: head: not found \n Unable to determine linker type from LD=ld Message-ID: <61a2ef9e-6348-5859-85f3-58e5611d7b08@FreeBSD.org> In-Reply-To: <1498230867.1691089.1019164208.57204C85@webmail.messagingengine.com> References: <1498221373.1658355.1018900488.31D8D037@webmail.messagingengine.com> <CAC67Hz_yiCVitnoEaB7c9qXaGU-3KWGgHKvSAVZ7XXF-Jd76jA@mail.gmail.com> <1498230867.1691089.1019164208.57204C85@webmail.messagingengine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --p2Qui3qiN8vV7MjV3QslvmuX3f0OBnG1t Content-Type: multipart/mixed; boundary="9GKbHB5hREVI9owofIKo4jKcIspkM43aw"; protected-headers="v1" From: Bryan Drewery <bdrewery@FreeBSD.org> To: Alastair Hogge <agh@fastmail.fm>, Guy Yur <guyyur@gmail.com> 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> <CAC67Hz_yiCVitnoEaB7c9qXaGU-3KWGgHKvSAVZ7XXF-Jd76jA@mail.gmail.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 <agh@fastmail.fm> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?61a2ef9e-6348-5859-85f3-58e5611d7b08>