Setting up Binutils workers/builders on Solaris

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Sun Jun 7 21:39:48 GMT 2026


Hi Mark,

> On Fri, Jun 05, 2026 at 04:38:08PM -0400, Frank Ch. Eigler wrote:
>> > [...]
>> > Note that the bunsen support now requires lscpu which I don't whether
>> > it is available on all workers.
>> 
>> I think things work fine without that, just we don't collect as much
>> delicious metadata.
>
> Yeah, nothing seems to break, but the solaris builders do show:
>
> sed: command garbled: /.note.package/,+4p
> sed: command garbled: /.note.package/,+4p
>
> Which might be something GNU sed supports, but Solaris doesn't?

obviously: Solaris /usr/bin/sed is pretty old.  For one, there's
/usr/xpg4/bin/sed which should be POSIX.1 compliant.  However, the
default PATH for the Solaris builders has /usr/gnu/bin before /usr/bin
to avoid such issues.  However, the affected command explicitly sets
PATH like

	PATH=/bin:/usr/bin:/sbin:/usr/sbin:$PATH

which undoes that ;-(  No idea why this is deemed necessary.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


More information about the Buildbot mailing list