unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Nicolò Balzarotti" <anothersms@gmail.com>
To: zimoun <zimon.toutoune@gmail.com>, Jean-Baptiste Volatier <jbv@pm.me>
Cc: 48325@debbugs.gnu.org
Subject: [bug#48325] julia-1.6 guix
Date: Tue, 11 May 2021 12:18:40 +0200	[thread overview]
Message-ID: <87cztxfu9r.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <86zgx11to1.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2803 bytes --]

zimoun <zimon.toutoune@gmail.com> writes:

> Hi,
>
> On Tue, 11 May 2021 at 11:18, Nicolò Balzarotti <anothersms@gmail.com> wrote:
>> zimoun <zimon.toutoune@gmail.com> writes:
>
>>> Please, split this patch.  One per update, i.e., 5 patches I guess.
>>
>> Some changes should probably be committed together since current julia
>> will fail to build with newer deps versions, but at least for utf8proc
>> I'm sure this can be splitted.
>
> The issue is that the update of pcre2 is a ’core-updates’ change, IIUC:
>
>   guix refresh -l pcre2
>
> so the package cannot be simply updated.  This one also should be
> splitted, IMHO.
>
> Is the current julia@1.5.3 ’will fail’ for sure or probably ’would fail’
> with openlibm@0.7.4 and julia-benchmarktools@0.7.0?  I have not tried
> yet. :-)
>
>
>>>> +         (add-before 'install 'symlink-libraries
>>>
>>> [...]
>>>
>>>> +               (link "zlib" "usr/lib/julia/" "libz\\.so")
>>>
>>> Does this fix
>>>
>>>    <http://issues.guix.gnu.org/48238>
>>>
>>> ?
>>> Does it make sense?
>>>
>> I just tried running
>>> cd /gnu/store/fp5by15552ihyppxppigmbxs981rd08h-julia-1.6.1
>>> find -type f -exec grep '/tmp/guix-build-julia-1.5.3.drv-0' {} \;
>>
>> and it returns nothing.  Also, your Pkg.add("GZip"); using GZip worked
>
> Cool!
>
>> (but it printed
>>
>> ┌ Error: curl_easy_setopt: 48
>> └ @ Downloads.Curl
>> ~/guix-build-julia-1.6.1.drv-0/julia-1.6.1/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36
>>
>> which might be worth investigating)
>
> Thanks for trying and reporting.  Did you use a --pure or --container
> environment?

Nope, I just changed home with
> HOME=/tmp julia
>
I tried with a container now:

./pre-inst-env guix environment --ad-hoc julia nss-certs --container
export SSL_CERT_DIR=$GUIX_ENVIRONMENT/etc/ssl/certs/
export SSL_CERT_FILE=$GUIX_ENVIRONMENT/etc/ssl/certs/ca-certificates.crt
export GIT_SSL_CAINFO="$SSL_CERT_FILE"
julia  -e 'using Pkg; Pkg.add("GZip"); using GZip'

Same error
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /tmp/guix-build-julia-1.6.1.drv-0/julia-1.6.1/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36

But GZip works (I tried the example on the homepage:
import GZip

fh = GZip.open("infile.gz")
s = readline(fh)

close(fh))

> Well, ‘guix size glibc-locales’ reports ~922MiB.  Although this package
> is probably already on the store, I would prefer to avoid to add it as
> an input.  Currently, ’guix size julia’ says ~1080MiB.  How much with
> the glibc-locales as inputs?

./pre-inst-env guix size julia
1205.6 MiB

glibc-locales does not appear in the closure size (I attached the
output).

The biggest change seams to lie in Julia itself (~+130Mb)


[-- Attachment #2: size.log --]
[-- Type: application/octet-stream, Size: 5129 bytes --]

store item                                                       total    self
/gnu/store/xvl59r030h7qc4fdz713x5qj83g6b0px-llvm-julia-11.0.0      332.5   261.1  21.7%
/gnu/store/njx8q2cb7hwl289xavhhsrk9in2798js-julia-1.6.1           1205.6   215.1  17.8%
/gnu/store/03nf5zlk8lf6xafwn3a0p9s28c9lid27-suitesparse-5.9.0      299.2   171.3  14.2%
/gnu/store/rfm558jgb7334zlgywc82fs1jqslql52-gfortran-7.5.0         241.1   122.4  10.2%
/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0              178.5   107.3   8.9%
/gnu/store/bs9pl1f805ins80xaf4s3n35a0x2lyq3-openblas-0.3.9         187.2    78.0   6.5%
/gnu/store/18hp7flyb3yid3yp49i6qcdq0sbi5l1n-guile-3.0.2            132.8    53.2   4.4%
/gnu/store/741057r2x06zwg6zcmqmdyv51spm6n9i-gfortran-7.5.0-lib      76.6    38.2   3.2%
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31              38.4    36.7   3.0%
/gnu/store/01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib           71.0    32.6   2.7%
/gnu/store/jpx83q2s7dhpzjnj93w8zywxb3g7x35i-lapack-3.9.0           120.2    11.0   0.9%
/gnu/store/9h9153akbd6g2520mcl2d0vgbvyfi5qm-openssl-1.1.1i          77.4     6.4   0.5%
/gnu/store/zzkly5rbfvahwqgcs7crz0ilpi7x5g5p-ncurses-6.2             76.9     5.9   0.5%
/gnu/store/198dw01d3mp26ghdxym5hsi60lfynm9m-gnutls-3.6.15          140.8     5.4   0.4%
/gnu/store/l3bq4jyvkqwaqsmxb4dsfn4i1q2vdb10-p7zip-16.02             77.4     5.4   0.4%
/gnu/store/av65fmjs2iahr25vljpajs2vxhfl7glp-bdb-5.3.28              75.4     4.4   0.4%
/gnu/store/q5s876bc5yghh6na3ibvfxlvj6fcj17l-mit-krb5-1.18           76.3     4.3   0.4%
/gnu/store/bg69nwbnd8d3nnpgy24ihk2ijq05wnkz-pcre2-10.36             84.0     4.0   0.3%
/gnu/store/vdipv3c6f3g429rbbv8aa5m640isilxk-openldap-2.4.50        161.3     3.9   0.3%
/gnu/store/vsd9pwimckwsafmf804jrdq020bzwkm8-mbedtls-apache-2.23.0    75.8     3.8   0.3%
/gnu/store/61pv34q6kad3cii1pngyairvxbxgdm1n-isl-0.22.1              77.0     3.2   0.3%
/gnu/store/35afkywncrr5xsb4cxcljf6rpjcb7f61-gmp-6.2.0               73.8     2.7   0.2%
/gnu/store/qc926v75q54k94mwgz6gn4s02sjgrr03-tbb-2020.3              73.4     2.4   0.2%
/gnu/store/4i9lvjz9z9j4kj412jpqv4zxjcik9qcb-libunistring-0.9.10     73.4     2.4   0.2%
/gnu/store/aqi8ammnbwipg9a1aayrff3yz2ffpgxm-libgit2-1.1.0           95.6     1.9   0.2%
/gnu/store/5jf395qa3v4amdi60850rz2a15zlsrza-mpfr-4.0.2              75.6     1.8   0.2%
/gnu/store/mmhimfwmmidf09jw1plw3aw1g1zn2nkh-bash-static-5.0.16       1.6     1.6   0.1%
/gnu/store/qc3k3kd458pgrqsc7ih641160q81npwq-libgcrypt-1.8.5         74.5     1.5   0.1%
/gnu/store/knp4rkdm39ph4brkbzsp07q248nfffi1-readline-8.0.4          78.3     1.4   0.1%
/gnu/store/krpyb0zi700dcrg9cc8932w4v0qivdg9-pkg-config-0.29.2       72.3     1.3   0.1%
/gnu/store/8w6s8bfy3i6dfka46k4wmgygq310cm6s-curl-7.74.0            162.9     1.1   0.1%
/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16     39.4     1.0   0.1%
/gnu/store/fvhj74pghapbjvsvj27skvkra1by1965-bash-minimal-5.0.16     72.0     1.0   0.1%
/gnu/store/1dq8cl4i0jhpiysw98gcmw1b5kyv8fwp-openlibm-0.7.4          72.0     1.0   0.1%
/gnu/store/9rk1sdzb9lqsi38knfi2pq5gqxfxi8d0-libgpg-error-1.37       73.0     1.0   0.1%
/gnu/store/9860f1abqj8wjjnwl8a9v54pdcc3bhgf-xz-5.2.4                73.0     0.9   0.1%
/gnu/store/mz5fvdfks10rmwxf29n95bp9bim6wq7g-nettle-3.5.1            74.7     0.9   0.1%
/gnu/store/20bgydwiszx3wrdqg7py2lby20dz09bg-cyrus-sasl-2.1.27       84.2     0.9   0.1%
/gnu/store/zg126cjicrpm2p6zc08ra5vh4ddag7ww-libgc-8.0.4             71.8     0.8   0.1%
/gnu/store/53nfwpng3scv1c7w7smscvq1r4ciax7s-libssh2-1.9.0           75.5     0.7   0.1%
/gnu/store/1nfwkl6qbfrac4s6qm0rfaaz2ckgrvmj-metis-5.1.0             71.7     0.7   0.1%
/gnu/store/gh15s3j1chndm1lwibf3l9m6x4s26gbp-utf8proc-2.6.1          71.7     0.7   0.1%
/gnu/store/g5a71hqhx1i86zvgnwxj6wdpizpz1lxz-libunwind-julia-1.3.1    73.6     0.6   0.1%
/gnu/store/5yjp2rlvhjbxn02w5vby35ymrs0fmcjb-gdbm-1.18.1             71.6     0.6   0.0%
/gnu/store/pzm72ywfyqv1g0h4571p6zlhg566cwwd-libidn2-2.3.0           73.8     0.5   0.0%
/gnu/store/a9f7wmc75hbpg520phw9z4l9asm3qvsw-bzip2-1.0.8             72.5     0.4   0.0%
/gnu/store/lgrnkwh7w5yawgqaglwj1pls5vwz1nz7-mpc-1.1.0               76.0     0.4   0.0%
/gnu/store/0zawnjiv9aan8spa8vfwl1fwfmkzv5g5-nghttp2-1.41.0-lib      71.4     0.4   0.0%
/gnu/store/rnc7x74sdbgaz5nlbnjwabmwkcypknw0-libuv-julia-2.0.0-3.fb3e336    71.4     0.3   0.0%
/gnu/store/g2s5jfkfd4k973wb58476b1bbv9zpm6m-zlib-1.2.11             38.6     0.2   0.0%
/gnu/store/rykm237xkmq7rl1p0nwass01p090p88x-zlib-1.2.11             71.2     0.2   0.0%
/gnu/store/vb12knxd3cdrgnk548l4f6m628ikg8pf-libtasn1-4.16.0         71.2     0.2   0.0%
/gnu/store/bw15z9kh9c65ycc2vbhl2izwfwfva7p1-libffi-3.3              71.2     0.2   0.0%
/gnu/store/i5a9qb07y9xjh9ry8hp6km43kji16nmd-libltdl-2.4.6           71.2     0.2   0.0%
/gnu/store/bbpvh28a0srim3hsrmx0a366i23awyyk-http-parser-2.9.4-1.ec8b5ee    71.1     0.1   0.0%
/gnu/store/12y2nvkaqsm5qp04afcva5439zxz9r6z-dsfmt-2.2.3             71.0     0.0   0.0%
/gnu/store/z9f5wz66dzgxad673w49c2v06s531i6a-libwhich-1.1.0          71.0     0.0   0.0%
total: 1205.6 MiB

  reply	other threads:[~2021-05-11 10:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Vkhua8Jivnfp9XkjO-1XFnilmUhHzpbQgvDq90cIwAEuQrlJWk2z3RXMrvh8_6jf5qMeNKyKIizXjeoLZomFBg==@pm.me>
     [not found] ` <87bl9xqx5c.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me>
     [not found]   ` <hk3Y4V9gjJY5o0stStMA9pP3H3OEcNP9-Sr1cAj6aEpTlsqK-wjNq6qIsu4939joF7uCxaTt_mp0ZZGATif8WQ==@pm.me>
     [not found]     ` <bHwSuC9WPaejmL-KWmk5RJk7IR9pQdqrFnvLkGE8ClBZF420yLdR0bymVXhAJHumFlBNcHmwn7AjjAofIbDh2A==@pm.me>
     [not found]       ` <FOr3K1_g6fyPlpTTzTRaYRLxXE6iqm-CsT0GqISHU5wmcXuj8wtB-md5hsLGGCgLUOPxLnjLmmkaYlk4BWGUGw==@pm.me>
     [not found]         ` <87pmxzfth8.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me>
2021-05-10  7:07           ` [bug#48325] julia-1.6 guix Nicolò Balzarotti
2021-05-10 11:29             ` Jean-Baptiste Volatier via Guix-patches via
2021-05-11  0:07               ` zimoun
2021-05-11  9:18                 ` Nicolò Balzarotti
2021-05-11  9:53                   ` Nicolò Balzarotti
2021-05-11  9:55                   ` zimoun
2021-05-11 10:18                     ` Nicolò Balzarotti [this message]
2021-05-11 11:38                       ` Jean-Baptiste Volatier via Guix-patches via
2021-05-12  8:43                         ` zimoun
2021-05-11 13:13                       ` [bug#48325] update of julia to 1.6.1 zimoun
2021-05-11 13:46                         ` Jean-Baptiste Volatier via Guix-patches via

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=87cztxfu9r.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me \
    --to=anothersms@gmail.com \
    --cc=48325@debbugs.gnu.org \
    --cc=jbv@pm.me \
    --cc=zimon.toutoune@gmail.com \
    /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).