Hello community,

here is the log from the commit of package julia for openSUSE:Factory checked 
in at 2020-07-03 00:09:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/julia (Old)
 and      /work/SRC/openSUSE:Factory/.julia.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "julia"

Fri Jul  3 00:09:06 2020 rev:42 rq:816906 version:1.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/julia/julia.changes      2020-03-30 
23:05:57.708263964 +0200
+++ /work/SRC/openSUSE:Factory/.julia.new.3060/julia.changes    2020-07-03 
00:11:11.811825062 +0200
@@ -1,0 +2,22 @@
+Tue Jun 23 22:02:46 UTC 2020 - Ronan Chagas <roni...@gmail.com>
+
+- Version bump to 1.4.2, see NEWS.md for details.
+- Replace the source code with the version with all dependencies.
+  Thus, all the source files related to the dependencies were
+  dropped:
+    * Pkg-f71e2c5a119b9c850f9b357fc8c56068f5b51cc0.tar.gz
+    * libuv-35b1504507a7a4168caae3d78db54d1121b121e1.tar.gz
+    * libwhich-81e9723c0273d78493dc8c8ed570f68d9ce7e89e.tar.gz
+    * llvm-6.0.1.src.tar.xz
+    * openlibm-ce69bf1f32d3e2e9791da36c9e33ba38670d5576.tar.gz
+    * utf8proc-5c632c57426f2e4246e3b64dd2fd088d3920f9e5.tar.gz
+- Add patch `llvm-8.0.1-gcc-10.patch` to fix build of LLVM 8.0.1
+  using gcc 10: https://reviews.llvm.org/D64937.
+- Use bundled version of libgit2 instead of the system library
+  because Julia does not support libgit2-1.0 yet (boo#1173180).
+- Use bundled version of libdSFMT because Julia uses a patch that is
+  not in upstream. Hence, using the system version leads to failures
+  related to RNG.
+- Add new build dependency `libcurl-devel`.
+
+-------------------------------------------------------------------

Old:
----
  Pkg-f71e2c5a119b9c850f9b357fc8c56068f5b51cc0.tar.gz
  julia-1.3.1.tar.gz
  libuv-35b1504507a7a4168caae3d78db54d1121b121e1.tar.gz
  libwhich-81e9723c0273d78493dc8c8ed570f68d9ce7e89e.tar.gz
  llvm-6.0.1.src.tar.xz
  openlibm-ce69bf1f32d3e2e9791da36c9e33ba38670d5576.tar.gz
  utf8proc-5c632c57426f2e4246e3b64dd2fd088d3920f9e5.tar.gz

New:
----
  julia-1.4.2-full.tar.gz
  llvm-8.0.1-gcc-10.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ julia.spec ++++++
--- /var/tmp/diff_new_pack.90ld3f/_old  2020-07-03 00:11:14.815835009 +0200
+++ /var/tmp/diff_new_pack.90ld3f/_new  2020-07-03 00:11:14.815835009 +0200
@@ -23,40 +23,26 @@
 %undefine _build_create_debug
 %define __arch_install_post export NO_BRP_STRIP_DEBUG=true
 
-%define julia_ver            1.3.1
+%define julia_ver            1.4.2
 %define libjulia_sover_major 1
-%define libjulia_sover_minor 3
-%define libuv_ver    35b1504507a7a4168caae3d78db54d1121b121e1
-%define libwhich_ver 81e9723c0273d78493dc8c8ed570f68d9ce7e89e
-%define pkg_ver      f71e2c5a119b9c850f9b357fc8c56068f5b51cc0
-%define openlibm_ver ce69bf1f32d3e2e9791da36c9e33ba38670d5576
-%define utf8proc_ver 5c632c57426f2e4246e3b64dd2fd088d3920f9e5
-%define llvm_ver     6.0.1
+%define libjulia_sover_minor 4
 %if "@BUILD_FLAVOR@%{nil}" == "compat"
 %define compat_mode  1
 %else
 %define compat_mode  0
 %endif
-%define src_name     julia-tarball
-%define libgit2_ver  %(rpm -qa | grep -E "^libgit2-[0-9]" | head -n1 | cut 
-d'-' -f2)
-Version:        1.3.1
+Version:        1.4.2
 Release:        0
 URL:            http://julialang.org/
-Source0:        
https://github.com/JuliaLang/julia/releases/download/v%{julia_ver}/julia-%{julia_ver}.tar.gz
-# external sources
-Source10:       
https://api.github.com/repos/JuliaLang/libuv/tarball/%{libuv_ver}#/libuv-%{libuv_ver}.tar.gz
-Source11:       
https://api.github.com/repos/vtjnash/libwhich/tarball/%{libwhich_ver}#/libwhich-%{libwhich_ver}.tar.gz
-Source12:       
https://api.github.com/repos/JuliaLang/utf8proc/tarball/%{utf8proc_ver}#/utf8proc-%{utf8proc_ver}.tar.gz
-Source13:       
https://llvm.org/releases/%{llvm_ver}/llvm-%{llvm_ver}.src.tar.xz
-Source14:       
https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/%{pkg_ver}#/Pkg-%{pkg_ver}.tar.gz
-Source15:       
https://api.github.com/repos/JuliaMath/openlibm/tarball/%{openlibm_ver}#/openlibm-%{openlibm_ver}.tar.gz
+Source0:        
https://github.com/JuliaLang/julia/releases/download/v1.4.2/julia-%{julia_ver}-full.tar.gz
 Source99:       juliabuildopts
 # PATCH-FIX-OPENSUSE julia-env-script-interpreter.patch roni...@gmail.com -- 
Change script interpreted to avoid errors in rpmlint.
 Patch0:         julia-env-script-interpreter.patch
+# PATCH-FIX-UPSTREAM llvm-8.0.1-gcc-10.patch roni...@gmail.com -- Fix LLVM 
8.0.1 build using GCC 10 - https://reviews.llvm.org/D64937.
+Patch1:         llvm-8.0.1-gcc-10.patch
 BuildRequires:  arpack-ng-devel >= 3.3.0
 BuildRequires:  blas-devel
 BuildRequires:  cmake
-BuildRequires:  dSFMT-devel >= 2.2.3
 BuildRequires:  double-conversion-devel
 BuildRequires:  fdupes
 BuildRequires:  fftw3-threads-devel >= 3.3.4
@@ -65,7 +51,7 @@
 BuildRequires:  gmp-devel >= 6.1.2
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  lapack-devel >= 3.5.0
-BuildRequires:  libgit2-devel >= 0.28.2
+BuildRequires:  libcurl-devel
 BuildRequires:  libopenblas_openmp-devel >= 0.3.5
 BuildRequires:  libssh2-devel >= 1.9.0
 BuildRequires:  libunwind-devel >= 1.3.1
@@ -89,9 +75,7 @@
 Requires:       libccolamd2
 Requires:       libcholmod3
 Requires:       libcolamd2
-Requires:       libdSFMT2_2 >= 2.2.3
 Requires:       libfftw3_threads3
-Requires:       libgit2-%{libgit2_ver}
 Requires:       libgmp10
 Requires:       libmpfr6
 Requires:       libopenblas_openmp0 >= 0.3.5
@@ -188,21 +172,15 @@
 %setup -q -n julia-%{version}
 %patch0 -p1
 
+# Extract LLVM sources to apply the patch.
+make CFLAGS="%optflags" CXXFLAGS="%optflags" %{juliabuildopts} -C deps 
extract-llvm
+pushd deps/srccache/llvm-8.0.1
+    patch -p2 < %PATCH1
+popd
+
 # remove .gitignore
 find . -name ".git*" -exec rm {} \;
 
-pushd deps/
-mkdir -p srccache/
-pushd srccache/
-cp %{SOURCE10} ./
-cp %{SOURCE11} ./
-cp %{SOURCE12} ./
-cp %{SOURCE13} ./
-cp %{SOURCE14} ./
-cp %{SOURCE15} ./
-popd
-popd
-
 %build
 
 %if 0%{?compat_mode} == 0
@@ -316,6 +294,7 @@
 %{_datadir}/julia/base
 %{_datadir}/julia/base.cache
 %{_datadir}/julia/stdlib
+%{_datadir}/julia/cert.pem
 %if !%{?compat_mode}
 %dir %{_datadir}/appdata/
 %{_datadir}/appdata/julia.appdata.xml
@@ -353,7 +332,6 @@
 %files doc
 %{_docdir}/julia
 %exclude %{_docdir}/julia/CONTRIBUTING.md
-%exclude %{_docdir}/julia/LICENSE.md
 %exclude %{_docdir}/julia/NEWS.md
 %exclude %{_docdir}/julia/README.md
 %endif

++++++ juliabuildopts ++++++
--- /var/tmp/diff_new_pack.90ld3f/_old  2020-07-03 00:11:14.867835181 +0200
+++ /var/tmp/diff_new_pack.90ld3f/_new  2020-07-03 00:11:14.871835194 +0200
@@ -7,7 +7,7 @@
 USE_SYSTEM_LIBM=0 \
 USE_SYSTEM_OPENLIBM=0 \
 USE_SYSTEM_OPENSPECFUN=1 \
-USE_SYSTEM_DSFMT=1 \
+USE_SYSTEM_DSFMT=0 \
 USE_SYSTEM_BLAS=1 \
 LIBBLAS=-lopenblas \
 LIBBLASNAME=libopenblas \
@@ -26,8 +26,11 @@
 USE_SYSTEM_LIBUV=0 \
 USE_SYSTEM_UTF8PROC=0 \
 USE_SYSTEM_PATCHELF=1 \
-USE_SYSTEM_LIBGIT2=1 \
 USE_SYSTEM_P7ZIP=1 \
+USE_SYSTEM_MBEDTLS=1 \
+USE_SYSTEM_LIBSSH2=1 \
+USE_SYSTEM_LIBGIT2=0 \
+USE_SYSTEM_CURL=1 \
 USE_MKL=0 \
 USE_BLAS64=0 \
 USE_LLVM_SHLIB=1 \

++++++ llvm-8.0.1-gcc-10.patch ++++++
>From b288d90b39f4b905c02092a9bfcfd6d78f99b191 Mon Sep 17 00:00:00 2001
From: Than McIntosh <th...@google.com>
Date: Fri, 19 Jul 2019 13:13:54 +0000
Subject: [PATCH] [NFC] include cstdint/string prior to using uint8_t/string

Summary: include proper header prior to use of uint8_t typedef
and std::string.

Subscribers: llvm-commits

Reviewers: cherry

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D64937

llvm-svn: 366572
---
 llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h 
b/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h
index da9d9d5bfdc0..3d47471f0ef0 100644
--- a/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h
+++ b/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h
@@ -16,6 +16,8 @@
 #include "llvm/Demangle/DemangleConfig.h"
 #include "llvm/Demangle/StringView.h"
 #include <array>
+#include <cstdint>
+#include <string>
 
 namespace llvm {
 namespace itanium_demangle {

Reply via email to