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 FTBFS by bundling libunwind
Date: Tue, 01 Dec 2026 21:39:01 GMT	[thread overview]
Message-ID: <179616114160.1.11988734740473840408.rpms-julia-f746d61285b5@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/julia
Branch : epel10
Commit : f746d61285b5728e274b8d0328683b7e3bbac1fc
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date   : 2018-09-08T10:47:31+02:00
Stats  : +13/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/julia/c/f746d61285b5728e274b8d0328683b7e3bbac1fc?branch=epel10

Log:
Fix FTBFS by bundling libunwind

---
diff --git a/julia.spec b/julia.spec
index da7bdc7..e17f275 100644
--- a/julia.spec
+++ b/julia.spec
@@ -5,11 +5,13 @@
 
 %global mpfrversion 4.0.1
 
+%global unwindversion 1.1-julia2
+
 %global libwhichcommit 81e9723c0273d78493dc8c8ed570f68d9ce7e89e
 
 Name:           julia
 Version:        1.0.0
-Release:        1%{?dist}
+Release:        2%{?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
@@ -22,11 +24,13 @@ Source1:        https://api.github.com/repos/JuliaLang/libuv/tarball/%{uvcommit}
 Source2:        http://releases.llvm.org/%{llvmversion}/llvm-%{llvmversion}.src.tar.xz
 Source3:        https://www.mpfr.org/mpfr-current/mpfr-%{mpfrversion}.tar.bz2
 Source4:        https://api.github.com/repos/vtjnash/libwhich/tarball/%{libwhichcommit}#/libwhich-%{libwhichcommit}.tar.gz
+Source5:        https://s3.amazonaws.com/julialang/src/libunwind-%{unwindversion}.tar.gz
 Patch0:         julia_unwind_version.patch
 Patch1:         llvm-julia-installdirs-64.patch
-Provides:       bundled(mpfr) = %{mpfrversion}
-Provides:       bundled(llvm) = %{llvmversion}
+Provides:       bundled(libunwind) = %{unwindversion}
 Provides:       bundled(libuv) = %{uvversion}
+Provides:       bundled(llvm) = %{llvmversion}
+Provides:       bundled(mpfr) = %{mpfrversion}
 BuildRequires:  desktop-file-utils
 BuildRequires:  dSFMT-devel
 BuildRequires:  gcc
@@ -126,6 +130,7 @@ pushd deps/srccache
     cp -p %SOURCE2 .
     cp -p %SOURCE3 .
     cp -p %SOURCE4 .
+    cp -p %SOURCE5 .
 popd
 
 # Required so that the image is not optimized for the build CPU
@@ -163,7 +168,7 @@ popd
 
 # About build, build_libdir and build_bindir, see https://github.com/JuliaLang/julia/issues/5063#issuecomment-32628111
 %global julia_builddir %{_builddir}/%{name}/build
-%global commonopts USE_SYSTEM_LLVM=0 USE_SYSTEM_LIBUNWIND=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_LAPACK=1 USE_SYSTEM_GMP=1 USE_SYSTEM_MPFR=0 USE_SYSTEM_SUITESPARSE=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 BUNDLE_DEBUG_LIBS=1 VERBOSE=1 %{march} %{cpu_target} %{blas} prefix=%{_prefix} bindir=%{_bindir} libdir=%{_libdir} libexecdir=%{_libexecdir} datarootdir=%{_datarootdir} includedir=%{_includedir} sysconfdir=%{_sysconfdir} build_prefix=%{julia_builddir}%{_prefix} build_bindir=%{julia_builddir}%{_bindir} build_libdir=%{julia_builddir}%{_libdir} build_private_libdir=%{julia_builddir}%{_libdir}/julia build_libexecdir=%{julia_builddir}%{_libexecdir} build_datarootdir=%{julia_builddir}%{_datarootdir} build_includedir=%{julia_builddir}%{_includedir} build_sysconfdir=%{julia_builddir}%{_sysconfdir} 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=1 USE_SYSTEM_MPFR=0 USE_SYSTEM_SUITESPARSE=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 BUNDLE_DEBUG_LIBS=1 VERBOSE=1 %{march} %{cpu_target} %{blas} prefix=%{_prefix} bindir=%{_bindir} libdir=%{_libdir} libexecdir=%{_libexecdir} datarootdir=%{_datarootdir} includedir=%{_includedir} sysconfdir=%{_sysconfdir} build_prefix=%{julia_builddir}%{_prefix} build_bindir=%{julia_builddir}%{_bindir} build_libdir=%{julia_builddir}%{_libdir} build_private_libdir=%{julia_builddir}%{_libdir}/julia build_libexecdir=%{julia_builddir}%{_libexecdir} build_datarootdir=%{julia_builddir}%{_datarootdir} build_includedir=%{julia_builddir}%{_includedir} build_sysconfdir=%{julia_builddir}%{_sysconfdir} JULIA_CPU_THREADS=$(echo %{?_smp_mflags} | sed s/-j//)
 
 %build
 # Temporary workaround for https://github.com/JuliaLang/julia/issues/27118
@@ -276,7 +281,10 @@ exit 0
 /usr/bin/gtk-update-icon-cache %{_datarootdir}/icons/hicolor &>/dev/null || :
 
 %changelog
-* Fri Sep 7 2018 Milan Bouchet-Valat <nalimilan@club.fr> - 1.0.0
+* Fri Sep 7 2018 Milan Bouchet-Valat <nalimilan@club.fr> - 1.0.0-2
+- Fix FTBFS by bundling libunwind.
+
+* Fri Sep 7 2018 Milan Bouchet-Valat <nalimilan@club.fr> - 1.0.0-1
 - New upstream release 1.0.0.
 
 * Fri Aug 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.3-3

                 reply	other threads:[~2026-12-01 21:39 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=179616114160.1.11988734740473840408.rpms-julia-f746d61285b5@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