public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/julia] epel10: New upstream release 1.8.0-beta3
@ 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 : 80f358f9ed3b2d4da4bdb2e880bb416168d3f98d
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date : 2022-07-30T23:04:52+02:00
Stats : +38/-114 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/julia/c/80f358f9ed3b2d4da4bdb2e880bb416168d3f98d?branch=epel10
Log:
New upstream release 1.8.0-beta3
Fixes FTBFS.
---
diff --git a/.gitignore b/.gitignore
index 5cb3f76..a12177b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -97,3 +97,9 @@
/julia-1.7.2.tar.gz
/libunwind-1.3.2.tar.gz
/julia-1.7.3.tar.gz
+/blastrampoline-d32042273719672c6669f6442a0be5605d434b70.tar.gz
+/llvm-julia-13.0.1-0.tar.gz
+/julia-1.8.0-beta3.tar.gz
+/Statistics-61a021bcb330e6c52f2435f2abaffc77875ab6f2.tar.gz
+/Pkg-e31a3dc77201e1c7c469f6d4572c521f93fefb20.tar.gz
+/libunwind-1.5.0.tar.gz
diff --git a/julia-libgit-1.2.patch b/julia-libgit-1.2.patch
deleted file mode 100644
index fd1be48..0000000
--- a/julia-libgit-1.2.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/stdlib/LibGit2/src/types.jl b/stdlib/LibGit2/src/types.jl
-index 9ffcaa3646..5f571e7b26 100644
---- a/stdlib/LibGit2/src/types.jl
-+++ b/stdlib/LibGit2/src/types.jl
-@@ -230,6 +230,9 @@ Matches the [`git_remote_callbacks`](https://libgit2.org/libgit2/#HEAD/type/git_
- push_update_reference::Ptr{Cvoid} = C_NULL
- push_negotiation::Ptr{Cvoid} = C_NULL
- transport::Ptr{Cvoid} = C_NULL
-+ @static if LibGit2.VERSION >= v"1.2.0"
-+ remote_ready::Ptr{Cvoid} = C_NULL
-+ end
- payload::Any = nothing
- @static if LibGit2.VERSION >= v"0.99.0"
- resolve_url::Ptr{Cvoid} = C_NULL
diff --git a/julia.spec b/julia.spec
index 4ae26c3..ffd7172 100644
--- a/julia.spec
+++ b/julia.spec
@@ -1,21 +1,21 @@
%global uvcommit 3a63bf71de62c64097989254e4f03212e3bf5fc8
%global uvversion 2.0.0
-%global llvmversion 12.0.1-4
-%global llvmcommit julia-12.0.1-4
+%global llvmversion 13.0.1-0
+%global llvmcommit julia-13.0.1-0
%global libwhichversion 1.1.0
%global libwhichcommit 81e9723c0273d78493dc8c8ed570f68d9ce7e89e
-%global blastrampolineversion 3.0.4
-%global blastrampolinecommit 23de7a09bf354fe6f655c457bab5bf47fdd2486d
+%global blastrampolineversion 5.0.1
+%global blastrampolinecommit d32042273719672c6669f6442a0be5605d434b70
# Bundled until Julia supports libunwind 1.6
# https://bugzilla.redhat.com/show_bug.cgi?id=2045732
-%global libunwindversion 1.3.2
+%global libunwindversion 1.5.0
-%global pkgcommit 0d6a726e91a6a29b3f47fca2396ca5ea7fa5511b
-%global statisticscommit 5256d570d0a554780ed80949c79116f47eac6382
+%global pkgcommit e31a3dc77201e1c7c469f6d4572c521f93fefb20
+%global statisticscommit 61a021bcb330e6c52f2435f2abaffc77875ab6f2
%global logocommit 168fb6c1164e341df360ed6ced519e1e0cb7de3a
@@ -26,14 +26,14 @@
%global __requires_exclude ^(%{_privatelibs})$
Name: julia
-Version: 1.7.3
-Release: 2%{?dist}
+Version: 1.8.0
+Release: 0.1.beta3%{?dist}
Summary: High-level, high-performance dynamic language for technical computing
# Julia itself is MIT, with a few LGPLv2+ and GPLv2+ files
# libuv is MIT
License: MIT and LGPLv2+ and GPLv2+
URL: http://julialang.org/
-Source0: https://github.com/JuliaLang/julia/releases/download/v%{version}/julia-%{version}.tar.gz
+Source0: https://github.com/JuliaLang/julia/releases/download/v1.8.0-beta3/julia-1.8.0-beta3.tar.gz
# Julia currently uses a custom version of libuv, patches are not yet upstream
Source1: https://api.github.com/repos/JuliaLang/libuv/tarball/%{uvcommit}#/libuv-%{uvcommit}.tar.gz
Source2: https://api.github.com/repos/JuliaLang/llvm-project/tarball/%{llvmcommit}#/llvm-%{llvmcommit}.tar.gz
@@ -42,11 +42,7 @@ Source4: https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/%{pkgcommi
Source5: https://api.github.com/repos/JuliaLang/Statistics.jl/tarball/%{statisticscommit}#/Statistics-%{statisticscommit}.tar.gz
Source6: https://raw.githubusercontent.com/JuliaLang/julia-logo-graphics/%{logocommit}/images/julia-logo-color.svg
Source7: https://api.github.com/repos/staticfloat/libblastrampoline/tarball/%{blastrampolinecommit}#/blastrampoline-%{blastrampolinecommit}.tar.gz
-Source8: https://github.com/libunwind/libunwind/releases/download/v%{libunwindversion}/libunwind-%{libunwindversion}.tar.gz
-# https://github.com/JuliaLang/julia/issues/43249
-Patch0: https://raw.githubusercontent.com/archlinux/svntogit-community/packages/julia/trunk/julia-libgit-1.2.patch
-# From https://github.com/libunwind/libunwind/pull/166/
-Patch1: libunwind-1.5-fno-common.patch
+Source8: https://github.com/libunwind/libunwind/releases/download/v1.5/libunwind-%{libunwindversion}.tar.gz
Provides: bundled(libuv) = %{uvversion}
Provides: bundled(llvm) = %{llvmversion}
Provides: bundled(libblastrampoline) = %{blastrampolineversion}
@@ -64,7 +60,7 @@ BuildRequires: gmp-devel >= 5.0
BuildRequires: hostname
BuildRequires: ImageMagick
BuildRequires: libatomic
-BuildRequires: libunwind-devel >= 1.3
+BuildRequires: libunwind-devel >= 1.5
BuildRequires: openblas-devel
BuildRequires: openblas-threads
BuildRequires: openlibm-devel >= 0.4
@@ -150,8 +146,7 @@ needed when programming in the Julia language, but rather for embedding
Julia into external programs or debugging Julia itself.
%prep
-%setup -q -n julia-%{version}
-%patch0 -p1
+%setup -q -n julia-1.8.0-beta3
# Avoid gcc12 internal float16 truncation/extension function symbol collision
# (rhbz#2044284)
@@ -178,21 +173,9 @@ pushd deps/srccache
rm -rf JuliaLang-llvm-project-*/
cp -p %SOURCE3 .
cp -p %SOURCE7 .
- #cp -p %SOURCE8 .
- # libunwind-1.3.2 need patching
- gzip -dc %SOURCE8 | tar xf -
- pushd libunwind-%{libunwindversion}/
- cat %PATCH1 | patch -p1
- popd
- tar czf libunwind-%{libunwindversion}.tar.gz libunwind-%{libunwindversion}/
- rm -rf libunwind-%{libunwindversion}/
+ cp -p %SOURCE8 .
popd
-target=libunwind-%{libunwindversion}.tar.gz
-sed -i deps/checksums/unwind \
- -e "\@^${target}@s|/md5/.*|/md5/$(md5sum deps/srccache/${target} | sed -e 's| .*||' )|" \
- -e "\@^${target}@s|/sha512/.*|/sha512/$(sha512sum deps/srccache/${target} | sed -e 's| .*||')|" \
- %{nil}
target=$(basename %SOURCE2)
sed -i deps/checksums/llvm \
-e "\@^${target}@s|/md5/.*|/md5/$(md5sum deps/srccache/${target} | sed -e 's| .*||' )|" \
@@ -263,6 +246,10 @@ cp -p %SOURCE6 contrib/julia.svg
%build
+# LTO currently makes building blastrampoline and Julia itself fail
+# It is not enabled upstream anyway
+%global _lto_cflags %nil
+
# Workaround for https://github.com/JuliaLang/julia/issues/27118
%global build_cxxflags %(echo %{build_cxxflags} | sed 's/-Wp,-D_GLIBCXX_ASSERTIONS //')
# Workaround for https://github.com/JuliaLang/julia/issues/39822
@@ -313,10 +300,12 @@ export LD_LIBRARY_PATH=%{_builddir}/%{buildsubdir}/build/usr/lib
# Work around https://github.com/staticfloat/libblastrampoline/issues/44
# and https://github.com/staticfloat/libblastrampoline/issues/50
+# -Wno-error is needed to cancel -Werror passed upstream, see
+# https://github.com/JuliaLinearAlgebra/libblastrampoline/pull/81
%if 0%{?__isa_bits} == 64
-make %{?_smp_mflags} CFLAGS="%{build_ldflags} -fno-lto -fPIC -DLIBRARY_EXPORTS -DF2C_AUTODETECTION" LDFLAGS="%{build_ldflags} -shared" %{commonopts} -C deps install-blastrampoline
+make %{?_smp_mflags} CFLAGS="%{build_cflags} -fPIC -DLIBRARY_EXPORTS -DF2C_AUTODETECTION -Wno-error" LDFLAGS="%{build_ldflags} -shared" %{commonopts} -C deps install-blastrampoline
%else
-make %{?_smp_mflags} CFLAGS="%{build_ldflags} -fno-lto -fPIC -DLIBRARY_EXPORTS" LDFLAGS="%{build_ldflags} -shared" %{commonopts} -C deps install-blastrampoline
+make %{?_smp_mflags} CFLAGS="%{build_cflags} -fPIC -DLIBRARY_EXPORTS -Wno-error" LDFLAGS="%{build_ldflags} -shared" %{commonopts} -C deps install-blastrampoline
%endif
make %{?_smp_mflags} %{buildflags} %{commonopts} release
@@ -502,6 +491,10 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
exit 0
%changelog
+* Sat Jul 30 2022 Milan Bouchet-Valat <nalimilan@club.fr> - 1.8.0-0.1.beta3
+- New upstream release.
+- Disable LTO to fix build failures.
+
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
diff --git a/libunwind-1.5-fno-common.patch b/libunwind-1.5-fno-common.patch
deleted file mode 100644
index da21874..0000000
--- a/libunwind-1.5-fno-common.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 29e17d8d2ccbca07c423e3089a6d5ae8a1c9cb6e Mon Sep 17 00:00:00 2001
-From: Yichao Yu <yyc1992@gmail.com>
-Date: Tue, 31 Mar 2020 00:43:32 -0400
-Subject: [PATCH] Fix compilation with -fno-common.
-
-Making all other archs consistent with IA64 which should not have this problem.
-Also move the FIXME to the correct place.
-
-Also add some minimum comments about this...
----
- src/aarch64/Ginit.c | 15 +++++++--------
- src/arm/Ginit.c | 15 +++++++--------
- src/coredump/_UPT_get_dyn_info_list_addr.c | 5 +++++
- src/hppa/Ginit.c | 15 +++++++--------
- src/ia64/Ginit.c | 1 +
- src/mi/Gfind_dynamic_proc_info.c | 1 +
- src/mips/Ginit.c | 15 +++++++--------
- src/ppc32/Ginit.c | 11 +++++++----
- src/ppc64/Ginit.c | 11 +++++++----
- src/ptrace/_UPT_get_dyn_info_list_addr.c | 5 +++++
- src/s390x/Ginit.c | 15 +++++++--------
- src/sh/Ginit.c | 15 +++++++--------
- src/tilegx/Ginit.c | 15 +++++++--------
- src/x86/Ginit.c | 15 +++++++--------
- src/x86_64/Ginit.c | 15 +++++++--------
- 15 files changed, 89 insertions(+), 80 deletions(-)
-
-diff --git a/src/x86/Ginit.c b/src/x86/Ginit.c
-index f6b8dc27d..3cec74a21 100644
---- a/src/x86/Ginit.c
-+++ b/src/x86/Ginit.c
-@@ -54,13 +54,6 @@ tdep_uc_addr (ucontext_t *uc, int reg)
-
- # endif /* UNW_LOCAL_ONLY */
-
--HIDDEN unw_dyn_info_list_t _U_dyn_info_list;
--
--/* XXX fix me: there is currently no way to locate the dyn-info list
-- by a remote unwinder. On ia64, this is done via a special
-- unwind-table entry. Perhaps something similar can be done with
-- DWARF2 unwind info. */
--
- static void
- put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg)
- {
-@@ -71,7 +64,13 @@ static int
- get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr,
- void *arg)
- {
-- *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list;
-+#ifndef UNW_LOCAL_ONLY
-+# pragma weak _U_dyn_info_list_addr
-+ if (!_U_dyn_info_list_addr)
-+ return -UNW_ENOINFO;
-+#endif
-+ // Access the `_U_dyn_info_list` from `LOCAL_ONLY` library, i.e. libunwind.so.
-+ *dyn_info_list_addr = _U_dyn_info_list_addr ();
- return 0;
- }
-
-
diff --git a/sources b/sources
index 87347cd..0965111 100644
--- a/sources
+++ b/sources
@@ -1,9 +1,9 @@
-SHA512 (julia-1.7.3.tar.gz) = 9aea270d23d6a4488a5ec007c16bba0afc170eaf49ed7d2ded88a48d708c5eb036c4b5590018aa76cb17fa5c16ce2044a4cdec434727a331a11b1de10efcbbac
-SHA512 (llvm-julia-12.0.1-4.tar.gz) = 476c5488123cda48a864028068253133811f46ef702014ca0c33d5747a4b9408d5952b84154386fe1ac25f31d7f84ea0ee593ef1875b6ae800dd5b81c427c856
-SHA512 (blastrampoline-23de7a09bf354fe6f655c457bab5bf47fdd2486d.tar.gz) = 1c2558bab0aeaa76e7094d8a6a9798c95f2cf4efe2960640b70f1fd752f3dfb73813d9de93b539426376571febaab22ac22c2f903ccdf3296c7b067af92fecdc
-SHA512 (Pkg-0d6a726e91a6a29b3f47fca2396ca5ea7fa5511b.tar.gz) = 392bb91aaf9aa89814b46f96875a797c43350e8879a7edc816ff963f63a5628c5305b942dfffeac73623fc6b55f3ce3f14c225a3ea0e677221e2a02b370c4c29
-SHA512 (Statistics-5256d570d0a554780ed80949c79116f47eac6382.tar.gz) = 15b2ed0b269605b1dab150fccc8e202829278bc4920293b711c611627cd4a61767373895acd1d45a0b37557e8c0cd123673d75944cd08216cffa81dc5186c0fc
+SHA512 (julia-1.8.0-beta3.tar.gz) = cc44e6f81097ff303b929774368f3d90152a3d0fd37a4fbade12dd7dbcd6f3f1d6acaa850979bec09f44d11cc46ff2e48110a1285565f1d76efdd3673df4e703
+SHA512 (llvm-julia-13.0.1-0.tar.gz) = 0d55c1bf3c581551faa077aab7046d1f020e8775ed16f1fbd8ccee65bc8f43173504f5ce1215227fa5e565f2804f8772e2cda039bc333bb23677067a4a3f9f87
+SHA512 (blastrampoline-d32042273719672c6669f6442a0be5605d434b70.tar.gz) = 00437a96b57d99cef946257480e38e1dfdf325c46bc4a1619f5067565dfb7d9f668b0c8415badb0879b933cb1972f3c4e6be4c9e63a8a85728033e2183373819
+SHA512 (Pkg-e31a3dc77201e1c7c469f6d4572c521f93fefb20.tar.gz) = d3630f9fab8b72c9a42d5bb43a7ad4e9e024510b189dd63c581e989960d6478bd6c6c6676f702a0fea8be67c58182a7febd2b63c5934bc86068c7cd4168cdf9b
+SHA512 (Statistics-61a021bcb330e6c52f2435f2abaffc77875ab6f2.tar.gz) = 27e6f153f119638c4ed8e29127db10c1aff4fe5c14217a86a65d2bcb7ffbd3ed8e22613ed26fe0b9ffbb525ba00fc673be989d9da50e10fa12fd9a460ceeddcf
SHA512 (libuv-3a63bf71de62c64097989254e4f03212e3bf5fc8.tar.gz) = 5415e992a20498ae29c09bfdb4819857d15be83367488e9fbd8c5f6a460da4cd2d0dff7eaa6087a4bcf6dee6d1c873acbe5751f5594851c978456665d6a21cf9
SHA512 (libwhich-81e9723c0273d78493dc8c8ed570f68d9ce7e89e.tar.gz) = 6fb77b715d70d9bc95a8546c3bf97bd3677c7ea344b88bb5bc3bbfac9dceabe8a8cde7a0f64dec884cde802e4a3000e30837d3f824b5a9242348c4fe061526a3
SHA512 (julia-logo-color.svg) = 3a7d28884269a471ac21e2c8e67c39d406cb12ac29f61ba5fed03e7a1168e7d3e2e3f1d304a657949ce77b8fa73f15e64947511cc67ab3a7d9708b2579eeea1c
-SHA512 (libunwind-1.3.2.tar.gz) = 221864eae6bf0fde281d9551662af1e539ce919fbb7050947e60dbcc09efed4f5d34574dbce11792513e63151e0af72f02801b7bcd37a6a519e6d868abb8b509
+SHA512 (libunwind-1.5.0.tar.gz) = 1df20ca7a8cee2f2e61294fa9b677e88fec52e9d5a329f88d05c2671c69fa462f6c18808c97ca9ff664ef57292537a844f00b18d142b1938c9da701ca95a4bab
^ 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: New upstream release 1.8.0-beta3 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