public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/julia] epel10: Fix build
@ 2026-12-01 21:41 Milan Bouchet-Valat
  0 siblings, 0 replies; 2+ messages in thread
From: Milan Bouchet-Valat @ 2026-12-01 21:41 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/julia
Branch : epel10
Commit : ac8be06a156566af2e857d9bd04de0d2e32f3154
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date   : 2024-09-23T11:16:55+02:00
Stats  : +10/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/julia/c/ac8be06a156566af2e857d9bd04de0d2e32f3154?branch=epel10

Log:
Fix build

---
diff --git a/.gitignore b/.gitignore
index 2ad238d..4298585 100644
--- a/.gitignore
+++ b/.gitignore
@@ -139,3 +139,4 @@
 /mbedtls-2.28.6.tar.gz
 /julia-1.11.0-rc3.tar.gz
 /blastrampoline-05083d50611b5538df69706f0a952d8e642b0b4b.tar.gz
+/TermInfoDB.v2023.12.9.any.tar.gz

diff --git a/julia.spec b/julia.spec
index 76021de..2420d0a 100644
--- a/julia.spec
+++ b/julia.spec
@@ -25,6 +25,9 @@
 
 %global mbedtlsversion 2.28.6
 
+%global terminfoversion 2023.12.9
+%global terminfocommit TermInfoDB-v%{terminfoversion}+0
+
 %global juliasyntaxcommit 4f1731d6ce7c2465fc21ea245110b7a39f34658a
 %global juliasyntaxhighlightingcommit 4110caaf4fcdf0c614fd3ecd7c5bf589ca82ac63
 
@@ -63,6 +66,7 @@ Source10:       https://api.github.com/repos/JuliaLang/JuliaSyntaxHighlighting.j
 Source11:       https://curl.se/download/curl-%{curlversion}.tar.bz2
 Source12:       https://api.github.com/repos/libssh2/libssh2/tarball/%{libssh2commit}#/libssh2-%{libssh2commit}.tar.gz
 Source13:       https://github.com/Mbed-TLS/mbedtls/archive/v%{mbedtlsversion}.tar.gz#/mbedtls-%{mbedtlsversion}.tar.gz
+Source14:       https://github.com/JuliaBinaryWrappers/TermInfoDB_jll.jl/releases/download/%{terminfocommit}/TermInfoDB.v%{terminfoversion}.any.tar.gz#/TermInfoDB-v%{terminfoversion}.any.tar.gz
 # https://github.com/JuliaLang/julia/pull/54367
 Patch0:         julia-Build-mbedTLS-libssh2-nghttp2-and-curl-disregarding.patch
 Provides:       bundled(libuv) = %{uvversion}
@@ -207,6 +211,7 @@ pushd deps/srccache
     cp -p %SOURCE11 .
     cp -p %SOURCE12 .
     cp -p %SOURCE13 .
+    cp -p %SOURCE14 .
 popd
 
 cp -p %SOURCE6 contrib/julia.svg
@@ -302,6 +307,9 @@ sed "s/@test rand(orig) == rand()//" -i stdlib/Test/test/runtests.jl
 # Disable test that fails because Julia process doesn't error as expected
 sed "s/mktempdir() do pfx/false \&\& mktempdir() do pfx/" -i test/compiler/codegen.jl
 
+# Increase tolerance as times on build machines are not very reliable
+sed "s/after_comp - before_comp < 6_000_000_000/after_comp - before_comp < 600_000_000_000/" -i test/misc.jl
+
 # Decrease debuginfo verbosity to reduce memory consumption during final library linking
 %ifarch %{arm} %{ix86}
 %global build_cflags %(echo %{build_cflags} | sed 's/-g /-g1 /')

