GNU bug report logs - #42419
is this a sick joke ?

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: grep; Reported by: Dennis Clarke <dclarke@HIDDEN>; Keywords: moreinfo; dated Sat, 18 Jul 2020 19:21:02 UTC; Maintainer for grep is bug-grep@HIDDEN.
Added tag(s) moreinfo. Request was from Paul Eggert <eggert@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 42419 <at> debbugs.gnu.org:


Received: (at 42419) by debbugs.gnu.org; 19 Jul 2020 02:37:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 18 22:37:02 2020
Received: from localhost ([127.0.0.1]:59765 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jwzCI-0000mJ-4T
	for submit <at> debbugs.gnu.org; Sat, 18 Jul 2020 22:37:02 -0400
Received: from mail-io1-f54.google.com ([209.85.166.54]:39155)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <noloader@HIDDEN>) id 1jwzCG-0000lx-1s
 for 42419 <at> debbugs.gnu.org; Sat, 18 Jul 2020 22:37:01 -0400
Received: by mail-io1-f54.google.com with SMTP id f23so14206780iof.6
 for <42419 <at> debbugs.gnu.org>; Sat, 18 Jul 2020 19:36:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:reply-to:from:date:message-id
 :subject:to:cc;
 bh=BZ6kEBUkXqVGQZpDhBvFMt6d2KvvyTQYziQNP1hIpsc=;
 b=AijdNV9dENF5urfRCUiMWXZ/qgGO+2i3ywIGYhv7fT9CvoMFt6m0EYZQA6guJitF4k
 9pzuyOIJ8B0eeJQ2/iE14Iod+zaizGG9uTT8Z97FsAon4GRMsnTbVjFSrHxTjiwORPhA
 EEvxmeVVZ2xT9lreV/pE26epm67m+e3Mam/DqOTq2dix/f86wWHQ0u2NEvgNd6R3FCJG
 twKEQpgmm5DNGdnhft3WV013GoXvTLJgiu+rBExBYHbkXPrleek1aV0k8M+YyU4MKcLi
 Sh8sxPVq3dRYa4zU/8V5+npcNLOk0mCM8w1xOXYoEwN8Tan9KX50franl/UpsKw6PDe0
 3YKg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:reply-to
 :from:date:message-id:subject:to:cc;
 bh=BZ6kEBUkXqVGQZpDhBvFMt6d2KvvyTQYziQNP1hIpsc=;
 b=qRsIqai9kuLXKXijB7nUSp0iXiM4MHU9Xb5/svWuyvLW2GfE472DAQgauNWcKNUMe3
 xsyb2BVReSqzXn6rd5x4I70Q0tb4LiZk9Ege/xv40KYY7lHbYqvXkVCLim+YKcrQBEij
 L0oy6Vu3JX8O5/uMXTBKNp422J+0VOjc2Jd7XJHlX1E/bs+mXA1OdsOeE2/DKiI20e7b
 9ynMk0HNLvdvcTBHQdinkO9fF2rBcxS7cb4/u7uXBNhd6uO768mFeWDzaenf+o/Iw3uE
 NnO0PGeNYBzhFcqi7k+Zolpx3gayKPoxIJtvsbYVqj2b07NN9AHclZvufa5V9yBD0bmt
 dJEw==
X-Gm-Message-State: AOAM531SQ0pglouK/1XBVcOd/3R45lWBk2u1l6fZ4pPi9zdSf3vNajDI
 ImupJhBGN7lHkHps8fBvGgg9ZvZEzUCFBnFxaaM=
X-Google-Smtp-Source: ABdhPJxyIuiRiPSjPEGAM/k9CSwCb1wpAKoUBEJF5HoiZBFnzAM8q4SA99xzoO/z7WYjEq0PODFP+jRos8Qy8pm4bCU=
X-Received: by 2002:a02:69d3:: with SMTP id e202mr18153872jac.15.1595126214305; 
 Sat, 18 Jul 2020 19:36:54 -0700 (PDT)
MIME-Version: 1.0
References: <681511ab-ee0a-7ae5-018c-a2db4c06ba87@HIDDEN>
 <05445afc-bb11-ab89-ef81-caf1cc823fa3@HIDDEN>
In-Reply-To: <05445afc-bb11-ab89-ef81-caf1cc823fa3@HIDDEN>
From: Jeffrey Walton <noloader@HIDDEN>
Date: Sat, 18 Jul 2020 22:36:43 -0400
Message-ID: <CAH8yC8nvRv0hgyJSzqGSsL5199bVicmK0gzXvVoiSzfEEcSD2Q@HIDDEN>
Subject: Re: bug#42419: is this a sick joke ?
To: Paul Eggert <eggert@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 42419
Cc: 42419 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: noloader@HIDDEN
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Sat, Jul 18, 2020 at 4:08 PM Paul Eggert <eggert@HIDDEN> wrote:
>
> Builds work for me on Solaris 10 sparc, but then I don't have a
> locally-installed /usr/local/bin/grep to get in the way and cause trouble. I
> suggest removing /usr/local/bin from your PATH, or setting the GREP environment
> variable to be the 'grep' you prefer.
>
> I used PATH='/usr/bin:/usr/ccs/bin:/r/share1/src/developerstudio12.6/bin' in my
> build, and got this:
>
> checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
> checking for egrep... /usr/xpg4/bin/grep -E
>
> It is true that you need a working 'grep' to build GNU grep, just as you need a
> working 'cp' to build GNU cp. The GNU coding standards allow builds to depend on
> a small set of POSIX tools, and 'grep' and 'cp' are both on the list.

To add to Paul's answer...On modern Solaris you can usually find GNU
tools in /usr/gnu/bin.

I find Solaris is special. You usually need to modify your PATH before
doing anything with Autotools. Something like:

#!/usr/bin/env bash

THIS_SYSTEM=$(uname -s 2>&1)
IS_SOLARIS=$(grep -i -c 'sunos' <<< "$THIS_SYSTEM")
...

if [ "$IS_SOLARIS" -ne 0 ]
then
    for path in /usr/gnu/bin /usr/sfw/bin /usr/ucb/bin /bin /usr/bin
/sbin /usr/sbin
    do
        if [ -d "$path" ]; then
            SOLARIS_PATH="$SOLARIS_PATH:$path"
        fi
    done

    PATH="$SOLARIS_PATH:$PATH"
fi

# Strip leading and trailing semi-colons
PATH=$(echo "$PATH" | sed 's/::/:/g' | sed 's/^:\(.*\)/\1/')
export PATH

# echo "New PATH: $PATH"

Jeff




Information forwarded to bug-grep@HIDDEN:
bug#42419; Package grep. Full text available.

Message received at 42419 <at> debbugs.gnu.org:


Received: (at 42419) by debbugs.gnu.org; 19 Jul 2020 02:19:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 18 22:19:34 2020
Received: from localhost ([127.0.0.1]:59731 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jwyvO-0000Jz-GN
	for submit <at> debbugs.gnu.org; Sat, 18 Jul 2020 22:19:34 -0400
Received: from mail.oetec.com ([108.160.241.186]:39428)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dclarke@HIDDEN>) id 1jwyvM-0000Jl-4S
 for 42419 <at> debbugs.gnu.org; Sat, 18 Jul 2020 22:19:33 -0400
X-Spam-Status: No
X-oetec-MailScanner-From: dclarke@HIDDEN
X-oetec-MailScanner-SpamCheck: not spam, SpamAssassin (not cached,
 score=-1.2, required 6, autolearn=not spam, ALL_TRUSTED -1.00,
 DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10,
 DKIM_VALID_EF -0.10, NICE_REPLY_A -0.00, URIBL_BLOCKED 0.00)
X-oetec-MailScanner: Found to be clean
X-oetec-MailScanner-ID: 06J2JEmd011240
X-oetec-MailScanner-Information: Please contact oetec for more information
Received: from [172.16.35.2]
 (CPEac202e7325b3-CMac202e7325b0.cpe.net.cable.rogers.com [99.253.170.241])
 (authenticated bits=0)
 by mail.oetec.com (8.15.2/8.15.2/Debian-8) with ESMTPSA id 06J2JEmd011240
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT);
 Sat, 18 Jul 2020 22:19:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blastwave.org;
 s=default; t=1595125156;
 bh=7p/GVxGaBAw+Jc16Uvt+nYm+MKP/dgt923DF+tIvEPY=;
 h=Subject:To:Cc:References:From:Date:In-Reply-To:From;
 b=TCE78F9jFCwJmZqaUnrprtqp/x7hi/bFTMYNDQNOZBx3cSSdUGPtRMgPi/MJWm9N4
 uTffB2jwG3J7NTCG1igRpY/2JOLroVvSKI2H/U6E6Rm8ibGStMc38EgovPsGS3ykNq
 0SMRnsZa/ZfvyxBvdtplsoSV6GZwI9+u2n+3m69OYppevpXNsvyCZyIgRH8/2wUW+q
 wjbgW+YU9iW+killBPjVVdyoIRGrEBVbPyeRWhixGSRvMgSz3WXZimJTRgPSMLiqY6
 MZjXoAhgyvh2llDQq3mTYv58OALXi4pQaMFDPC3uetjus04grbeL7PX44W/7tIikp6
 +1fGVafxasfKQ==
Subject: Re: bug#42419: is this a sick joke ?
To: Paul Eggert <eggert@HIDDEN>
References: <681511ab-ee0a-7ae5-018c-a2db4c06ba87@HIDDEN>
 <05445afc-bb11-ab89-ef81-caf1cc823fa3@HIDDEN>
From: Dennis Clarke <dclarke@HIDDEN>
Message-ID: <f64828a0-22c6-7cb6-e0e5-5c8ded716677@HIDDEN>
Date: Sun, 19 Jul 2020 02:19:14 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:77.0) Gecko/20100101
 Thunderbird/77.0
MIME-Version: 1.0
In-Reply-To: <05445afc-bb11-ab89-ef81-caf1cc823fa3@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 42419
Cc: 42419 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 7/18/20 8:06 PM, Paul Eggert wrote:
> Builds work for me on Solaris 10 sparc, but then I don't have a
> locally-installed /usr/local/bin/grep to get in the way and cause
> trouble. I suggest removing /usr/local/bin from your PATH, or setting
> the GREP environment variable to be the 'grep' you prefer.
> 
> I used
> PATH='/usr/bin:/usr/ccs/bin:/r/share1/src/developerstudio12.6/bin' in my
> build, and got this:
> 
> checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
> checking for egrep... /usr/xpg4/bin/grep -E
> 
> It is true that you need a working 'grep' to build GNU grep, just as you
> need a working 'cp' to build GNU cp. The GNU coding standards allow
> builds to depend on a small set of POSIX tools, and 'grep' and 'cp' are
> both on the list.

My tone certainly could have been better.  Sorry.  I simply do not see
why this is a problem given that I have the installed XPG4 grep as well
as GNU grep in my path and they are both working fine. I have no idea
why configure seems baffled by this.  Very frustrating.

Dennis




Information forwarded to bug-grep@HIDDEN:
bug#42419; Package grep. Full text available.

Message received at 42419 <at> debbugs.gnu.org:


Received: (at 42419) by debbugs.gnu.org; 18 Jul 2020 20:07:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 18 16:07:04 2020
Received: from localhost ([127.0.0.1]:59366 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jwt6u-000647-AP
	for submit <at> debbugs.gnu.org; Sat, 18 Jul 2020 16:07:04 -0400
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:47056)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1jwt6r-00063b-SF
 for 42419 <at> debbugs.gnu.org; Sat, 18 Jul 2020 16:07:03 -0400
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id D251A1600E9;
 Sat, 18 Jul 2020 13:06:55 -0700 (PDT)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id TgYfEDir2dhi; Sat, 18 Jul 2020 13:06:55 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2703A1600F1;
 Sat, 18 Jul 2020 13:06:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id rjz04RUfM2kL; Sat, 18 Jul 2020 13:06:55 -0700 (PDT)
Received: from [192.168.1.9] (cpe-75-82-69-226.socal.res.rr.com [75.82.69.226])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id DDEFF160085;
 Sat, 18 Jul 2020 13:06:54 -0700 (PDT)
