commit:     a1e1e4b7366c54b65c51d907ded4b7689a679c86
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 11 23:34:42 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 11 23:35:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e1e4b7

dev-lang/julia: don't use system libgit2

Julia uses libgit2 via FFI and libgit2 has unstable ABI.

Closes: https://bugs.gentoo.org/955402
Thanks-to: William Throwe <wtt6 <AT> cornell.edu>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/julia/{julia-1.8.3-r5.ebuild => julia-1.8.3-r6.ebuild} | 8 +++++---
 dev-lang/julia/{julia-1.8.5-r2.ebuild => julia-1.8.5-r3.ebuild} | 8 +++++---
 dev-lang/julia/{julia-1.9.0-r1.ebuild => julia-1.9.0-r2.ebuild} | 8 +++++---
 dev-lang/julia/{julia-1.9.4-r1.ebuild => julia-1.9.4-r2.ebuild} | 8 +++++---
 4 files changed, 20 insertions(+), 12 deletions(-)

diff --git a/dev-lang/julia/julia-1.8.3-r5.ebuild 
b/dev-lang/julia/julia-1.8.3-r6.ebuild
similarity index 95%
rename from dev-lang/julia/julia-1.8.3-r5.ebuild
rename to dev-lang/julia/julia-1.8.3-r6.ebuild
index 7ae8ecc12cb4..268849df5c80 100644
--- a/dev-lang/julia/julia-1.8.3-r5.ebuild
+++ b/dev-lang/julia/julia-1.8.3-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # correct versions for stdlibs are in deps/checksums
@@ -24,7 +24,6 @@ RDEPEND="
        app-arch/p7zip
        app-misc/ca-certificates
        dev-libs/gmp:0=
-       dev-libs/libgit2:0
        dev-libs/mpfr:0=
        >=dev-libs/libutf8proc-2.6.1:0=[-cjk]
        >=dev-util/patchelf-0.13
@@ -142,7 +141,10 @@ src_configure() {
                USE_SYSTEM_LIBSSH2:=1
                USE_SYSTEM_NGHTTP2:=1
                USE_SYSTEM_CURL:=1
-               USE_SYSTEM_LIBGIT2:=1
+               # Julia uses libgit2 via FFI and libgit2 has unstable ABI.
+               # It's common for there to be a substantial mismatch that
+               # leads to bother (bug #955402).
+               USE_SYSTEM_LIBGIT2:=0
                USE_SYSTEM_PATCHELF:=1
                USE_SYSTEM_ZLIB:=1
                USE_SYSTEM_P7ZIP:=1

diff --git a/dev-lang/julia/julia-1.8.5-r2.ebuild 
b/dev-lang/julia/julia-1.8.5-r3.ebuild
similarity index 96%
rename from dev-lang/julia/julia-1.8.5-r2.ebuild
rename to dev-lang/julia/julia-1.8.5-r3.ebuild
index 405c44c053f9..df8c13ee0620 100644
--- a/dev-lang/julia/julia-1.8.5-r2.ebuild
+++ b/dev-lang/julia/julia-1.8.5-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # correct versions for stdlibs are in deps/checksums
@@ -40,7 +40,6 @@ RDEPEND="
        app-arch/p7zip
        app-misc/ca-certificates
        dev-libs/gmp:0=
-       dev-libs/libgit2:0
        dev-libs/mpfr:0=
        net-misc/curl[http2,ssh]
        sci-libs/amd:0=
@@ -184,7 +183,10 @@ src_configure() {
                USE_SYSTEM_LIBSSH2:=1
                USE_SYSTEM_NGHTTP2:=1
                USE_SYSTEM_CURL:=1
-               USE_SYSTEM_LIBGIT2:=1
+               # Julia uses libgit2 via FFI and libgit2 has unstable ABI.
+               # It's common for there to be a substantial mismatch that
+               # leads to bother (bug #955402).
+               USE_SYSTEM_LIBGIT2:=0
                USE_SYSTEM_PATCHELF:=1
                USE_SYSTEM_ZLIB:=1
                USE_SYSTEM_P7ZIP:=1

diff --git a/dev-lang/julia/julia-1.9.0-r1.ebuild 
b/dev-lang/julia/julia-1.9.0-r2.ebuild
similarity index 96%
rename from dev-lang/julia/julia-1.9.0-r1.ebuild
rename to dev-lang/julia/julia-1.9.0-r2.ebuild
index 46bd0cf4dd10..2e0830c2ad6f 100644
--- a/dev-lang/julia/julia-1.9.0-r1.ebuild
+++ b/dev-lang/julia/julia-1.9.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # correct versions for stdlibs are in deps/checksums
@@ -36,7 +36,6 @@ RDEPEND="
        app-arch/p7zip
        app-misc/ca-certificates
        dev-libs/gmp:0=
-       dev-libs/libgit2:0
        dev-libs/mpfr:0=
        net-misc/curl[http2,ssh]
        sci-libs/amd:0=
@@ -163,7 +162,10 @@ src_configure() {
                USE_SYSTEM_LIBSSH2:=1
                USE_SYSTEM_NGHTTP2:=1
                USE_SYSTEM_CURL:=1
-               USE_SYSTEM_LIBGIT2:=1
+               # Julia uses libgit2 via FFI and libgit2 has unstable ABI.
+               # It's common for there to be a substantial mismatch that
+               # leads to bother (bug #955402).
+               USE_SYSTEM_LIBGIT2:=0
                USE_SYSTEM_PATCHELF:=1
                USE_SYSTEM_ZLIB:=1
                USE_SYSTEM_P7ZIP:=1

diff --git a/dev-lang/julia/julia-1.9.4-r1.ebuild 
b/dev-lang/julia/julia-1.9.4-r2.ebuild
similarity index 95%
rename from dev-lang/julia/julia-1.9.4-r1.ebuild
rename to dev-lang/julia/julia-1.9.4-r2.ebuild
index a7a7d1a0cbea..60a51ab30625 100644
--- a/dev-lang/julia/julia-1.9.4-r1.ebuild
+++ b/dev-lang/julia/julia-1.9.4-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # correct versions for stdlibs are in deps/checksums
@@ -34,7 +34,6 @@ RDEPEND="
        app-arch/p7zip
        app-misc/ca-certificates
        dev-libs/gmp:0=
-       dev-libs/libgit2:0
        dev-libs/mpfr:0=
        net-misc/curl[http2,ssh]
        sci-libs/amd:0=
@@ -146,7 +145,10 @@ src_configure() {
                USE_SYSTEM_LIBSSH2:=1
                USE_SYSTEM_NGHTTP2:=1
                USE_SYSTEM_CURL:=1
-               USE_SYSTEM_LIBGIT2:=1
+               # Julia uses libgit2 via FFI and libgit2 has unstable ABI.
+               # It's common for there to be a substantial mismatch that
+               # leads to bother (bug #955402).
+               USE_SYSTEM_LIBGIT2:=0
                USE_SYSTEM_PATCHELF:=1
                USE_SYSTEM_ZLIB:=1
                USE_SYSTEM_P7ZIP:=1

Reply via email to