From patchwork Sun Nov 6 09:05:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 44347 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C371A27BBEA; Sun, 6 Nov 2022 09:07:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CD50E27BBE9 for ; Sun, 6 Nov 2022 09:07:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orbcR-0002mA-5K; Sun, 06 Nov 2022 04:07:07 -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 1orbcN-0002lK-Ks for guix-patches@gnu.org; Sun, 06 Nov 2022 04:07:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1orbcM-0004ha-F6 for guix-patches@gnu.org; Sun, 06 Nov 2022 04:07:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1orbcL-0003TN-Ug for guix-patches@gnu.org; Sun, 06 Nov 2022 04:07:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59073] [PATCH] gnu: r-minimal: Avoid referencing /gnu/store/[^-]+-glibc-[^-]+-static. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Nov 2022 09:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59073 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59073@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166772557013287 (code B ref -1); Sun, 06 Nov 2022 09:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Nov 2022 09:06:10 +0000 Received: from localhost ([127.0.0.1]:58657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orbbW-0003SD-2y for submit@debbugs.gnu.org; Sun, 06 Nov 2022 04:06:10 -0500 Received: from lists.gnu.org ([209.51.188.17]:40406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orbbS-0003S4-Nz for submit@debbugs.gnu.org; Sun, 06 Nov 2022 04:06:09 -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 1orbbS-0002DN-Gi for guix-patches@gnu.org; Sun, 06 Nov 2022 04:06:06 -0500 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orbbN-0004bl-RQ for guix-patches@gnu.org; Sun, 06 Nov 2022 04:06:06 -0500 Received: from localhost (host-82-184-251-30.business.telecomitalia.it [82.184.251.30]) by mira.cbaines.net (Postfix) with ESMTPSA id F001B27BBE9 for ; Sun, 6 Nov 2022 09:05:58 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 21e48482 for ; Sun, 6 Nov 2022 09:05:58 +0000 (UTC) From: Christopher Baines Date: Sun, 6 Nov 2022 10:05:58 +0100 Message-Id: <20221106090558.24507-1-mail@cbaines.net> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 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: , Sender: "Guix-patches" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches As this causes the following error when computing a cross-compilation derivation for r-minimal and related packages. I think this is coming from the string appearing in the sources section of the derivation, but not being a valid store path. * gnu/packages/statistics.scm (r-minimal)[arguments]: Split string involving /gnu/store. --- gnu/packages/statistics.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 2d4dbe4a31..43988ad00e 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -470,7 +470,11 @@ (define-public r-minimal "util-macros" "graphite2")) "|" - "/gnu/store/[^-]+-glibc-[^-]+-static" + ;; Be careful when including store paths in the + ;; build script, since they might be treated as + ;; references + "/gnu/store" + "/[^-]+-glibc-[^-]+-static" ")/lib")) "")))))))))))) (define-public rmath-standalone