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: Merge branch 'f40' into f41
Date: Tue, 01 Dec 2026 21:40:59 GMT	[thread overview]
Message-ID: <179616125950.1.847140534549953539.rpms-julia-126c8d7d8888@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/julia
Branch : epel10
Commit : 126c8d7d8888d4dd56b14f3050306d7d32e3a7e9
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date   : 2024-08-28T12:28:38+02:00
Stats  : +90/-12 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/julia/c/126c8d7d8888d4dd56b14f3050306d7d32e3a7e9?branch=epel10

Log:
Merge branch 'f40' into f41

---
diff --git a/.gitignore b/.gitignore
index 07fc881..b592c31 100644
--- a/.gitignore
+++ b/.gitignore
@@ -133,3 +133,7 @@
 /JuliaSyntax-4f1731d6ce7c2465fc21ea245110b7a39f34658a.tar.gz
 /JuliaSyntaxHiglighting-4110caaf4fcdf0c614fd3ecd7c5bf589ca82ac63.tar.gz
 /julia-1.11.0-beta1.tar.gz
+/libssh2-1.11.0.tar.gz
+/curl-8.6.0.tar.bz2
+/libssh2-1c3f1b7da588f2652260285529ec3c1f1125eb4e.tar.gz
+/mbedtls-2.28.6.tar.gz

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 a1f8bd8..30ea9ed 100644
--- a/julia.spec
+++ b/julia.spec
@@ -16,8 +16,15 @@
 %global ittapiversion 3.24.0
 %global ittapicommit 0014aec56fea2f30c1374f40861e1bccdd53d0cb
 
+%global curlversion 8.6.0
+
+%global libssh2version 1.11.0
+%global libssh2commit 1c3f1b7da588f2652260285529ec3c1f1125eb4e
+
 %global gmpversion 6.3.0
 
+%global mbedtlsversion 2.28.6
+
 %global juliasyntaxcommit 4f1731d6ce7c2465fc21ea245110b7a39f34658a
 %global juliasyntaxhighlightingcommit 4110caaf4fcdf0c614fd3ecd7c5bf589ca82ac63
 
@@ -25,7 +32,7 @@
 
 # List all bundled libraries here
 # OpenBLAS is excluded because we set a symlink to libopenblasp
-%global _privatelibs lib(openblas_|openblas64_|ccalltest|llvmcalltest|LLVM-.*|uv|blastrampoline|unwind)\\.so.*
+%global _privatelibs lib(openblas_|openblas64_|ccalltest|llvmcalltest|LLVM-.*|uv|blastrampoline|unwind|gmp|gmpxx|ssh2|mbed.*|curl)\\.so.*
 %global __provides_exclude ^(%{_privatelibs})$
 %global __requires_exclude ^(%{_privatelibs})$
 
@@ -34,7 +41,7 @@
 
 Name:           julia
 Version:        1.11.0
-Release:        6.beta1%{?dist}
+Release:        9.beta1%{?dist}
 Summary:        High-level, high-performance dynamic language for technical computing
 # Julia itself is MIT
 # libuv, libwhich, libblastrampoline and libunwind are MIT
@@ -53,8 +60,13 @@ Source7:        https://api.github.com/repos/staticfloat/libblastrampoline/tarba
 Source8:        https://github.com/libunwind/libunwind/releases/download/v%{libunwindversion}/libunwind-%{libunwindversion}.tar.gz
 Source9:        https://api.github.com/repos/intel/ittapi/tarball/%{ittapicommit}#/ittapi-%{ittapicommit}.tar.gz
 Source10:       https://api.github.com/repos/JuliaLang/JuliaSyntaxHighlighting.jl/tarball/%{juliasyntaxhighlightingcommit}#/JuliaSyntaxHiglighting-%{juliasyntaxhighlightingcommit}.tar.gz
+Source11:       https://curl.se/download/curl-%{curlversion}.tar.bz2
+Source12:       https://api.github.com/repos/libssh2/libssh2/tarball/%{libssh2commit}#/libssh2-%{libssh2commit}.tar.gz
+Source13:       https://github.com/Mbed-TLS/mbedtls/archive/v%{mbedtlsversion}.tar.gz#/mbedtls-%{mbedtlsversion}.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}
@@ -62,6 +74,12 @@ Provides:       bundled(libwhich) = %{libwhichversion}
 Provides:       bundled(libunwind) = %{libunwindversion}
 Provides:       bundled(ittapi) = %{ittapiversion}
 Provides:       bundled(gmp) = %{gmpversion}
+# Fedora libssh2 and libcurl link to a recent OpenSSL, which creates conflicts
+# with packages that load the LTS version and expect Julia not to link to another one
+# mbedTLS needs to be bundled too when bundling these two libraries
+Provides:       bundled(libssh2) = %{libssh2version}
+Provides:       bundled(libcurl) = %{curlversion}
+Provides:       bundled(mbedtls) = %{mbedtlsversion}
 BuildRequires:  ca-certificates
 BuildRequires:  desktop-file-utils
 BuildRequires:  dSFMT-devel
@@ -107,8 +125,6 @@ BuildRequires:  utf8proc-devel >= 2.1
 BuildRequires:  zlib-devel
 Requires:       julia-common = %{version}-%{release}
 Requires:       ca-certificates
-# libcurl-minimal lacks features that Julia relies on
-Requires:       libcurl-full
 Requires:       p7zip-plugins
 # Libraries used by CompilerSupportLibraries_jll and blastrampoline
 # but not detected as they are dlopen()ed but not linked to
@@ -190,6 +206,9 @@ pushd deps/srccache
     cp -p %SOURCE8 .
     cp -p %SOURCE9 .
     cp -p %SOURCE10 .
+    cp -p %SOURCE11 .
+    cp -p %SOURCE12 .
+    cp -p %SOURCE13 .
 popd
 
 cp -p %SOURCE6 contrib/julia.svg
@@ -247,7 +266,7 @@ cp -p %SOURCE6 contrib/julia.svg
 %endif
 
 # About build, build_libdir and build_bindir, see https://github.com/JuliaLang/julia/issues/5063#issuecomment-32628111
