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: Drop workaround for Downloads.jl/Multl.jl segfault
Date: Tue, 01 Dec 2026 21:40:16 GMT	[thread overview]
Message-ID: <179616121631.1.2182189383092597302.rpms-julia-d23f979edd5c@fedoraproject.org> (raw)

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

                 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=179616121631.1.2182189383092597302.rpms-julia-d23f979edd5c@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