From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: bug#27386: offloading documentation and env Date: Thu, 15 Jun 2017 22:19:02 +0000 Message-ID: <20170615221902.5ubbhriynb7wozrz@abyayala> References: <20170615170552.n7y5cxquqozpnesj@abyayala> <20170615211132.clkaslffc4a3l5bw@abyayala> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="w6t5ast3j2oqeekm" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLd7V-0002aW-Ba for bug-guix@gnu.org; Thu, 15 Jun 2017 18:20:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLd7S-0005bO-4t for bug-guix@gnu.org; Thu, 15 Jun 2017 18:20:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47344) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLd7S-0005bD-0Z for bug-guix@gnu.org; Thu, 15 Jun 2017 18:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dLd7R-00055P-OT for bug-guix@gnu.org; Thu, 15 Jun 2017 18:20:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20170615211132.clkaslffc4a3l5bw@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 --w6t5ast3j2oqeekm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ng0 transcribed 6.4K bytes: > 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 >=20 > user@abyayala ~$ ssh -p 22555 192.168.1.179 -C "which guix"; ssh -p 22555= 192.168.1.179 -C "which guile"; ssh -p 22555 192.168.1.179 guile -c "'(use= -modules (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) >=20 > ERROR: In procedure scm-error: > ERROR: no code for module (guix config) >=20 >=20 >=20 > 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/incl= ude > 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-pr= ofile/lib/guile/2.2/site-ccache:/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547= -profile/share/guile/site/2.2 > USER=3Duser > TZDIR=3D/gnu/store/2ky6yx0zdqqc4ashxa36gs9yis452mkd-tzdata-2017b/share/zo= neinfo > 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= /terminfo > MAIL=3D/var/mail/user > GIT_EXEC_PATH=3D/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-profile/libex= ec/git-core > SHELL=3D/gnu/store/nrrwyb21bn8cdc0k6pis3ggs2vayibin-bash-4.4.12/bin/bash > SHLVL=3D1 > ACLOCAL_PATH=3D/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-profile/share/= aclocal > SSL_CERT_DIR=3D/etc/ssl/certs > LOGNAME=3Duser > CPLUS_INCLUDE_PATH=3D/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-profile/= include > GUILE_LOAD_PATH=3D/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-profile/sha= re/guile/site/2.2 > DBUS_FATAL_WARNINGS=3D0 > PATH=3D/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-profile/bin:/gnu/store= /m91mxi586pi2qshzys9zfsmzij8nf547-profile/sbin:/run/current-system/profile/= bin > PKG_CONFIG_PATH=3D/gnu/store/m91mxi586pi2qshzys9zfsmzij8nf547-profile/lib= /pkgconfig > _=3D/run/current-system/profile/bin/env >=20 >=20 > locally (remote system): > guix package -l > =E2=80=A6 >=20 > Generation 16 Jun 15 2017 20:28:25 (current) > + autoconf 2.69 out /gnu/store/mz6vcd5wbs597nvxi7l9al7c8v6bza= q0-autoconf-2.69 > + automake 1.15 out /gnu/store/rx2c62n3pxygnzy4mqnk9n832kjp6w= rq-automake-1.15 > + make 4.2.1 out /gnu/store/9py8s30bxjidqni68i0c2shl919qj2y0-make-= 4.2.1 > + guile 2.2.2 out /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4d= xs-guile-2.2.2 > + guile-ssh 0.11.0 out /gnu/store/7n4gcz5c0rl3aqv83g271n4f4rz5ly= ij-guile-ssh-0.11.0 > + pkg-config 0.29.1 out /gnu/store/2xm70k2vppjw5m4aqnh9ii3hiz667d= g2-pkg-config-0.29.1 > + gcc-toolchain 7.1.0 out /gnu/store/yr9rk90jfpq7xcbh24aryr= nsd2i3qvwa-gcc-toolchain-7.1.0 > + libgcrypt 1.7.6 out /gnu/store/hag795ji8p9vqikwp8cibfibpsa39s= 3n-libgcrypt-1.7.6 > + gnutls 3.5.9 out /gnu/store/jsflzpi7pnc7m5p7cln8bjcma4lsi6= hd-gnutls-3.5.D > + guile-json 0.6.0 out /gnu/store/l2paa4ka8lglar0b778qzl7a6h2v5d= zn-guile-json-0.6.0 > + zlib 1.2.11 out /gnu/store/jwkcd7siv6fcyl0qsg607bg9c8ap0gqr-zlib-= 1.2.11 > + bzip2 1.0.6 out /gnu/store/s3c442d075fc8a0q0nspc9jjsgjq61= 3p-bzip2-1.0.6 > + sqlite 3.17.0 out /gnu/store/dcc4b6r7npjmhdsah1g6nw1j9wdy63= 5y-sqlite-3.17.0 > + help2man 1.47.4 out /gnu/store/29gzpcqwj9x4lxpjl86wqy695dsr6x= lm-help2man-1.47.4 >=20 > GUILE_LOAD_PATH just started appearing in the env when I installed guile = modules. >=20 > Where is the mistake? >=20 It's probably not related, but the master (GuixSD running from git) assumes= that the 'machines.scm' should be in /usr/local/etc/guix/ where also the genera= ted files =66rom guix archive --generate ended up. I changed nothing in the past, my = guix is configured the 'normal' way with localstatedir=3D/var --=20 ng0 OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 https://krosos.org/~/ng0/ https://www.infotropique.org --w6t5ast3j2oqeekm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAllDB9YACgkQ4i+bv+40 hYgbqw//V8wDdN4d9Ym3jIof0ZVXqstnPiBYlOPmDhplUQMPRSWSJek7RfYZDcC9 MmVAvBiawlL1IAQQzG/is2qyCBjv2Xtz8BOGFmj5TDmXoTHsrYAWwtHMgenpmxNI dgHpTF5hPOqvF6cTTCN1YnkYZxMBxYljm6jt0B0EsYU45A4dBghiPuOqlFUvhhfm kNar/q+zlsgff0wX7+eX0dCb2xtyZLnNl9KttJk31u3HQ1dZ5GRkuxgseEzm1JJw xFO62KwjYctUnrshogY3YkRAfvcYoiSLOLWc/XUgecNRDWSD3HltGAS4IxFv/gsa xlNpScukVLHR84kk5QqIh9UQjuALnD1uD5KQmrAq/KKIu4JzIwX9fjSAq3lxagYh lhZAYgYxzPcI1ExpgmnLgH9O4nMSk6NCGsaCrvjakmR5W9M7MOd2aNr4XddVOetE BuuyA31WuKpIkfDuGSLSVnse51qZJ+CWpytCxLyR84YLS4iSMoct+8amQHzVpznf uz0fkMCB5WWI3b+UKLR7anbumtF7Hyhofxaxa3FqjoEznA+yR7FDILp3Eythwf9r GBArFY1sUSYbHWVKvDRIwBeSQj5tu2kfMxb2CoznB+zbNwH0PuGnZBThyPEBauKV AgaaH/Pr7JSIzF3We+sn9y6w6zvnj8h2X2btvRYCm3gEe5zkfXk= =sj1h -----END PGP SIGNATURE----- --w6t5ast3j2oqeekm--