From debbugs-submit-bounces@debbugs.gnu.org Tue May 25 11:41:05 2021 Received: (at 46333) by debbugs.gnu.org; 25 May 2021 15:41:05 +0000 Received: from localhost ([127.0.0.1]:46583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llZB3-0001rj-39 for submit@debbugs.gnu.org; Tue, 25 May 2021 11:41:05 -0400 Received: from mout01.posteo.de ([185.67.36.65]:55529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llZAy-0001r0-70 for 46333@debbugs.gnu.org; Tue, 25 May 2021 11:41:04 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id D5F4024002E for <46333@debbugs.gnu.org>; Tue, 25 May 2021 17:40:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1621957253; bh=xDFJJaOY1JBFYmX5e0uxwJvTV5EcE4A0imyN0L4dmfY=; h=From:To:Cc:Subject:Date:From; b=Z2VjpA7+Ny+Kc0Qiwj2GCQ6WhK4fYA+1+iTA8d+tAjKRd1Duw3+8ESVTDCT9tt/un tKQgguTozYO3i5BHi3EJ4pHVXqUWYCOndFyVmerWvi6ApcqdIG/65Rbn0KjVf/k4aB 9YOSmg7y5KCCehEekcMt9tMsmonwnOBRLa0NBlqytAvSkS/QCat7/6Pd74hPgBATLu NLft/B3ZnHllG1jgSSdZXYbn04jvgH/cX1pqf9FAADhXLqw+oZN7+oDmTaKXbAFDmd JobhVaIi81u8Db/3is9wlnE1Mkgpgr7FXd/4jeChdrV3XA13TDrDRrW7FKY47+UZYw r7QuG4vHAFbpw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FqJFZ5xBVz6tmQ; Tue, 25 May 2021 17:40:46 +0200 (CEST) References: <87lf8cugh1.fsf@kitej> From: Guillaume Le Vaillant To: Sharlatan Hellseher Subject: Re: bug#46333: sbcl-common-lisp-jupyter does not install kernel.json In-reply-to: Date: Tue, 25 May 2021 15:40:38 +0000 Message-ID: <877djmddop.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 46333 Cc: 46333@debbugs.gnu.org, Jack Hill X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Sharlatan Hellseher skribis: > I played with cl-jupyter:install but it heavily depends on Quicklisp > but what basically does - generates simple JSON with CL implementation > https://github.com/yitzchak/common-lisp-jupyter/issues/78 > > First I tried to do the same during build phase by evaluationg > arbitrary Lisp but could not manged it to work. > Then after checking the kernel.json I just simply formated it with > right %lispt-type path and copied with the same evaluation as R > Jupyter package, but I've got some error during coping into Jupyter > directory: > > --8<---------------cut here---------------start------------->8--- > phase `generate-kernelspec' succeeded after 0.0 seconds > starting phase `install-kernelspec' > command "jupyter" "kernelspec" "install" "--name" "cl-jupyter" > "--prefix" "/gnu/store/xjqxskiqjlzirlg478gnlp7x6w2jcz63-sbcl-common-lisp-jupyter-0.1.0-4.ba9f0e7" > "/gnu/store/xjqxskiqjlzirlg478gnlp7x6w2jcz63-sbcl-common-lisp-jupyter-0.1.0-4.ba9f0e7/share/cl-jupyter/kernelspec" > failed with status 127 > builder for `/gnu/store/azl65q1bl2pv920fmgw6d8k0brsx6hdg-sbcl-common-lisp-jupyter-0.1.0-4.ba9f0e7.drv' > failed with exit code 1 > build of /gnu/store/azl65q1bl2pv920fmgw6d8k0brsx6hdg-sbcl-common-lisp-jupyter-0.1.0-4.ba9f0e7.drv > failed > [...] > --8<---------------cut here---------------end--------------->8--- I think this error comes from the fact that the jupyter package is missing as native input, therefore the 'jupyter ...' command can't work. It lools like the 'install-kernelspec' phase just copies the kernel you generated in "share/cl-jupyter/kernelspec/" to "share/jupyter/kernels/cl-jupyter/". Wouldn't it be easier to generate the kernel in the final directory directly? Then the 'install-kernelspec' phase would not be necessary. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYK0adg8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j8A/AD/cDV+OzQBT3LQ8/UDbyg/nd3o9ta4YWYg0TzV CiwzUSMA/32U1H4BM27HJmBbJL/sZUVpAJMSyCdxiSZJj3UTwOLC =2ml4 -----END PGP SIGNATURE----- --=-=-=--