diff --git a/sources b/sources
index 49491bd..234ad50 100644
--- a/sources
+++ b/sources
@@ -12,3 +12,4 @@ SHA512 (JuliaSyntaxHiglighting-4110caaf4fcdf0c614fd3ecd7c5bf589ca82ac63.tar.gz) 
 SHA512 (curl-8.6.0.tar.bz2) = 726fe7e21f8a2a925ab4ab6fe4e4ad099105f00656bfdc702beec12e1549ba2cb63d908d1d19f43b90feeb1d950ae5a6ac9a72a27447f5acf1907df396d1823c
 SHA512 (libssh2-1c3f1b7da588f2652260285529ec3c1f1125eb4e.tar.gz) = 7c99d33e60862e2d89bbcc4a09ffff3fbfb921ed674e0d3166a255c72a8e0622a9c6be64f0eb2f8c12ddd80da0307b05d761615b876194bd854aa2c62e26f4ad
 SHA512 (mbedtls-2.28.6.tar.gz) = a5c876489bf89908f34626c879f68e8f962d84b50756df17b6b75dfb93e08fe163ed3f32bf70e89bce9080d15257a4cbd2679b743bf8f2e2d7a04606c5811c05
+SHA512 (TermInfoDB.v2023.12.9.any.tar.gz) = e0a5bfe54346f9d5690a840628b329f6fac7375b0d29337bc70813ae3553a72bb397f8034d221c544289e40c4cfc685d5805777b7528f05bbe0123b5905c24a4

^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [rpms/julia] epel10: Fix build
@ 2026-12-01 21:39 Milan Bouchet-Valat
  0 siblings, 0 replies; 2+ messages in thread
From: Milan Bouchet-Valat @ 2026-12-01 21:39 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/julia
Branch : epel10
Commit : 0077bf5a3919805c7aed7dcc2ea0e200b43ba201
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date   : 2021-08-22T09:18:04+02:00
Stats  : +18/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/julia/c/0077bf5a3919805c7aed7dcc2ea0e200b43ba201?branch=epel10

Log:
Fix build

---
diff --git a/julia.spec b/julia.spec
index da61b01..a2c4854 100644
--- a/julia.spec
+++ b/julia.spec
@@ -3,7 +3,10 @@
 
 %global llvmversion 12.0.0
 
+%global libwhichversion 1.1.0
 %global libwhichcommit 81e9723c0273d78493dc8c8ed570f68d9ce7e89e
+
+%global blastrampolineversion 3.1.0
 %global blastrampolinecommit 23de7a09bf354fe6f655c457bab5bf47fdd2486d
 
 %global pkgcommit df2476a01c01cdadd553dbf010b21fabe7e211d3
@@ -11,10 +14,10 @@
 
 %global logocommit 168fb6c1164e341df360ed6ced519e1e0cb7de3a
 
-%global __provides_exclude_from ^%{_libdir}/%{name}/.*\\.so$
+%global __provides_exclude_from ^%{_libdir}/%{name}/.*\\.so.*$
 # List all bundled libraries here
 # OpenBLAS is excluded because we set a symlink to libopenblasp
-%global _privatelibs lib(openblas_|openblas64_|ccalltest|LLVM-.*|uv)\\.so.*
+%global _privatelibs lib(julia-internal|openblas_|openblas64_|ccalltest|LLVM-.*|uv|blastrampoline)\\.so.*
 %global __provides_exclude ^(%{_privatelibs})$
 %global __requires_exclude ^(%{_privatelibs})$
 
@@ -37,6 +40,8 @@ Source6:        https://raw.githubusercontent.com/JuliaLang/julia-logo-graphics/
 Source7:        https://api.github.com/repos/staticfloat/libblastrampoline/tarball/%{blastrampolinecommit}#/blastrampoline-%{blastrampolinecommit}.tar.gz
 Provides:       bundled(libuv) = %{uvversion}
 Provides:       bundled(llvm) = %{llvmversion}
+Provides:       bundled(libblastrampoline) = %{blastrampolineversion}
+Provides:       bundled(libwhich) = %{libwhichversion}
 BuildRequires:  ca-certificates
 BuildRequires:  desktop-file-utils
 BuildRequires:  dSFMT-devel
@@ -70,9 +75,9 @@ BuildRequires:  patchelf
 BuildRequires:  perl
 BuildRequires:  p7zip-plugins
 %if 0%{?__isa_bits} == 64
-BuildRequires:  suitesparse64_-devel >= 5.10
+BuildRequires:  suitesparse64_-devel >= 4.1
 %else
