GNU bug report logs -
#61439
[PATCH 0/4] gnu: Add JuliaAstro core packages.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61439 in the body.
You can then email your comments to 61439 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#61439
; Package
guix-patches
.
(Sat, 11 Feb 2023 21:49:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Sharlatan Hellseher <sharlatanus <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 11 Feb 2023 21:49:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi Guix!
I'm on the track with JuliaAstro mentioned in #60793 :)
This patch series includes 2x JLL and their implementation for Julia - ERFA and
WCS which are core packages to grow the tree on top of them.
x86_64 bulid passed succes:
> ./pre-inst-env guix build julia-erfa-jll julia-wcs-jll julia-erfa julia-wcs --rounds=2
> /gnu/store/mcdha3hmirsx56y22dq2axvqbfzp4053-julia-wcs-0.6.2
> /gnu/store/2wid9f05sxm619ihykkfalc6nv7ndw5v-julia-erfa-1.1.0
> /gnu/store/q6vvqim7r1fsq0yhbjy6zdzdfkd287sx-julia-wcs-jll-7.7.0+0
> /gnu/store/pnzdlnvvs99pzn8bp9j9k13mxi8ah6qc-julia-erfa-jll-2.0.0+0
aarch64 bulid in Qemue failed:
> ./pre-inst-env guix build julia-erfa-jll julia-wcs-jll julia-erfa julia-wcs --system=aarch64-linux
> ...
> phase `install' succeeded after 0.0 seconds
> starting phase `check'
> signal (11): Segmentation fault
> in expression starting at none:0
> Timer#663 at ./asyncevent.jl:109
> Timer at ./asyncevent.jl:94 [inlined]
> sleep at ./asyncevent.jl:240
> #44 at ./task.jl:484
> unknown function (ip: 0x555a44469f)
> jl_apply at /tmp/guix-build-julia-1.8.3.drv-0/julia-1.8.3/src/julia.h:1839 [inlined]
> start_task at /tmp/guix-build-julia-1.8.3.drv-0/julia-1.8.3/src/task.c:931
> Allocations: 2560514 (Pool: 2559192; Big: 1322); GC: 3
> qemu: uncaught target signal 11 (Segmentation fault) - core dumped
> error: in phase 'check': uncaught exception:
> %exception #<&invoke-error program: "julia" arguments: ("--depwarn=yes" "--procs=15" "/gnu/store/i588g3iyz4h4p6nb0qiy7hks6chl787v-julia-erfa-1.1.0/share/julia/loadpath/ERFA/test/runtests.jl") exit-status: #f term-signal: 11 stop-signal: #f>
> phase `check' failed after 7.0 seconds
> command "julia" "--depwarn=yes" "--procs=15" "/gnu/store/i588g3iyz4h4p6nb0qiy7hks6chl787v-julia-erfa-1.1.0/share/julia/loadpath/ERFA/test/runtests.jl" failed with signal 11
> builder for `/gnu/store/3kg912881g0anxm3fsvcdvnb3s3arjqs-julia-erfa-1.1.0.drv' failed with exit code 1
> build of /gnu/store/3kg912881g0anxm3fsvcdvnb3s3arjqs-julia-erfa-1.1.0.drv failed
> View build log at '/var/log/guix/drvs/3k/g912881g0anxm3fsvcdvnb3s3arjqs-julia-erfa-1.1.0.drv.gz'.
> guix build: error: build of `/gnu/store/3kg912881g0anxm3fsvcdvnb3s3arjqs-julia-erfa-1.1.0.drv' failed
Sharlatan Hellseher (4):
gnu: Add julia-erfa-jll.
gnu: Add julia-wcs-jll.
gnu: Add julia-erfa.
gnu: Add julia-wcs.
gnu/packages/julia-jll.scm | 74 ++++++++++++++++++++++++++++++++++++++
gnu/packages/julia-xyz.scm | 44 +++++++++++++++++++++++
2 files changed, 118 insertions(+)
base-commit: b367f28ed2ac8212d3c8b826b9655a0b2e879f18
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61439
; Package
guix-patches
.
(Sat, 11 Feb 2023 21:51:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 61439 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/julia-jll.scm (julia-erfa-jll): New variable.
---
gnu/packages/julia-jll.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm
index 1aab2f78ce..77bb3ff3d5 100644
--- a/gnu/packages/julia-jll.scm
+++ b/gnu/packages/julia-jll.scm
@@ -232,6 +232,42 @@ (define-public julia-compilersupportlibraries-jll
build tree Yggdrasil.")
(license license:expat)))
+(define-public julia-erfa-jll
+ (package
+ (name "julia-erfa-jll")
+ (version "2.0.0+0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaBinaryWrappers/ERFA_jll.jl")
+ (commit (string-append "ERFA-v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0knlck3vqr19g9z8zgjr7lj0qf1lisji5s2lm00y3ymv9bkj59sl"))))
+ (build-system julia-build-system)
+ (arguments
+ '(#:tests? #f ;no runtests
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'link-depot 'override-binary-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (map (lambda (wrapper)
+ (substitute* wrapper
+ (("generate_wrapper_header.*")
+ (string-append
+ "generate_wrapper_header(\"ERFA\", \""
+ (assoc-ref inputs "erfa") "\")\n"))))
+ ;; There's a Julia file for each platform, override them all
+ (find-files "src/wrappers/" "\\.jl$")))))))
+ (inputs (list erfa))
+ (propagated-inputs (list julia-jllwrappers))
+ (home-page "https://github.com/JuliaBinaryWrappers/ERFA_jll.jl")
+ (synopsis "ERFA library wrappers")
+ (description "This package provides a wrapper for the erfa library.")
+ (license license:expat)))
+
(define-public julia-expat-jll
(package
(name "julia-expat-jll")
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61439
; Package
guix-patches
.
(Sat, 11 Feb 2023 21:51:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 61439 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/julia-xyz.scm (julia-erfa): New variable.
---
gnu/packages/julia-xyz.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index b6da796b59..8f2b29193a 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1852,6 +1852,27 @@ (define-public julia-ellipsisnotation
before (or after)\".")
(license license:expat)))
+(define-public julia-erfa
+ (package
+ (name "julia-erfa")
+ (version "1.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaAstro/ERFA.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1f63kyqpsx9n4dh54hzy1bvm3fpl4vf8wi1279vfiza3vhh2ggx5"))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ (list julia-erfa-jll julia-staticarrays))
+ (home-page "https://github.com/JuliaAstro/ERFA.jl")
+ (synopsis "Julia wrapper for liberfa")
+ (description "This package provides a Julia wrapper for astronomical library ERFA.")
+ (license license:expat)))
+
(define-public julia-example
(let ((commit "f968c69dea24f851d0c7e686db23fa55826b5388"))
(package
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61439
; Package
guix-patches
.
(Sat, 11 Feb 2023 21:51:03 GMT)
Full text and
rfc822 format available.
Message #14 received at 61439 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/julia-jll.scm (julia-wcs-jll): New variable.
---
gnu/packages/julia-jll.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/julia-jll.scm b/gnu/packages/julia-jll.scm
index 77bb3ff3d5..2320b03595 100644
--- a/gnu/packages/julia-jll.scm
+++ b/gnu/packages/julia-jll.scm
@@ -1763,6 +1763,44 @@ (define-public julia-wayland-protocols-jll
(description "This package provides a wrapper for the wayland-protocols library.")
(license license:expat)))
+(define-public julia-wcs-jll
+ (package
+ (name "julia-wcs-jll")
+ (version "7.7.0+0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaBinaryWrappers/WCS_jll.jl")
+ (commit (string-append "WCS-v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "16i9899jwcp5i9mh88rn4b83v3i5v8g1jygixrr0grjnvf5qfvpk"))))
+ (build-system julia-build-system)
+ (arguments
+ '(#:tests? #f ; no runtests
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'link-depot 'override-binary-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (map
+ (lambda (wrapper)
+ (substitute* wrapper
+ (("generate_wrapper_header.*")
+ (string-append
+ "generate_wrapper_header(\"WCS\", \""
+ (assoc-ref inputs "wcslib") "\")\n"))))
+ ;; There's a Julia file for each platform, override them all
+ (find-files "src/wrappers/" "\\.jl$")))))))
+ (inputs
+ (list wcslib))
+ (propagated-inputs
+ (list julia-jllwrappers))
+ (home-page "https://github.com/JuliaBinaryWrappers/WCS_jll.jl")
+ (synopsis "WCS library wrappers")
+ (description "This package provides a wrapper for the wcs library.")
+ (license license:expat)))
+
(define-public julia-x264-jll
(package
(name "julia-x264-jll")
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61439
; Package
guix-patches
.
(Sat, 11 Feb 2023 21:51:03 GMT)
Full text and
rfc822 format available.
Message #17 received at 61439 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/julia-xyz.scm (julia-wcs): New variable.
---
gnu/packages/julia-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 8f2b29193a..82429c957d 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -6141,6 +6141,29 @@ (define-public julia-versionparsing
\"foreign\" version numbers from external packages.")
(license license:expat)))
+(define-public julia-wcs
+ (package
+ (name "julia-wcs")
+ (version "0.6.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaAstro/WCS.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ala8j4mh51gh14k3npcxmnlj2f00l0pij74qz453iqadb2283mi"))))
+ (build-system julia-build-system)
+ (propagated-inputs
+ (list julia-constructionbase julia-wcs-jll))
+ (home-page "https://github.com/JuliaAstro/WCS.jl")
+ (synopsis "Astronomical WCS library for Julia")
+ (description "Astronomical @url{World Coordinate System,
+https://www.atnf.csiro.au/people/mcalabre/WCS/} library for Julia. This package
+wraps the WCSLIB C library.")
+ (license license:expat)))
+
(define-public julia-weakrefstrings
(package
(name "julia-weakrefstrings")
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61439
; Package
guix-patches
.
(Wed, 15 Feb 2023 15:59:03 GMT)
Full text and
rfc822 format available.
Message #20 received at 61439 <at> debbugs.gnu.org (full text, mbox):
Hi,
On Sat, 11 Feb 2023 at 21:48, Sharlatan Hellseher <sharlatanus <at> gmail.com> wrote:
> Sharlatan Hellseher (4):
> gnu: Add julia-erfa-jll.
> gnu: Add julia-wcs-jll.
> gnu: Add julia-erfa.
> gnu: Add julia-wcs.
>
> gnu/packages/julia-jll.scm | 74 ++++++++++++++++++++++++++++++++++++++
> gnu/packages/julia-xyz.scm | 44 +++++++++++++++++++++++
> 2 files changed, 118 insertions(+)
This series LGTM.
Cheers,
simon
Reply sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
You have taken responsibility.
(Wed, 15 Feb 2023 17:33:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Sharlatan Hellseher <sharlatanus <at> gmail.com>
:
bug acknowledged by developer.
(Wed, 15 Feb 2023 17:33:03 GMT)
Full text and
rfc822 format available.
Message #25 received at 61439-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Wed, Feb 15, 2023 at 12:30:46PM +0100, zimoun wrote:
> Hi,
>
> On Sat, 11 Feb 2023 at 21:48, Sharlatan Hellseher <sharlatanus <at> gmail.com> wrote:
>
> > Sharlatan Hellseher (4):
> > gnu: Add julia-erfa-jll.
> > gnu: Add julia-wcs-jll.
> > gnu: Add julia-erfa.
> > gnu: Add julia-wcs.
> >
> > gnu/packages/julia-jll.scm | 74 ++++++++++++++++++++++++++++++++++++++
> > gnu/packages/julia-xyz.scm | 44 +++++++++++++++++++++++
> > 2 files changed, 118 insertions(+)
>
> This series LGTM.
Looks good to me too.
Patches pushed!
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 16 Mar 2023 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 93 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.