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: Fix build by removing libunwind version check
Date: Tue, 01 Dec 2026 21:38:56 GMT [thread overview]
Message-ID: <179616113660.1.4179639602766885445.rpms-julia-87fa3cf8ec80@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/julia
Branch : epel10
Commit : 87fa3cf8ec8022a6deac60bd1b7e655b6a7eb3f8
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date : 2018-03-23T18:40:13+01:00
Stats : +23/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/julia/c/87fa3cf8ec8022a6deac60bd1b7e655b6a7eb3f8?branch=epel10
Log:
Fix build by removing libunwind version check
---
diff --git a/julia.spec b/julia.spec
index a689f62..2c7593c 100644
--- a/julia.spec
+++ b/julia.spec
@@ -5,7 +5,7 @@
Name: julia
Version: 0.6.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: High-level, high-performance dynamic language for technical computing
Group: Development/Languages
# Julia itself is MIT, with a few LGPLv2+ and GPLv2+ files
@@ -15,6 +15,7 @@ URL: http://julialang.org/
Source0: https://github.com/JuliaLang/julia/releases/download/v%{version}/julia-%{version}.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
+Patch0: julia_unwind_version.patch
Provides: bundled(libuv) = %{uvversion}
BuildRequires: arpack-devel
BuildRequires: desktop-file-utils
@@ -98,6 +99,8 @@ Julia into external programs or debugging Julia itself.
%prep
%setup -q
+%patch0 -p1
+
mkdir -p deps/srccache
pushd deps/srccache
@@ -249,6 +252,9 @@ exit 0
/usr/bin/gtk-update-icon-cache %{_datarootdir}/icons/hicolor &>/dev/null || :
%changelog
+* Fri Mar 23 2018 Milan Bouchet-Valat <nalimilan@club.fr> - 0.6.2-3
+- Work around bug in UNW_VERSION_MINOR not being a single integer by removing redundant check.
+
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/julia_unwind_version.patch b/julia_unwind_version.patch
new file mode 100644
index 0000000..e1df0b9
--- /dev/null
+++ b/julia_unwind_version.patch
@@ -0,0 +1,16 @@
+diff -ru a/src/julia_internal.h b/src/julia_internal.h
+--- a/src/julia_internal.h 2017-12-13 20:01:57.000000000 +0100
++++ b/src/julia_internal.h 2018-03-23 17:41:54.420474220 +0100
+@@ -642,12 +642,7 @@
+ # include <libunwind.h>
+ typedef unw_context_t bt_context_t;
+ typedef unw_cursor_t bt_cursor_t;
+-# if (!defined(SYSTEM_LIBUNWIND) || UNW_VERSION_MAJOR > 1 || \
+- (UNW_VERSION_MAJOR == 1 && UNW_VERSION_MINOR > 1))
+-// Enable our memory manager only for libunwind with our patch or
+-// on a newer release
+ # define JL_UNW_HAS_FORMAT_IP 1
+-# endif
+ #endif
+ size_t rec_backtrace(uintptr_t *data, size_t maxsize);
+ size_t rec_backtrace_ctx(uintptr_t *data, size_t maxsize, bt_context_t *ctx);
reply other threads:[~2026-12-01 21:38 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=179616113660.1.4179639602766885445.rpms-julia-87fa3cf8ec80@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