On 4/13/26 13:19, Paul Eggert wrote:
Thanks for the logs. I think I see the bug now. I installed the attached patch. Please give it a try, or (this may be simpler) a workaround is to make sure that GREP and EGREP are not set in your environment (if you need a better grep, put it in your PATH instead).


alpha$
alpha$ patch --verbose --backup -p1 -i /mnt/users/dclarke/backup/centauri/20260413/0001-build-fix-GREP-EGREP-envvar-glitch.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|From 14a41a9e700ad8a87d55a95c0dfdf25bf2f8d474 Mon Sep 17 00:00:00 2001
|From: Paul Eggert <[email protected]>
|Date: Mon, 13 Apr 2026 10:16:05 -0700
|Subject: [PATCH] build: fix GREP/EGREP envvar glitch
|
|* configure.ac (GREP, EGREP): Remove misguided attempt to
|advise people installing on Solaris.  This attempt failed
|when people set GREP or EGREP to useful values.
|Problem reported by Dennis Clarke (Bug#80774).
|---
| configure.ac | 9 ---------
| 1 file changed, 9 deletions(-)
|
|diff --git a/configure.ac b/configure.ac
|index e14f4aa..ac15aea 100644
|--- a/configure.ac
|+++ b/configure.ac
--------------------------
patching file configure.ac
Hunk #1 succeeded at 22.
Hmm...  Ignoring the trailing garbage.
done
alpha$

alpha$
alpha$ date -u
Mon Apr 13 17:41:45 UTC 2026
alpha$ ./configure --prefix=/opt/bw --disable-silent-rules \
> --enable-dependency-tracking --enable-threads=posix \
> --enable-gcc-warnings=no \
> --with-libsigsegv --with-libsigsegv-prefix=/opt/bw \
> --with-libiconv-prefix=/opt/bw --with-gnu-ld \
> --with-packager='GENUNIX Mon Apr 13 17:41:45 UTC 2026' 2>&1 | tee `pwd`.config.log
configure: error: no working 'grep' found
  A working 'grep' command is needed to build GNU Grep.
  This 'grep' should support -e and long lines.
  On Solaris 10, install the package SUNWggrp or SUNWxcu4.
  On Solaris 11, install the package text/gnu-grep or system/xopen/xcu4.
alpha$ echo $?
0
alpha$

That *may* have worked.

Nope.

No Makefile. No joy.

Guess I have to capture the detailed trace logs once more with feeling.

Which I did.




--
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken

Attachment: grep-3.12_OpenBSD_alpha_21164.008.trace.log.xz
Description: application/xz

Reply via email to