From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: bug#27386: offloading documentation and env Date: Thu, 15 Jun 2017 21:11:32 +0000 Message-ID: <20170615211132.clkaslffc4a3l5bw@abyayala> References: <20170615170552.n7y5cxquqozpnesj@abyayala> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nk7ufm37fvcdfmwb" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLc3j-0007Lo-H9 for bug-guix@gnu.org; Thu, 15 Jun 2017 17:12:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLc3e-0001WA-Dn for bug-guix@gnu.org; Thu, 15 Jun 2017 17:12:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47276) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLc3e-0001W0-9r for bug-guix@gnu.org; Thu, 15 Jun 2017 17:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dLc3e-0003Wz-0m for bug-guix@gnu.org; Thu, 15 Jun 2017 17:12:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20170615170552.n7y5cxquqozpnesj@abyayala> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 27386@debbugs.gnu.org --nk7ufm37fvcdfmwb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ng0 transcribed 1.6K bytes: > Hi, >=20 > I am setting up local offloading systems and I just ran > into the same issue like I did every time in the last year: >=20 > with guile in the remote 'user' PATH the guile test works *locally*. > Through ssh, the 'env' output is different than local. I'm now trying > to fix this the same way 'scp' is fixed which is by including the > application in the system profile. >=20 > This part is implicit in the documentation and not explained, I think > we should be more clear about this. > --=20 > ng0 > OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 > https://krosos.org/~/ng0/ https://www.infotropique.org user@abyayala ~$ ssh -p 22555 192.168.1.179 -C "which guix"; ssh -p 22555 1= 92.168.1.179 -C "which guile"; ssh -p 22555 192.168.1.179 guile -c "'(use-m= odules (guix config))'" /run/current-system/profile/bin/guix /gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-profile/bin/guile Backtrace: 13 (apply-smob/1 #) In ice-9/boot-9.scm: 713:2 12 (call-with-prompt ("prompt") # =E2=80=A6) In ice-9/eval.scm: 619:8 11 (_ #(#(#))) In ice-9/command-line.scm: 181:18 10 (_ #) In unknown file: 9 (eval (use-modules (guix config)) #) In ice-9/eval.scm: 721:20 8 (primitive-eval (use-modules (guix config))) In ice-9/psyntax.scm: 1234:36 7 (expand-top-sequence ((use-modules (guix config))) _ _ # =E2= =80=A6) 1181:24 6 (parse _ (("placeholder" placeholder)) ((top) #(# # =E2=80=A6)= ) =E2=80=A6) 284:10 5 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) =E2= =80=A6) In ice-9/boot-9.scm: 3369:20 4 (process-use-modules _) 230:17 3 (map1 (((guix config)))) 3370:31 2 (_ ((guix config))) 2795:6 1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ =E2=80= =A6) In unknown file: 0 (scm-error misc-error #f "~A ~S" ("no code for modu=E2=80=A6" = =E2=80=A6) =E2=80=A6) ERROR: In procedure scm-error: ERROR: no code for module (guix config) user@abyayala ~$ ssh -p 22555 192.168.1.179 env SSH_CONNECTION=3D192.168.1.146 35364 192.168.1.179 22555 LANG=3Den_US.utf8 TZ=3DUTC GTK_DATA_PREFIX=3D/run/current-system/profile C_INCLUDE_PATH=3D/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-profile/include GIT_SSL_CAINFO=3D/etc/ssl/certs/ca-certificates.crt LINUX_MODULE_DIRECTORY=3D/run/booted-system/kernel/lib/modules GUILE_LOAD_COMPILED_PATH=3D/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-prof= ile/lib/guile/2.2/site-ccache:/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-p= rofile/share/guile/site/2.2 USER=3Duser TZDIR=3D/gnu/store/2ky6yx0zdqqc4ashxa36gs9yis452mkd-tzdata-2017b/share/zone= info GUIX_LOCPATH=3D/run/current-system/locale PWD=3D/home/user HOME=3D/home/user SSH_CLIENT=3D192.168.1.146 35364 22555 SSL_CERT_FILE=3D/etc/ssl/certs/ca-certificates.crt LIBRARY_PATH=3D/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-profile/lib TERMINFO_DIRS=3D/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-profile/share/t= erminfo MAIL=3D/var/mail/user GIT_EXEC_PATH=3D/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-profile/libexec= /git-core SHELL=3D/gnu/store/nrrwyb21bn8cdc0k6pis3ggs2vayibin-bash-4.4.12/bin/bash SHLVL=3D1 ACLOCAL_PATH=3D/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-profile/share/ac= local SSL_CERT_DIR=3D/etc/ssl/certs LOGNAME=3Duser CPLUS_INCLUDE_PATH=3D/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-profile/in= clude GUILE_LOAD_PATH=3D/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-profile/share= /guile/site/2.2 DBUS_FATAL_WARNINGS=3D0 PATH=3D/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-profile/bin:/gnu/store/m= 91mxi586pi2qshzys9zfsmzij8nf547-profile/sbin:/run/current-system/profile/bin PKG_CONFIG_PATH=3D/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-profile/lib/p= kgconfig _=3D/run/current-system/profile/bin/env locally (remote system): guix package -l =E2=80=A6 Generation 16 Jun 15 2017 20:28:25 (current) + autoconf 2.69 out /gnu/store/mz6vcd5wbs597nvxi7l9al7c8v6bzaq0= -autoconf-2.69 + automake 1.15 out /gnu/store/rx2c62n3pxygnzy4mqnk9n832kjp6wrq= -automake-1.15 + make 4.2.1 out /gnu/store/9py8s30bxjidqni68i0c2shl919qj2y0-make-4.= 2.1 + guile 2.2.2 out /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs= -guile-2.2.2 + guile-ssh 0.11.0 out /gnu/store/7n4gcz5c0rl3aqv83g271n4f4rz5lyij= -guile-ssh-0.11.0 + pkg-config 0.29.1 out /gnu/store/2xm70k2vppjw5m4aqnh9ii3hiz667dg2= -pkg-config-0.29.1 + gcc-toolchain 7.1.0 out /gnu/store/yr9rk90jfpq7xcbh24aryrns= d2i3qvwa-gcc-toolchain-7.1.0 + libgcrypt 1.7.6 out /gnu/store/hag795ji8p9vqikwp8cibfibpsa39s3n= -libgcrypt-1.7.6 + gnutls 3.5.9 out /gnu/store/jsflzpi7pnc7m5p7cln8bjcma4lsi6hd= -gnutls-3.5.D + guile-json 0.6.0 out /gnu/store/l2paa4ka8lglar0b778qzl7a6h2v5dzn= -guile-json-0.6.0 + zlib 1.2.11 out /gnu/store/jwkcd7siv6fcyl0qsg607bg9c8ap0gqr-zlib-1.= 2.11 + bzip2 1.0.6 out /gnu/store/s3c442d075fc8a0q0nspc9jjsgjq613p= -bzip2-1.0.6 + sqlite 3.17.0 out /gnu/store/dcc4b6r7npjmhdsah1g6nw1j9wdy635y= -sqlite-3.17.0 + help2man 1.47.4 out /gnu/store/29gzpcqwj9x4lxpjl86wqy695dsr6xlm= -help2man-1.47.4 GUILE_LOAD_PATH just started appearing in the env when I installed guile mo= dules. Where is the mistake? --=20 ng0 OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 https://krosos.org/~/ng0/ https://www.infotropique.org --nk7ufm37fvcdfmwb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAllC+AMACgkQ4i+bv+40 hYh9/RAArL+wXaU5Q7uBte7wij2gbpLMdRH8ZTc/0M+ObN63Xqfycp85xkyBuCtX 1/pBVfvD52AnrQR4amtLxL8Ecma9+enLbbi1VLUeSf3Wwfo5yU+UiQZWNyOTtJ2i vBsRUU46uN781NQ6/zcjf9xxg59gh8ahiBLEbXVsmkOHWzpLYJn+p/t8KHHDSZY8 gtCpF5hdAsPjSX+6949Ckc4+O2VKYvYPPm1RdhlZZ9hoC8EkEmVuBWNx/Ze1N5r3 cITSyeZ9+XtNz/6W4kz1s4a27thic4hpeBgICjtsfgBc1Bi4eqimHoIg8piSx+Cw h5J82bts8+1+biIQN6LEhUoIKZ0V5s+QvJuYDDkdcYpPCBRtcOoG4MmOsheQFItl 0W6T/w5aXHPWPMVeTTYcfHzho744RU0UwVYpI2Rkda6qVK6wcY0S4pIE3QpmCDVk S4SE1XUBhlOK5fIpUTm5jVEhp1RdOK7xjshBOUjQDQBuehcrEvF39InqnXu69A4g MU6uKGEnZBqyBXbHAl+/AyYWidsCthxFiPi3uEzcnAiw81jQmnTgttrWvVGkTEnI EzUDAOd3J/gFuusmSrwivr9K5OgIVdCtfCzNYj+Yn1NfvTbuix5T9qrZE9PW+1MP onEj08bSaDBsmcaXygNNbZ+wXx76GVzxP1JS7hwersImVyIaqDE= =KDan -----END PGP SIGNATURE----- --nk7ufm37fvcdfmwb--