-BuildRequires:  suitesparse-devel >= 5.10
+BuildRequires:  suitesparse-devel >= 4.1
 %endif
 BuildRequires:  utf8proc-devel >= 2.1
 BuildRequires:  zlib-devel
@@ -208,7 +213,7 @@ cp -p %SOURCE6 contrib/julia.svg
 %endif
 
 # About build, build_libdir and build_bindir, see https://github.com/JuliaLang/julia/issues/5063#issuecomment-32628111
-%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=1 USE_SYSTEM_LIBSUITESPARSE=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 USE_SYSTEM_ZLIB=1 USE_SYSTEM_P7ZIP=1 USE_SYSTEM_NGHTTP2=1 USE_SYSTEM_CSL=1 USE_BINARYBUILDER=0 BUNDLE_DEBUG_LIBS=0 JULIA_SPLITDEBUG=1 TAGGED_RELEASE_BANNER="Fedora %{fedora} build" VERBOSE=1 %{march} %{cpu_target} %{blas} %{suitesparse_lib} prefix=%{_prefix} bindir=%{_bindir} libdir=%{_libdir} libexecdir=%{_libexecdir} datarootdir=%{_datarootdir} includedir=%{_includedir} sysconfdir=%{_sysconfdir} build_prefix=%{_builddir}/%{buildsubdir}/build%{_prefix} JULIA_CPU_THREADS=$(echo %{?_smp_mflags} | sed s/-j//)
+%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=1 USE_SYSTEM_LIBSUITESPARSE=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 USE_SYSTEM_ZLIB=1 USE_SYSTEM_P7ZIP=1 USE_SYSTEM_NGHTTP2=1 USE_SYSTEM_CSL=1 USE_SYSTEM_LIBBLASTRAMPOLINE=0 USE_SYSTEM_LIBWHICH=0 USE_BINARYBUILDER=0 BUNDLE_DEBUG_LIBS=0 JULIA_SPLITDEBUG=1 TAGGED_RELEASE_BANNER="Fedora %{fedora} build" VERBOSE=1 %{march} %{cpu_target} %{blas} %{suitesparse_lib} prefix=%{_prefix} bindir=%{_bindir} libdir=%{_libdir} libexecdir=%{_libexecdir} datarootdir=%{_datarootdir} includedir=%{_includedir} sysconfdir=%{_sysconfdir} build_prefix=%{_builddir}/%{buildsubdir}/build%{_prefix} JULIA_CPU_THREADS=$(echo %{?_smp_mflags} | sed s/-j//)
 
 
 %build
@@ -255,7 +260,12 @@ mkdir -p %{_builddir}/%{buildsubdir}/build/usr/lib/
 ln -sf %{_libdir}/libgcc_s.so.1 %{_builddir}/%{buildsubdir}/build/usr/lib/libgcc_s.so.1
 
 # Work around https://github.com/staticfloat/libblastrampoline/issues/44
-make %{?_smp_mflags} CFLAGS="%build_cflags -fPIC -DLIBRARY_EXPORTS" LDFLAGS="%{build_ldflags} -shared" %{commonopts} -C deps install-blastrampoline
+# and https://github.com/staticfloat/libblastrampoline/issues/50
+%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
+%else
+make %{?_smp_mflags} CFLAGS="%{build_ldflags} -fno-lto -fPIC -DLIBRARY_EXPORTS" LDFLAGS="%{build_ldflags} -shared" %{commonopts} -C deps install-blastrampoline
+%endif
 
 make %{?_smp_mflags} %{buildflags} %{commonopts} release
 
@@ -421,8 +431,9 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
 exit 0
 
 %changelog
-* Thu Aug 12 2021 Milan Bouchet-Valat <nalimilan@club.fr> - 1.7.0beta3-1
+* Sat Aug 21 2021 Milan Bouchet-Valat <nalimilan@club.fr> - 1.7.0beta3-1
 - New upstream release.
+- Avoid including private libraries in Provides.
 
 * Thu Jul 29 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.6.1-3
 - Rebuild for new openlibm

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-12-01 21:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 21:41 [rpms/julia] epel10: Fix build Milan Bouchet-Valat
  -- strict thread matches above, loose matches on Subject: below --
2026-12-01 21:39 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