octave needs to be wrapped with coreutils

OpenSubmitted by Efraim Flashner.
Details
2 participants
  • Efraim Flashner
  • Ludovic Courtès
Owner
unassigned
Severity
normal
E
E
Efraim Flashner wrote on 16 Mar 2021 12:46
(address . bug-guix@gnu.org)
YFCaoi6G2h+Za8VG@3900XT
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
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmBQmp8ACgkQQarn3Mo9
g1EZ+BAAr0wNo5AsjZvwfZHOJPScvUERMfarbp5g4meL4gK8dnfcZ3/iyYdXePmh
Dmsvv8303+9xIPS2TQEhMyq6jKHp3g01RPCTb9mLZfwaFZZY2O/ZOEH++ShZi3vL
K6YKWgDBPfsLpgUp77vjwVBh2WKziemAOUynGPltkH6wfprr+gTJTwLLE+lGtsP8
fIw6vkTueROsgjeP3cn6PdaLJXc6vRIjOP4Ne1F0LEw8Q8zIqvFU7mLS82bC/bF+
QzYHstlzVvWP5j1BUI6xhm/gIwGV1n1pzpbZZBOu5yyS1nK14WwkUJPOO+3VBeIF
0VpEg5lvUXWynr8ekuxktB34plB8rVHMSqR6S0YDyn7ruW43STlKK7YO7lYwIDxx
Lp9+TrEIEU6jpsFRrwII407D4eKa1asDWJIiMB0HxrAklpJveeF/mIRoGDYnpfgL
aaLhCz6Z171eUeljfHQoj9qUTWAFShvOP0T+GPY5G4nHOdjmuflerhF79isfe8Pc
YB3U4SAnQbgTQT9v9EPBmYiDIwHZena2BAKP/QTqgWhU0WD2yPbc4imOE9O8d2uF
SEjC1DvEvxmsxXT2/e6D36OMLtCcSgr4BlrXeIDq4F4Gx1+0Gn56vTNQLE0Fxuj6
mVYr3rnH2Hq5E6zZXbciQ70Rx4mdLraVDNJAaWvvgLuc5RnRVOw=
=6PPC
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 18 Mar 2021 21:43
control message for bug #47189
(address . control@debbugs.gnu.org)
87h7l8kxad.fsf@gnu.org
tags 47189 + easy
quit
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send email to 47189@debbugs.gnu.org