-%global commonopts USE_SYSTEM_LLVM=0 USE_SYSTEM_LIBUNWIND=0 USE_SYSTEM_PCRE=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_SYSTEM_GMP=0 USE_SYSTEM_MPFR=1 USE_SYSTEM_LIBSUITESPARSE=1 USE_SYSTEM_DSFMT=1 USE_SYSTEM_LIBUV=0 USE_SYSTEM_UTF8PROC=1 USE_SYSTEM_LIBGIT2=1 USE_SYSTEM_LIBSSH2=1 USE_SYSTEM_MBEDTLS=1 USE_SYSTEM_CURL=1 USE_SYSTEM_PATCHELF=1 USE_SYSTEM_LIBM=0 USE_SYSTEM_OPENLIBM=1 USE_SYSTEM_ZLIB=1 USE_SYSTEM_P7ZIP=1 USE_SYSTEM_NGHTTP2=1 USE_SYSTEM_CSL=1 USE_SYSTEM_LIBBLASTRAMPOLINE=0 USE_SYSTEM_LIBWHICH=0 USE_BINARYBUILDER=0 USE_BINARYBUILDER_LLVM=0 BUNDLE_DEBUG_LIBS=0 JULIA_SPLITDEBUG=1 TAGGED_RELEASE_BANNER="Fedora %{fedora} build" VERBOSE=1 %{march} %{cpu_target} %{blas} %{suitesparse_lib} prefix=%{_prefix} bindir=%{_bindir} libdir=%{_libdir} libexecdir=%{_libexecdir} datarootdir=%{_datarootdir} includedir=%{_includedir} sysconfdir=%{_sysconfdir} build_prefix=%{_builddir}/%{buildsubdir}/build%{_prefix} build_libdir=%{_builddir}/%{buildsubdir}/build%{_libdir} JULIA_CPU_THREADS=$(echo %{?_smp_mflags} | sed s/-j//)
+%global commonopts USE_SYSTEM_LLVM=0 USE_SYSTEM_LIBUNWIND=0 USE_SYSTEM_PCRE=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_SYSTEM_GMP=0 USE_SYSTEM_MPFR=1 USE_SYSTEM_LIBSUITESPARSE=1 USE_SYSTEM_DSFMT=1 USE_SYSTEM_LIBUV=0 USE_SYSTEM_UTF8PROC=1 USE_SYSTEM_LIBGIT2=1 USE_SYSTEM_LIBSSH2=0 USE_SYSTEM_MBEDTLS=0 USE_SYSTEM_CURL=0 USE_SYSTEM_PATCHELF=1 USE_SYSTEM_LIBM=0 USE_SYSTEM_OPENLIBM=1 USE_SYSTEM_ZLIB=1 USE_SYSTEM_P7ZIP=1 USE_SYSTEM_NGHTTP2=1 USE_SYSTEM_CSL=1 USE_SYSTEM_LIBBLASTRAMPOLINE=0 USE_SYSTEM_LIBWHICH=0 USE_BINARYBUILDER=0 USE_BINARYBUILDER_LLVM=0 BUNDLE_DEBUG_LIBS=0 JULIA_SPLITDEBUG=1 TAGGED_RELEASE_BANNER="Fedora %{fedora} build" VERBOSE=1 %{march} %{cpu_target} %{blas} %{suitesparse_lib} prefix=%{_prefix} bindir=%{_bindir} libdir=%{_libdir} libexecdir=%{_libexecdir} datarootdir=%{_datarootdir} includedir=%{_includedir} sysconfdir=%{_sysconfdir} build_prefix=%{_builddir}/%{buildsubdir}/build%{_prefix} build_libdir=%{_builddir}/%{buildsubdir}/build%{_libdir} JULIA_CPU_THREADS=$(echo %{?_smp_mflags} | sed s/-j//)
 
 
 %build
@@ -486,6 +505,8 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
 %{_datarootdir}/julia/stdlib/
 %{_datarootdir}/julia/base.cache
 %{_datarootdir}/julia/cert.pem
+# files in testhelpers/ subdirectory are needed to precompile sysimages
+%{_datarootdir}/julia/test/
 
 %dir %{_sysconfdir}/julia/
 %config(noreplace) %{_sysconfdir}/julia/startup.jl
@@ -497,7 +518,6 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
 %{_libdir}/libjulia.so
 %{_libdir}/julia/libccalltest.so.debug
 %{_includedir}/julia/
-%{_datarootdir}/julia/test/
 
 %post
 /sbin/ldconfig
@@ -505,6 +525,16 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
 exit 0
 
 %changelog
+* Wed Aug 28 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.9-beta1
+- Avoid listing bundled libraries as Provides.
+
+* Wed Aug 28 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.8-beta1
+- Again really fix error when using CURL with OpenSSL_jll.
+
+* Wed Aug 28 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.7-beta1
+- Fix error when precompiling sysimages.
+- Fix error when using CURL with OpenSSL_jll.
+
 * Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-6.beta1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
 

diff --git a/sources b/sources
index f1e16c1..cea2571 100644
--- a/sources
+++ b/sources
@@ -9,3 +9,6 @@ SHA512 (gmp-6.3.0.tar.bz2) = 3b684c9bcb9ede2b7e54d0ba4c9764bfa17c20d4f3000017c55
 SHA512 (ittapi-0014aec56fea2f30c1374f40861e1bccdd53d0cb.tar.gz) = 4dd3343837398ada0cdcdaaff630d8d91738d166897d86b77770facde30da99dbb90931b58a4a887399e6bc9a7a1c245057d0a0f63762230d577d71da871701f
 SHA512 (JuliaSyntax-4f1731d6ce7c2465fc21ea245110b7a39f34658a.tar.gz) = 1bdad624f61482b55deba8727fea1c087bfaea9e1f8afa3b44b984441fb7e663dac067baa4a96ae2d4cbd4a46ae8c87e9d20d2dfcd17046ad194711304184e57
 SHA512 (JuliaSyntaxHiglighting-4110caaf4fcdf0c614fd3ecd7c5bf589ca82ac63.tar.gz) = 0386841dcf30ee53f7f95dd3206e1208482507d157aa09739873de2a56e5ca3d7bbf27eccd9f4ed81c1c0fea229673475f6454fe94df0ff960563ca4c29ed36c
+SHA512 (curl-8.6.0.tar.bz2) = 726fe7e21f8a2a925ab4ab6fe4e4ad099105f00656bfdc702beec12e1549ba2cb63d908d1d19f43b90feeb1d950ae5a6ac9a72a27447f5acf1907df396d1823c
+SHA512 (libssh2-1c3f1b7da588f2652260285529ec3c1f1125eb4e.tar.gz) = 7c99d33e60862e2d89bbcc4a09ffff3fbfb921ed674e0d3166a255c72a8e0622a9c6be64f0eb2f8c12ddd80da0307b05d761615b876194bd854aa2c62e26f4ad
+SHA512 (mbedtls-2.28.6.tar.gz) = a5c876489bf89908f34626c879f68e8f962d84b50756df17b6b75dfb93e08fe163ed3f32bf70e89bce9080d15257a4cbd2679b743bf8f2e2d7a04606c5811c05

diff --git a/julia.spec b/julia.spec
index 64c9635..30ea9ed 100644
--- a/julia.spec
+++ b/julia.spec
@@ -525,19 +525,19 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
 exit 0
 
 %changelog
-* Mon Jun 10 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.9-beta1
+* Wed Aug 28 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.9-beta1
 - Avoid listing bundled libraries as Provides.
 
-* Thu Jun 6 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.8-beta1
+* Wed Aug 28 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.8-beta1
 - Again really fix error when using CURL with OpenSSL_jll.
 
-* 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
+* Wed Aug 28 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.7-beta1
 - Fix error when precompiling sysimages.
 - Fix error when using CURL with OpenSSL_jll.
 
+* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-6.beta1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
+
 * Fri May 3 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.5-beta1
 - Fix missing dependency on libquadmath.
 

                 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=179616125950.1.847140534549953539.rpms-julia-126c8d7d8888@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