Subject: Re: bug#42419: is this a sick joke ?
To: Dennis Clarke <dclarke@HIDDEN>
References: <681511ab-ee0a-7ae5-018c-a2db4c06ba87@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Autocrypt: addr=eggert@HIDDEN; prefer-encrypt=mutual; keydata=
 LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgptUUlOQkV5QWNtUUJFQURB
 QXlIMnhvVHU3cHBHNUQzYThGTVpFb243NGRDdmM0K3ExWEEySjJ0QnkycHdhVHFmCmhweHhk
 R0E5Smo1MFVKM1BENGJTVUVnTjh0TFowc2FuNDdsNVhUQUZMaTI0NTZjaVNsNW04c0thSGxH
 ZHQ5WG0KQUF0bVhxZVpWSVlYL1VGUzk2ZkR6ZjR4aEVtbS95N0xiWUVQUWRVZHh1NDd4QTVL
 aFRZcDVibHRGM1dZRHoxWQpnZDdneDA3QXV3cDdpdzdlTnZub0RUQWxLQWw4S1lEWnpiRE5D
 UUdFYnBZM2VmWkl2UGRlSStGV1FONFcra2doCnkrUDZhdTZQcklJaFlyYWV1YTdYRGRiMkxT
 MWVuM1NzbUUzUWpxZlJxSS9BMnVlOEpNd3N2WGUvV0szOEV6czYKeDc0aVRhcUkzQUZINmls
 QWhEcXBNbmQvbXNTRVNORnQ3NkRpTzFaS1FNcjlhbVZQa25qZlBtSklTcWRoZ0IxRApsRWR3
 MzRzUk9mNlY4bVp3MHhmcVQ2UEtFNDZMY0ZlZnpzMGtiZzRHT1JmOHZqRzJTZjF0azVlVThN
 Qml5Ti9iClowM2JLTmpOWU1wT0REUVF3dVA4NGtZTGtYMndCeHhNQWhCeHdiRFZadWR6eERa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w3TzBwVXZOMW1UNEIrUzFiMDhSS3BxbS9mZjAx
 NUUzN0hOVi9waUl2Smx4R0FZejhQU2Z1R0NCMXRoTVlxbG0KZ2RoZDkvQmFiR0ZiR0dZSEE2
 VTQvVDV6cVUrZjZ4SHkxU3NBUVoxTVNLbEx3ZWtCSVQrNC9jTFJHcUNIam5WMApxNUgvVDZh
 N3Q1bVBrYnpTck9MU280cHVqK0lUb05qWXlZSURCV3pobEExOWF2T2ErcnZVam1IdEQzc0ZO
 N2NYCld0a0dvaThidU5jYnk0VT0KPUFMNm8KLS0tLS1FTkQgUEdQIFBVQkxJQyBLRVkgQkxP
 Q0stLS0tLQo=
Organization: UCLA Computer Science Department
Message-ID: <05445afc-bb11-ab89-ef81-caf1cc823fa3@HIDDEN>
Date: Sat, 18 Jul 2020 13:06:54 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <681511ab-ee0a-7ae5-018c-a2db4c06ba87@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 42419
Cc: 42419 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Builds work for me on Solaris 10 sparc, but then I don't have a 
locally-installed /usr/local/bin/grep to get in the way and cause trouble. I 
suggest removing /usr/local/bin from your PATH, or setting the GREP environment 
variable to be the 'grep' you prefer.

I used PATH='/usr/bin:/usr/ccs/bin:/r/share1/src/developerstudio12.6/bin' in my 
build, and got this:

checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E

It is true that you need a working 'grep' to build GNU grep, just as you need a 
working 'cp' to build GNU cp. The GNU coding standards allow builds to depend on 
a small set of POSIX tools, and 'grep' and 'cp' are both on the list.




Information forwarded to bug-grep@HIDDEN:
bug#42419; Package grep. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Jul 2020 19:20:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 18 15:20:48 2020
Received: from localhost ([127.0.0.1]:59350 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jwsO8-0004wI-AH
	for submit <at> debbugs.gnu.org; Sat, 18 Jul 2020 15:20:48 -0400
Received: from lists.gnu.org ([209.51.188.17]:33642)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dclarke@HIDDEN>) id 1jwsO3-0004w3-2F
 for submit <at> debbugs.gnu.org; Sat, 18 Jul 2020 15:20:47 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:54000)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dclarke@HIDDEN>)
 id 1jwsO2-0002oa-MU
 for bug-grep@HIDDEN; Sat, 18 Jul 2020 15:20:42 -0400
