public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/julia] epel10: Fix error on startup
@ 2026-12-01 21:39 Milan Bouchet-Valat
  0 siblings, 0 replies; 3+ 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 : 9520b4de8f694919780deee91a9570623b1b791f
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date   : 2020-03-28T22:38:34+01:00
Stats  : +8/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/julia/c/9520b4de8f694919780deee91a9570623b1b791f?branch=epel10

Log:
Fix error on startup

---
diff --git a/julia.spec b/julia.spec
index 39d2095..a6c2555 100644
--- a/julia.spec
+++ b/julia.spec
@@ -16,7 +16,7 @@
 
 Name:           julia
 Version:        1.4.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        High-level, high-performance dynamic language for technical computing
 # Julia itself is MIT, with a few LGPLv2+ and GPLv2+ files
 # libuv is MIT
@@ -118,6 +118,9 @@ Julia into external programs or debugging Julia itself.
 %prep
 %setup -q
 
+# Until https://github.com/JuliaLang/julia/pull/35273
+sed -i s/libLLVM-8/libLLVM-8jl/ Makefile
+
 %patch0 -p1
 
 %if 0%{?__isa_bits} == 64
@@ -361,7 +364,10 @@ rm -f %{buildroot}%{_datarootdir}/icons/hicolor/icon-theme.cache
 exit 0
 
 %changelog
-* Tue Mar 24 2020 Milan Bouchet-Valat <nalimilan@club.fr> - 1.4.0-0
+* Fri Mar 27 2020 Milan Bouchet-Valat <nalimilan@club.fr> - 1.4.0-2
+- Fix error on startup.
+
+* Tue Mar 24 2020 Milan Bouchet-Valat <nalimilan@club.fr> - 1.4.0-1
 - New upstream release.
 
 * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-6

^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [rpms/julia] epel10: Fix error on startup
@ 2026-12-01 21:40 Milan Bouchet-Valat
  0 siblings, 0 replies; 3+ messages 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 : a1788cf9a11aec456aaf5cee5b4e548448253126
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date   : 2024-05-02T11:26:12+02:00
Stats  : +13/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/julia/c/a1788cf9a11aec456aaf5cee5b4e548448253126?branch=epel10

Log:
Fix error on startup

---
diff --git a/julia.spec b/julia.spec
index 6b3ed07..f4bf54b 100644
--- a/julia.spec
+++ b/julia.spec
@@ -34,7 +34,7 @@
 
 Name:           julia
 Version:        1.11.0
-Release:        0.beta1%{?dist}
+Release:        1.beta1%{?dist}
 Summary:        High-level, high-performance dynamic language for technical computing
 # Julia itself is MIT
 # libuv, libwhich, libblastrampoline and libunwind are MIT
@@ -303,13 +303,21 @@ ln -sf %{_libdir}/libgcc_s.so.1 %{_builddir}/%{buildsubdir}/build/%{_libdir}/lib
 # Work around https://github.com/JuliaLinearAlgebra/libblastrampoline/pull/121
 make %{?_smp_mflags} %{commonopts} binlib=../%{_libdir} -C deps install-blastrampoline
 
-# Workaround library being installed in lib
+# Workaround LLVM being installed in lib and not found
 pushd %{_builddir}/%{buildsubdir}/build/%{_libdir}
     ln -sf ../lib/libLLVM-%{llvmversionmaj}jl.so libLLVM-%{llvmversionmaj}jl.so
 popd
 
 make %{?_smp_mflags} %{commonopts} release
 
+# Now copy LLVM from lib to lib64
+if [ "x%{_lib}" != xlib ] ; then
+  rm -f %{_builddir}/%{buildsubdir}/build/%{_libdir}/libLLVM-%{llvmversionmaj}jl.so
+  cp -a %{_builddir}/%{buildsubdir}/build/usr/lib/* %{_builddir}/%{buildsubdir}/build/%{_libdir}
+  rm -rf %{_builddir}/%{buildsubdir}/build/usr/lib/
+  ln -sf %{_lib} %{_builddir}/%{buildsubdir}/build/usr/lib
+fi
+
 %check
 # Disable tests that require Internet access
 sed "s/ipa = getipaddr()/error()/" -i test/choosetests.jl
@@ -482,6 +490,9 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
 exit 0
 
 %changelog
+* Thu May 2 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.1-beta1
+- Fix error on startup.
+
 * Wed May 1 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.0-beta1
 - New upstream release.
 - Fix build failures.

^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [rpms/julia] epel10: Fix error on startup
@ 2026-12-01 21:40 Milan Bouchet-Valat
  0 siblings, 0 replies; 3+ messages 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 : ffdb0225c9b7407e16f4157de972d2d8e0333fec
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date   : 2024-05-02T16:02:16+02:00
Stats  : +11/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/julia/c/ffdb0225c9b7407e16f4157de972d2d8e0333fec?branch=epel10

Log:
Fix error on startup

---
diff --git a/julia.spec b/julia.spec
index f4bf54b..c82ccd1 100644
--- a/julia.spec
+++ b/julia.spec
@@ -29,7 +29,7 @@
 %global __provides_exclude ^(%{_privatelibs})$
 %global __requires_exclude ^(%{_privatelibs})$
 
-# Precompiled packages confuse debuginfo check
+# Some binaries confuse debuginfo check
 %undefine _missing_build_ids_terminate_build
 
 Name:           julia
@@ -396,6 +396,10 @@ pushd %{buildroot}%{_libdir}/julia
     %endif
 popd
 
+# Prevent find-debuginfo from touching precompiled caches as it
+# changes checksums, which invalidates them
+chmod -x %{buildroot}%{_datarootdir}/julia/compiled/*/*/*.so
+
 cp -p CONTRIBUTING.md LICENSE.md NEWS.md README.md %{buildroot}%{_docdir}/julia/
 
 pushd %{buildroot}%{_libdir}/julia
@@ -453,7 +457,9 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
 %{_libexecdir}/julia/
 %exclude %{_libdir}/julia/*debug*
 %{_libdir}/libjulia.so.*
-%{_datarootdir}/julia/compiled/
+%{_datarootdir}/julia/compiled/*/*/*.ji
+# Re-set precompiled caches as executable once find-debuginfo has skipped them (see above)
+%attr(755, -, -) %{_datarootdir}/julia/compiled/*/*/*.so
 %{_mandir}/man1/julia.1*
 %{_datarootdir}/appdata/julia.appdata.xml
 %{_datarootdir}/applications/%{name}.desktop
@@ -490,6 +496,9 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
 exit 0
 
 %changelog
+* Thu May 2 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.2-beta1
+- Fix error on startup due to unnecessary recompilation.
+
 * Thu May 2 2024 Milan Bouchet-Valat <nalimilan@club.fr> - 1.11.0.1-beta1
 - Fix error on startup.
 

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 21:39 [rpms/julia] epel10: Fix error on startup Milan Bouchet-Valat
2026-12-01 21:40 Milan Bouchet-Valat
2026-12-01 21:40 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