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: New upstream release 1.5.0
Date: Tue, 01 Dec 2026 21:39:37 GMT [thread overview]
Message-ID: <179616117710.1.6750772686298712737.rpms-julia-07850b658783@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/julia
Branch : epel10
Commit : 07850b65878382db41df66088cf135b13a2008b5
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date : 2020-08-10T12:49:28+02:00
Stats : +170/-232 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/julia/c/07850b65878382db41df66088cf135b13a2008b5?branch=epel10
Log:
New upstream release 1.5.0
---
diff --git a/.gitignore b/.gitignore
index 7f0732c..8870a6f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -64,3 +64,8 @@
/Pkg-9419c70af69153cd5c4276bff90fbb135e0aa3f1.tar.gz
/llvm-8.0.1.src.tar.xz
/julia-1.4.2.tar.gz
+/julia-1.5.0.tar.gz
+/llvm-9.0.1.src.tar.xz
+/julia-logo-color.svg
+/Pkg-edc31a25ad441b28bbe5608696cca978af6c988a.tar.gz
+/Statistics-cde87c8062032883165cd242f4a5c6b7943cb0b1.tar.gz
diff --git a/julia-Bump-libgit2-to-0.99.1.patch b/julia-Bump-libgit2-to-0.99.1.patch
deleted file mode 100644
index 89243c1..0000000
--- a/julia-Bump-libgit2-to-0.99.1.patch
+++ /dev/null
@@ -1,197 +0,0 @@
-From fa4481b0ef8ff668da71d64ea41cc8d209775bee Mon Sep 17 00:00:00 2001
-From: Milan Bouchet-Valat <nalimilan@club.fr>
-Date: Mon, 23 Mar 2020 10:20:58 +0100
-Subject: [PATCH] Bump libgit2 to 0.99.1
-
----
- deps/libgit2.version | 4 ++--
- stdlib/LibGit2/src/LibGit2.jl | 2 +-
- stdlib/LibGit2/src/blob.jl | 2 +-
- stdlib/LibGit2/src/error.jl | 15 ++++++++++++---
- stdlib/LibGit2/src/oid.jl | 3 ++-
- stdlib/LibGit2/src/repository.jl | 2 +-
- stdlib/LibGit2/src/types.jl | 11 ++++-------
- stdlib/LibGit2/src/utils.jl | 4 ++--
- stdlib/LibGit2/src/walker.jl | 2 +-
- stdlib/LibGit2/test/libgit2.jl | 2 +-
- 10 files changed, 27 insertions(+), 20 deletions(-)
-
-diff --git a/deps/libgit2.version b/deps/libgit2.version
-index f67bedc414..dc3c50c9c6 100644
---- a/deps/libgit2.version
-+++ b/deps/libgit2.version
-@@ -1,2 +1,2 @@
--LIBGIT2_BRANCH=v0.28.2
--LIBGIT2_SHA1=b3e1a56ebb2b9291e82dc027ba9cbcfc3ead54d3
-+LIBGIT2_BRANCH=v0.99.0
-+LIBGIT2_SHA1=172239021f7ba04fe7327647b213799853a9eb89
-diff --git a/stdlib/LibGit2/src/LibGit2.jl b/stdlib/LibGit2/src/LibGit2.jl
-index 627922e138..b890a0c42f 100644
---- a/stdlib/LibGit2/src/LibGit2.jl
-+++ b/stdlib/LibGit2/src/LibGit2.jl
-@@ -18,10 +18,10 @@ const REFCOUNT = Threads.Atomic{Int}(0)
-
- function ensure_initialized end
-
-+include("error.jl")
- include("utils.jl")
- include("consts.jl")
- include("types.jl")
--include("error.jl")
- include("signature.jl")
- include("oid.jl")
- include("reference.jl")
-diff --git a/stdlib/LibGit2/src/blob.jl b/stdlib/LibGit2/src/blob.jl
-index b416fac732..efd7a14c9c 100644
---- a/stdlib/LibGit2/src/blob.jl
-+++ b/stdlib/LibGit2/src/blob.jl
-@@ -67,7 +67,7 @@ id = LibGit2.addblob!(repo, blob_file)
- function addblob!(repo::GitRepo, path::AbstractString)
- ensure_initialized()
- id_ref = Ref{GitHash}()
-- @check ccall((:git_blob_create_fromdisk, :libgit2), Cint,
-+ @check ccall((:git_blob_create_from_disk, :libgit2), Cint,
- (Ptr{GitHash}, Ptr{Cvoid}, Cstring),
- id_ref, repo.ptr, path)
- return id_ref[]
-diff --git a/stdlib/LibGit2/src/error.jl b/stdlib/LibGit2/src/error.jl
-index 4d1e915cef..3e56999d5a 100644
---- a/stdlib/LibGit2/src/error.jl
-+++ b/stdlib/LibGit2/src/error.jl
-@@ -25,9 +25,13 @@ export GitError
- ECERTIFICATE = Cint(-17), # server certificate is invalid
- EAPPLIED = Cint(-18), # patch/merge has already been applied
- EPEEL = Cint(-19), # the requested peel operation is not possible
-- EEOF = Cint(-20), # Unexpted EOF
-+ EEOF = Cint(-20), # unexpected EOF
- PASSTHROUGH = Cint(-30), # internal only
-- ITEROVER = Cint(-31)) # signals end of iteration
-+ ITEROVER = Cint(-31), # signals end of iteration
-+ RETRY = Cint(-32), # internal only
-+ EMISMATCH = Cint(-33), # hashsum mismatch in object
-+ EINDEXDIRTY = Cint(-34), # unsaved changes in the index would be overwritten
-+ EAPPLYFAIL = Cint(-35)) # patch application failed
-
- @enum(Class, None,
- NoMemory,
-@@ -58,7 +62,12 @@ export GitError
- Callback,
- CherryPick,
- Describe,
-- Rebase)
-+ Rebase,
-+ Filesystem,
-+ Patch,
-+ WorkTree,
-+ SHA1,
-+ HTTP)
-
- struct ErrorStruct
- message::Ptr{UInt8}
-diff --git a/stdlib/LibGit2/src/oid.jl b/stdlib/LibGit2/src/oid.jl
-index 069d725685..1074f003eb 100644
---- a/stdlib/LibGit2/src/oid.jl
-+++ b/stdlib/LibGit2/src/oid.jl
-@@ -13,7 +13,8 @@ function GitHash(ptr::Ptr{UInt8})
- end
- ensure_initialized()
- oid_ptr = Ref(GitHash())
-- ccall((:git_oid_fromraw, :libgit2), Cvoid, (Ptr{GitHash}, Ptr{UInt8}), oid_ptr, ptr)
-+ @check ccall((:git_oid_fromraw, :libgit2), Cint,
-+ (Ptr{GitHash}, Ptr{UInt8}), oid_ptr, ptr)
- return oid_ptr[]
- end
-
-diff --git a/stdlib/LibGit2/src/repository.jl b/stdlib/LibGit2/src/repository.jl
-index 96249bd9f6..8c858b1f8f 100644
---- a/stdlib/LibGit2/src/repository.jl
-+++ b/stdlib/LibGit2/src/repository.jl
-@@ -32,7 +32,7 @@ end
- function cleanup(r::GitRepo)
- if r.ptr != C_NULL
- ensure_initialized()
-- ccall((:git_repository__cleanup, :libgit2), Cvoid, (Ptr{Cvoid},), r.ptr)
-+ @check ccall((:git_repository__cleanup, :libgit2), Cint, (Ptr{Cvoid},), r.ptr)
- end
- end
-
-diff --git a/stdlib/LibGit2/src/types.jl b/stdlib/LibGit2/src/types.jl
-index 6ffbe67ea2..3edb76a73d 100644
---- a/stdlib/LibGit2/src/types.jl
-+++ b/stdlib/LibGit2/src/types.jl
-@@ -197,7 +197,7 @@ end
- LibGit2.TransferProgress
-
- Transfer progress information used by the `transfer_progress` remote callback.
--Matches the [`git_transfer_progress`](https://libgit2.org/libgit2/#HEAD/type/git_transfer_progress) struct.
-+Matches the [`git_indexer_progress`](https://libgit2.org/libgit2/#HEAD/type/git_indexer_progress) struct.
- """
- @kwdef struct TransferProgress
- total_objects::Cuint = Cuint(0)
-@@ -223,6 +223,7 @@ end
- push_negotiation::Ptr{Cvoid} = C_NULL
- transport::Ptr{Cvoid} = C_NULL
- payload::Ptr{Cvoid} = C_NULL
-+ resolve_url::Ptr{Cvoid} = C_NULL
- end
-
- """
-@@ -325,12 +326,8 @@ end
- prune::Cint = Consts.FETCH_PRUNE_UNSPECIFIED
- update_fetchhead::Cint = Cint(1)
- download_tags::Cint = Consts.REMOTE_DOWNLOAD_TAGS_AUTO
-- @static if LibGit2.VERSION >= v"0.25.0"
-- proxy_opts::ProxyOptions = ProxyOptions()
-- end
-- @static if LibGit2.VERSION >= v"0.24.0"
-- custom_headers::StrArrayStruct = StrArrayStruct()
-- end
-+ proxy_opts::ProxyOptions = ProxyOptions()
-+ custom_headers::StrArrayStruct = StrArrayStruct()
- end
-
- """
-diff --git a/stdlib/LibGit2/src/utils.jl b/stdlib/LibGit2/src/utils.jl
-index 147b0949f7..b601ea4efe 100644
---- a/stdlib/LibGit2/src/utils.jl
-+++ b/stdlib/LibGit2/src/utils.jl
-@@ -37,8 +37,8 @@ function version()
- major = Ref{Cint}(0)
- minor = Ref{Cint}(0)
- patch = Ref{Cint}(0)
-- ccall((:git_libgit2_version, :libgit2), Cvoid,
-- (Ref{Cint}, Ref{Cint}, Ref{Cint}), major, minor, patch)
-+ @check ccall((:git_libgit2_version, :libgit2), Cint,
-+ (Ref{Cint}, Ref{Cint}, Ref{Cint}), major, minor, patch)
- return VersionNumber(major[], minor[], patch[])
- end
- const VERSION = version()
-diff --git a/stdlib/LibGit2/src/walker.jl b/stdlib/LibGit2/src/walker.jl
-index 1d2fbcb52f..e977590eaf 100644
---- a/stdlib/LibGit2/src/walker.jl
-+++ b/stdlib/LibGit2/src/walker.jl
-@@ -77,7 +77,7 @@ end
- function Base.sort!(w::GitRevWalker; by::Cint = Consts.SORT_NONE, rev::Bool=false)
- ensure_initialized()
- rev && (by |= Consts.SORT_REVERSE)
-- ccall((:git_revwalk_sorting, :libgit2), Cvoid, (Ptr{Cvoid}, Cint), w.ptr, by)
-+ @check ccall((:git_revwalk_sorting, :libgit2), Cint, (Ptr{Cvoid}, Cint), w.ptr, by)
- return w
- end
-
-diff --git a/stdlib/LibGit2/test/libgit2.jl b/stdlib/LibGit2/test/libgit2.jl
-index b7ecd31d5f..c1418f5ad6 100644
---- a/stdlib/LibGit2/test/libgit2.jl
-+++ b/stdlib/LibGit2/test/libgit2.jl
-@@ -3043,7 +3043,7 @@ mktempdir() do dir
- deserialize(f)
- end
- @test err.code == LibGit2.Error.ERROR
-- @test lowercase(err.msg) == lowercase("invalid Content-Type: text/plain")
-+ @test lowercase(err.msg) == lowercase("invalid Content-Type: 'text/plain'")
- end
-
- # OpenSSL s_server should still be running
---
-2.24.1
-
diff --git a/julia-socket-tests.patch b/julia-socket-tests.patch
new file mode 100644
index 0000000..5269ba9
--- /dev/null
+++ b/julia-socket-tests.patch
@@ -0,0 +1,134 @@
+diff --git a/stdlib/Sockets/test/runtests.jl b/stdlib/Sockets/test/runtests.jl
+index ef5b5f4e46..c304d451d6 100644
+--- a/stdlib/Sockets/test/runtests.jl
++++ b/stdlib/Sockets/test/runtests.jl
+@@ -194,47 +194,6 @@ end
+ close(serv)
+ end
+
+-
+-@testset "getnameinfo on some unroutable IP addresses (RFC 5737)" begin
+- @test getnameinfo(ip"192.0.2.1") == "192.0.2.1"
+- @test getnameinfo(ip"198.51.100.1") == "198.51.100.1"
+- @test getnameinfo(ip"203.0.113.1") == "203.0.113.1"
+- @test getnameinfo(ip"0.1.1.1") == "0.1.1.1"
+- @test getnameinfo(ip"::ffff:0.1.1.1") == "::ffff:0.1.1.1"
+- @test getnameinfo(ip"::ffff:192.0.2.1") == "::ffff:192.0.2.1"
+- @test getnameinfo(ip"2001:db8::1") == "2001:db8::1"
+-end
+-
+-@testset "getnameinfo on some valid IP addresses" begin
+- @test !isempty(getnameinfo(ip"::")::String)
+- @test !isempty(getnameinfo(ip"0.0.0.0")::String)
+- @test !isempty(getnameinfo(ip"10.1.0.0")::String)
+- @test !isempty(getnameinfo(ip"10.1.0.255")::String)
+- @test !isempty(getnameinfo(ip"10.1.255.1")::String)
+- @test !isempty(getnameinfo(ip"255.255.255.255")::String)
+- @test !isempty(getnameinfo(ip"255.255.255.0")::String)
+- @test !isempty(getnameinfo(ip"192.168.0.1")::String)
+- @test !isempty(getnameinfo(ip"::1")::String)
+-end
+-
+-@testset "getaddrinfo" begin
+- let localhost = getnameinfo(ip"127.0.0.1")::String
+- @test !isempty(localhost) && localhost != "127.0.0.1"
+- @test !isempty(getalladdrinfo(localhost)::Vector{IPAddr})
+- @test getaddrinfo(localhost, IPv4)::IPv4 != ip"0.0.0.0"
+- @test try
+- getaddrinfo(localhost, IPv6)::IPv6 != ip"::"
+- catch ex
+- isa(ex, Sockets.DNSError) && ex.code == Base.UV_EAI_NONAME && ex.host == localhost
+- end
+- end
+- @test_throws Sockets.DNSError getaddrinfo(".invalid")
+- @test_throws ArgumentError getaddrinfo("localhost\0") # issue #10994
+- @test_throws Base._UVError("connect", Base.UV_ECONNREFUSED) connect(ip"127.0.0.1", 21452)
+- e = (try; getaddrinfo(".invalid"); catch ex; ex; end)
+- @test startswith(sprint(show, e), "DNSError:")
+-end
+-
+ @testset "invalid port" begin
+ @test_throws ArgumentError connect(ip"127.0.0.1", -1)
+ @test_throws ArgumentError connect(ip"127.0.0.1", typemax(UInt16)+1)
+@@ -389,81 +348,6 @@ end
+ end
+ end
+
+-@testset "Local-machine broadcast" begin
+- let a, b, c
+- # Apple does not support broadcasting on 127.255.255.255
+- bcastdst = Sys.isapple() ? ip"255.255.255.255" : ip"127.255.255.255"
+-
+- function create_socket(addr::IPAddr, port)
+- s = UDPSocket()
+- bind(s, addr, port, reuseaddr = true, enable_broadcast = true)
+- return s
+- end
+-
+- # Wait for futures to finish with a given timeout
+- function wait_with_timeout(recvs, TIMEOUT_VAL = 3*1e9)
+- t0 = time_ns()
+- recvs_check = copy(recvs)
+- while ((length(filter!(t->!istaskdone(t), recvs_check)) > 0)
+- && (time_ns() - t0 < TIMEOUT_VAL))
+- sleep(0.05)
+- end
+- length(recvs_check) > 0 && error("timeout")
+- map(wait, recvs)
+- end
+-
+- # First, test IPv4 broadcast
+- port = 2000
+- a, b, c = [create_socket(ip"0.0.0.0", port) for i in 1:3]
+- try
+- # bsd family do not allow broadcasting on loopbacks
+- @static if !Sys.isbsd() || Sys.isapple()
+- send(c, bcastdst, port, "hello")
+- recvs = [@async @test String(recv(s)) == "hello" for s in (a, b)]
+- wait_with_timeout(recvs)
+- end
+- catch e
+- if isa(e, Base.IOError) && Base.uverrorname(e.code) == "EPERM"
+- @warn "UDP IPv4 broadcast test skipped (permission denied upon send, restrictive firewall?)"
+- else
+- rethrow()
+- end
+- end
+- [close(s) for s in [a, b, c]]
+-
+- # Test ipv6 broadcast groups
+- a, b, c = [create_socket(ip"::", port) for i in 1:3]
+- try
+- # Exemplary Interface-local ipv6 multicast group, if we wanted this to actually be routed
+- # to other computers, we should use a link-local or larger address scope group
+- # bsd family and darwin do not allow broadcasting on loopbacks
+- @static if !Sys.isbsd() && !Sys.isapple()
+- group = ip"ff11::6a75:6c69:61"
+- join_multicast_group(a, group)
+- join_multicast_group(b, group)
+-
+- send(c, group, port, "hello")
+- recvs = [@async @test String(recv(s)) == "hello" for s in (a, b)]
+- wait_with_timeout(recvs)
+-
+- leave_multicast_group(a, group)
+- leave_multicast_group(b, group)
+-
+- send(c, group, port, "hello")
+- recvs = [@async @test String(recv(s)) == "hello" for s in (a, b)]
+- # We only wait 200ms since we're pretty sure this is going to time out
+- @test_throws ErrorException wait_with_timeout(recvs, 2e8)
+- end
+- catch e
+- if isa(e, Base.IOError) && Base.uverrorname(e.code) == "EPERM"
+- @warn "UDP IPv6 broadcast test skipped (permission denied upon send, restrictive firewall?)"
+- else
+- rethrow()
+- end
+- end
+- end
+-end
+-
+ @testset "Pipe" begin
+ P = Pipe()
+ Base.link_pipe!(P)
diff --git a/julia.spec b/julia.spec
index 3571e8f..bc7fea6 100644
--- a/julia.spec
+++ b/julia.spec
@@ -1,11 +1,14 @@
%global uvcommit 35b1504507a7a4168caae3d78db54d1121b121e1
%global uvversion 2.0.0
-%global llvmversion 8.0.1
+%global llvmversion 9.0.1
%global libwhichcommit 81e9723c0273d78493dc8c8ed570f68d9ce7e89e
-%global pkgcommit 9419c70af69153cd5c4276bff90fbb135e0aa3f1
+%global pkgcommit edc31a25ad441b28bbe5608696cca978af6c988a
+%global statisticscommit cde87c8062032883165cd242f4a5c6b7943cb0b1
+
+%global logocommit 168fb6c1164e341df360ed6ced519e1e0cb7de3a
%global __provides_exclude_from ^%{_libdir}/%{name}/.*\\.so$
# List all bundled libraries here
@@ -15,8 +18,8 @@
%global __requires_exclude ^(%{_privatelibs})$
Name: julia
-Version: 1.4.2
-Release: 4%{?dist}
+Version: 1.5.0
+Release: 1%{?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
@@ -28,11 +31,12 @@ Source1: https://api.github.com/repos/JuliaLang/libuv/tarball/%{uvcommit}
Source2: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{llvmversion}/llvm-%{llvmversion}.src.tar.xz
Source3: https://api.github.com/repos/vtjnash/libwhich/tarball/%{libwhichcommit}#/libwhich-%{libwhichcommit}.tar.gz
Source4: https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/%{pkgcommit}#/Pkg-%{pkgcommit}.tar.gz
+Source5: https://api.github.com/repos/JuliaLang/Statistics.jl/tarball/%{statisticscommit}#/Statistics-%{statisticscommit}.tar.gz
+Source6: https://raw.githubusercontent.com/JuliaLang/julia-logo-graphics/%{logocommit}/images/julia-logo-color.svg
Patch0: julia_unwind_version.patch
Patch1: llvm-julia-installdirs-64.patch
-# Fix build with GCC10: https://reviews.llvm.org/D64937
-Patch2: llvm-D64937.patch
-Patch3: julia-Bump-libgit2-to-0.99.1.patch
+# Avoid errors due to disabled networking
+Patch2: julia-socket-tests.patch
Provides: bundled(libuv) = %{uvversion}
Provides: bundled(llvm) = %{llvmversion}
BuildRequires: desktop-file-utils
@@ -119,13 +123,12 @@ Julia into external programs or debugging Julia itself.
%setup -q
%patch0 -p1
+%patch2 -p1
%if 0%{?__isa_bits} == 64
patch -p1 < %PATCH1
%endif
-patch -p1 < %PATCH3
-
mkdir -p deps/srccache stdlib/srccache
pushd deps/srccache
@@ -139,8 +142,11 @@ popd
pushd stdlib/srccache
cp -p %SOURCE4 .
+ cp -p %SOURCE5 .
popd
+cp -p %SOURCE6 contrib/julia.svg
+
# Required so that the image is not optimized for the build CPU
# (i386 does not work yet: https://github.com/JuliaLang/julia/issues/7185)
# Without specifying MARCH, the Julia system image would only work on native CPU
@@ -196,13 +202,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=1 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 USE_BINARYBUILDER=0 USE_SYSTEM_ZLIB=1 USE_SYSTEM_P7ZIP=1 BUNDLE_DEBUG_LIBS=1 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=%{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//)
-
-# Need to extract LLVM to apply patch
-make CFLAGS="%optflags" CXXFLAGS="%optflags" %{commonopts} -C deps extract-llvm
-pushd deps/srccache/llvm-%{llvmversion}
- patch -p1 < %PATCH2
-popd
+%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_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 USE_BINARYBUILDER=0 USE_SYSTEM_ZLIB=1 USE_SYSTEM_P7ZIP=1 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=%{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//)
sed s/0.23.0/1.0.0/ -i stdlib/LibGit2/test/libgit2.jl
@@ -222,8 +222,7 @@ sed s/0.23.0/1.0.0/ -i stdlib/LibGit2/test/libgit2.jl
%global buildflags CFLAGS="%optflags" CXXFLAGS="%optflags"
%endif
-# If debug is not built here, it is built during make install
-make %{?_smp_mflags} %{buildflags} %{commonopts} release debug
+make %{?_smp_mflags} %{buildflags} %{commonopts} release
%check
@@ -280,10 +279,6 @@ popd
cp -p CONTRIBUTING.md LICENSE.md NEWS.md README.md %{buildroot}%{_docdir}/julia/
-pushd %{buildroot}%{_prefix}/share/man/man1/
- ln -s julia.1.gz julia-debug.1.gz
-popd
-
pushd %{buildroot}%{_libdir}/julia
# Some Julia packages rely on being able to use libjulia, but we only
# ship %%{_libdir}/libjulia.so in the -devel package
@@ -312,8 +307,6 @@ convert -scale 256x256 -extent 256x256 -gravity center -background transparent \
contrib/julia.svg %{buildroot}%{_datarootdir}/icons/hicolor/256x256/apps/%{name}.png
desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
-rm -f %{buildroot}%{_datarootdir}/icons/hicolor/icon-theme.cache
-
%files
%dir %{_docdir}/julia/
%{_docdir}/julia/LICENSE.md
@@ -348,14 +341,10 @@ rm -f %{buildroot}%{_datarootdir}/icons/hicolor/icon-theme.cache
%doc %{_docdir}/julia/
%files devel
-%{_bindir}/julia-debug
%{_libdir}/libjulia.so
-%{_libdir}/libjulia-debug.so*
%{_libdir}/julia/libccalltest.so.debug
-%{_libdir}/julia/sys-debug.so
%{_includedir}/julia/
%{_datarootdir}/julia/test/
-%{_mandir}/man1/julia-debug.1*
%post
/sbin/ldconfig
@@ -363,6 +352,10 @@ rm -f %{buildroot}%{_datarootdir}/icons/hicolor/icon-theme.cache
exit 0
%changelog
+* Mon Aug 10 2020 Milan Bouchet-Valat <nalimilan@club.fr> - 1.5.0-1
+- New upstream release.
+- No longer include julia-debug to work around build failure (rhbz#1863925).
+
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-4
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
diff --git a/llvm-julia-installdirs-64.patch b/llvm-julia-installdirs-64.patch
index 92d578e..b2229c7 100644
--- a/llvm-julia-installdirs-64.patch
+++ b/llvm-julia-installdirs-64.patch
@@ -1,12 +1,13 @@
diff --git a/deps/llvm.mk b/deps/llvm.mk
-index c516b577f6..3ebb5024da 100644
+index 1eda48f91b..d478a3679e 100644
--- a/deps/llvm.mk
+++ b/deps/llvm.mk
-@@ -72,6 +72,7 @@ LLVM_CMAKE += -DPOLLY_ENABLE_GPGPU_CODEGEN=ON
+@@ -81,6 +81,7 @@ LLVM_CMAKE += -DPOLLY_ENABLE_GPGPU_CODEGEN=ON
endif
- LLVM_CMAKE += -DLLVM_TOOLS_INSTALL_DIR=$(shell $(JULIAHOME)/contrib/relative_path.sh $(build_prefix) $(build_depsbindir))
- LLVM_CMAKE += -DLLVM_UTILS_INSTALL_DIR=$(shell $(JULIAHOME)/contrib/relative_path.sh $(build_prefix) $(build_depsbindir))
+ LLVM_CMAKE += -DLLVM_TOOLS_INSTALL_DIR=$(call rel_path,$(build_prefix),$(build_depsbindir))
+ LLVM_CMAKE += -DLLVM_UTILS_INSTALL_DIR=$(call rel_path,$(build_prefix),$(build_depsbindir))
+LLVM_CMAKE += -DLLVM_LIBDIR_SUFFIX=64
LLVM_CMAKE += -DLLVM_INCLUDE_UTILS=ON -DLLVM_INSTALL_UTILS=ON
LLVM_CMAKE += -DLLVM_BINDINGS_LIST="" -DLLVM_INCLUDE_DOCS=Off -DLLVM_ENABLE_TERMINFO=Off -DHAVE_HISTEDIT_H=Off -DHAVE_LIBEDIT=Off
ifeq ($(LLVM_ASSERTIONS), 1)
+
diff --git a/sources b/sources
index cfb0865..2bca863 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,7 @@
-SHA512 (julia-1.4.2.tar.gz) = 28119e4c988862448301baf820035fa9e127181d9ec81b25bbe3104ff53804ac0d07ddd28e41fe55624e280d1e15ded27da5584f88e99d8515363853454443ed
+SHA512 (julia-1.5.0.tar.gz) = aff0295e43f6471ae6ca6ae065659cae3db505e1a8973d3291f42d7669fa0fc8ce8bab66671ef8e092e5c3366277c6e5613d0484bc917ba6eae5aaa70fb30c1a
SHA512 (libuv-35b1504507a7a4168caae3d78db54d1121b121e1.tar.gz) = 5932e9105346e952fd0f51f79898e5b9c993261ec1558408437647ab3b3ce282562f1e0a16db5704cb66e7aa7a4c6a75dd7f0da498a98b1b6af48da88b4869f0
SHA512 (libwhich-81e9723c0273d78493dc8c8ed570f68d9ce7e89e.tar.gz) = 6fb77b715d70d9bc95a8546c3bf97bd3677c7ea344b88bb5bc3bbfac9dceabe8a8cde7a0f64dec884cde802e4a3000e30837d3f824b5a9242348c4fe061526a3
-SHA512 (llvm-8.0.1.src.tar.xz) = 82e120be5cabdfd5111aebbea68a663fe229c8861d73802d6ab09a3bf48f60de333e07e61f8fb61beaa14ac2bea24fcd74fa6f761acaf62469f536b79fcb1e16
-SHA512 (Pkg-9419c70af69153cd5c4276bff90fbb135e0aa3f1.tar.gz) = beab318b1cf96a2f0957f26d33f2d06e6dfabed405778f3945caf6372cc62ed74ff069e912475f3e553cf3013db73a2c73f2a758a3e3b1ba21db0471b7182dbe
+SHA512 (llvm-9.0.1.src.tar.xz) = bfb6960a4dd1e18f4005f324f478a781c69e8ec7c20569d9b243fcb9372dc7733b254f26c683373537990cc9c109c78eaf0f65449629ee17caca1bce9b9ccccd
+SHA512 (Pkg-edc31a25ad441b28bbe5608696cca978af6c988a.tar.gz) = cc66f278417c4063596f10d7d76d8631214ba73a2e3d9a4b0c9c2bb9e6d8059f2c14eba0e3f211299d5a9c9df0c53123f82819a20157a967bc095caa359982b9
+SHA512 (Statistics-cde87c8062032883165cd242f4a5c6b7943cb0b1.tar.gz) = 7c3b7086e74e53465405c7130182c8016d894151a89f16af8037018aebde495cf599edfd631c7fc14faca5a5052c168b1f0373bc124bec3c0ac7851667689bcf
+SHA512 (julia-logo-color.svg) = 3a7d28884269a471ac21e2c8e67c39d406cb12ac29f61ba5fed03e7a1168e7d3e2e3f1d304a657949ce77b8fa73f15e64947511cc67ab3a7d9708b2579eeea1c
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=179616117710.1.6750772686298712737.rpms-julia-07850b658783@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