Received: from mail.oetec.com ([108.160.241.186]:39032)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dclarke@HIDDEN>)
 id 1jwsNz-0000LB-4a
 for bug-grep@HIDDEN; Sat, 18 Jul 2020 15:20:42 -0400
X-Spam-Status: No
X-oetec-MailScanner-From: dclarke@HIDDEN
X-oetec-MailScanner-SpamCheck: not spam, SpamAssassin (not cached,
 score=-1.199, required 6, autolearn=not spam, ALL_TRUSTED -1.00,
 DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10,
 DKIM_VALID_EF -0.10, URIBL_BLOCKED 0.00)
X-oetec-MailScanner: Found to be clean
X-oetec-MailScanner-ID: 06IJKX0K003443
X-oetec-MailScanner-Information: Please contact oetec for more information
Received: from [172.16.35.2]
 (CPEac202e7325b3-CMac202e7325b0.cpe.net.cable.rogers.com [99.253.170.241])
 (authenticated bits=0)
 by mail.oetec.com (8.15.2/8.15.2/Debian-8) with ESMTPSA id 06IJKX0K003443
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <bug-grep@HIDDEN>; Sat, 18 Jul 2020 15:20:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blastwave.org;
 s=default; t=1595100035;
 bh=vXIThob/6lr8eCBqtYmTCbtffckBGSyURgqwplWv8VY=;
 h=To:From:Subject:Date:From;
 b=DlS+VRpvTdTYmwJUW+NxET7+4d+npsqf/wPvTCq4CyYE8do+SM1Xw6mvgROina8zm
 w5QgnFsrApg3n8Dc6cD4qkm1dWp0Japmv8hpNYZs1M2xGjBZ8vaadSd2t3/q8Bi4AG
 VsYDq6A95398p0ASeMQrXpRdZ5DBV59izbRWRKxuj+AUIu34sUrz528xn9bjKGx8gF
 55EVUFfhwnS32eeD/tg5kCXruqRRce6R6Be+LNGzXged/3f2scDVTQ9kdVJ7d0tZ6y
 etpbdtwwQgne3Imhq8OKQ+NgZzwqo8oJO0k/rUuO8ykR09Pr6L5JvknCJpxDGVVuZQ
 nyKVWKPUqFfPA==
To: bug-grep@HIDDEN
From: Dennis Clarke <dclarke@HIDDEN>
Subject: is this a sick joke ?
Message-ID: <681511ab-ee0a-7ae5-018c-a2db4c06ba87@HIDDEN>
Date: Sat, 18 Jul 2020 19:20:33 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:77.0) Gecko/20100101
 Thunderbird/77.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=108.160.241.186;
 envelope-from=dclarke@HIDDEN; helo=mail.oetec.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/18 15:20:37
X-ACL-Warn: Detected OS   = Linux 3.11 and newer
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


alpha$ pwd
/opt/bw/build/grep-3.4_sunos5.10_sparcv9.002
alpha$
alpha$ ./configure --prefix=/opt/bw --disable-silent-rules \
> --enable-dependency-tracking --enable-threads=posix \
> --without-gnu-ld --with-libsigsegv-prefix=/opt/bw \
> --with-libiconv-prefix=/opt/bw \
> --with-libintl-prefix=/opt/bw 2>&1 | tee
../grep-3.4_sunos5.10_sparcv9.002.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$

Excuse me ?

alpha$
alpha$ which grep
/usr/local/bin/grep
alpha$
alpha$ grep --version
grep (GNU grep) 3.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Haertel and others, see
<http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>.
alpha$
alpha$
alpha$ ls -lap /usr/xpg4/bin/grep
-r-xr-xr-x   3 root     bin        18652 Nov 18  2013 /usr/xpg4/bin/grep
alpha$
alpha$

I have GNU grep and I also have real XPG4 type grep ?

What grep does grep need to beuild grep for a new grep?

Curious what pre-requisite grep that grep needs for grep.

would love to hear back which I work on GNU autoconf beta
today :

https://lists.gnu.org/r/autoconf/2020-07/msg00006.html

What magic grep does grep want ?

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




Acknowledgement sent to Dennis Clarke <dclarke@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-grep@HIDDEN. Full text available.
Report forwarded to bug-grep@HIDDEN:
bug#42419; Package grep. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 21 Sep 2020 20:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.