Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 799071 - dev-lang/julia-1.6.0 uses hardcoded library version numbers
Summary: dev-lang/julia-1.6.0 uses hardcoded library version numbers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-06-28 13:52 UTC by Devrin Talen
Modified: 2021-11-18 06:57 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Errors when running "using PlotlyJS" (julia_mbedtls_error.txt,3.43 KB, text/plain)
2021-06-28 13:52 UTC, Devrin Talen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Devrin Talen 2021-06-28 13:52:40 UTC
Created attachment 719769 [details]
Errors when running "using PlotlyJS"

When attempting to use the PlotlyJS package with julia 1.6.0 I ran into this reported julia issue [1].  Several Julia packages use hard-coded library versions, which causes compilation failures when these packages are loaded on Gentoo.  I have attached the output of "using PlotlyJS" on my system, which fails because Gentoo provides libmbedcrypto.so.6 (as part of net-libs/mbedtls), but the Julia MbedTLS package is hard-coded to search for libmbedcrypto.so.5.

Arch Linux appears to have run into the same issue and posted the following patch [2] that they use.

I have tested the patch on my local system and it does resolve the issue I had with the MbedTLS code.

[1]: https://github.com/JuliaLang/julia/issues/40198
[2]: https://github.com/archlinux/svntogit-community/blob/packages/julia/trunk/julia-hardcoded-libs.patch
Comment 1 Larry the Git Cow gentoo-dev 2021-11-18 06:57:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0050cbada802348e25e89ffff441147ed5d385a7

commit 0050cbada802348e25e89ffff441147ed5d385a7
Author:     Jeffrey Lin <jeffrey@icurse.nl>
AuthorDate: 2021-07-15 03:09:54 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2021-11-18 06:57:47 +0000

    dev-lang/julia: remove hardcoded lib versions
    
    Closes: https://bugs.gentoo.org/799071
    Signed-off-by: Jeffrey Lin <jeffrey@icurse.nl>
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 .../files/julia-1.6.0-fix-hardcoded-libs.patch     |  43 +++++
 ...julia-1.6.0-r1.ebuild => julia-1.6.0-r2.ebuild} |   1 +
 dev-lang/julia/julia-1.6.0.ebuild                  | 177 ---------------------
 dev-lang/julia/julia-1.6.3.ebuild                  |   1 +
 4 files changed, 45 insertions(+), 177 deletions(-)