From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8PQeAbGJgmHVRQAAgWs5BA (envelope-from ) for ; Wed, 03 Nov 2021 14:08:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UKGAOLCJgmGQKAAA1q6Kng (envelope-from ) for ; Wed, 03 Nov 2021 13:08:00 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 46286D5FB for ; Wed, 3 Nov 2021 14:08:00 +0100 (CET) Received: from localhost ([::1]:59136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miFzj-0004es-DF for larch@yhetil.org; Wed, 03 Nov 2021 09:07:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miFzY-0004eb-Qh for help-guix@gnu.org; Wed, 03 Nov 2021 09:07:48 -0400 Received: from flashner.co.il ([178.62.234.194]:48138) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miFzW-0007JS-JA for help-guix@gnu.org; Wed, 03 Nov 2021 09:07:48 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id 41E1D402FA; Wed, 3 Nov 2021 13:07:13 +0000 (UTC) Date: Wed, 3 Nov 2021 15:06:36 +0200 From: Efraim Flashner To: zimoun Subject: Re: Using julia in guix Message-ID: Mail-Followup-To: zimoun , =?utf-8?B?VGjDqW8=?= Maxime Tyburn , help guix References: <878ry66ssq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qWuXDD56yE2ubXwm" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?B?VGjDqW8=?= Maxime Tyburn , help guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635944880; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=cP6LJ3sw04i/Thh85cZDGnTkT7mMZ57egJbTCBPWK+g=; b=K6fFsjGrp/rhizUjrJEEWD2LuxNZC5aZeJHuq0xVje1VECGwCkj+U8L6xmTn8ueRs39+sa O0ll7LWAbT5/ouNiGFA9NftSs7433OK4jn6WDYsUwex7yArUIF2zuGx2gt5ZFAexgo46Iv hAy0jYO0WLgNmHvZ3WTXEQy4zziBrWZaJQn1UxNE+wpJ2u6Ryzq3SXbgNacvy1e3vu1Cbs u4Omj/kICU1uWFDYysuJfHHG+ISZgnqynixAOChZ87+dDW7w7due1zbs+yO5J9dLQGrohs nAepO2hS6I495pdFJuPRirmIOV0Df+vLAFdkkWIQQ7gNLqgq5rNrzcfT8nnRJw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635944880; a=rsa-sha256; cv=none; b=jgE4XTZA1uU/N9SJo1K+Kys9jeDy0NIXyxYDaebzHO+9Bv7c3WJQrWcSExEOWIPn5Ygs2x 2jq5wUcqjFpvzc05VQty7VmaYvUcFeG7qzWWc4stI+9Ox4ADrZi5vmvQD95wmvK9ObouOA sliDd3lHgFBK7vBH2sYoK9BJykfdrWD1pQQK4CtZrDpvvpMpOvokZ7hufCPLEULrL63sO1 qQknVI9/xw3aNlYlvl8krEzGSRIcuysGJsJacl3WGlgWwyZ7h6QTpYTzUk32X3Nkavd6M1 bve0M1GDMJL66tcNcv+Htt5fkGyKNtNwlg9uEOPZUuxJ4HZc5PHBoEmr4CjvHw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.66 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 46286D5FB X-Spam-Score: -4.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: lS+WumUlYLVe --qWuXDD56yE2ubXwm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Apologies for top-posting. If you test the patch and find that it works then I'll be happy to apply it. On Wed, Nov 03, 2021 at 11:06:25AM +0100, zimoun wrote: > Hi, >=20 > On Wed, 3 Nov 2021 at 00:30, Th=C3=A9o Maxime Tyburn wrote: >=20 > > I started using julia in one of my university projects and I am not sure > > how this should be done the guix way. Has someone experience with this ? >=20 > Cool! >=20 >=20 > > For know I just used the julia package manager and the packages are in > > ~/.julia. I was not able to use the guix packages for julia > > however. Should something be done manually to tell julia where to find > > its packages ? >=20 > For now, it is either packages from Pkg.jl or either packages julia-* > from Guix. A patch [1] is still pending for being able to mix both. > Aside that packages from Pkg.jl do not always work out-of-the-box, > sadly. >=20 > 1: >=20 >=20 > > I encountered two problems. The first with the package "GR" the > > second with the package "GLFW". I encountered these bugs while trying > > the packages "Plots" and the "GLMakie" backend of "Makie" >=20 > IIUC, you installed all the packages using Pkg.jl, right? >=20 > Because then, I get: >=20 > --8<---------------cut here---------------start------------->8--- > ERROR: could not download > https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/3= 02047ed63e49eace1abd20f300ac6e22768690b > --8<---------------cut here---------------end--------------->8--- >=20 > and I do not know if Pkg.jl works correctly with the current julia > from Guix. For instance, "guix shell julia -CN -- julia" then 'using > Pkg; Pkg.add("Plots")' reports failures. One is reference to build > directory "/tmp/guix-build-julia-1.6.2.drv-0", see [2]. >=20 > 2: >=20 >=20 >=20 > > The GR bug: > > > julia> using GR > > > julia> histogram(randn(10000)) > > > env: =E2=80=98/home/teddd/.julia/artifacts/b5fea2b0d5c84336f26b139587= a84ee7e8ca2e12/bin/gksqt=E2=80=99: No such file or directory > > > connect: Connection refused > > > GKS: can't connect to GKS socket application[ > > it then exits because of a segmentation fault. >=20 > Well, I do not know where does the issue come from. I suspect > something related to [2] above. >=20 > For now, I do not have a solution and I do not have time to work on > it. Sorry. I would be happy if someone fixes the issue; probably > patch#51319 helps here. :-) >=20 > Cheers, > simon >=20 --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --qWuXDD56yE2ubXwm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmGCiVkACgkQQarn3Mo9 g1F0xBAAwAZ3ghhDrfi/WSxToS5ebRymzJQr8wWgrVYCfZjuOQOw7vklX47BXlUs l05oPuFGGrMcEXa89n0172pJqPE2AfUCPhxiYn9AmCzRnzrXpDLnDfuFaaHqNWrp V+76EZr9n9563TzSBvJFG/gXCS67zNUAeGAmdI2CSeIHL/cq7tICyA6cblvFi0dj NOJ9N84y+EBUp8w7c8j4z0mOHbg8awTb4zfwZkFTyN9g90QsqnUBErurJ+MMIxLp xfpEe06Q4+4RWu8wX4XEf+7uH1Qo/7devH/tdF+iXoqGTpekEkD14VWQPbKioPOr bw1LeyDs8K/tJ5lTkQXJidfLzXS3PqKIlCN7vMdlaCttR2RuxuVKmGS4yTwbkGFw qmAnz1eGfta5+8JWom7sXGswMjghDnLAHF6XTiYnYiGHHZXCTbPKMtyI6M/FyBYu tqCG0i9Wk9k4wUU08CkM183in4euhTewxIelbF7pMcv4iyMhks/neK9T4vyo34I9 fBYOtQlObnvTQ4kWeyeEf/3khl8MPiPGSsFCsN/1YzIUqNJh+Lw9SGehvDkFRZV0 IRT3NGI4lpc0tzttja1HRR6VLAy0kXUVMenIZNXrxnlc551ymIjyTrm/jAOrzwLY YnEexzFyZDEj8I7WF+ra4La35yY/ceMndlLL3Z7PwJ0tkxull6o= =4GMC -----END PGP SIGNATURE----- --qWuXDD56yE2ubXwm--