GNU bug report logs - #45849
Autoconf options and dependencies

Previous Next

Package: grep;

Reported by: noloader <at> gmail.com

Date: Thu, 14 Jan 2021 00:06:01 UTC

Severity: wishlist

To reply to this bug, email your comments to 45849 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-grep <at> gnu.org:
bug#45849; Package grep. (Thu, 14 Jan 2021 00:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to noloader <at> gmail.com:
New bug report received and forwarded. Copy sent to bug-grep <at> gnu.org. (Thu, 14 Jan 2021 00:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jeffrey Walton <noloader <at> gmail.com>
To: bug-grep <at> gnu.org
Subject: Autoconf options and dependencies
Date: Wed, 13 Jan 2021 19:05:02 -0500
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




Information forwarded to bug-grep <at> gnu.org:
bug#45849; Package grep. (Thu, 14 Jan 2021 16:38:03 GMT) Full text and rfc822 format available.

Message #8 received at 45849 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Jeffrey Walton <noloader <at> gmail.com>
Cc: 45849 <at> debbugs.gnu.org
Subject: Re: bug#45849: Autoconf options and dependencies
Date: Thu, 14 Jan 2021 08:36:51 -0800
On Thu, Jan 14, 2021 at 6:29 AM Jeffrey Walton <noloader <at> gmail.com> 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 <at> gnu.org:
bug#45849; Package grep. (Sat, 07 Aug 2021 05:28:01 GMT) Full text and rfc822 format available.

Message #11 received at 45849 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Jeffrey Walton <noloader <at> gmail.com>
Cc: 45849 <at> debbugs.gnu.org
Subject: Re: bug#45849: Autoconf options and dependencies
Date: Fri, 6 Aug 2021 22:27:27 -0700
On Thu, Jan 14, 2021 at 8:36 AM Jim Meyering <jim <at> meyering.net> wrote:
> On Thu, Jan 14, 2021 at 6:29 AM Jeffrey Walton <noloader <at> gmail.com> 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.




Severity set to 'wishlist' from 'normal' Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Thu, 02 Sep 2021 07:57:02 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 286 days ago.

Previous Next


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