Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2017 16:00:04 +0300
From:      Guy Yur <guyyur@gmail.com>
To:        Alastair Hogge <agh@fastmail.fm>, bdrewery@freebsd.org
Cc:        current@freebsd.org
Subject:   Re: release.sh: sh: head: not found \n Unable to determine linker type from LD=ld
Message-ID:  <CAC67Hz_yiCVitnoEaB7c9qXaGU-3KWGgHKvSAVZ7XXF-Jd76jA@mail.gmail.com>
In-Reply-To: <1498221373.1658355.1018900488.31D8D037@webmail.messagingengine.com>
References:  <1498221373.1658355.1018900488.31D8D037@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
>
> [...]
> =/tmp/install.hb5C6cay  PATH_LOCALE=/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 determine
> linker type from LD=ld
> *** 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.org"

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!=   ${${ld}} --version 2>/dev/null | head -n 1 || echo none

head is not in /tmp/install.RANDOMVALUES but sed is.

Regards,
Guy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAC67Hz_yiCVitnoEaB7c9qXaGU-3KWGgHKvSAVZ7XXF-Jd76jA>