all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#47189: octave needs to be wrapped with coreutils
@ 2021-03-16 11:46 Efraim Flashner
  2024-09-24  4:53 ` Arseniy Zaostrovnykh
  2024-09-24  4:56 ` bug#47189: [PATCH] gnu: octave-cli: Make coreutils an explicit input Arseniy Zaostrovnykh
  0 siblings, 2 replies; 3+ messages in thread
From: Efraim Flashner @ 2021-03-16 11:46 UTC (permalink / raw)
  To: 47189

[-- Attachment #1: Type: text/plain, Size: 543 bytes --]

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@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#47189: octave needs to be wrapped with coreutils
  2021-03-16 11:46 bug#47189: octave needs to be wrapped with coreutils Efraim Flashner
@ 2024-09-24  4:53 ` Arseniy Zaostrovnykh
  2024-09-24  4:56 ` bug#47189: [PATCH] gnu: octave-cli: Make coreutils an explicit input Arseniy Zaostrovnykh
  1 sibling, 0 replies; 3+ messages in thread
From: Arseniy Zaostrovnykh @ 2024-09-24  4:53 UTC (permalink / raw)
  To: 47189

[-- Attachment #1: Type: text/plain, Size: 198 bytes --]

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)

[-- Attachment #2: Type: text/html, Size: 287 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#47189: [PATCH] gnu: octave-cli: Make coreutils an explicit input
  2021-03-16 11:46 bug#47189: octave needs to be wrapped with coreutils Efraim Flashner
  2024-09-24  4:53 ` Arseniy Zaostrovnykh
@ 2024-09-24  4:56 ` Arseniy Zaostrovnykh
  1 sibling, 0 replies; 3+ messages in thread
From: Arseniy Zaostrovnykh @ 2024-09-24  4:56 UTC (permalink / raw)
  To: 47189

[-- Attachment #1: Type: text/plain, Size: 678 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 806 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-24  5:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-16 11:46 bug#47189: octave needs to be wrapped with coreutils Efraim Flashner
2024-09-24  4:53 ` Arseniy Zaostrovnykh
2024-09-24  4:56 ` bug#47189: [PATCH] gnu: octave-cli: Make coreutils an explicit input Arseniy Zaostrovnykh

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.