GNU bug report logs - #47189
octave needs to be wrapped with coreutils

Previous Next

Package: guix;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Tue, 16 Mar 2021 11:48:02 UTC

Severity: normal

Tags: easy

To reply to this bug, email your comments to 47189 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-guix <at> gnu.org:
bug#47189; Package guix. (Tue, 16 Mar 2021 11:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Efraim Flashner <efraim <at> flashner.co.il>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 16 Mar 2021 11:48:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: bug-guix <at> gnu.org
Subject: octave needs to be wrapped with coreutils
Date: Tue, 16 Mar 2021 13:46:42 +0200
[Message part 1 (text/plain, inline)]
I tracked down a bug where octave has a function called 'copyfile' which
shells out to call 'cp -r' but in an environment without coreutils, or
when in a script with PATH unset, it fails.

try it out with the following:
touch foo
guix environment --pure --ad-hoc octave-cli -- \
    octave --eval 'copyfile("foo","bar");'

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Added tag(s) easy. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 18 Mar 2021 20:44:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#47189; Package guix. (Tue, 24 Sep 2024 05:33:02 GMT) Full text and rfc822 format available.

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

From: Arseniy Zaostrovnykh <necto.ne <at> gmail.com>
To: 47189 <at> debbugs.gnu.org
Subject: octave needs to be wrapped with coreutils
Date: Tue, 24 Sep 2024 06:53:23 +0200
[Message part 1 (text/plain, inline)]
Hello!
I am about to send my first ever patch that fixes this easy issue. Please
let me know if it is the wrong channel, or I messed up the patch through my
gmail client.

--
Arseniy (a.k.a. Necto)
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#47189; Package guix. (Tue, 24 Sep 2024 05:33:03 GMT) Full text and rfc822 format available.

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

From: Arseniy Zaostrovnykh <necto.ne <at> gmail.com>
To: 47189 <at> debbugs.gnu.org
Subject: [PATCH] gnu: octave-cli: Make coreutils an explicit input
Date: Tue, 24 Sep 2024 06:56:02 +0200
[Message part 1 (text/plain, inline)]
This ensures coreutils like `cp` are available when running octave,
which is assumed by some of its builtin functions.
Resolves 47189

* gnu/packages/maths.scm(octave-cli): make coreutils input explicit
---
 gnu/packages/maths.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 5f47d5e390..8821a42712 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3055,6 +3055,7 @@ (define-public octave-cli
      (list alsa-lib
            arpack-ng
            bdb
+           coreutils ;; mention explicitly to make available for the built
octave
            curl
            fftw
            fftwf
-- 
2.46.0
[Message part 2 (text/html, inline)]

This bug report was last modified 261 days ago.

Previous Next


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