public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milan Bouchet-Valat <nalimilan@club.fr>
To: git-commits@fedoraproject.org
Subject: [rpms/julia] epel10: Really fix error when using CURL with OpenSSL_jll
Date: Tue, 01 Dec 2026 21:40:53 GMT	[thread overview]
Message-ID: <179616125389.1.16981926126622870889.rpms-julia-715e249e8894@fedoraproject.org> (raw)

            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.

                 reply	other threads:[~2026-12-01 21:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179616125389.1.16981926126622870889.rpms-julia-715e249e8894@fedoraproject.org \
    --to=nalimilan@club.fr \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox