GNU bug report logs - #59697
[PATCH] gnu: sgp4: Update to 1.0-2.6a448b4.

Previous Next

Package: guix-patches;

Reported by: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Date: Tue, 29 Nov 2022 21:17:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Christopher Baines <mail <at> cbaines.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#59697: closed ([PATCH] gnu: sgp4: Update to 1.0-2.6a448b4.)
Date: Tue, 06 Dec 2022 11:45:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 06 Dec 2022 11:44:14 +0000
with message-id <877cz4lpsw.fsf <at> cbaines.net>
and subject line Re: [bug#59697] [PATCH] gnu: sgp4: Update to 1.0-2.6a448b4.
has caused the debbugs.gnu.org bug report #59697,
regarding [PATCH] gnu: sgp4: Update to 1.0-2.6a448b4.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
59697: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59697
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH] gnu: sgp4: Update to 1.0-2.6a448b4.
Date: Tue, 29 Nov 2022 21:15:58 +0000
* gnu/packages/astronomy.scm (sgp4): Update to 1.0-2.6a448b4.
---
 gnu/packages/astronomy.scm | 29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 439fdf72a8..98f3ea0e00 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1810,12 +1810,12 @@ (define-public gpredict
     (license license:gpl2+)))
 
 (define-public sgp4
-  ;; No tagged releases, use commit directly.
-  (let ((commit "ca9d4d97af4ee62461de6f13e0c85d1dc6000040")
-        (revision "1"))
+  ;; Version tag v1.0 is dated to <2021-01-11>, use the lates commit instead.
+  (let ((commit "6a448b4850e5fbf8c1ca03bb5f6013a9fdc1fd91")
+        (revision "2"))
     (package
       (name "sgp4")
-      (version (git-version "0.0.0" revision commit))
+      (version (git-version "1.0" revision commit))
       (source
        (origin
          (method git-fetch)
@@ -1824,17 +1824,20 @@ (define-public sgp4
                (commit commit)))
          (file-name (git-file-name name version))
          (sha256
-          (base32 "1xwfa6papmd2qz5w0hwzvijmzvp9np8dlw3q3qz4bmsippzjv8p7"))))
+          (base32 "15q8sain87cbppmzq66y6gp6bvm3kdd1bcchrl59rcvjp0w51wl1"))))
       (build-system cmake-build-system)
       (arguments
-       `(#:phases
-         (modify-phases %standard-phases
-           (replace 'check
-             (lambda _
-               ;; Tests fails, probably because of a few "(e <= -0.001)" errors.
-               ;; Or maybe this is not the right way to run the tests?
-               ;; (invoke "runtest/runtest")
-               #t)))))
+       (list
+        ;; FIXME: Tests evaluated via runtest binary, but it's failing even
+        ;; when SGP4-VER.TLE file was copied next to it during install phase.
+        ;;
+        ;; There are 2 more binaries are created after build phase -
+        ;; passpredict and sattrack which are failing to execute after
+        ;; install, strace output:
+        ;;
+        ;; strace: exec: Exec format error
+        ;;
+        #:tests? #f))
       (home-page "https://github.com/dnwrnr/sgp4")
       (synopsis "Simplified perturbations models library")
       (description

base-commit: 3cff7bfa9b46f1b73381df79a6f2aaa55a332126
-- 
2.38.1



[Message part 3 (message/rfc822, inline)]
From: Christopher Baines <mail <at> cbaines.net>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 59697-done <at> debbugs.gnu.org, guix-patches <at> gnu.org
Subject: Re: [bug#59697] [PATCH] gnu: sgp4: Update to 1.0-2.6a448b4.
Date: Tue, 06 Dec 2022 11:44:14 +0000
[Message part 4 (text/plain, inline)]
Sharlatan Hellseher <sharlatanus <at> gmail.com> writes:

> * gnu/packages/astronomy.scm (sgp4): Update to 1.0-2.6a448b4.
> ---
>  gnu/packages/astronomy.scm | 29 ++++++++++++++++-------------
>  1 file changed, 16 insertions(+), 13 deletions(-)

This looks good to me! I've pushed it to master as
4a9dd8607f3be46ea40237d506401daf3af84dba.

Chris
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 163 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.