From unknown Sun Jun 15 08:33:39 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#45849 <45849@debbugs.gnu.org> To: bug#45849 <45849@debbugs.gnu.org> Subject: Status: Autoconf options and dependencies Reply-To: bug#45849 <45849@debbugs.gnu.org> Date: Sun, 15 Jun 2025 15:33:39 +0000 retitle 45849 Autoconf options and dependencies reassign 45849 grep submitter 45849 noloader@gmail.com severity 45849 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 13 19:05:42 2021 Received: (at submit) by debbugs.gnu.org; 14 Jan 2021 00:05:42 +0000 Received: from localhost ([127.0.0.1]:36806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzq90-0007ab-J8 for submit@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 ) id 1kzq8z-0007aU-N7 for submit@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 ) id 1kzq8y-0006c5-Gn for bug-grep@gnu.org; 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 ) id 1kzq8v-0000hK-7k for bug-grep@gnu.org; Wed, 13 Jan 2021 19:05:39 -0500 Received: by mail-io1-xd34.google.com with SMTP id w18so7870622iot.0 for ; 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 Date: Wed, 13 Jan 2021 19:05:02 -0500 Message-ID: Subject: Autoconf options and dependencies To: bug-grep@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::d34; envelope-from=noloader@gmail.com; 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: noloader@gmail.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 14 11:37:13 2021 Received: (at 45849) by debbugs.gnu.org; 14 Jan 2021 16:37:13 +0000 Received: from localhost ([127.0.0.1]:38989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l05cW-00045E-Sw for submit@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 ) id 1l05cS-00044z-R1 for 45849@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@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: In-Reply-To: From: Jim Meyering Date: Thu, 14 Jan 2021 08:36:51 -0800 Message-ID: Subject: Re: bug#45849: Autoconf options and dependencies To: Jeffrey Walton Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 45849 Cc: 45849@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On Thu, Jan 14, 2021 at 6:29 AM Jeffrey Walton 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 07 01:27:46 2021 Received: (at 45849) by debbugs.gnu.org; 7 Aug 2021 05:27:46 +0000 Received: from localhost ([127.0.0.1]:51793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCEs6-0004up-I3 for submit@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 ) id 1mCEs5-0004uc-7Q for 45849@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@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: In-Reply-To: From: Jim Meyering Date: Fri, 6 Aug 2021 22:27:27 -0700 Message-ID: Subject: Re: bug#45849: Autoconf options and dependencies To: Jeffrey Walton Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 45849 Cc: 45849@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On Thu, Jan 14, 2021 at 8:36 AM Jim Meyering wrote: > On Thu, Jan 14, 2021 at 6:29 AM Jeffrey Walton 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 02 03:56:53 2021 Received: (at control) by debbugs.gnu.org; 2 Sep 2021 07:56:53 +0000 Received: from localhost ([127.0.0.1]:39639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLhaf-00005n-BZ for submit@debbugs.gnu.org; Thu, 02 Sep 2021 03:56:53 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:43608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLhad-00005W-KB for control@debbugs.gnu.org; Thu, 02 Sep 2021 03:56:52 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 6FB9616014D for ; Thu, 2 Sep 2021 00:56:44 -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 q2jGu6GETE93 for ; Thu, 2 Sep 2021 00:56:43 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id D6098160161 for ; Thu, 2 Sep 2021 00:56:43 -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 5sKs1-8VWujq for ; Thu, 2 Sep 2021 00:56:43 -0700 (PDT) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id B6D2E16014D for ; Thu, 2 Sep 2021 00:56:43 -0700 (PDT) To: control@debbugs.gnu.org From: Paul Eggert Subject: grep bug list maintenance Organization: UCLA Computer Science Department Message-ID: <0e1da7f1-f295-f862-642b-f1af79fa9526@cs.ucla.edu> Date: Thu, 2 Sep 2021 00:56:43 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 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: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) severity 50270 wishlist tags 49983 moreinfo severity 49983 minor close 46227 severity 45849 wishlist