public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/julia] epel10: Drop workaround for Downloads.jl/Multl.jl segfault
@ 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 : d23f979edd5c05565a59b52f0bf931a79efadaaa
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date : 2022-05-28T14:57:02+02:00
Stats : +1/-31 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/julia/c/d23f979edd5c05565a59b52f0bf931a79efadaaa?branch=epel10
Log:
Drop workaround for Downloads.jl/Multl.jl segfault
---
diff --git a/julia-1.7.2-multi_jl-curl-7_81-workaround.patch b/julia-1.7.2-multi_jl-curl-7_81-workaround.patch
deleted file mode 100644
index c068698..0000000
--- a/julia-1.7.2-multi_jl-curl-7_81-workaround.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- JuliaLang-Downloads.jl-26d79af/src/Curl/Multi.jl.debug 2021-10-27 07:48:36.000000000 +0900
-+++ JuliaLang-Downloads.jl-26d79af/src/Curl/Multi.jl 2022-02-22 21:11:57.763943806 +0900
-@@ -142,12 +142,7 @@ function timer_callback(
- )::Cint
- multi = unsafe_pointer_to_objref(multi_p)::Multi
- @assert multi_h == multi.handle
-- if timeout_ms == 0
-- lock(multi.lock) do
-- @check curl_multi_socket_action(multi.handle, CURL_SOCKET_TIMEOUT, 0)
-- check_multi_info(multi)
-- end
-- elseif timeout_ms >= 0
-+ if timeout_ms >= 0
- timeout_cb = @cfunction(timeout_callback, Cvoid, (Ptr{Cvoid},))
- uv_timer_start(multi.timer, timeout_cb, max(1, timeout_ms), 0)
- elseif timeout_ms == -1
diff --git a/julia.spec b/julia.spec
index bbc615b..33a88f6 100644
--- a/julia.spec
+++ b/julia.spec
@@ -47,9 +47,6 @@ Source8: https://github.com/libunwind/libunwind/releases/download/v%{libu
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
-# https://github.com/JuliaLang/Downloads.jl/issues/172
-# https://bugzilla.redhat.com/show_bug.cgi?id=2056842
-Patch2: julia-1.7.2-multi_jl-curl-7_81-workaround.patch
Provides: bundled(libuv) = %{uvversion}
Provides: bundled(llvm) = %{llvmversion}
Provides: bundled(libblastrampoline) = %{blastrampolineversion}
@@ -205,20 +202,8 @@ sed -i deps/checksums/llvm \
pushd stdlib/srccache
cp -p %SOURCE4 .
cp -p %SOURCE5 .
-
- mkdir original
- mv Downloads-*.tar.gz original
- gzip -dc original/Downloads-*.tar.gz | tar xf -
- pushd JuliaLang-Downloads.jl-*
- cat %PATCH2 | patch -p1
- popd
- tar czf $(basename original/Downloads-*.tar.gz) JuliaLang-Downloads.jl-*/
popd
-target_dir=$(ls -1d deps/checksums/Downloads-*)
-md5sum stdlib/srccache/Downloads-*.tar.gz | sed -e 's| .*||' $target_dir/md5
-sha512sum stdlib/srccache/Downloads-*.tar.gz | sed -e 's| .*||' > $target_dir/sha512
-
cp -p %SOURCE6 contrib/julia.svg
# Required so that the image is not optimized for the build CPU
@@ -518,6 +503,7 @@ exit 0
%changelog
* Sat May 28 2022 Milan Bouchet-Valat <nalimilan@club.fr> - 1.7.3-1
- New upstream release.
+- Drop workaround for Downloads.jl/Multl.jl segfault with curl 7.81 (rhbz#2056842).
* Fri Apr 8 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.7.2-5
- Filter out libunwind Provides
^ 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: Drop workaround for Downloads.jl/Multl.jl segfault 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