public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/julia] epel10: Fix CURL/OpenSSL and precompilation errors
@ 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 : d8dbb00ddab32c373fd6eadf2ab359155b964d53
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date : 2024-05-05T12:21:42+02:00
Stats : +25/-5 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/julia/c/d8dbb00ddab32c373fd6eadf2ab359155b964d53?branch=epel10
Log:
Fix CURL/OpenSSL and precompilation errors
---
diff --git a/.gitignore b/.gitignore
index 07fc881..7c756d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -133,3 +133,5 @@
/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
diff --git a/julia.spec b/julia.spec
index ebdb03a..f816088 100644
--- a/julia.spec
+++ b/julia.spec
@@ -16,6 +16,11 @@
%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 juliasyntaxcommit 4f1731d6ce7c2465fc21ea245110b7a39f34658a
@@ -34,7 +39,7 @@
Name: julia
Version: 1.11.0
-Release: 5.beta1%{?dist}
+Release: 6.beta1%{?dist}
Summary: High-level, high-performance dynamic language for technical computing
# Julia itself is MIT
# libuv, libwhich, libblastrampoline and libunwind are MIT
@@ -53,6 +58,8 @@ 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-%{libssh2version}.tar.gz
# https://github.com/JuliaLang/julia/pull/54143
Patch0: julia-Fix-make-install-from-tarballs.patch
Provides: bundled(libuv) = %{uvversion}
@@ -62,6 +69,10 @@ 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
+Provides: bundled(libssh2) = %{libssh2version}
+Provides: bundled(libcurl) = %{curlversion}
BuildRequires: ca-certificates
BuildRequires: desktop-file-utils
BuildRequires: dSFMT-devel
@@ -107,8 +118,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 +199,8 @@ pushd deps/srccache
cp -p %SOURCE8 .
cp -p %SOURCE9 .
cp -p %SOURCE10 .
+ cp -p %SOURCE11 .
+ cp -p %SOURCE12 .
popd
cp -p %SOURCE6 contrib/julia.svg
@@ -247,7 +258,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=1 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 +497,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 +510,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 +517,10 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
exit 0
%changelog
+* 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.
+
* Fri May 3 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.5-beta1
- Fix missing dependency on libquadmath.
diff --git a/sources b/sources
index f1e16c1..f707737 100644
--- a/sources
+++ b/sources
@@ -9,3 +9,5 @@ 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 (libssh2-1.11.0.tar.gz) = 7c99d33e60862e2d89bbcc4a09ffff3fbfb921ed674e0d3166a255c72a8e0622a9c6be64f0eb2f8c12ddd80da0307b05d761615b876194bd854aa2c62e26f4ad
+SHA512 (curl-8.6.0.tar.bz2) = 726fe7e21f8a2a925ab4ab6fe4e4ad099105f00656bfdc702beec12e1549ba2cb63d908d1d19f43b90feeb1d950ae5a6ac9a72a27447f5acf1907df396d1823c
^ 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: Fix CURL/OpenSSL and precompilation errors 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