From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: Offloading to use Guile-SSH instead of lsh Date: Mon, 28 Nov 2016 12:06:36 +0200 Message-ID: <20161128100636.GB2509@macbook42.flashner.co.il> References: <87poma53yi.fsf@gnu.org> <87oa13qimp.fsf@gnu.org> <20161126044257.GA15256@jasmine> <87zikmb7ix.fsf@member.fsf.org> <87k2bok1zm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Pd0ReVV5GZGQvF3a" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBIpm-0006vo-Gj for guix-devel@gnu.org; Mon, 28 Nov 2016 05:06:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBIpj-0002hx-CR for guix-devel@gnu.org; Mon, 28 Nov 2016 05:06:50 -0500 Content-Disposition: inline In-Reply-To: <87k2bok1zm.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --Pd0ReVV5GZGQvF3a Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 27, 2016 at 11:10:53PM +0100, Ludovic Court=C3=A8s wrote: > iyzsong@member.fsf.org (=E5=AE=8B=E6=96=87=E6=AD=A6) skribis: >=20 > > Leo Famulari writes: > > > >> On Fri, Nov 25, 2016 at 11:50:22PM +0100, Ludovic Court=C3=A8s wrote: > >>> Hi! > >>>=20 > >>> ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > >>>=20 > >>> > The =E2=80=98wip-guile-ssh=E2=80=99 branch is finally getting into = shape. As soon as > >>> > a new Guile-SSH release is out, I=E2=80=99ll merge it on master. > >>>=20 > >>> Done! > >>>=20 > >>> It seems to work well in my own tests, but more feedback is welcome. > >> > >> It looks like there is a spurious module import of (ssh key) with the > >> latest code: > >> > >> $ guix pull =20 > >> =20 > >> ... > >> 2870: 1 [resolve-interface (ssh key) #:select ...] > >> In unknown file: > >> ?: 0 [scm-error misc-error #f "~A ~S" ("no code for module" (ssh ke= y)) #f] > >> > >> ERROR: In procedure scm-error: > >> ERROR: no code for module (ssh key) > >> builder for `/gnu/store/z958zcva82idmanswyw7zg00zyack221-guix-latest.d= rv' failed with exit code 1 > >> guix pull: error: build failed: build of `/gnu/store/z958zcva82idmansw= yw7zg00zyack221-guix-latest.drv' failed > > > > I push a commit 5aed7f10f to add guile-ssh to the load-path of the pull > > builder (the commit message refers a wrong commit, sorry) to fix it. > > > > But as ng0 report in #guix, the 0.11 install media is still broken. > > Since I add guile-ssh's go files to load-compiled-path, which are > > broken before commit 92b7258. > > > > Should I remove guile-ssh from %load-compiled-path in > > build-aux/build-self.scm? (assuming the offload script build fine with > > guile-ssh-0.9.0 of the guix-0.11) >=20 > Bah, what a mess! >=20 > =E2=80=98guix offload=E2=80=99 needs Guile-SSH 0.10.2, but =E2=80=98guix = offload=E2=80=99 is only > invoked from guix-daemon, and guix-daemon is not updated using =E2=80=98g= uix > pull=E2=80=99 anyway. >=20 > I committed a workaround as aa28ecc40af91d7cdff2fb3ab4ad86ad10d43ab7. >=20 > Fundamentally, it illustrates that the current strategy of =E2=80=98guix = pull=E2=80=99 > of relying on user-provided packages is flawed: we can get a broken > Guile-SSH, or one with the wrong version, or none at all, and that > really sucks. >=20 > Updating Guix should be like updating a normal package: you get the > package itself and all its dependencies that are known to work. >=20 > Ludo=E2=80=99. >=20 If I understand it correctly, as part of `guix pull' we get the latest package definitions, but `guix' and `guix-daemon' are at the guix-snapshot version, aka 0.11.0-4. If instead `guix-daemon' was from the tip of master then it'd be at the equivalant of running './pre-inst-env guix-daemon --build-users...', which would have all these changes. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Pd0ReVV5GZGQvF3a Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEkVdB/rIvpOM7bo+N9MHTkX6s7pMFAlg8AagACgkQ9MHTkX6s 7pNRSQ/+Maj84yUUVd9/F5qPZmwVfBBROmC9dv5Mfa0HGTgMjUSV8cDzrWY7NZgN fs/hm1zxND5ZkFlKG78xO63m2fR2FxQRNj6QG4AC1iHNIuauEOsfkjqFPRw9S/u7 9MSvGiR7reKmCDK2kvjZXTa8+eYWuf/lB13wJVnG7roD/KcvHcXvXZE+gIsniKQS gt0YqlYl01udy+XNHsx8vH2RdF7du9C5NNomzdJu8yTkf9jPy7zqnASK0ouAGaOh Zy18jH+pt+u09jqDAmxl2nHOoEaiNSLMmNjTi7W4eUcwr8dV6aoncUWkHvQiU0dn hYx4v4eLZIFAalRvnNllESTiMLvJ32MmsqFI8vBmBPNK3LTigaTFQ+SEE064gM+f NS9a5zRJ0tegr0ZJpXA+WVMuUxh619GPBffApaVPixx5aS+f0+mmaLTEhCH9S2mB ofpgozsU6cyXe2+UQUzJ3W8TlN88zZfV7hGq7u08o4grkE9Iz6ZbRG9EsAUJV/v4 NaM6f56QMfo26kpynVy/eVyqCKnbwq7z+eYWQtYus1rj7x7q6Y1DNX6+AfueaFyR 00TYTGYEtAQRENYqb/CrgNWunigvi1jT4RtaoufJdgQD6WOGXV3qoRt1tSzIwhVL HI7Z7mfSI+P37YiPdNXarDfSGO/q8mJjZ7kNrQSH/vAacFPN85c= =nX4B -----END PGP SIGNATURE----- --Pd0ReVV5GZGQvF3a--