Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 May 2016 22:40:44 +0300
From:      "Jukka A. Ukkonen" <jau789@gmail.com>
To:        freebsd-arm@freebsd.org
Subject:   Re: *** [neqn] Error code 1
Message-ID:  <efec3793-325f-18f7-6b5a-55ac0a980849@gmail.com>
In-Reply-To: <20160511164729.GB1049@www.zefox.net>
References:  <20160511164729.GB1049@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05/11/16 19:47, bob prohaska wrote:
> Recent buildworld attempts have stopped with:
> 
> --- neqn ---e 6082)
> Making neqn from /usr/src/gnu/usr.bin/groff/src/preproc/eqn/../../../../../../contrib/groff/src/preproc/eqn/neqn.sh
> sed: 1: "s/^[1-9].*$/.&/": bad flag in substitute command: 's'
> sed: 1: "s|@g@||g": bad flag in substitute command: 's'
> *** [neqn] Error code 1
> 
> The last few updates haven't touched on the files involved, so perhaps it's
> local to my system:
> 11.0-CURRENT FreeBSD 11.0-CURRENT #94 r299289
> 
> The sources are presently at 299460.
> 
> Any hint of a workaround would be appreciated!
> 
> Thanks for reading,
> 
> bob prohaska

I noticed the same problem on ppc64 (a PowerMac G5).
The workaround is to build a sane copy of sed first.

pushd /usr/src/usr.bin/sed/
make obj  ## This is actually optional.
make
make install
make clean
popd

Then run your normal build.

--jau




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?efec3793-325f-18f7-6b5a-55ac0a980849>