unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: 48238@debbugs.gnu.org, Efraim Flashner <efraim@flashner.co.il>
Cc: "Nicolò Balzarotti" <anothersms@gmail.com>
Subject: bug#48238: Julia 'Pkg.add' is broken
Date: Tue, 21 Sep 2021 12:21:54 +0200	[thread overview]
Message-ID: <86wnna9qkd.fsf@gmail.com> (raw)
In-Reply-To: <864kfh48nh.fsf@gmail.com> (zimoun's message of "Wed, 05 May 2021 15:22:58 +0200")

Hi,

Using Guix fb32a38.

On Wed, 05 May 2021 at 15:22, zimoun <zimon.toutoune@gmail.com> wrote:

> Packaging Julia stuff, I note something as a bug, I guess.  Julia seems
> to keep references to the build directory in the output.

The consequence is that Julia is somehow broken.

--8<---------------cut here---------------start------------->8---
$ rm -fr ~/.julia
$ guix environment --pure --ad-hoc julia \
       -- julia -e 'using Pkg; Pkg.add("GZip"); using GZip'
WARNING: failed to select UTF-8 encoding, using ASCII
  Installing known registries into `~/.julia`
ERROR: could not download https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/18e4ba1e8fb9c86ed483b99c8260fcac80578dd9
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types /tmp/guix-build-julia-1.6.2.drv-0/julia-1.6.2/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:55
  [2] (::Pkg.Types.var"#82#85"{Pkg.Types.Context, String, Pkg.Types.RegistrySpec})(tmp::String)
    @ Pkg.Types /tmp/guix-build-julia-1.6.2.drv-0/julia-1.6.2/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1035

[...]


caused by: IOError: could not spawn setenv(`7z x /tmp/jl_bcay5W-download.gz -so`,["PATH=:/gnu/store/b3gxgz9bpj3wyzcr423sib7mhkrlvzfs-profile/bin", "PWD=/home/simon/src/my-conf", "DISPLAY=:0", "LD_LIBRARY_PATH=/gnu/store/wdsw2l1wyxlbgn0bpm0wgbp8cs95xa3d-julia-1.6.2/bin/../lib/julia:/gnu/store/wdsw2l1wyxlbgn0bpm0wgbp8cs95xa3d-julia-1.6.2/bin/../lib", "XAUTHORITY=/run/user/1001/gdm/Xauthority", "GUIX_ENVIRONMENT=/gnu/store/b3gxgz9bpj3wyzcr423sib7mhkrlvzfs-profile", "LOGNAME=simon", "SHLVL=0", "JULIA_LOAD_PATH=:", "PAGER=cat", "USER=simon", "HOME=/home/simon", "TERM=ansi", "JULIA_DEPOT_PATH=:/gnu/store/b3gxgz9bpj3wyzcr423sib7mhkrlvzfs-profile/share/julia/:/gnu/store/b3gxgz9bpj3wyzcr423sib7mhkrlvzfs-profile/share/julia/", "OPENBLAS_MAIN_FREE=1"]): no such file or directory (ENOENT)
Stacktrace:

[...]

  [9] download_verify_unpack(url::String, hash::Nothing, dest::String; tarball_path::Nothing, ignore_existence::Bool, force::Bool, verbose::Bool, quiet_download::Bool, io::Base.TTY)
    @ Pkg.PlatformEngines /tmp/guix-build-julia-1.6.2.drv-0/julia-1.6.2/usr/share/julia/stdlib/v1.6/Pkg/src/PlatformEngines.jl:511

[...]

 [25] add(pkg::String)
    @ Pkg.API /tmp/guix-build-julia-1.6.2.drv-0/julia-1.6.2/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:75
 [26] top-level scope
    @ none:1
--8<---------------cut here---------------end--------------->8---


All the best,
simon




      parent reply	other threads:[~2021-09-21 10:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-05 13:22 bug#48238: Julia keeps build directory in the output zimoun
2021-05-12  8:57 ` bug#48238: Julia contains references to its build directory zimoun
2021-09-21 10:21 ` zimoun [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86wnna9qkd.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=48238@debbugs.gnu.org \
    --cc=anothersms@gmail.com \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).