GNU bug report logs - #45849
Autoconf options and dependencies

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; Severity: wishlist; Reported by: noloader@HIDDEN; dated Thu, 14 Jan 2021 00:06:01 UTC; Maintainer for grep is bug-grep@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Paul Eggert <eggert@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 45849) by debbugs.gnu.org; 7 Aug 2021 05:27:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 07 01:27:46 2021
Received: from localhost ([127.0.0.1]:51793 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mCEs6-0004up-I3
	for submit <at> debbugs.gnu.org; Sat, 07 Aug 2021 01:27:46 -0400
Received: from mail-wr1-f54.google.com ([209.85.221.54]:33777)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <meyering@HIDDEN>) id 1mCEs5-0004uc-7Q
 for 45849 <at> debbugs.gnu.org; Sat, 07 Aug 2021 01:27:45 -0400
Received: by mail-wr1-f54.google.com with SMTP id k4so626011wrc.0
 for <45849 <at> debbugs.gnu.org>; Fri, 06 Aug 2021 22:27:45 -0700 (PDT)
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:from:date
 :message-id:subject:to:cc;
 bh=NUNkbhcdgNiAeGmWBKTZASFiXATwzNwfQBm6BBAwECE=;
 b=LlmS+2fsJCwKBY6YMl2P1n1b2h59MsPxdl/heAc7XGUBI19mL9NaLJgs7yGbfSbnju
 oSwjYgACS92sGtp1arFLlW4yFdno290nb0n9S+z3WAzZBPa5bol1NsyZZnGIqwtuOs+o
 wd38sWI0NnLgSJtDnoVofByFoK6R9dslK05XgAAuVAFmnLgDRaVqC3jzV0VHToEDImzE
 VjELXYdshSB86CPccxu8/B9A+UncYWfdtEV1PaIdHE+S7d33MDXKtImpqiDD+bH/AYbB
 VcgVF0qmKsnJn0BWg3dcUQ0qaorwGKFrgdlU0rra+tb3uaKMWGwqS7akGMXTf7XakC6N
 PVaA==
X-Gm-Message-State: AOAM5303LraRp8VUZJEutj7n4sAeCgThhkqTvNrUdhVswFEyfXTcspws
 SfFlWx/z3eId7ALEgyQ13Av3lqoMfAneF4tcUIk=
X-Google-Smtp-Source: ABdhPJxm+JI+8SE2StKqw2XcXyzzXlWIzfGiXnpcmbHBJl12cpWF/J9IAggzcuxfyrmh32TM43ZJbx2BO1mMsw+QKs4=
X-Received: by 2002:a5d:5703:: with SMTP id a3mr14205505wrv.333.1628314059559; 
 Fri, 06 Aug 2021 22:27:39 -0700 (PDT)
MIME-Version: 1.0
References: <CAH8yC8=Gsbx8__8DApuMMEAbNJX2jjrvqYpHQwC-=795iOg3OQ@HIDDEN>
 <CA+8g5KH8dA_ijUmt802H5Cd-MHAdmFQe9tbGi-m2_poAHbBFdQ@HIDDEN>
In-Reply-To: <CA+8g5KH8dA_ijUmt802H5Cd-MHAdmFQe9tbGi-m2_poAHbBFdQ@HIDDEN>
From: Jim Meyering <jim@HIDDEN>
Date: Fri, 6 Aug 2021 22:27:27 -0700
Message-ID: <CA+8g5KGW2PjnDN30_Kj=JPk4kVpUzDd-G0dfTRgbe7_f4Btc8A@HIDDEN>
Subject: Re: bug#45849: Autoconf options and dependencies
To: Jeffrey Walton <noloader@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 45849
Cc: 45849 <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: -0.5 (/)

On Thu, Jan 14, 2021 at 8:36 AM Jim Meyering <jim@HIDDEN> wrote:
> On Thu, Jan 14, 2021 at 6:29 AM Jeffrey Walton <noloader@HIDDEN> wrote:
> > I noticed Grep offers these two autoconf options (and friends):
> >
> >     --with-libiconv-prefix
> >     --with-libintl-prefix
> >
> > Configure does not complain when they are used.
> >
> > However, when I check link dependencies with ldd:
> >
> >     $ ldd /usr/local/bin/grep
> >         linux-vdso.so.1
> >         libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3
> >         libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> >         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6
> >         /lib64/ld-linux-x86-64.so.2
> >
> > There seems to be no iConv dependencies, but there does seem to be
> > PCRE dependencies. (It may be time to bump to PCRE2 since PCRE is
> > end-of-life and the sources have some undefined behavior present).
> >
> > If I use --with-libpcre-prefix, then I get an autoconf warning:
> >
> >     WARNING: unrecognized options: --with-libpcre-prefix
> >
> > It looks like something is a bit sideways.
>
> Hi Jeffrey,
>
> Thanks for investigating. I haven't looked at the
> --with-libiconv-prefix or --with-libintl-prefix issues, but PCRE2
> (overdue, indeed) is on our radar. I expect that the switch to it will
> happen soon. That may serve as impetus for the next release.

