Hello community, here is the log from the commit of package julia for openSUSE:Factory checked in at 2017-12-22 12:21:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/julia (Old) and /work/SRC/openSUSE:Factory/.julia.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "julia" Fri Dec 22 12:21:11 2017 rev:28 rq:559191 version:0.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/julia/julia-compat.changes 2017-11-09 14:04:16.608951261 +0100 +++ /work/SRC/openSUSE:Factory/.julia.new/julia-compat.changes 2017-12-22 12:21:45.643247942 +0100 @@ -1,0 +2,9 @@ +Wed Dec 20 18:19:38 UTC 2017 - roni...@gmail.com + +- Remove patch `julia-0.6.1-dont-rebuild-docs-on-install.patch`, + since the issue was already fixed by upstream. +- Version bump to 0.6.2. + * Bugfix release, no changelog available. +- Update license information according to file `LICENSE.md`. + +------------------------------------------------------------------- julia.changes: same change Old: ---- julia-0.6.1-dont-rebuild-docs-on-install.patch julia-0.6.1.tar.gz libuv-52d72a52cc7ccd570929990f010ed16e2ec604c8.tar.gz New: ---- julia-0.6.2.tar.gz libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ julia-compat.spec ++++++ --- /var/tmp/diff_new_pack.MiyiIg/_old 2017-12-22 12:21:48.567105377 +0100 +++ /var/tmp/diff_new_pack.MiyiIg/_new 2017-12-22 12:21:48.571105182 +0100 @@ -23,17 +23,17 @@ %undefine _build_create_debug %define __arch_install_post export NO_BRP_STRIP_DEBUG=true -%define julia_ver 0.6.1 +%define julia_ver 0.6.2 %define libjulia_sover_major 0.6 -%define libjulia_sover_minor 1 +%define libjulia_sover_minor 2 %define rmath_ver 0.1 -%define libuv_ver 52d72a52cc7ccd570929990f010ed16e2ec604c8 +%define libuv_ver d8ab1c6a33e77bf155facb54215dd8798e13825d %define utf8proc_ver 40e605959eb5cb90b2587fa88e3b661558fbc55a %define llvm_ver 3.9.1 %define compat_mode 1 %define src_name julia-tarball %define libgit2_ver %(rpm -qa | grep -E "^libgit2-[0-9]" | head -n1 | cut -d'-' -f2) -Version: 0.6.1 +Version: 0.6.2 Release: 0 Url: http://julialang.org/ Source0: https://github.com/JuliaLang/julia/releases/download/v%{julia_ver}/julia-%{julia_ver}.tar.gz @@ -44,10 +44,8 @@ # LLVM will be bundled with the package because Julia does not support LLVM 3.8 yet. Source13: http://llvm.org/releases/%{llvm_ver}/llvm-%{llvm_ver}.src.tar.xz Source99: juliabuildopts -# PATCH-FIX-UPSTREAM julia-0.6.1-dont-rebuild-docs-on-install.patch gh#JuliaLang/julia#24432 roni...@gmail.com -- Don't rebuild julia documentation on `make install`. -Patch0: julia-0.6.1-dont-rebuild-docs-on-install.patch # PATCH-FIX-OPENSUSE julia-env-script-interpreter.patch roni...@gmail.com -- Change script interpreted to avoid errors in rpmlint. -Patch1: julia-env-script-interpreter.patch +Patch0: julia-env-script-interpreter.patch BuildRequires: arpack-ng-devel >= 3.3.0 BuildRequires: blas-devel BuildRequires: cmake @@ -100,11 +98,11 @@ %endif %if 0%{?compat_mode} == 0 Summary: High-level, high-performance dynamic programming language -License: MIT AND GPL-2.0+ +License: MIT and GPL-2.0+ and BSD-3-Clause and Zlib Group: Development/Languages/Other %else Summary: High-level, high-performance dynamic programming language (without CPU optimizations) -License: MIT AND GPL-2.0+ +License: MIT and GPL-2.0+ and BSD-3-Clause and Zlib Group: Development/Languages/Other %endif %if 0%{?compat_mode} @@ -174,9 +172,8 @@ %{expand:%global juliabuildopts %(cat %{SOURCE99})} %prep -%setup -q -n julia +%setup -q -n julia-%{julia_ver} %patch0 -p1 -%patch1 -p1 # remove .gitignore find . -name ".git*" -exec rm {} \; ++++++ julia.spec ++++++ --- /var/tmp/diff_new_pack.MiyiIg/_old 2017-12-22 12:21:48.591104207 +0100 +++ /var/tmp/diff_new_pack.MiyiIg/_new 2017-12-22 12:21:48.595104012 +0100 @@ -23,17 +23,17 @@ %undefine _build_create_debug %define __arch_install_post export NO_BRP_STRIP_DEBUG=true -%define julia_ver 0.6.1 +%define julia_ver 0.6.2 %define libjulia_sover_major 0.6 -%define libjulia_sover_minor 1 +%define libjulia_sover_minor 2 %define rmath_ver 0.1 -%define libuv_ver 52d72a52cc7ccd570929990f010ed16e2ec604c8 +%define libuv_ver d8ab1c6a33e77bf155facb54215dd8798e13825d %define utf8proc_ver 40e605959eb5cb90b2587fa88e3b661558fbc55a %define llvm_ver 3.9.1 %define compat_mode 0 %define src_name julia-tarball %define libgit2_ver %(rpm -qa | grep -E "^libgit2-[0-9]" | head -n1 | cut -d'-' -f2) -Version: 0.6.1 +Version: 0.6.2 Release: 0 Url: http://julialang.org/ Source0: https://github.com/JuliaLang/julia/releases/download/v%{julia_ver}/julia-%{julia_ver}.tar.gz @@ -44,10 +44,8 @@ # LLVM will be bundled with the package because Julia does not support LLVM 3.8 yet. Source13: http://llvm.org/releases/%{llvm_ver}/llvm-%{llvm_ver}.src.tar.xz Source99: juliabuildopts -# PATCH-FIX-UPSTREAM julia-0.6.1-dont-rebuild-docs-on-install.patch gh#JuliaLang/julia#24432 roni...@gmail.com -- Don't rebuild julia documentation on `make install`. -Patch0: julia-0.6.1-dont-rebuild-docs-on-install.patch # PATCH-FIX-OPENSUSE julia-env-script-interpreter.patch roni...@gmail.com -- Change script interpreted to avoid errors in rpmlint. -Patch1: julia-env-script-interpreter.patch +Patch0: julia-env-script-interpreter.patch BuildRequires: arpack-ng-devel >= 3.3.0 BuildRequires: blas-devel BuildRequires: cmake @@ -100,11 +98,11 @@ %endif %if 0%{?compat_mode} == 0 Summary: High-level, high-performance dynamic programming language -License: MIT AND GPL-2.0+ +License: MIT and GPL-2.0+ and BSD-3-Clause and Zlib Group: Development/Languages/Other %else Summary: High-level, high-performance dynamic programming language (without CPU optimizations) -License: MIT AND GPL-2.0+ +License: MIT and GPL-2.0+ and BSD-3-Clause and Zlib Group: Development/Languages/Other %endif %if 0%{?compat_mode} @@ -174,9 +172,8 @@ %{expand:%global juliabuildopts %(cat %{SOURCE99})} %prep -%setup -q -n julia +%setup -q -n julia-%{julia_ver} %patch0 -p1 -%patch1 -p1 # remove .gitignore find . -name ".git*" -exec rm {} \; ++++++ julia-0.6.1.tar.gz -> julia-0.6.2.tar.gz ++++++ ++++ 7694 lines of diff (skipped) ++++++ libuv-52d72a52cc7ccd570929990f010ed16e2ec604c8.tar.gz -> libuv-d8ab1c6a33e77bf155facb54215dd8798e13825d.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JuliaLang-libuv-52d72a5/src/unix/thread.c new/JuliaLang-libuv-d8ab1c6/src/unix/thread.c --- old/JuliaLang-libuv-52d72a5/src/unix/thread.c 2016-12-14 00:17:51.000000000 +0100 +++ new/JuliaLang-libuv-d8ab1c6/src/unix/thread.c 2017-10-18 08:17:41.000000000 +0200 @@ -28,6 +28,7 @@ #include <sys/time.h> #include <sys/resource.h> /* getrlimit() */ +#include <unistd.h> /* getpagesize() */ #include <limits.h> @@ -82,10 +83,13 @@ if (pthread_attr_init(attr)) abort(); - if (lim.rlim_cur != RLIM_INFINITY && - lim.rlim_cur >= PTHREAD_STACK_MIN) { - if (pthread_attr_setstacksize(attr, lim.rlim_cur)) - abort(); + if (lim.rlim_cur != RLIM_INFINITY) { + /* pthread_attr_setstacksize() expects page-aligned values. */ + lim.rlim_cur -= lim.rlim_cur % (rlim_t) getpagesize(); + + if (lim.rlim_cur >= PTHREAD_STACK_MIN) + if (pthread_attr_setstacksize(attr, lim.rlim_cur)) + abort(); } #else attr = NULL; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JuliaLang-libuv-52d72a5/src/win/pipe.c new/JuliaLang-libuv-d8ab1c6/src/win/pipe.c --- old/JuliaLang-libuv-52d72a5/src/win/pipe.c 2016-12-14 00:17:51.000000000 +0100 +++ new/JuliaLang-libuv-d8ab1c6/src/win/pipe.c 2017-10-18 08:17:41.000000000 +0200 @@ -1258,6 +1258,7 @@ } else { memset(&req->u.io.overlapped, 0, sizeof(req->u.io.overlapped)); if (handle->flags & UV_HANDLE_EMULATE_IOCP) { + assert(req->event_handle); req->u.io.overlapped.hEvent = (HANDLE) ((uintptr_t) req->event_handle | 1); } @@ -1317,8 +1318,16 @@ /* If reading was stopped and then started again, there could still be a */ /* read request pending. */ - if (!(handle->flags & UV_HANDLE_READ_PENDING)) + if (!(handle->flags & UV_HANDLE_READ_PENDING)) { + if (handle->flags & UV_HANDLE_EMULATE_IOCP && + !handle->read_req.event_handle) { + handle->read_req.event_handle = CreateEvent(NULL, 0, 0, NULL); + if (!handle->read_req.event_handle) { + uv_fatal_error(GetLastError(), "CreateEvent"); + } + } uv_pipe_queue_read(loop, handle); + } return 0; } @@ -1405,7 +1414,16 @@ req->ipc_header = 0; req->event_handle = NULL; req->wait_handle = INVALID_HANDLE_VALUE; + + /* Prepare the overlapped structure. */ memset(&req->u.io.overlapped, 0, sizeof(req->u.io.overlapped)); + if (handle->flags & (UV_HANDLE_EMULATE_IOCP | UV_HANDLE_BLOCKING_WRITES)) { + req->event_handle = CreateEvent(NULL, 0, 0, NULL); + if (!req->event_handle) { + uv_fatal_error(GetLastError(), "CreateEvent"); + } + req->u.io.overlapped.hEvent = (HANDLE) ((uintptr_t) req->event_handle | 1); + } if (handle->flags&UV_HANDLE_PIPE_IPC) { assert(!(handle->flags & UV_HANDLE_NON_OVERLAPPED_PIPE)); @@ -1548,11 +1566,6 @@ handle->write_queue_size += req->u.io.queued_bytes; } else if (handle->flags & UV_HANDLE_BLOCKING_WRITES) { /* Using overlapped IO, but wait for completion before returning */ - req->u.io.overlapped.hEvent = CreateEvent(NULL, 1, 0, NULL); - if (!req->u.io.overlapped.hEvent) { - uv_fatal_error(GetLastError(), "CreateEvent"); - } - result = WriteFile(handle->handle, bufs[0].base, bufs[0].len, @@ -1606,10 +1619,6 @@ } if (handle->flags & UV_HANDLE_EMULATE_IOCP) { - req->event_handle = CreateEvent(NULL, 0, 0, NULL); - if (!req->event_handle) { - uv_fatal_error(GetLastError(), "CreateEvent"); - } if (!RegisterWaitForSingleObject(&req->wait_handle, req->u.io.overlapped.hEvent, post_completion_write_wait, (void*) req, INFINITE, WT_EXECUTEINWAITTHREAD)) {