Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] julia: update to 1.6.0.
@ 2021-03-25 21:27 non-Jedi
  2021-03-26  1:16 ` non-Jedi
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: non-Jedi @ 2021-03-25 21:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1590 bytes --]

There is a new pull request by non-Jedi against master on the void-packages repository

https://github.com/non-Jedi/void-packages julia1.6.0
https://github.com/void-linux/void-packages/pull/29758

julia: update to 1.6.0.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/29758.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-julia1.6.0-29758.patch --]
[-- Type: text/x-diff, Size: 2982 bytes --]

From 606b476b66dd2c3582c0642cb585a62fc4176f81 Mon Sep 17 00:00:00 2001
From: Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>
Date: Thu, 25 Mar 2021 17:21:30 -0400
Subject: [PATCH] julia: update to 1.6.0.

---
 srcpkgs/julia/template | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/julia/template b/srcpkgs/julia/template
index 56eb8f9511d1..81f1523d41b8 100644
--- a/srcpkgs/julia/template
+++ b/srcpkgs/julia/template
@@ -1,38 +1,39 @@
 # Template file for 'julia'
 pkgname=julia
-version=1.5.3
-revision=2
+version=1.6.0
+revision=1
 archs="i686* x86_64* armv7l* aarch64*"
 build_style=gnu-makefile
 make_build_args="prefix=/usr sysconfdir=/etc datarootdir=/usr/share
  USE_BINARYBUILDER=0 USE_SYSTEM_LIBM=0 USE_SYSTEM_DSFMT=0 USE_SYSTEM_LIBUV=0
  USE_SYSTEM_SUITESPARSE=0 USE_SYSTEM_BLAS=0 USE_SYSTEM_LAPACK=0 USE_SYSTEM_LLVM=1
  USE_SYSTEM_LIBUNWIND=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_GMP=1 USE_SYSTEM_PATCHELF=1
- USE_SYSTEM_MPFR=1 USE_SYSTEM_MBEDTLS=1 USE_SYSTEM_LIBSSH2=1 USE_SYSTEM_CURL=1
- USE_SYSTEM_ZLIB=1 USE_SYSTEM_P7ZIP=1 USE_SYSTEM_LIBGIT2=1 USE_SYSTEM_UTF8PROC=1
+ USE_SYSTEM_MPFR=1 USE_SYSTEM_MBEDTLS=1 USE_SYSTEM_LIBSSH2=1 USE_SYSTEM_NGHTTP2=1
+ USE_SYSTEM_CURL=1 USE_SYSTEM_ZLIB=1 USE_SYSTEM_P7ZIP=1 USE_SYSTEM_LIBGIT2=1
+ USE_SYSTEM_UTF8PROC=1
  UTF8PROC_INC='${XBPS_CROSS_BASE}/usr/include/libutf8proc'"
 make_install_args="$make_build_args"
 make_check_args="$make_build_args"
 make_check_target=testall
 conf_files="/etc/julia/startup.jl"
 hostmakedepends="pkg-config perl cmake python gcc-fortran patchelf which tar xz"
-makedepends="p7zip pcre2-devel mpfr-devel libgit2-devel libcurl-devel
+makedepends="p7zip pcre2-devel mpfr-devel libgit2-devel libcurl-devel nghttp2-devel
  libssh2-devel mbedtls-devel libatomic-devel zlib-devel libunwind-devel
- libutf8proc-devel llvm10"
+ libutf8proc-devel llvm11"
 # Julia provides vendored symlinks in /usr/lib/julia pointing to these libraries,
 # but none of the julia executables link to them so these are not auto-detected
-depends="libgit2 libcurl mpfr mbedtls libpcre2 libssh2 libquadmath p7zip"
+depends="libgit2 libcurl mpfr mbedtls libpcre2 libssh2 nghttp2 libquadmath p7zip"
 short_desc="High-level, high-performance dynamic programming language"
 maintainer="Adam Beckmeyer <adam_git@thebeckmeyers.xyz>"
 license="MIT"
 homepage="https://julialang.org"
 distfiles="https://github.com/JuliaLang/julia/releases/download/v${version}/julia-${version}-full.tar.gz"
-checksum=fb69337ca037576758547c7eed9ae8f153a9c052318327b6b7f1917408c14d91
+checksum=1b05f42c9368bc2349c47363b7ddc175a2da3cd162d52b6e24c4f5d4d6e1232c
 nocross="build system is a mess"
 # Targets for the vendored symlinks mentioned above
 shlib_requires="libgit2.so.1.0 libcurl.so.4 libmpfr.so.6 libgmp.so.10
  libmbedcrypto.so.3 libmbedtls.so.12 libmbedx509.so.0 libpcre2-8.so.0
- libssh2.so.1 libquadmath.so.0"
+ libssh2.so.1 libquadmath.so.0 libnghttp2.so.14"
 
 case "$XBPS_TARGET_MACHINE" in
 i686*)

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

* Re: julia: update to 1.6.0.
  2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
@ 2021-03-26  1:16 ` non-Jedi
  2021-03-26  1:22 ` ahesford
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: non-Jedi @ 2021-03-26  1:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 381 bytes --]

New comment by non-Jedi on void-packages repository

https://github.com/void-linux/void-packages/pull/29758#issuecomment-807856651

Comment:
Just realized that since this vendors in suitesparse, technically this package should be marked as GPL rather than MIT. Or we could build without sparse linear algebra support... How are projects with mixed licenses supposed to be handled?

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

* Re: julia: update to 1.6.0.
  2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
  2021-03-26  1:16 ` non-Jedi
@ 2021-03-26  1:22 ` ahesford
  2021-03-26  1:24 ` ahesford
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ahesford @ 2021-03-26  1:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 481 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/29758#issuecomment-807859447

Comment:
I remember earlier versions passed the bast majority of tests but some still failed. If the number of failures isn't dramatically increasing, we shouldn't worry too much.

For licenses, just list both separated by a comma, *e.g.*, "MIT, GPL-3.0-or-later". Just double check the right GPL version restrictions and use the SPDX identifier.

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

* Re: julia: update to 1.6.0.
  2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
  2021-03-26  1:16 ` non-Jedi
  2021-03-26  1:22 ` ahesford
@ 2021-03-26  1:24 ` ahesford
  2021-03-26 15:25 ` non-Jedi
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ahesford @ 2021-03-26  1:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/29758#issuecomment-807860357

Comment:
Just checked the test log, and the number of broken, failed and errors from tests are in the ballpark of my memory. Nothing alarming.

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

* Re: julia: update to 1.6.0.
  2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
                   ` (2 preceding siblings ...)
  2021-03-26  1:24 ` ahesford
@ 2021-03-26 15:25 ` non-Jedi
  2021-03-26 21:56 ` ahesford
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: non-Jedi @ 2021-03-26 15:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 812 bytes --]

New comment by non-Jedi on void-packages repository

https://github.com/void-linux/void-packages/pull/29758#issuecomment-808307802

Comment:
> I remember earlier versions passed the bast majority of tests but some still failed. If the number of failures isn't dramatically increasing, we shouldn't worry too much.

Ya. It's no different than it has been. I included that blurb so that people unfamiliar with the history wouldn't be confused by the CI failures.

> For licenses, just list both separated by a comma, _e.g._, "MIT, GPL-3.0-or-later". Just double check the right GPL version restrictions and use the SPDX identifier.

Will do. By the looks of it, it will just be a list of basically every prominent free software license in existence: https://github.com/JuliaLang/julia/blob/master/LICENSE.md

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

* Re: julia: update to 1.6.0.
  2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
                   ` (3 preceding siblings ...)
  2021-03-26 15:25 ` non-Jedi
@ 2021-03-26 21:56 ` ahesford
  2021-03-30  4:15 ` [PR REVIEW] " ahesford
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ahesford @ 2021-03-26 21:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/29758#issuecomment-808544122

Comment:
In that case, just leave it MIT. You're already copying the full list as it is, this is just metadata for convenient categorization.

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

* Re: [PR REVIEW] julia: update to 1.6.0.
  2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
                   ` (4 preceding siblings ...)
  2021-03-26 21:56 ` ahesford
@ 2021-03-30  4:15 ` ahesford
  2021-03-30  4:15 ` ahesford
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ahesford @ 2021-03-30  4:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 207 bytes --]

New review comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/29758#discussion_r603766467

Comment:
Add `libatomic.so.1` and `libssp.so.0` to `shlib_requires`.

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

* Re: [PR REVIEW] julia: update to 1.6.0.
  2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
                   ` (5 preceding siblings ...)
  2021-03-30  4:15 ` [PR REVIEW] " ahesford
@ 2021-03-30  4:15 ` ahesford
  2021-03-31 12:40 ` [PR PATCH] [Updated] " non-Jedi
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ahesford @ 2021-03-30  4:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 190 bytes --]

New review comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/29758#discussion_r603766317

Comment:
Add `libssp` and `libatomic` to `depends`.

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

* Re: [PR PATCH] [Updated] julia: update to 1.6.0.
  2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
                   ` (6 preceding siblings ...)
  2021-03-30  4:15 ` ahesford
@ 2021-03-31 12:40 ` non-Jedi
  2021-03-31 12:41 ` non-Jedi
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: non-Jedi @ 2021-03-31 12:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1808 bytes --]

There is an updated pull request by non-Jedi against master on the void-packages repository

https://github.com/non-Jedi/void-packages julia1.6.0
https://github.com/void-linux/void-packages/pull/29758

julia: update to 1.6.0.
Built successfully and appears to be working fine on x86_64 glibc. Test suite doesn't pass and hasn't been passing unless you build julia using all vendored (and heavily patched) dependencies (including llvm).

<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/29758.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-julia1.6.0-29758.patch --]
[-- Type: text/x-diff, Size: 3474 bytes --]

From 194353a9e3085ae5a24d8d67c8b64453ae5d2d2b Mon Sep 17 00:00:00 2001
From: Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>
Date: Thu, 25 Mar 2021 17:21:30 -0400
Subject: [PATCH] julia: update to 1.6.0.

---
 srcpkgs/julia/template | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/julia/template b/srcpkgs/julia/template
index 56eb8f9511d1..4df23ca8ac23 100644
--- a/srcpkgs/julia/template
+++ b/srcpkgs/julia/template
@@ -1,38 +1,39 @@
 # Template file for 'julia'
 pkgname=julia
-version=1.5.3
-revision=2
+version=1.6.0
+revision=1
 archs="i686* x86_64* armv7l* aarch64*"
 build_style=gnu-makefile
 make_build_args="prefix=/usr sysconfdir=/etc datarootdir=/usr/share
  USE_BINARYBUILDER=0 USE_SYSTEM_LIBM=0 USE_SYSTEM_DSFMT=0 USE_SYSTEM_LIBUV=0
  USE_SYSTEM_SUITESPARSE=0 USE_SYSTEM_BLAS=0 USE_SYSTEM_LAPACK=0 USE_SYSTEM_LLVM=1
  USE_SYSTEM_LIBUNWIND=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_GMP=1 USE_SYSTEM_PATCHELF=1
- USE_SYSTEM_MPFR=1 USE_SYSTEM_MBEDTLS=1 USE_SYSTEM_LIBSSH2=1 USE_SYSTEM_CURL=1
- USE_SYSTEM_ZLIB=1 USE_SYSTEM_P7ZIP=1 USE_SYSTEM_LIBGIT2=1 USE_SYSTEM_UTF8PROC=1
+ USE_SYSTEM_MPFR=1 USE_SYSTEM_MBEDTLS=1 USE_SYSTEM_LIBSSH2=1 USE_SYSTEM_NGHTTP2=1
+ USE_SYSTEM_CURL=1 USE_SYSTEM_ZLIB=1 USE_SYSTEM_P7ZIP=1 USE_SYSTEM_LIBGIT2=1
+ USE_SYSTEM_UTF8PROC=1
  UTF8PROC_INC='${XBPS_CROSS_BASE}/usr/include/libutf8proc'"
 make_install_args="$make_build_args"
 make_check_args="$make_build_args"
 make_check_target=testall
 conf_files="/etc/julia/startup.jl"
 hostmakedepends="pkg-config perl cmake python gcc-fortran patchelf which tar xz"
-makedepends="p7zip pcre2-devel mpfr-devel libgit2-devel libcurl-devel
+makedepends="p7zip pcre2-devel mpfr-devel libgit2-devel libcurl-devel nghttp2-devel
  libssh2-devel mbedtls-devel libatomic-devel zlib-devel libunwind-devel
- libutf8proc-devel llvm10"
+ libutf8proc-devel llvm11"
 # Julia provides vendored symlinks in /usr/lib/julia pointing to these libraries,
 # but none of the julia executables link to them so these are not auto-detected
-depends="libgit2 libcurl mpfr mbedtls libpcre2 libssh2 libquadmath p7zip"
+depends="libgit2 libcurl mpfr mbedtls libatomic libpcre2 libssh2 nghttp2 libquadmath libssp p7zip"
 short_desc="High-level, high-performance dynamic programming language"
 maintainer="Adam Beckmeyer <adam_git@thebeckmeyers.xyz>"
 license="MIT"
 homepage="https://julialang.org"
 distfiles="https://github.com/JuliaLang/julia/releases/download/v${version}/julia-${version}-full.tar.gz"
-checksum=fb69337ca037576758547c7eed9ae8f153a9c052318327b6b7f1917408c14d91
+checksum=1b05f42c9368bc2349c47363b7ddc175a2da3cd162d52b6e24c4f5d4d6e1232c
 nocross="build system is a mess"
 # Targets for the vendored symlinks mentioned above
 shlib_requires="libgit2.so.1.0 libcurl.so.4 libmpfr.so.6 libgmp.so.10
  libmbedcrypto.so.3 libmbedtls.so.12 libmbedx509.so.0 libpcre2-8.so.0
- libssh2.so.1 libquadmath.so.0"
+ libssh2.so.1 libquadmath.so.0 libnghttp2.so.14 libatomic.so.1 libssp.so.0"
 
 case "$XBPS_TARGET_MACHINE" in
 i686*)
@@ -85,8 +86,8 @@ post_install() {
 
 	# julia needlessly copies system libraries into a vendor directory
 	local _lib
-	for _lib in libgcc_s.so.1 libgfortran.so.5 libquadmath.so.0; do
-		rm -f "${DESTDIR}/usr/lib/julia/${_lib}"
+	for _lib in libgcc_s.so.1 libgfortran.so.5 libquadmath.so.0 libatomic.so.1 libstdc++.so.6 libssp.so.0; do
+		rm "${DESTDIR}/usr/lib/julia/${_lib}"
 		ln -s "/usr/lib/${_lib}" "${DESTDIR}/usr/lib/julia"
 	done
 }

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

* Re: [PR PATCH] [Updated] julia: update to 1.6.0.
  2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
                   ` (7 preceding siblings ...)
  2021-03-31 12:40 ` [PR PATCH] [Updated] " non-Jedi
@ 2021-03-31 12:41 ` non-Jedi
  2021-03-31 15:21 ` non-Jedi
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: non-Jedi @ 2021-03-31 12:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1808 bytes --]

There is an updated pull request by non-Jedi against master on the void-packages repository

https://github.com/non-Jedi/void-packages julia1.6.0
https://github.com/void-linux/void-packages/pull/29758

julia: update to 1.6.0.
Built successfully and appears to be working fine on x86_64 glibc. Test suite doesn't pass and hasn't been passing unless you build julia using all vendored (and heavily patched) dependencies (including llvm).

<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/29758.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-julia1.6.0-29758.patch --]
[-- Type: text/x-diff, Size: 3474 bytes --]

From d46ac5c4f145e1a96baefd382fbda6ca7b799594 Mon Sep 17 00:00:00 2001
From: Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>
Date: Thu, 25 Mar 2021 17:21:30 -0400
Subject: [PATCH] julia: update to 1.6.0.

---
 srcpkgs/julia/template | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/julia/template b/srcpkgs/julia/template
index 56eb8f9511d1..4df23ca8ac23 100644
--- a/srcpkgs/julia/template
+++ b/srcpkgs/julia/template
@@ -1,38 +1,39 @@
 # Template file for 'julia'
 pkgname=julia
-version=1.5.3
-revision=2
+version=1.6.0
+revision=1
 archs="i686* x86_64* armv7l* aarch64*"
 build_style=gnu-makefile
 make_build_args="prefix=/usr sysconfdir=/etc datarootdir=/usr/share
  USE_BINARYBUILDER=0 USE_SYSTEM_LIBM=0 USE_SYSTEM_DSFMT=0 USE_SYSTEM_LIBUV=0
  USE_SYSTEM_SUITESPARSE=0 USE_SYSTEM_BLAS=0 USE_SYSTEM_LAPACK=0 USE_SYSTEM_LLVM=1
  USE_SYSTEM_LIBUNWIND=1 USE_SYSTEM_PCRE=1 USE_SYSTEM_GMP=1 USE_SYSTEM_PATCHELF=1
- USE_SYSTEM_MPFR=1 USE_SYSTEM_MBEDTLS=1 USE_SYSTEM_LIBSSH2=1 USE_SYSTEM_CURL=1
- USE_SYSTEM_ZLIB=1 USE_SYSTEM_P7ZIP=1 USE_SYSTEM_LIBGIT2=1 USE_SYSTEM_UTF8PROC=1
+ USE_SYSTEM_MPFR=1 USE_SYSTEM_MBEDTLS=1 USE_SYSTEM_LIBSSH2=1 USE_SYSTEM_NGHTTP2=1
+ USE_SYSTEM_CURL=1 USE_SYSTEM_ZLIB=1 USE_SYSTEM_P7ZIP=1 USE_SYSTEM_LIBGIT2=1
+ USE_SYSTEM_UTF8PROC=1
  UTF8PROC_INC='${XBPS_CROSS_BASE}/usr/include/libutf8proc'"
 make_install_args="$make_build_args"
 make_check_args="$make_build_args"
 make_check_target=testall
 conf_files="/etc/julia/startup.jl"
 hostmakedepends="pkg-config perl cmake python gcc-fortran patchelf which tar xz"
-makedepends="p7zip pcre2-devel mpfr-devel libgit2-devel libcurl-devel
+makedepends="p7zip pcre2-devel mpfr-devel libgit2-devel libcurl-devel nghttp2-devel
  libssh2-devel mbedtls-devel libatomic-devel zlib-devel libunwind-devel
- libutf8proc-devel llvm10"
+ libutf8proc-devel llvm11"
 # Julia provides vendored symlinks in /usr/lib/julia pointing to these libraries,
 # but none of the julia executables link to them so these are not auto-detected
-depends="libgit2 libcurl mpfr mbedtls libpcre2 libssh2 libquadmath p7zip"
+depends="libgit2 libcurl mpfr mbedtls libatomic libpcre2 libssh2 nghttp2 libquadmath libssp p7zip"
 short_desc="High-level, high-performance dynamic programming language"
 maintainer="Adam Beckmeyer <adam_git@thebeckmeyers.xyz>"
 license="MIT"
 homepage="https://julialang.org"
 distfiles="https://github.com/JuliaLang/julia/releases/download/v${version}/julia-${version}-full.tar.gz"
-checksum=fb69337ca037576758547c7eed9ae8f153a9c052318327b6b7f1917408c14d91
+checksum=1b05f42c9368bc2349c47363b7ddc175a2da3cd162d52b6e24c4f5d4d6e1232c
 nocross="build system is a mess"
 # Targets for the vendored symlinks mentioned above
 shlib_requires="libgit2.so.1.0 libcurl.so.4 libmpfr.so.6 libgmp.so.10
  libmbedcrypto.so.3 libmbedtls.so.12 libmbedx509.so.0 libpcre2-8.so.0
- libssh2.so.1 libquadmath.so.0"
+ libssh2.so.1 libquadmath.so.0 libnghttp2.so.14 libatomic.so.1 libssp.so.0"
 
 case "$XBPS_TARGET_MACHINE" in
 i686*)
@@ -85,8 +86,8 @@ post_install() {
 
 	# julia needlessly copies system libraries into a vendor directory
 	local _lib
-	for _lib in libgcc_s.so.1 libgfortran.so.5 libquadmath.so.0; do
-		rm -f "${DESTDIR}/usr/lib/julia/${_lib}"
+	for _lib in libgcc_s.so.1 libgfortran.so.5 libquadmath.so.0 libatomic.so.1 libstdc++.so.6 libssp.so.0; do
+		rm "${DESTDIR}/usr/lib/julia/${_lib}"
 		ln -s "/usr/lib/${_lib}" "${DESTDIR}/usr/lib/julia"
 	done
 }

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

* Re: julia: update to 1.6.0.
  2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
                   ` (8 preceding siblings ...)
  2021-03-31 12:41 ` non-Jedi
@ 2021-03-31 15:21 ` non-Jedi
  2021-03-31 18:13 ` [PR PATCH] [Merged]: " ahesford
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: non-Jedi @ 2021-03-31 15:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

New comment by non-Jedi on void-packages repository

https://github.com/void-linux/void-packages/pull/29758#issuecomment-811148686

Comment:
Thanks for the thorough review. And good catch on the additional libraries. I've made the changes you suggested and force pushed.

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

* Re: [PR PATCH] [Merged]: julia: update to 1.6.0.
  2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
                   ` (9 preceding siblings ...)
  2021-03-31 15:21 ` non-Jedi
@ 2021-03-31 18:13 ` ahesford
  2021-03-31 19:35 ` ahesford
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ahesford @ 2021-03-31 18:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1647 bytes --]

There's a merged pull request on the void-packages repository

julia: update to 1.6.0.
https://github.com/void-linux/void-packages/pull/29758

Description:
Built successfully and appears to be working fine on x86_64 glibc. Test suite doesn't pass and hasn't been passing unless you build julia using all vendored (and heavily patched) dependencies (including llvm).

<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

* Re: julia: update to 1.6.0.
  2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
                   ` (10 preceding siblings ...)
  2021-03-31 18:13 ` [PR PATCH] [Merged]: " ahesford
@ 2021-03-31 19:35 ` ahesford
  2021-03-31 22:43 ` non-Jedi
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ahesford @ 2021-03-31 19:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/29758#issuecomment-811382749

Comment:
I merged this before I noticed that the failure on `i686` is not the tests but the build process. See [build logs](https://build.voidlinux.org/builders/i686_builder/builds/31520/steps/shell_3/logs/stdio) or the [CI results in this PR](https://github.com/void-linux/void-packages/pull/29758/checks?check_run_id=2236946329).

Do you mind taking a look at the failure to see if you can get this building for i686 again?

```
ERROR: error: address range table at offset 0x720 has an invalid tuple (length = 0) at offset 0x738
LoadError: failed process: Process(`/builddir/julia-1.6.0/usr/bin/julia -O0 --sysimage /builddir/julia-1.6.0/usr/lib/julia/sys.ji --startup-file=no -Cnative -e 'pushfirst!(DEPOT_PATH, "/tmp/jl_DXUoMZ");
Base.PRECOMPILE_TRACE_COMPILE[] = "/tmp/jl_XA56VY";
Base.compilecache(Base.PkgId("__PackagePrecompilationStatementModule"), "/tmp/jl_DXUoMZ/__PackagePrecompilationStatementModule/src/__PackagePrecompilationStatementModule.jl")
```


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

* Re: julia: update to 1.6.0.
  2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
                   ` (11 preceding siblings ...)
  2021-03-31 19:35 ` ahesford
@ 2021-03-31 22:43 ` non-Jedi
  2021-04-01 21:27 ` non-Jedi
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: non-Jedi @ 2021-03-31 22:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 165 bytes --]

New comment by non-Jedi on void-packages repository

https://github.com/void-linux/void-packages/pull/29758#issuecomment-811513428

Comment:
I'll see what I can do.

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

* Re: julia: update to 1.6.0.
  2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
                   ` (12 preceding siblings ...)
  2021-03-31 22:43 ` non-Jedi
@ 2021-04-01 21:27 ` non-Jedi
  2021-04-02 16:20 ` non-Jedi
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: non-Jedi @ 2021-04-01 21:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 506 bytes --]

New comment by non-Jedi on void-packages repository

https://github.com/void-linux/void-packages/pull/29758#issuecomment-812182190

Comment:
I haven't tested yet, but I have a sneaking suspicion that we need this patch to llvm 11 to successfully build julia i686. Will report back after building llvm and checking, but I'm not sure when I'll get the time to do so.

https://github.com/JuliaLang/julia/blob/21e7486322846836532fb0d19092c239cce190c9/deps/patches/llvm-11-D85313-debuginfo-empty-arange.patch

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

* Re: julia: update to 1.6.0.
  2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
                   ` (13 preceding siblings ...)
  2021-04-01 21:27 ` non-Jedi
@ 2021-04-02 16:20 ` non-Jedi
  2021-04-02 16:22 ` non-Jedi
  2021-04-02 18:15 ` ahesford
  16 siblings, 0 replies; 18+ messages in thread
From: non-Jedi @ 2021-04-02 16:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

New comment by non-Jedi on void-packages repository

https://github.com/void-linux/void-packages/pull/29758#issuecomment-812599875

Comment:
The patch I pointed to doesn't fix the issue. However the problem is most likely fixed by one of the patches julia applies to the vendored llvm. Julia builds fine for x86 when you allow it to vendor in its own llvm.

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

* Re: julia: update to 1.6.0.
  2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
                   ` (14 preceding siblings ...)
  2021-04-02 16:20 ` non-Jedi
@ 2021-04-02 16:22 ` non-Jedi
  2021-04-02 18:15 ` ahesford
  16 siblings, 0 replies; 18+ messages in thread
From: non-Jedi @ 2021-04-02 16:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 554 bytes --]

New comment by non-Jedi on void-packages repository

https://github.com/void-linux/void-packages/pull/29758#issuecomment-812599875

Comment:
The patch I pointed to doesn't fix the issue. However the problem is most likely fixed by one of the patches julia applies to the vendored llvm. Julia builds fine for x86 when you allow it to vendor in its own llvm. I'm not sure I have the relevant background to determine which of the 2-dozen or so patches is needed: https://github.com/JuliaLang/julia/tree/f9720dc2ebd6cd9e3086365f281e62506444ef37/deps/patches

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

* Re: julia: update to 1.6.0.
  2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
                   ` (15 preceding siblings ...)
  2021-04-02 16:22 ` non-Jedi
@ 2021-04-02 18:15 ` ahesford
  16 siblings, 0 replies; 18+ messages in thread
From: ahesford @ 2021-04-02 18:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 510 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/29758#issuecomment-812649346

Comment:
I wouldn't go too deep into this matter. Maintaining patches to our system LLVM just to support Julia on i686 doesn't seem like an attractive option. For now, we can leave it broken and decide whether to drop the `i686*` from `archs`. We can think about the merits of using the vendored LLVM when Void moves to `llvm12` relative to keeping the `llvm11` package around.

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

end of thread, other threads:[~2021-04-02 18:15 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25 21:27 [PR PATCH] julia: update to 1.6.0 non-Jedi
2021-03-26  1:16 ` non-Jedi
2021-03-26  1:22 ` ahesford
2021-03-26  1:24 ` ahesford
2021-03-26 15:25 ` non-Jedi
2021-03-26 21:56 ` ahesford
2021-03-30  4:15 ` [PR REVIEW] " ahesford
2021-03-30  4:15 ` ahesford
2021-03-31 12:40 ` [PR PATCH] [Updated] " non-Jedi
2021-03-31 12:41 ` non-Jedi
2021-03-31 15:21 ` non-Jedi
2021-03-31 18:13 ` [PR PATCH] [Merged]: " ahesford
2021-03-31 19:35 ` ahesford
2021-03-31 22:43 ` non-Jedi
2021-04-01 21:27 ` non-Jedi
2021-04-02 16:20 ` non-Jedi
2021-04-02 16:22 ` non-Jedi
2021-04-02 18:15 ` ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).