Actually, PCRE2 is no longer an immediate priority.
The cost/value ratio seems too high for now, so unless someone else
does the work it's unlikely to change.




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

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


Received: (at 45849) by debbugs.gnu.org; 14 Jan 2021 16:37:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 14 11:37:13 2021
Received: from localhost ([127.0.0.1]:38989 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l05cW-00045E-Sw
	for submit <at> debbugs.gnu.org; Thu, 14 Jan 2021 11:37:13 -0500
Received: from mail-yb1-f177.google.com ([209.85.219.177]:44730)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <meyering@HIDDEN>) id 1l05cS-00044z-R1
 for 45849 <at> debbugs.gnu.org; Thu, 14 Jan 2021 11:37:12 -0500
Received: by mail-yb1-f177.google.com with SMTP id g4so2318653ybo.11
 for <45849 <at> debbugs.gnu.org>; Thu, 14 Jan 2021 08:37:08 -0800 (PST)
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:from:date
 :message-id:subject:to:cc;
 bh=9bRXvl5iTWB6DHfSTiJGJc3aIwgs4U+k+Xm0HdTA2eg=;
 b=oQtHFNdWVPkZxi6G4u3ymLZp4EqkPdEfVLKlkIPmlId4A3p6bINkFv6KBlI/qdejOL
 bZ2HUf5zjUMikW2eW8YYAV6GcIGJ7zKqEuROrSRqXHW/iVgyLt1wCzvOOcdZ7vxXhgPk
 fJH9S28eEHe1gfXOMHle43GJMtj+XBul/PAuBQlwMyHQssyzQ3N+uEVvmKF0R76T0b1W
 4lTzhw2S9s2j7CuBB2F9cI2B9xNhQgkdEbnqxmhIsMFzodkYY9tPuBtGXPfIItW1dIhA
 2akTwPFEFRndjfnw9nQf1/o41aWD6JRdoDtuOwLZsCv2vzSGk5eXBsqdm9dN+0/EI7Yv
 3ffA==
X-Gm-Message-State: AOAM533qQZF42R7Ons021MM0v4ifgSpruH9FndH2bAzT8HP+T+KhfpUd
 LNGoZuRezqD4Nz06Q2R39xkq/tZJysK0I2grC9k=
X-Google-Smtp-Source: ABdhPJw2g6VVw/838BBd/JBT4XcPgxoC95c2gg3xylLBkJ6KUWR5O2wxnIbehcm8M6jWjVAvBNpTrrA8S9qyIeYc+Do=
X-Received: by 2002:a25:ab63:: with SMTP id u90mr1617409ybi.47.1610642223299; 
 Thu, 14 Jan 2021 08:37:03 -0800 (PST)
MIME-Version: 1.0
References: <CAH8yC8=Gsbx8__8DApuMMEAbNJX2jjrvqYpHQwC-=795iOg3OQ@HIDDEN>
In-Reply-To: <CAH8yC8=Gsbx8__8DApuMMEAbNJX2jjrvqYpHQwC-=795iOg3OQ@HIDDEN>
From: Jim Meyering <jim@HIDDEN>
Date: Thu, 14 Jan 2021 08:36:51 -0800
Message-ID: <CA+8g5KH8dA_ijUmt802H5Cd-MHAdmFQe9tbGi-m2_poAHbBFdQ@HIDDEN>
Subject: Re: bug#45849: Autoconf options and dependencies
To: Jeffrey Walton <noloader@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 45849
Cc: 45849 <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: -0.5 (/)

On Thu, Jan 14, 2021 at 6:29 AM Jeffrey Walton <noloader@HIDDEN> wrote:
> I noticed Grep offers these two autoconf options (and friends):
>
>     --with-libiconv-prefix
>     --with-libintl-prefix
>
> Configure does not complain when they are used.
>
> However, when I check link dependencies with ldd:
>
>     $ ldd /usr/local/bin/grep
>         linux-vdso.so.1
>         libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3
>         libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
>         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6
>         /lib64/ld-linux-x86-64.so.2
>
> There seems to be no iConv dependencies, but there does seem to be
> PCRE dependencies. (It may be time to bump to PCRE2 since PCRE is
> end-of-life and the sources have some undefined behavior present).
>
> If I use --with-libpcre-prefix, then I get an autoconf warning:
>
>     WARNING: unrecognized options: --with-libpcre-prefix
>
> It looks like something is a bit sideways.

Hi Jeffrey,

Thanks for investigating. I haven't looked at the
--with-libiconv-prefix or --with-libintl-prefix issues, but PCRE2
(overdue, indeed) is on our radar. I expect that the switch to it will
happen soon. That may serve as impetus for the next release.




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

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


Received: (at submit) by debbugs.gnu.org; 14 Jan 2021 00:05:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 13 19:05:42 2021
Received: from localhost ([127.0.0.1]:36806 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kzq90-0007ab-J8
	for submit <at> debbugs.gnu.org; Wed, 13 Jan 2021 19:05:42 -0500
Received: from lists.gnu.org ([209.51.188.17]:39090)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <noloader@HIDDEN>) id 1kzq8z-0007aU-N7
 for submit <at> debbugs.gnu.org; Wed, 13 Jan 2021 19:05:41 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:37968)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <noloader@HIDDEN>)
 id 1kzq8y-0006c5-Gn
 for bug-grep@HIDDEN; Wed, 13 Jan 2021 19:05:41 -0500
