From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: Problem with guix offload Date: Fri, 20 Mar 2020 19:57:00 +0100 Message-ID: <87mu8a7t37.fsf@devup.no> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50054) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFMpO-0008EZ-1n for help-guix@gnu.org; Fri, 20 Mar 2020 14:57:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFMpM-0001Ep-VR for help-guix@gnu.org; Fri, 20 Mar 2020 14:57:05 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:36867) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jFMpM-0001E3-GL for help-guix@gnu.org; Fri, 20 Mar 2020 14:57:04 -0400 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: mikael@djurfeldt.com, help-guix@gnu.org --=-=-= Content-Type: text/plain Mikael Djurfeldt writes: > Hi, > > I just installed guix on top of Debian Buster using the installation script > at guix.gnu.org. I did this on two machines, hat and wand, with the hope > that I could offload compilation to wand. > > This is what I get: > > root@hat:~# guix offload test > guile: warning: failed to install locale > hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' > package and > defining `GUIX_LOCPATH', along these lines: > > guix package -i glibc-utf8-locales > export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale" > > See the "Application Setup" section in the manual, for more info. > > guix offload: testing 1 build machines defined in > '/etc/guix/machines.scm'... > guix offload: Guix is usable on 'wand.pdc.kth.se' (test returned > "/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test") > guix offload: 'wand.pdc.kth.se' is running GNU Guile 3.0.1 > sending 1 store item (0 MiB) to 'wand.pdc.kth.se'... > exporting path `/gnu/store/sd0wqvaffi1cbpvf0dq37mab34rmlnav-export-test' > ;;; [2020/03/17 12:45:48.671038, 0] write_to_channel_port: [GSSH ERROR] > Remote channel is closed: # > Backtrace: > 1 (primitive-load "/root/.config/guix/current/bin/guix") > In guix/ui.scm: > 1833:12 0 (run-guix-command _ . _) > > guix/ui.scm:1833:12: In procedure run-guix-command: > Throw to key `guile-ssh-error' with args `("write_to_channel_port" "Remote > channel is closed" # #f)'. > > Any hints about what could be wrong? 'guix' must be available on GUILE_LOAD_PATH on the remote machine, e.g. by installing the 'guile3.0-guix' package into the user profile. IOW, for offloading to work, this command should succeed: $ ssh wand guile -c "'(use-modules (guix config))'" It can be useful to add a dedicated user account on the remote for offloading to avoid clobbering your regular profile. Hope this helps, Marius --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl51EfwACgkQoqBt8qM6 VPoCLQf9HhOh0jT2ZEzah//HfCzR6sOeRzPbCWPSQah8Q2w34n3glINkj+feXRhq Vwrldt1yQJGbiovQLi0ttWmi3Rq29AT4ModJ50WO3H/c9EAgBm6U3gkDWS8EZkjK RV8N6GsgX5lLxvpVEzl1gC0MqTSMsdcrKhMW86FJctdLWeql77CPr/6mEaDXvfqc ZGVAVTHXu8/FScIowk1q3D7xAF3h3/Jp95PNnG4nrukxu5EDgro7vk9EKTKGvzzB bizjivWUXnRBT0BDfSDZ8xVJRPblxJuMyAf12DxtOAGzDEalLMk5krPgTYUErLT3 QbqZNFF4ZHFgX5Q4OtcyMz1b9/verA== =x1uG -----END PGP SIGNATURE----- --=-=-=--