Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 876184 - dev-lang/julia requires <sys-devel/llvm-14
Summary: dev-lang/julia requires <sys-devel/llvm-14
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:
Depends on:
Blocks: llvm-14-tracker
  Show dependency tree
 
Reported: 2022-10-08 15:32 UTC by Michał Górny
Modified: 2022-12-13 05:30 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-10-08 15:32:49 UTC
LLVM 14.x is the current stable, 15.x is going to become stable soon, LLVM 13.x is on its way out.  Please update the package to support newer LLVM versions.
Comment 1 Maciej Barć gentoo-dev 2022-10-08 18:26:56 UTC
Just checked and Julia 1.8.2 still does not compile on llvm >=14, so yea...
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-08 18:29:41 UTC
(In reply to Maciej Barć from comment #1)
> Just checked and Julia 1.8.2 still does not compile on llvm >=14, so yea...

Is there a bug filed upstream?
Comment 3 Maciej Barć gentoo-dev 2022-10-08 18:44:27 UTC
(In reply to Sam James from comment #2)
> (In reply to Maciej Barć from comment #1)
> > Just checked and Julia 1.8.2 still does not compile on llvm >=14, so yea...
> 
> Is there a bug filed upstream?

Nope but looks like Arch Linux devs already are on their way to make it work https://github.com/archlinux/svntogit-community/blob/2b6c47892490680ed26f1df1a4c62141925d431a/julia/trunk/julia-llvm-14.patch
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-08 18:46:57 UTC
(In reply to Maciej Barć from comment #3)
> (In reply to Sam James from comment #2)
> > (In reply to Maciej Barć from comment #1)
> > > Just checked and Julia 1.8.2 still does not compile on llvm >=14, so yea...
> > 
> > Is there a bug filed upstream?
> 
> Nope but looks like Arch Linux devs already are on their way to make it work
> https://github.com/archlinux/svntogit-community/blob/
> 2b6c47892490680ed26f1df1a4c62141925d431a/julia/trunk/julia-llvm-14.patch

Can you file a bug upstream and link it here then?
Comment 5 Maciej Barć gentoo-dev 2022-10-08 18:49:28 UTC
My bad, there WAS one bug for llvm 14... https://github.com/JuliaLang/julia/pull/46842
Comment 6 Maciej Barć gentoo-dev 2022-10-08 19:16:55 UTC
This is what fails for me: https://github.com/JuliaLang/julia/issues/47113
Comment 7 Maciej Barć gentoo-dev 2022-10-08 21:33:16 UTC
Upstream's response:

> It looks like you are trying to build Julia 1.8.2? Julia 1.8.x does not support > LLVM 14. It only supports LLVM 13.

> We also strongly recommend that you use the Julia specific patch set and do not > build Julia against a system LLVM.
> JuliaLang/llvm-project@llvmorg-13.0.1...julia-13.0.1-3

https://github.com/JuliaLang/julia/issues/47113#issuecomment-1272400407
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-08 21:37:35 UTC
Bleh. Thank you!

Just like Rust :(
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-12-01 14:02:09 UTC
Ping.
Comment 10 Maciej Barć gentoo-dev 2022-12-01 15:17:12 UTC
(In reply to Michał Górny from comment #9)
> Ping.

> https://github.com/JuliaLang/julia/issues/47113#issuecomment-1272400407

We could consider using bundled LLVM, WDYT?
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-12-01 16:54:31 UTC
Sucks but sucks less than having to maintain whole LLVM < 14 stack for the foreseeable future.
Comment 12 Larry the Git Cow gentoo-dev 2022-12-10 19:31:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e99593d9ed97b4abecc0a9b2e78f6c3a4d5046d

commit 9e99593d9ed97b4abecc0a9b2e78f6c3a4d5046d
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2022-12-10 19:15:10 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2022-12-10 19:30:30 +0000

    dev-lang/julia: bump to 1.8.3
    
    Uses a patch from: https://github.com/JuliaLang/julia/pull/47862
    
    Bug: https://bugs.gentoo.org/876184
    Bug: https://github.com/JuliaLang/julia/pull/47862
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-lang/julia/Manifest                            |   1 +
 .../julia/files/julia-1.8.0-llvm-no-bindings.patch |  11 ++
 dev-lang/julia/julia-1.8.3.ebuild                  | 178 +++++++++++++++++++++
 3 files changed, 190 insertions(+)
Comment 13 Maciej Barć gentoo-dev 2022-12-10 19:32:22 UTC
Dropped USE flag "system-llvm" from 1.8.3.
Comment 14 Maciej Barć gentoo-dev 2022-12-12 01:49:16 UTC
Haven't had report of failing 1.8.3 yet form the CI (only warnings), we could drop (or change to not use USE "system-llvm") the old version 1.8.2 any time now.
Comment 15 Larry the Git Cow gentoo-dev 2022-12-13 05:30:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e52b2fa01e313660edcd2f7366045f740c15652

commit 7e52b2fa01e313660edcd2f7366045f740c15652
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2022-12-13 04:18:44 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2022-12-13 05:30:25 +0000

    dev-lang/julia: drop old 1.8.2
    
    Closes: https://bugs.gentoo.org/876184
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-lang/julia/Manifest           |   1 -
 dev-lang/julia/julia-1.8.2.ebuild | 189 --------------------------------------
 dev-lang/julia/metadata.xml       |   3 -
 3 files changed, 193 deletions(-)