Hello community, here is the log from the commit of package julia for openSUSE:Factory checked in at 2016-09-01 14:02:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/julia (Old) and /work/SRC/openSUSE:Factory/.julia.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "julia" Changes: -------- --- /work/SRC/openSUSE:Factory/julia/julia-compat.changes 2016-08-05 18:18:05.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.julia.new/julia-compat.changes 2016-09-01 14:02:58.000000000 +0200 @@ -1,0 +2,38 @@ +Tue Aug 30 13:04:20 UTC 2016 - ronisbr@gmail.com + +- Fix `julia-debug` dependency. +- Move `libccalltest.so.debug` to `julia-debug` package + +------------------------------------------------------------------- +Thu Aug 25 14:21:56 UTC 2016 - ronisbr@gmail.com + +- Version bump to 0.5.0~rc3; + * The changelog will be available when the version 0.5.0 is + released. +- Remove unnecessary build options `USE_SYSTEM_MBEDTLS=1` and + `USE_SYSTEM_LIBSSH2=1`, because we are using the system libgit2 + to build julia. For more information, see: + https://github.com/JuliaLang/julia/issues/17884 + +------------------------------------------------------------------- +Mon Aug 22 19:20:57 UTC 2016 - ronisbr@gmail.com + +- Add `libgit2` as a runtime dependency. + +------------------------------------------------------------------- +Fri Aug 12 13:40:51 UTC 2016 - ronisbr@gmail.com + +- Version bump to 0.5.0~rc2. + * The changelog will be available when the version 0.5.0 is + released. + +------------------------------------------------------------------- +Thu Aug 11 20:54:41 UTC 2016 - ronisbr@gmail.com + +- Version bump to 0.5.0~rc1. + * The changelog will be available when the version 0.5.0 is + released. +- Add package `julia-debug`, which contains a debugging version of + Julia system image and Julia library. + +------------------------------------------------------------------- julia.changes: same change Old: ---- julia-0.4.6.tar.gz libuv-efb40768b7c7bd9f173a7868f74b92b1c5a61a0e.tar.gz llvm-3.3.src.tar.gz utf8proc-85789180158ac7fff85b9f008828d6ac44f072ea.tar.gz New: ---- julia-0.5.0-rc3.tar.gz libuv-8d5131b6c1595920dd30644cd1435b4f344b46c8.tar.gz llvm-3.7.1.src.tar.xz utf8proc-e3a5ed7b8bb5d0c6bb313d3e1f4d072c04113c4b.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ julia-compat.spec ++++++ --- /var/tmp/diff_new_pack.a0WP39/_old 2016-09-01 14:03:01.000000000 +0200 +++ /var/tmp/diff_new_pack.a0WP39/_new 2016-09-01 14:03:01.000000000 +0200 @@ -16,62 +16,69 @@ # +# We must not strip binaries in julia, since it can lead to many problems. +# For example, see: +# +# https://github.com/JuliaLang/julia/issues/17941 +%undefine _build_create_debug +%define __arch_install_post export NO_BRP_STRIP_DEBUG=true + +%define julia_ver 0.5.0-rc3 +%define libjulia_sover_major 0.5 +%define libjulia_sover_minor 0 + %define rmath_ver 0.1 -%define libuv_ver efb40768b7c7bd9f173a7868f74b92b1c5a61a0e -%define utf8proc_ver 85789180158ac7fff85b9f008828d6ac44f072ea -%define llvm_ver 3.3 +%define libuv_ver 8d5131b6c1595920dd30644cd1435b4f344b46c8 +%define utf8proc_ver e3a5ed7b8bb5d0c6bb313d3e1f4d072c04113c4b +%define llvm_ver 3.7.1 %define compat_mode 1 %define src_name julia-tarball -Version: 0.4.6 + +Version: 0.5.0~rc3 Release: 0 Url: http://julialang.org/ -Source0: https://github.com/JuliaLang/julia/releases/download/v%{version}/julia-%{version}.tar.gz +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/JuliaLang/Rmath-julia/tarball/v%{rmath_ver}#/Rmath-julia-%{rmath_ver}.tar.gz Source12: https://api.github.com/repos/JuliaLang/utf8proc/tarball/%{utf8proc_ver}#/utf8proc-%{utf8proc_ver}.tar.gz -# LLVM 3.3 will be bundle until upstream change the supported LLVM version. As -# it can be seen in upstream issues #9336 and #13209, there are still many -# problems related with LLVM 3.5, regarding both the build process and the JIT -# compiler used by Julia. Thus, it is better for now stick with LLVM 3.3. For -# more information, see: -# https://github.com/JuliaLang/julia/issues/13208 -# https://github.com/JuliaLang/julia/issues/9336 -Source13: http://llvm.org/releases/%{llvm_ver}/llvm-%{llvm_ver}.src.tar.gz +# 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-OPENSUSE julia-disable-llvm-timestamps.patch -- Disable LLVM timestamps Patch1: julia-disable-llvm-timestamps.patch -BuildRequires: arpack-ng-devel +BuildRequires: arpack-ng-devel >= 3.3.0 BuildRequires: blas-devel -BuildRequires: dSFMT-devel +BuildRequires: dSFMT-devel >= 2.2.3 BuildRequires: double-conversion-devel BuildRequires: fdupes -BuildRequires: fftw3-threads-devel +BuildRequires: fftw3-threads-devel >= 3.3.4 BuildRequires: gcc-c++ BuildRequires: gcc-fortran -BuildRequires: gmp-devel +BuildRequires: gmp-devel >= 6.1.0 BuildRequires: hicolor-icon-theme -BuildRequires: lapack-devel +BuildRequires: lapack-devel >= 3.5.0 BuildRequires: libgit2-devel -BuildRequires: libunwind-devel +BuildRequires: libunwind-devel > 1.1 BuildRequires: m4 -BuildRequires: mpfr-devel +BuildRequires: mpfr-devel >= 3.1.3 BuildRequires: ncurses-devel BuildRequires: openlibm-devel BuildRequires: openspecfun-devel -BuildRequires: patchelf -BuildRequires: pcre2-devel +BuildRequires: patchelf >= 0.8 +BuildRequires: pcre2-devel >= 10.21 BuildRequires: perl BuildRequires: python >= 2.5 BuildRequires: readline-devel -BuildRequires: suitesparse-devel +BuildRequires: suitesparse-devel >= 4.4.5 BuildRequires: update-desktop-files BuildRequires: zlib-devel Requires: libarpack2 Requires: libblas3 Requires: libfftw3_threads3 +Requires: libgit2-24 Requires: liblapack3 -Requires: libpcre2-8-0 +Requires: libpcre2-16-0 Requires: ncurses Requires: readline Recommends: arpack-ng-devel @@ -131,6 +138,17 @@ in the Julia language, but rather for embedding Julia into external programs or debugging Julia itself. +%package debug +Summary: Julia debugging +Group: Development/Languages/Other +Requires: %{name} = %{version} +%if 0%{?compat_mode} +Conflicts: otherproviders(julia-debug) +%endif + +%description debug +Contains a debugging version of Julia system image and Julia library. + %if 0%{?compat_mode} == 0 %package doc Summary: Julia documentation and code examples @@ -152,18 +170,21 @@ %{expand:%global juliabuildopts %(cat %{SOURCE99})} %prep -%setup -q -n julia-%{version} +%setup -q -n julia-%{julia_ver} %patch1 -p1 # remove .gitignore find . -name ".git*" -exec rm {} ; pushd deps/ +mkdir -p srccache/ +pushd srccache/ cp %{SOURCE10} ./ cp %{SOURCE11} ./ cp %{SOURCE12} ./ cp %{SOURCE13} ./ popd +popd %build @@ -173,7 +194,7 @@ %define julia_march core2 %endif - %ifarch %ix86 + %ifarch %{ix86} %define julia_march pentium4 %endif @@ -228,10 +249,6 @@ cd %{buildroot}/%{_mandir}/man1/ ln -sf julia.1.gz julia-debug.1.gz -# Symbolic link of the library libjulia.so for the julia-devel package. -cd %{buildroot}/%{_libdir} -ln -s julia/libjulia.so libjulia.so - rm -f %{buildroot}%{_libdir}/julia/libuv.a rm -f %{buildroot}%{_datadir}/julia/base/build.h rm -f %{buildroot}%{_datadir}/julia/base/Makefile @@ -253,8 +270,12 @@ %suse_update_desktop_file -r julia Science Math +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %post devel -p /sbin/ldconfig %postun devel -p /sbin/ldconfig +%post debug -p /sbin/ldconfig +%postun debug -p /sbin/ldconfig %files %defattr(-,root,root) @@ -270,30 +291,38 @@ %{_datadir}/applications/julia.desktop %{_datadir}/icons/hicolor/scalable/apps/julia.svg %{_libdir}/julia/ -%{_mandir}/man1/julia.1.* +%{_libdir}/libjulia.so.%{libjulia_sover_major}.%{libjulia_sover_minor} +%{_mandir}/man1/julia.1%{ext_man} %dir %{_sysconfdir}/julia/ %config(noreplace) %{_sysconfdir}/julia/juliarc.jl # Exclude development files. %exclude %{_libdir}/julia/libccalltest.so -%exclude %{_libdir}/julia/libjulia-debug.so +# Exclude debugging files. %exclude %{_libdir}/julia/sys-debug.so +%exclude %{_libdir}/julia/libccalltest.so.debug # Exclude examples and documentation. %exclude %{_docdir}/julia/html %exclude %{_docdir}/julia/examples %files devel %defattr(-,root,root) -%{_bindir}/julia-debug %{_datadir}/julia/test/ %{_datadir}/julia/build_sysimg.jl -%{_datadir}/julia/build_executable.jl %{_datadir}/julia/julia-config.jl %{_includedir}/julia/ +%{_libdir}/libjulia.so.%{libjulia_sover_major} %{_libdir}/libjulia.so %{_libdir}/julia/libccalltest.so -%{_libdir}/julia/libjulia-debug.so + +%files debug +%defattr(-,root,root) +%{_bindir}/julia-debug +%{_libdir}/libjulia-debug.so.%{libjulia_sover_major}.%{libjulia_sover_minor} +%{_libdir}/libjulia-debug.so.%{libjulia_sover_major} +%{_libdir}/libjulia-debug.so +%{_libdir}/julia/libccalltest.so.debug %{_libdir}/julia/sys-debug.so -%{_mandir}/man1/julia-debug.1.* +%{_mandir}/man1/julia-debug.1%{ext_man} %if 0%{?compat_mode} == 0 %files doc ++++++ julia.spec ++++++ --- /var/tmp/diff_new_pack.a0WP39/_old 2016-09-01 14:03:01.000000000 +0200 +++ /var/tmp/diff_new_pack.a0WP39/_new 2016-09-01 14:03:01.000000000 +0200 @@ -16,62 +16,69 @@ # +# We must not strip binaries in julia, since it can lead to many problems. +# For example, see: +# +# https://github.com/JuliaLang/julia/issues/17941 +%undefine _build_create_debug +%define __arch_install_post export NO_BRP_STRIP_DEBUG=true + +%define julia_ver 0.5.0-rc3 +%define libjulia_sover_major 0.5 +%define libjulia_sover_minor 0 + %define rmath_ver 0.1 -%define libuv_ver efb40768b7c7bd9f173a7868f74b92b1c5a61a0e -%define utf8proc_ver 85789180158ac7fff85b9f008828d6ac44f072ea -%define llvm_ver 3.3 +%define libuv_ver 8d5131b6c1595920dd30644cd1435b4f344b46c8 +%define utf8proc_ver e3a5ed7b8bb5d0c6bb313d3e1f4d072c04113c4b +%define llvm_ver 3.7.1 %define compat_mode 0 %define src_name julia-tarball -Version: 0.4.6 + +Version: 0.5.0~rc3 Release: 0 Url: http://julialang.org/ -Source0: https://github.com/JuliaLang/julia/releases/download/v%{version}/julia-%{version}.tar.gz +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/JuliaLang/Rmath-julia/tarball/v%{rmath_ver}#/Rmath-julia-%{rmath_ver}.tar.gz Source12: https://api.github.com/repos/JuliaLang/utf8proc/tarball/%{utf8proc_ver}#/utf8proc-%{utf8proc_ver}.tar.gz -# LLVM 3.3 will be bundle until upstream change the supported LLVM version. As -# it can be seen in upstream issues #9336 and #13209, there are still many -# problems related with LLVM 3.5, regarding both the build process and the JIT -# compiler used by Julia. Thus, it is better for now stick with LLVM 3.3. For -# more information, see: -# https://github.com/JuliaLang/julia/issues/13208 -# https://github.com/JuliaLang/julia/issues/9336 -Source13: http://llvm.org/releases/%{llvm_ver}/llvm-%{llvm_ver}.src.tar.gz +# 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-OPENSUSE julia-disable-llvm-timestamps.patch -- Disable LLVM timestamps Patch1: julia-disable-llvm-timestamps.patch -BuildRequires: arpack-ng-devel +BuildRequires: arpack-ng-devel >= 3.3.0 BuildRequires: blas-devel -BuildRequires: dSFMT-devel +BuildRequires: dSFMT-devel >= 2.2.3 BuildRequires: double-conversion-devel BuildRequires: fdupes -BuildRequires: fftw3-threads-devel +BuildRequires: fftw3-threads-devel >= 3.3.4 BuildRequires: gcc-c++ BuildRequires: gcc-fortran -BuildRequires: gmp-devel +BuildRequires: gmp-devel >= 6.1.0 BuildRequires: hicolor-icon-theme -BuildRequires: lapack-devel +BuildRequires: lapack-devel >= 3.5.0 BuildRequires: libgit2-devel -BuildRequires: libunwind-devel +BuildRequires: libunwind-devel > 1.1 BuildRequires: m4 -BuildRequires: mpfr-devel +BuildRequires: mpfr-devel >= 3.1.3 BuildRequires: ncurses-devel BuildRequires: openlibm-devel BuildRequires: openspecfun-devel -BuildRequires: patchelf -BuildRequires: pcre2-devel +BuildRequires: patchelf >= 0.8 +BuildRequires: pcre2-devel >= 10.21 BuildRequires: perl BuildRequires: python >= 2.5 BuildRequires: readline-devel -BuildRequires: suitesparse-devel +BuildRequires: suitesparse-devel >= 4.4.5 BuildRequires: update-desktop-files BuildRequires: zlib-devel Requires: libarpack2 Requires: libblas3 Requires: libfftw3_threads3 +Requires: libgit2-24 Requires: liblapack3 -Requires: libpcre2-8-0 +Requires: libpcre2-16-0 Requires: ncurses Requires: readline Recommends: arpack-ng-devel @@ -131,6 +138,17 @@ in the Julia language, but rather for embedding Julia into external programs or debugging Julia itself. +%package debug +Summary: Julia debugging +Group: Development/Languages/Other +Requires: %{name} = %{version} +%if 0%{?compat_mode} +Conflicts: otherproviders(julia-debug) +%endif + +%description debug +Contains a debugging version of Julia system image and Julia library. + %if 0%{?compat_mode} == 0 %package doc Summary: Julia documentation and code examples @@ -152,18 +170,21 @@ %{expand:%global juliabuildopts %(cat %{SOURCE99})} %prep -%setup -q -n julia-%{version} +%setup -q -n julia-%{julia_ver} %patch1 -p1 # remove .gitignore find . -name ".git*" -exec rm {} ; pushd deps/ +mkdir -p srccache/ +pushd srccache/ cp %{SOURCE10} ./ cp %{SOURCE11} ./ cp %{SOURCE12} ./ cp %{SOURCE13} ./ popd +popd %build @@ -173,7 +194,7 @@ %define julia_march core2 %endif - %ifarch %ix86 + %ifarch %{ix86} %define julia_march pentium4 %endif @@ -228,10 +249,6 @@ cd %{buildroot}/%{_mandir}/man1/ ln -sf julia.1.gz julia-debug.1.gz -# Symbolic link of the library libjulia.so for the julia-devel package. -cd %{buildroot}/%{_libdir} -ln -s julia/libjulia.so libjulia.so - rm -f %{buildroot}%{_libdir}/julia/libuv.a rm -f %{buildroot}%{_datadir}/julia/base/build.h rm -f %{buildroot}%{_datadir}/julia/base/Makefile @@ -253,8 +270,12 @@ %suse_update_desktop_file -r julia Science Math +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %post devel -p /sbin/ldconfig %postun devel -p /sbin/ldconfig +%post debug -p /sbin/ldconfig +%postun debug -p /sbin/ldconfig %files %defattr(-,root,root) @@ -270,30 +291,38 @@ %{_datadir}/applications/julia.desktop %{_datadir}/icons/hicolor/scalable/apps/julia.svg %{_libdir}/julia/ -%{_mandir}/man1/julia.1.* +%{_libdir}/libjulia.so.%{libjulia_sover_major}.%{libjulia_sover_minor} +%{_mandir}/man1/julia.1%{ext_man} %dir %{_sysconfdir}/julia/ %config(noreplace) %{_sysconfdir}/julia/juliarc.jl # Exclude development files. %exclude %{_libdir}/julia/libccalltest.so -%exclude %{_libdir}/julia/libjulia-debug.so +# Exclude debugging files. %exclude %{_libdir}/julia/sys-debug.so +%exclude %{_libdir}/julia/libccalltest.so.debug # Exclude examples and documentation. %exclude %{_docdir}/julia/html %exclude %{_docdir}/julia/examples %files devel %defattr(-,root,root) -%{_bindir}/julia-debug %{_datadir}/julia/test/ %{_datadir}/julia/build_sysimg.jl -%{_datadir}/julia/build_executable.jl %{_datadir}/julia/julia-config.jl %{_includedir}/julia/ +%{_libdir}/libjulia.so.%{libjulia_sover_major} %{_libdir}/libjulia.so %{_libdir}/julia/libccalltest.so -%{_libdir}/julia/libjulia-debug.so + +%files debug +%defattr(-,root,root) +%{_bindir}/julia-debug +%{_libdir}/libjulia-debug.so.%{libjulia_sover_major}.%{libjulia_sover_minor} +%{_libdir}/libjulia-debug.so.%{libjulia_sover_major} +%{_libdir}/libjulia-debug.so +%{_libdir}/julia/libccalltest.so.debug %{_libdir}/julia/sys-debug.so -%{_mandir}/man1/julia-debug.1.* +%{_mandir}/man1/julia-debug.1%{ext_man} %if 0%{?compat_mode} == 0 %files doc ++++++ julia-disable-llvm-timestamps.patch ++++++ --- /var/tmp/diff_new_pack.a0WP39/_old 2016-09-01 14:03:01.000000000 +0200 +++ /var/tmp/diff_new_pack.a0WP39/_new 2016-09-01 14:03:01.000000000 +0200 @@ -1,13 +1,13 @@ -Index: julia/deps/Makefile +Index: julia-0.5.0-rc1/deps/llvm.mk =================================================================== ---- julia.orig/deps/Makefile -+++ julia/deps/Makefile -@@ -360,7 +360,7 @@ LLVM_LDFLAGS = $(LDFLAGS) - LLVM_TARGETS = host - LLVM_TARGET_FLAGS = --enable-targets=$(LLVM_TARGETS) - LLVM_CMAKE += -DLLVM_TARGETS_TO_BUILD:STRING="$(LLVM_TARGETS)" -DCMAKE_BUILD_TYPE="$(LLVM_BUILDTYPE)" -DLLVM_BUILD_LLVM_DYLIB:BOOL=ON -DLLVM_DYLIB_EXPORT_ALL:BOOL=ON --LLVM_FLAGS += --disable-profiling --enable-shared --enable-static $(LLVM_TARGET_FLAGS) --disable-bindings --disable-docs -+LLVM_FLAGS += --disable-profiling --enable-shared --enable-static $(LLVM_TARGET_FLAGS) --disable-bindings --disable-docs --enable-timestamps=no +--- julia-0.5.0-rc1.orig/deps/llvm.mk ++++ julia-0.5.0-rc1/deps/llvm.mk +@@ -85,7 +85,7 @@ LLVM_TARGET_FLAGS := --enable-targets=$( + LLVM_CMAKE += -DLLVM_TARGETS_TO_BUILD:STRING="$(LLVM_TARGETS)" -DCMAKE_BUILD_TYPE="$(LLVM_CMAKE_BUILDTYPE)" + LLVM_CMAKE += -DLLVM_TOOLS_INSTALL_DIR=$(shell $(JULIAHOME)/contrib/relative_path.sh $(build_prefix) $(build_depsbindir)) + LLVM_FLAGS += --disable-profiling --enable-static $(LLVM_TARGET_FLAGS) +-LLVM_FLAGS += --disable-bindings --disable-docs --disable-libedit --disable-terminfo ++LLVM_FLAGS += --disable-bindings --disable-docs --disable-libedit --disable-terminfo --enable-timestamps=no # LLVM has weird install prefixes (see llvm-$(LLVM_VER)/build_$(LLVM_BUILDTYPE)/Makefile.config for the full list) # We map them here to the "normal" ones, which means just prefixing "PROJ_" to the variable name. - LLVM_MFLAGS = PROJ_libdir=$(build_libdir) PROJ_bindir=$(build_bindir) PROJ_includedir=$(build_includedir) + LLVM_MFLAGS := PROJ_libdir=$(build_libdir) PROJ_bindir=$(build_depsbindir) PROJ_includedir=$(build_includedir) DestSharedLibDir=$(build_shlibdir) ++++++ libuv-efb40768b7c7bd9f173a7868f74b92b1c5a61a0e.tar.gz -> libuv-8d5131b6c1595920dd30644cd1435b4f344b46c8.tar.gz ++++++ ++++ 65738 lines of diff (skipped) ++++++ pre_checkin.sh ++++++ --- /var/tmp/diff_new_pack.a0WP39/_old 2016-09-01 14:03:01.000000000 +0200 +++ /var/tmp/diff_new_pack.a0WP39/_new 2016-09-01 14:03:01.000000000 +0200 @@ -1,4 +1,4 @@ #!/bin/sh cp -f julia.changes julia-compat.changes cp -f julia.spec julia-compat.spec -sed -i 's/%define compat_mode 0/%define compat_mode 1/' julia-compat.spec +sed -i 's/%define compat_mode 0/%define compat_mode 1/' julia-compat.spec ++++++ utf8proc-85789180158ac7fff85b9f008828d6ac44f072ea.tar.gz -> utf8proc-e3a5ed7b8bb5d0c6bb313d3e1f4d072c04113c4b.tar.gz ++++++ ++++ 28572 lines of diff (skipped)