public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/julia] epel10: Really fix error when using CURL with OpenSSL_jll
@ 2026-12-01 21:40 Milan Bouchet-Valat
  0 siblings, 0 replies; only message in thread
From: Milan Bouchet-Valat @ 2026-12-01 21:40 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/julia
            Branch : epel10
            Commit : 715e249e88948557ce963d8b952a35fc853d8e34
            Author : Milan Bouchet-Valat <nalimilan@club.fr>
            Date   : 2024-05-05T23:37:30+02:00
            Stats  : +47/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/julia/c/715e249e88948557ce963d8b952a35fc853d8e34?branch=epel10

            Log:
            Really fix error when using CURL with OpenSSL_jll

When `USE_SYSTEM_LIBGIT2=1`, CURL and libssh2 where never built.

---
diff --git a/julia-Build-mbedTLS-libssh2-nghttp2-and-curl-disregarding.patch b/julia-Build-mbedTLS-libssh2-nghttp2-and-curl-disregarding.patch
new file mode 100644
index 0000000..3a98a54
--- /dev/null
+++ b/julia-Build-mbedTLS-libssh2-nghttp2-and-curl-disregarding.patch
@@ -0,0 +1,41 @@
+From 57c612d020436cad91be80e70978fb67f0166b05 Mon Sep 17 00:00:00 2001
+From: Milan Bouchet-Valat <nalimilan@club.fr>
+Date: Sun, 5 May 2024 23:01:56 +0200
+Subject: [PATCH] Build mbedTLS, libssh2, nghttp2 and curl disregarding
+ `USE_SYSTEM_LIBGIT2`
+
+A long time ago, these libraries were only used indirectly by libgit2,
+so 4526b65 made building them conditional on `USE_SYSTEM_LIBGIT2=0`.
+But nowadays we always generate MbedTLS_jll, LibSSH2_jll, nghttp2_jll
+and LibCURL_jll, even when not building libgit2, so we always need
+to have these libraries available.
+---
+ deps/Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/deps/Makefile b/deps/Makefile
+index fd8f5267e9d..d6972c86129 100644
+--- a/deps/Makefile
++++ b/deps/Makefile
+@@ -119,7 +119,6 @@ ifeq ($(USE_SYSTEM_GMP), 0)
+ DEP_LIBS += gmp
+ endif
+ 
+-ifeq ($(USE_SYSTEM_LIBGIT2), 0)
+ ifeq ($(USE_SYSTEM_MBEDTLS), 0)
+ DEP_LIBS += mbedtls
+ endif
+@@ -136,8 +135,9 @@ ifeq ($(USE_SYSTEM_CURL), 0)
+ DEP_LIBS += curl
+ endif
+ 
++ifeq ($(USE_SYSTEM_LIBGIT2), 0)
+ DEP_LIBS += libgit2
+-endif # USE_SYSTEM_LIBGIT2
++endif
+ 
+ ifeq ($(USE_SYSTEM_MPFR), 0)
+ DEP_LIBS += mpfr
+-- 
+2.44.0
+

diff --git a/julia.spec b/julia.spec
index f816088..9362779 100644
--- a/julia.spec
+++ b/julia.spec
@@ -39,7 +39,7 @@
 
 Name:           julia
 Version:        1.11.0
-Release:        6.beta1%{?dist}
+Release:        7.beta1%{?dist}
 Summary:        High-level, high-performance dynamic language for technical computing
 # Julia itself is MIT
 # libuv, libwhich, libblastrampoline and libunwind are MIT
@@ -62,6 +62,8 @@ Source11:       https://curl.se/download/curl-%{curlversion}.tar.bz2
 Source12:       https://api.github.com/repos/libssh2/libssh2/tarball/%{libssh2commit}#/libssh2-%{libssh2version}.tar.gz
 # https://github.com/JuliaLang/julia/pull/54143
 Patch0:         julia-Fix-make-install-from-tarballs.patch
+# https://github.com/JuliaLang/julia/pull/54367
+Patch1:         julia-Build-mbedTLS-libssh2-nghttp2-and-curl-disregarding.patch
 Provides:       bundled(libuv) = %{uvversion}
 Provides:       bundled(llvm) = %{llvmversion}
 Provides:       bundled(libblastrampoline) = %{blastrampolineversion}
@@ -517,6 +519,9 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
 exit 0
 
 %changelog
+* Sun May 5 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.7-beta1
+- Really fix error when using CURL with OpenSSL_jll.
+
 * Fri May 3 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.6-beta1
 - Fix error when precompiling sysimages.
 - Fix error when using CURL with OpenSSL_jll.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-01 21:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 21:40 [rpms/julia] epel10: Really fix error when using CURL with OpenSSL_jll Milan Bouchet-Valat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox