Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch julia to no longer hardcode libmbedcrypto.so.5 #29964

Closed
non-Jedi opened this issue Apr 3, 2021 · 0 comments
Closed

Patch julia to no longer hardcode libmbedcrypto.so.5 #29964

non-Jedi opened this issue Apr 3, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@non-Jedi
Copy link
Contributor

non-Jedi commented Apr 3, 2021

This is mostly a note to myself to make sure I don't forget to fix this or where the reference material is.

See JuliaLang/julia#40198 and the attached patch that arch linux uses.

Until this is fixed, nothing that relies on mbedtls in julia works; the first place I ran into it was trying to use IJulia.

@ericonr ericonr added the enhancement New feature or request label Apr 6, 2021
non-Jedi added a commit to non-Jedi/void-packages that referenced this issue Apr 7, 2021
When julia 1.6.0 vendors in mbedtls, it uses v2.26.0 which provides a
different set of sonames than the version provided by Void. We need to
patch where the library sonames are hardcoded to allow julia to properly
call into libraries provided by mbedtls.

Closes void-linux#29964

See <JuliaLang/julia#40198> for the upstream
bug.
non-Jedi added a commit to non-Jedi/void-packages that referenced this issue Apr 15, 2021
When julia 1.6.0 vendors in mbedtls, it uses v2.26.0 which provides a
different set of sonames than the version provided by Void. We need to
patch where the library sonames are hardcoded to allow julia to properly
call into libraries provided by mbedtls.

Closes void-linux#29964

See <JuliaLang/julia#40198> for the upstream
bug.
non-Jedi added a commit to non-Jedi/void-packages that referenced this issue May 6, 2021
Also change to using vendored llvm to reduce maintenance burden from julia depending on
versions of llvm which are quickly obsoleted (closes void-linux#30490); this should also fix julia's
build being broken on i686. This doesn't address void-linux#29964, and a decision should still be made
on whether to accept void-linux#30061.

[ci skip] for building llvm
@non-Jedi non-Jedi mentioned this issue May 6, 2021
8 tasks
non-Jedi added a commit to non-Jedi/void-packages that referenced this issue May 6, 2021
When julia 1.6.0 vendors in mbedtls, it uses v2.26.0 which provides a
different set of sonames than the version provided by Void. We need to
patch where the library sonames are hardcoded to allow julia to properly
call into libraries provided by mbedtls.

Closes void-linux#29964

See <JuliaLang/julia#40198> for the upstream
bug.
non-Jedi added a commit to non-Jedi/void-packages that referenced this issue May 6, 2021
When julia 1.6.0 vendors in mbedtls, it uses v2.26.0 which provides a
different set of sonames than the version provided by Void. We need to
patch where the library sonames are hardcoded to allow julia to properly
call into libraries provided by mbedtls.

Closes void-linux#29964

See <JuliaLang/julia#40198> for the upstream
bug.
non-Jedi added a commit to non-Jedi/void-packages that referenced this issue May 11, 2021
Also change to using vendored llvm to reduce maintenance burden from julia depending on
versions of llvm which are quickly obsoleted (closes void-linux#30490); this should also fix julia's
build being broken on i686.

When julia 1.6.0 vendors in mbedtls, it uses v2.26.0 which provides a different set of
sonames than the version provided by Void. We need to patch where the library sonames are
hardcoded to allow julia to properly call into libraries provided by mbedtls.

Closes void-linux#29964 and void-linux#30061

See <JuliaLang/julia#40198> for the upstream
bug.
hazayan pushed a commit to hazayan/void-packages that referenced this issue May 21, 2021
Also change to using vendored llvm to reduce maintenance burden from
julia depending on versions of llvm which are quickly obsoleted; this
should also fix julia's build being broken on i686.

When julia 1.6.0 vendors in mbedtls, it uses v2.26.0 which provides a
different set of sonames than the version provided by Void. We need to
patch where the library sonames are hardcoded to allow julia to properly
call into libraries provided by mbedtls.

[Ed.: internal references to unversioned shlibs in this patch appear to
refer to symlnks that the julia package creates in /usr/lib/julia rather
than symlinks in /usr/lib that would require -devel dependencies.]

Upstream issue: JuliaLang/julia#40198

Closes: void-linux#30703 [via git-merge-pr]
Closes: void-linux#30490
Closes: void-linux#30061
Closes: void-linux#29964
gbrlsnchs pushed a commit to gbrlsnchs/void-packages that referenced this issue May 24, 2021
Also change to using vendored llvm to reduce maintenance burden from
julia depending on versions of llvm which are quickly obsoleted; this
should also fix julia's build being broken on i686.

When julia 1.6.0 vendors in mbedtls, it uses v2.26.0 which provides a
different set of sonames than the version provided by Void. We need to
patch where the library sonames are hardcoded to allow julia to properly
call into libraries provided by mbedtls.

[Ed.: internal references to unversioned shlibs in this patch appear to
refer to symlnks that the julia package creates in /usr/lib/julia rather
than symlinks in /usr/lib that would require -devel dependencies.]

Upstream issue: JuliaLang/julia#40198

Closes: void-linux#30703 [via git-merge-pr]
Closes: void-linux#30490
Closes: void-linux#30061
Closes: void-linux#29964
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants