From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id wMciKIe8YmXGZQAA9RJhRA:P1 (envelope-from ) for ; Sun, 26 Nov 2023 04:33:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wMciKIe8YmXGZQAA9RJhRA (envelope-from ) for ; Sun, 26 Nov 2023 04:33:27 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5854B23A07 for ; Sun, 26 Nov 2023 04:33:27 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700969607; a=rsa-sha256; cv=none; b=PUCAoj5f8oDvs5AYv1j0VvWch+xvTyvYkrvvjYT5RWEI9c+L+bHHhSvdltYmthgtCGJ1tr t3jvBdD4oyYgfFEXE3+FG6ycyX85QnO81l/M/cVlspiM+rlTWTxCcf6RM8fqxre0HW8L+R /+y7KK1jP2w6ix41Sbxb258yl632JFOHOuOjBIw7xfJqw3jzaU8DFWe0KXk96KU3PiMGc1 PfX6xxfOu5FKslcvqo7GiQNjOzE6tGisGUKFkSo0UfgERDMp9Cmw0T4o19FJ0Q01K+Z4f2 eIoB6tVjgatfjCHcEkvf6ZY8bLXeV4StrQUr5xlvhgQtWtGEc0u2+yBzHVO7mg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700969607; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=c6OpEwKoekIaBKVgzJJlW83ergCjQgMIO9V9zfjgCCo=; b=IW9nuwmGzQn4Vd4NxsCIOKOtvF453eydjjf9Lc3KJuxhgya5RGcCQSqWSwntvEbyUroN9o e00MJkfMBkNy8HciEm8OSXeZxXQOtd0EUX1BipzGr2sgAmmV0noMFX+TFZ3oz4i2T9FOQ5 SkXt9gkz5gHkCJUCbySYL/uF7ZOrX1HmCNdR/oFjNPcfOjk7CNXdHsDRv5LoVulVx6GhuR w2Uz8rhpoOrDywO7f5p0J5vFMcq6jgy6m/DIboM6XnGTfjMMoboiVfsVaqWjl8ZFuWWT8v Qmigq95xFhz3rLFpsV05r3RFcburAfJM/8dLdw0H1reD6YdGkV2ollgUzw/bVA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r75Zs-0007jF-L7; Sat, 25 Nov 2023 22:13:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r75Zp-0007im-NL for guix-patches@gnu.org; Sat, 25 Nov 2023 22:12:57 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r75Zp-0002we-FU for guix-patches@gnu.org; Sat, 25 Nov 2023 22:12:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r75Zu-00081y-H9 for guix-patches@gnu.org; Sat, 25 Nov 2023 22:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67450] [PATCH] gnu: grep: Fix pcre matching in grep. Resent-From: spacecadet Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Nov 2023 03:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67450 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67450@debbugs.gnu.org X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.170096834930806 (code B ref -1); Sun, 26 Nov 2023 03:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Nov 2023 03:12:29 +0000 Received: from localhost ([127.0.0.1]:40555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r75ZM-00080o-VU for submit@debbugs.gnu.org; Sat, 25 Nov 2023 22:12:29 -0500 Received: from lists.gnu.org ([2001:470:142::17]:44340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r75ZL-00080Z-93 for submit@debbugs.gnu.org; Sat, 25 Nov 2023 22:12:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r75ZA-00072w-IB for guix-patches@gnu.org; Sat, 25 Nov 2023 22:12:16 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r75Z9-0002sS-1U for guix-patches@gnu.org; Sat, 25 Nov 2023 22:12:16 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 0F6FAFF803 for ; Sun, 26 Nov 2023 03:12:10 +0000 (UTC) Message-ID: Date: Sun, 26 Nov 2023 03:12:08 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Content-Language: en-US From: spacecadet Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-GND-Sasl: spacecadet@purge.sh Received-SPF: pass client-ip=217.70.183.199; envelope-from=spacecadet@purge.sh; helo=relay9-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 5854B23A07 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.22 X-Spam-Score: -6.22 X-TUID: K6k5r4LtxXAh Fix grep not building with -P (perl regexp) support. * gnu/packages/base.scm: Replace grep's pcre input with pcre2. * gnu/packages/base.scm: Add "--enable-perl-regexp" configure flag to grep. --- gnu/packages/base.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 41aff0ca97..feb5ca5746 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -120,9 +120,11 @@ (define-public grep (patches (search-patches "grep-timing-sensitive-test.patch")))) (build-system gnu-build-system) (native-inputs (list perl)) ;some of the tests require it - (inputs (list pcre)) + (inputs (list pcre2)) (arguments - `(#:phases + `(#:configure-flags + (list "--enable-perl-regexp") + #:phases (modify-phases %standard-phases (add-after 'install 'fix-egrep-and-fgrep ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its base-commit: 13bc0633e77c73389e530a4c45e2de5a823f106b -- 2.41.0