git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Solaris and sed: Too many commands, last: s/\n//

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Mar 12, 2019, 09:08 UTC
Message-ID
<87zhq0bgtu.fsf@evledraar.gmail.com>
In-Reply-To
<CAPig+cTCOfDCv=L3EWUqgVZx1VCdqt5ZjmSQMwHLX=R4C4hgTA@mail.gmail.com>
On Mon, Mar 11 2019, Eric Sunshine wrote:
Show 31 quoted lines
> [cc:+Ævar]
>
> On Mon, Mar 11, 2019 at 4:32 PM Jeffrey Walton <noloader@gmail.com> wrote:
>> I enabled self tests for Solaris. Solaris has some anemic utilities so
>> I put /usr/gnu/bin first on-path.
>
> The first question is if you are really running GNU 'sed'? My guess is
> "no, it's still picking up Solaris's 'sed'".
>
>> gmake -C templates  SHELL_PATH='/bin/bash' PERL_PATH='/usr/bin/perl'
>> sed: Too many commands, last: s/\n//
>> --- chainlint/arithmetic-expansion.expect       2019-02-24
>
> Ævar had taken a stab at getting this to work on Solaris back in
> September 2018. He did fix one or two issues, but the one you report
> here was not addressed. He ultimately abandoned the attempt, I think,
> after Junio's reminder that the project had long ago declared
> Solaris's tools as a lost cause. See the relevant messages:
>
> http://public-inbox.org/git/87bm9cs5y6.fsf@evledraar.gmail.com/
> http://public-inbox.org/git/CAPig+cRrwW662Hzp8V1sH51x8qYxPyqG=VHpOkfd-=RwUSSZbw@mail.gmail.com
> http://public-inbox.org/git/877ek0rymz.fsf@evledraar.gmail.com
> http://public-inbox.org/git/xmqqzhwv51wy.fsf@gitster-ct.c.googlers.com
>
>> Solaris in a VM sucks. I can provide SSH access to the hardware if
>> anyone is interested. It is just an Solaris i86pc on an older Ivy
>> Bridge.
>
> I wouldn't mind taking a look at it, though I don't promise anything,
> and I suspect the only way forward is by ensuring that the GNU or XPG
> tools are used instead of the Solaris ones.

FWIW I gave up on Solaris sed after trying to fix it the last time around.

If you need another box to test it on you can apply for a GCC Farm account: https://cfarm.tetaneutral.net/machines/list/

Previous: Jeffrey Walton
Message 13 of 13 in “Solaris and sed: Too many commands, last: s/\n//”
  1. Jeffrey WaltonMar 11, 2019
  2. Eric SunshineMar 11, 2019
  3. Jeffrey WaltonMar 11, 2019
  4. Eric SunshineMar 11, 2019
  5. Jeffrey WaltonMar 12, 2019
  6. Jeffrey WaltonMar 12, 2019
  7. Jeffrey WaltonMar 12, 2019
  8. Jeffrey WaltonMar 12, 2019
  9. Eric SunshineMar 12, 2019
  10. Jeffrey WaltonMar 12, 2019
  11. Jeffrey WaltonMar 11, 2019
  12. Jeffrey WaltonMar 12, 2019
  13. Ævar Arnfjörð BjarmasonMar 12, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.