Received: from mail-io1-xd34.google.com ([2607:f8b0:4864:20::d34]:33649)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <noloader@HIDDEN>)
 id 1kzq8v-0000hK-7k
 for bug-grep@HIDDEN; Wed, 13 Jan 2021 19:05:39 -0500
Received: by mail-io1-xd34.google.com with SMTP id w18so7870622iot.0
 for <bug-grep@HIDDEN>; Wed, 13 Jan 2021 16:05:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:reply-to:from:date:message-id:subject:to;
 bh=LxizdwpnFYur2FjIzH7vURpEm7kXpzU8bfgxCiMShwA=;
 b=Vlsd2H+QribsfdeIV+/RA9grQIIo93gf4C6BKedAMK4nYZoTkGIq+7k9+RnI3x273Z
 r8aUsBaXIUkfC4RqCpBrUti5vAEo0Q+fUBFtTf9yk0oSNdnY1TOnhE77PlWG/oXU4xo8
 3fvTx+L1WTy58/65hqg2chiNM/OXISjwk3yIjTe4FcKWjombTnnavg4tmW6g9Ir3qq0w
 vdFXw2O7YYTCLrhd0W3U27CD0hBDDbL4UjTD3zPrBjJ9w/JgiYv+P8tzNwmp4KU4IcCZ
 cJZug9Oy6fp6LoR8/HXXBq6nQ96UoIW3qUpzKoM5T57dmtjGAwQRmIiHNP+FkKAQJr0w
 7dkA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:reply-to:from:date:message-id
 :subject:to;
 bh=LxizdwpnFYur2FjIzH7vURpEm7kXpzU8bfgxCiMShwA=;
 b=ptAznTADyT4brcA5r41zvLW/zUNUBW6fpG+bABQqR9HONpOH4P2ye60pZ0hIzTY7X0
 HkgX8440gtUjOU39j1iTUljaN0krH1kGijkZdJNk8ggSIVPnXBlVKdHd4TNMhrb58u1q
 rIhMsESDSO7lasp9LqQSpzJ5cZEphOPWeO2pEEkCKNazRHL26LXtWcZCoKHCtzNB9no1
 35V9PiFMfznVGdjPReo2FYxrcEHZlZK0c4/8qOkR7iBSGAxt273szXbjdR/sqFVixpd3
 3nzOA3XyT8W5htIHjixtbmvfQyohtwTr3k4aOor6o4fFc0Jwk9bsM9bNS+8cEUYWp0Ja
 LdAQ==
X-Gm-Message-State: AOAM530CLMlpOKs9iy43gBhe6Y0eTDNdww7FDLaeRz8RXNY+ggmhUTqc
 1bzS/zCVjqeXZiE4zzRoUSkGbpr5num5NiB0OCh/G4D+h8o=
X-Google-Smtp-Source: ABdhPJw9RQwe5YHvnKnXbTVjKbadX3jAiQgcwyf5qoK8rQMQsMV3/QCVuV+Om67MRjwiNY+KVKnex08HgOWVc1EFmP0=
X-Received: by 2002:a5d:8d94:: with SMTP id b20mr3497449ioj.200.1610582735725; 
 Wed, 13 Jan 2021 16:05:35 -0800 (PST)
MIME-Version: 1.0
From: Jeffrey Walton <noloader@HIDDEN>
Date: Wed, 13 Jan 2021 19:05:02 -0500
Message-ID: <CAH8yC8=Gsbx8__8DApuMMEAbNJX2jjrvqYpHQwC-=795iOg3OQ@HIDDEN>
Subject: Autoconf options and dependencies
To: bug-grep@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2607:f8b0:4864:20::d34;
 envelope-from=noloader@HIDDEN; helo=mail-io1-xd34.google.com
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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-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>
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: -2.3 (--)

Hi Everyone,

I noticed Grep offers these two autoconf options (and friends):

    --with-libiconv-prefix
    --with-libintl-prefix

Configure does not complain when they are used.

However, when I check link dependencies with ldd:

    $ ldd /usr/local/bin/grep
        linux-vdso.so.1
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6
        /lib64/ld-linux-x86-64.so.2

There seems to be no iConv dependencies, but there does seem to be
PCRE dependencies. (It may be time to bump to PCRE2 since PCRE is
end-of-life and the sources have some undefined behavior present).

If I use --with-libpcre-prefix, then I get an autoconf warning:

    WARNING: unrecognized options: --with-libpcre-prefix

It looks like something is a bit sideways.

Jef




Acknowledgement sent to noloader@HIDDEN:
New bug report received and forwarded. Copy sent to bug-grep@HIDDEN. Full text available.
Report forwarded to bug-grep@HIDDEN:
bug#45849; 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: Thu, 2 Sep 2021 08:00:02 UTC

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