From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 26 03:25:47 2021 Received: (at submit) by debbugs.gnu.org; 26 Jul 2021 07:25:47 +0000 Received: from localhost ([127.0.0.1]:49824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7uzj-00072O-C0 for submit@debbugs.gnu.org; Mon, 26 Jul 2021 03:25:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:58420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7uze-00072D-86 for submit@debbugs.gnu.org; Mon, 26 Jul 2021 03:25:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7uzd-0001sE-CE for guix-patches@gnu.org; Mon, 26 Jul 2021 03:25:42 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:57162) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1m7uzZ-0000rJ-9u for guix-patches@gnu.org; Mon, 26 Jul 2021 03:25:39 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4GYBKN4nr7zQjnS for ; Mon, 26 Jul 2021 09:25:28 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1627284326; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=UxPj0lcoHyIJ0qjd53kV649rmPKqs+euU0D+w5upCCY=; b=ye6Q5Q7DaQjhFwl9qLGGX/4ozrwQ1fosSUj14RKz3KLKGDFfttc/1jOyWbjEgVw2eeLvzM 1bW12OwWHgJKA6CJN4HDnMBNBBItHV/cnQh228CyPPSfYaPRcSEWjyDE+r93zQFwkl3u5c X7JUsnyT5pX6T31zfDdPkzfRMTDNLzPAfWHNATj6SqGR2UJwoRihBVSfLepJWusRoIRXHw 8MpAyHGU1X+6xcBjCMHg83jjaK89ltx2/C/tOYT+xuPy00RvctZhjLiYLZwh871beQMqs4 Q97w7k+e6++dwyjN9bblc8TaAYFrKMW1uE5TtqfGUpQGaoOptdrCdGqVuOhdcA== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id vVDS-MD9nawf for ; Mon, 26 Jul 2021 09:25:20 +0200 (CEST) Date: Mon, 26 Jul 2021 09:25:19 +0200 From: Lars-Dominik Braun To: guix-patches@gnu.org Subject: [PATCH] [core-updates?] gnu: =?utf-8?Q?r-w?= =?utf-8?Q?ith-tests=3A_Hardcode_path_to_coreutils=E2=80=99?= rm Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: CDC611863 X-Rspamd-UID: 931f6b Received-SPF: pass client-ip=80.241.56.152; envelope-from=lars@6xq.net; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.7 (-) 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) When running R in a container like this guix environment --no-cwd -C --ad-hoc r-minimal -- Rscript -e 'Sys.timezone()' it would print an additional line sh: rm: command not found before exiting. * gnu/packages/statistics.scm (r-with-tests) [#:phases]: Add substitute* to patch call to `rm` and rename phase to reflect what it does now. --- gnu/packages/statistics.scm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index ce9f1bf888..7ba7d9f20d 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -213,12 +213,15 @@ This package also provides @command{xls2csv} to export Excel files to CSV.") (substitute* "src/library/base/makebasedb.R" (("compress = TRUE") "compress = FALSE")) #t)) - (add-before 'configure 'patch-uname + (add-before 'configure 'patch-coreutils-paths (lambda* (#:key inputs #:allow-other-keys) - (let ((uname-bin (string-append (assoc-ref inputs "coreutils") - "/bin/uname"))) + (let* ((coreutils (assoc-ref inputs "coreutils")) + (uname-bin (string-append coreutils "/bin/uname")) + (rm-bin (string-append coreutils "/bin/rm"))) (substitute* "src/scripts/R.sh.in" - (("uname") uname-bin))) + (("uname") uname-bin)) + (substitute* "src/unix/sys-std.c" + (("rm -Rf ") (string-append rm-bin " -Rf ")))) #t)) (add-after 'unpack 'build-reproducibly (lambda _ -- 2.31.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 26 06:50:58 2021 Received: (at 49740) by debbugs.gnu.org; 26 Jul 2021 10:50:58 +0000 Received: from localhost ([127.0.0.1]:50031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7yCI-0003YK-5j for submit@debbugs.gnu.org; Mon, 26 Jul 2021 06:50:58 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7yCF-0003Y9-BD for 49740@debbugs.gnu.org; Mon, 26 Jul 2021 06:50:56 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1627296652; cv=none; d=zohomail.com; s=zohoarc; b=HaPsyp2hYH8bTjHgO9GQgnWeUXPtrvgWonjLAi8/3zAwBF9TVLSC9ELI+n/AnH5+44z+0qnnkZUSEXUuOZDCmVZxgZPwb+61Jb/9sHq67gm0VD4LMnxc5VNFJCOZd1IZRxgCnF8KpGpdSA9dZHDNMNrR+2O1jTTz3f7DWDFuSJ0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1627296652; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=9O7n1NYU5Li8E5jflTjlJDso77JWCKyFVwXoUIFMV98=; b=Cozi0MC3IzNrkTqO6VTCaDzHIL1YfkdumUtADx7IgAF9sX1ij1EjV32XuwJFMscDucrn8kWuMrUbsdrlg6VG77vjLtslQuEXEs+eZ6LR2Y4KfIEqLg4JhObYDVAuKqXDM9eo7hZ8YJyWrULIy1lr9uwtw2tp2DyzvZBg7oTnQW4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1627296652; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=9O7n1NYU5Li8E5jflTjlJDso77JWCKyFVwXoUIFMV98=; b=YfV0HmTygwd5LH8IcH8msLqfXA7T+kC44Xfn6NSQI04x8FmJygdBynM39w3WPmsZ XuB3zzVVuN9EiKmU8WlsCbP3caJN6HDcmIkilhWMD/eAKiELUlaUdnjsrU1Md6VhXm6 D+7ZjI8z4uMgRgfJVH/ZG4+vlky14lLjYVZqXnRQ= Received: from localhost (p54ad4c6a.dip0.t-ipconnect.de [84.173.76.106]) by mx.zohomail.com with SMTPS id 1627296651161540.5542266151816; Mon, 26 Jul 2021 03:50:51 -0700 (PDT) User-agent: mu4e 1.4.15; emacs 27.2 From: Ricardo Wurmus To: 49740@debbugs.gnu.org Subject: [PATCH] [core-updates?] gnu: r-with-tests: Hardcode path to =?utf-8?Q?coreutils=E2=80=99?= rm X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 26 Jul 2021 12:50:48 +0200 Message-ID: <871r7l2vsn.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 49740 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: -1.0 (-) Hi, this looks good to me. Please push to a new =E2=80=9Cr-updates=E2=80=9D branch based on top of =E2= =80=9Cmaster=E2=80=9D. --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 26 07:15:47 2021 Received: (at 49740-done) by debbugs.gnu.org; 26 Jul 2021 11:15:47 +0000 Received: from localhost ([127.0.0.1]:50049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7yaJ-00048k-F0 for submit@debbugs.gnu.org; Mon, 26 Jul 2021 07:15:47 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:36262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7yaF-00048U-Er for 49740-done@debbugs.gnu.org; Mon, 26 Jul 2021 07:15:45 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4GYHQx26VszQjjH for <49740-done@debbugs.gnu.org>; Mon, 26 Jul 2021 13:15:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1627298135; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UKx9zOwwMsnW6yAgZ/iI5QAfPow1zc323bKi9RuyCe4=; b=UZCwMrwDY73e0Fq2cnNqoHQ+d0PxW5ObNY0SUV5E2u3pinJigzSiTxUS96jpOcZxqOt7OM gbMZufmFs72QLJ26QXR3KJmRiUVQTqAiwOO4IblWTo1xw5f/A3HsjztIBUqCAdiMJmWxpk UbM8FXCI1Tx8KKnpDxszfDH4UoRan5y787aJcbGVohGfrPGNx5M1O/ClNfEKDHDCWGHbsG QXOtWEH9WvQGJnxFcJk3czqWjdpuwwPAmCzkR8GWpnnJpgs5qaEiQT4td6GhfkjshO4coC U4EngGsPkdkUAzlWVj6JkJt3ORVA/KVc7WCjLMLx8Gem8lkPJc0kTumVEJ8LcQ== Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id STThQOozRUQh for <49740-done@debbugs.gnu.org>; Mon, 26 Jul 2021 13:15:34 +0200 (CEST) Date: Mon, 26 Jul 2021 13:15:32 +0200 From: Lars-Dominik Braun To: 49740-done@debbugs.gnu.org Subject: Re: [bug#49740] [PATCH] =?utf-8?Q?=5Bcore-?= =?utf-8?Q?updates=3F=5D_gnu=3A_r-with-tests=3A_Hardcode_path_to_coreutils?= =?utf-8?B?4oCZ?= rm Message-ID: References: <871r7l2vsn.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <871r7l2vsn.fsf@elephly.net> X-Rspamd-Queue-Id: 60DC21843 X-Rspamd-UID: a63fb9 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 49740-done 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: -1.7 (-) Hi, done, closing. Lars From unknown Sat Aug 16 22:47:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 23 Aug 2021 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator