Github messages for voidlinux
 help / color / mirror / Atom feed
From: non-Jedi <non-Jedi@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] julia should vendor libmbedtls as well
Date: Mon, 03 Aug 2020 15:29:20 +0200	[thread overview]
Message-ID: <20200803132920.QdvcfKac0BkYjk73uLMaSx8bXDJq_5fjes8sjxu11I8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23997@inbox.vuxu.org>

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

Closed issue by non-Jedi on void-packages repository

https://github.com/void-linux/void-packages/issues/23997

Description:
When running `using Pkg; Pkg.add("Example)` under IJulia, you get the following stacktrace:

```
could not load library "libgit2"
/usr/bin/../lib/libmbedx509.so.0: undefined symbol: mbedtls_mutex_unlock

Stacktrace:
 [1] update_registries(::Pkg.Types.Context, ::Array{Pkg.Types.RegistrySpec,1}; force::Bool) at /builddir/julia-1.4.2/usr/share/julia/stdlib/v1.4/Pkg/src/Types.jl:1081
 [2] update_registries at /builddir/julia-1.4.2/usr/share/julia/stdlib/v1.4/Pkg/src/Types.jl:1045 [inlined] (repeats 2 times)
 [3] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; preserve::Pkg.Types.PreserveLevel, platform::Pkg.BinaryPlatforms.Linux, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /builddir/julia-1.4.2/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:143
 [4] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /builddir/julia-1.4.2/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:112
 [5] #add#27 at /builddir/julia-1.4.2/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:109 [inlined]
 [6] add at /builddir/julia-1.4.2/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:109 [inlined]
 [7] #add#24 at /builddir/julia-1.4.2/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:107 [inlined]
 [8] add at /builddir/julia-1.4.2/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:107 [inlined]
 [9] add(::String; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /builddir/julia-1.4.2/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:106
 [10] add(::String) at /builddir/julia-1.4.2/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:106
 [11] top-level scope at In[5]:1
```

The [vendored mbedtls is still at 2.16.0](https://github.com/JuliaLang/julia/blob/release-1.4/deps/Versions.make#L23), so maybe that's the problem? They don't appear to carry any patches for mbedtls, and [don't appear to build it in any strange way](https://github.com/JuliaLang/julia/blob/release-1.4/deps/mbedtls.mk), so that's my best guess at the difference.

Proposed change is to have `USE_SYSTEM_MBEDTLS=0`.

       reply	other threads:[~2020-08-03 13:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23997@inbox.vuxu.org>
2020-08-03 13:29 ` non-Jedi [this message]
2020-08-03 13:36 ` non-Jedi

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

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

  git send-email \
    --in-reply-to=20200803132920.QdvcfKac0BkYjk73uLMaSx8bXDJq_5fjes8sjxu11I8@z \
    --to=non-jedi@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /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.
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 NNTP newsgroup(s).