Date: Fri, 23 Jun 2017 15:35:21 -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: <68e13298-7aa1-0795-151c-7ec0c750c3b6@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) --IQWq0Vs34bMRIBHAK50KdjDC2E7NMD1ab Content-Type: multipart/mixed; boundary="JrWc5G42PO0BqKNPLXnuTWCl789wb9CT3"; 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: <68e13298-7aa1-0795-151c-7ec0c750c3b6@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> --JrWc5G42PO0BqKNPLXnuTWCl789wb9CT3 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 My local release.sh build just finished on r320292 and I did not run into this issue. I believe it is fixed. Note that just replacing 'head' with 'sed' is not quite right as there should be no reason to be running ld at this point anyway. --=20 Regards, Bryan Drewery --JrWc5G42PO0BqKNPLXnuTWCl789wb9CT3-- --IQWq0Vs34bMRIBHAK50KdjDC2E7NMD1ab 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 iQEcBAEBAgAGBQJZTZepAAoJEDXXcbtuRpfPY3cIANQTcB9bO3DwHwrstmU6Mhfp eOu7qE2939w08hkOkDRJd/bz6Z4XIkoV6RBIMxrI61Xw4BL6AF/4ZsUKVoQC/Cfy ZK6oKTCSyC1tIDOjM9PzoSd+flPxlKJyXgwfS6OCpiWHrp+MmPQl4/hMTEOAbRRa XDEsYrG0N1wZo2qdhcSlGoNLOISOhchY4ZUlHHn9dE1I7fnU4Y2loGxz0NloA1hC 7IwGUtUpRc4HitdP7ie69SuLg3L0UaTmSnCVexvyY1iqg2t9xEr/rCTABbfd/XLk S4+eY6UoArhSFvo0D3azh1J8hHIOmClbqg5vVQBFigIBOYTAD++BTEGTO6nWx34= =g27A -----END PGP SIGNATURE----- --IQWq0Vs34bMRIBHAK50KdjDC2E7NMD1ab--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?68e13298-7aa1-0795-151c-7ec0c750c3b6>