GNU bug report logs - #49333
[PATCH 0/2] Remove unreachable GNA upstream

Previous Next

Package: guix-patches;

Reported by: zimoun <zimon.toutoune <at> gmail.com>

Date: Fri, 2 Jul 2021 16:16:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49333 in the body.
You can then email your comments to 49333 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to 25913 <at> debbugs.gnu.org, guix-patches <at> gnu.org:
bug#49333; Package guix-patches. (Fri, 02 Jul 2021 16:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to zimoun <zimon.toutoune <at> gmail.com>:
New bug report received and forwarded. Copy sent to 25913 <at> debbugs.gnu.org, guix-patches <at> gnu.org. (Fri, 02 Jul 2021 16:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: zimoun <zimon.toutoune <at> gmail.com>
Subject: [PATCH 0/2] Remove unreachable GNA upstream
Date: Fri,  2 Jul 2021 18:14:51 +0200
Hi,

These trivial patches allow to close the old report 25913 [1].
Since there is no apparent new upstream, the sources are hosted only by
Software Heritage.

To verify all is correct,

  tar xf $(guix build -S guile-dbi)
  guix hash -r guile-dbi-2.1.6/
  09ys5hj7gnj5w1iv1m194j06jk6b8sdhc8j6hcv3bprq1428kyxw

  guix hash -r $(./pre-inst-env guix build -S guile-dbi)
  09ys5hj7gnj5w1iv1m194j06jk6b8sdhc8j6hcv3bprq1428kyxw

and

  tar xf $(guix build -S guile-sqlite3)
  guix hash -r guile-dbd-sqlite2-2.1.6/
  1rwf3z6ib6nkhfnk2nw8p6fqirdx2pparcrlmsm0i2ii62plpqhb

  guix hash -r $(./pre-inst-env guix build -S guile-dbd-sqlite3)
  1rwf3z6ib6nkhfnk2nw8p6fqirdx2pparcrlmsm0i2ii62plpqhb


Cheers,
simon

1: <http://issues.guix.gnu.org/issue/25913>

zimoun (2):
  gnu: guile-dbi: Replace 'url-fetch' by 'git-fetch'.
  gnu: guile-dbd-sqlite3: Replace 'url-fetch' by 'git-fetch'.

 gnu/packages/guile-xyz.scm | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)


base-commit: 468caeb70140f2418cf269e7b1f09d40d6dcf9fb
-- 
2.32.0





Information forwarded to guix-patches <at> gnu.org:
bug#49333; Package guix-patches. (Fri, 02 Jul 2021 16:19:01 GMT) Full text and rfc822 format available.

Message #8 received at 49333 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: 49333 <at> debbugs.gnu.org
Cc: zimoun <zimon.toutoune <at> gmail.com>
Subject: [PATCH 2/2] gnu: guile-dbd-sqlite3: Replace 'url-fetch' by
 'git-fetch'.
Date: Fri,  2 Jul 2021 18:18:09 +0200
Fixes https://debbugs.gnu.org/25913.

* gnu/packages/guile-xyz.scm (guile-dbi)[source]: Replace 'url-fetch'
by'git-fetch'.
---
 gnu/packages/guile-xyz.scm | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 3ce5b564e1..2a0f8cef98 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -1504,13 +1504,14 @@ It currently supports MySQL, Postgres and SQLite3.")
     (name "guile-dbd-sqlite3")
     (version "2.1.6")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "http://download.gna.org/guile-dbi/guile-dbd-sqlite3-"
-                    version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://example.org") ;only hosted on Software Heritage
+                    (commit "0758c615e9e85ad76d153d5dc6179881f1f50089")))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0rg71jchxd2y8x496s8zmfmikr5g8zxi8zv2ar3f7a23pph92iw2"))))
+                "1rwf3z6ib6nkhfnk2nw8p6fqirdx2pparcrlmsm0i2ii62plpqhb"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)
@@ -1519,6 +1520,8 @@ It currently supports MySQL, Postgres and SQLite3.")
      `(("sqlite" ,sqlite)
        ("zlib" ,(@ (gnu packages compression) zlib))))
     (synopsis "Guile DBI driver for SQLite")
+    ;; Unofficial home-page.
+    ;; Added by b9cbfa52f71505de8447fefabd97f16d0a9cbde6 (2016-06)
     (home-page "https://github.com/jkalbhenn/guile-dbd-sqlite3")
     (description
      "guile-dbi is a library for Guile that provides a convenient interface to
-- 
2.32.0





Information forwarded to guix-patches <at> gnu.org:
bug#49333; Package guix-patches. (Fri, 02 Jul 2021 16:19:02 GMT) Full text and rfc822 format available.

Message #11 received at 49333 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: 49333 <at> debbugs.gnu.org
Cc: zimoun <zimon.toutoune <at> gmail.com>
Subject: [PATCH 1/2] gnu: guile-dbi: Replace 'url-fetch' by 'git-fetch'.
Date: Fri,  2 Jul 2021 18:18:08 +0200
Fixes https://debbugs.gnu.org/25913.

* gnu/packages/guile-xyz.scm (guile-dbi)[source]: Replace 'url-fetch'
by'git-fetch'.
[home-page]: Update.
---
 gnu/packages/guile-xyz.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 7d7ffcb221..3ce5b564e1 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -1448,13 +1448,14 @@ library}.")
     (name "guile-dbi")
     (version "2.1.6")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "http://download.gna.org/guile-dbi/guile-dbi-"
-                    version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://example.org") ;only hosted on Software Heritage
+                    (commit "e19b019e9683faf66c3f385b20fcc112e65f8c6e")))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "116njrprhgrsv1qm904sp3b02rq01fx639r433d657gyhw3x159n"))))
+                "09ys5hj7gnj5w1iv1m194j06jk6b8sdhc8j6hcv3bprq1428kyxw"))))
     (build-system gnu-build-system)
     (arguments
      '(#:configure-flags
@@ -1481,7 +1482,7 @@ library}.")
     (propagated-inputs
      `(("guile" ,guile-2.2)))
     (synopsis "Guile database abstraction layer")
-    (home-page "http://home.gna.org/guile-dbi/guile-dbi.html")
+    (home-page "https://web.archive.org/web/20160328232717/http://home.gna.org/guile-dbi/guile-dbi.html")
     (description
      "guile-dbi is a library for Guile that provides a convenient interface to
 SQL databases.  Database programming with guile-dbi is generic in that the same
-- 
2.32.0





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 30 Jul 2021 20:55:02 GMT) Full text and rfc822 format available.

Notification sent to zimoun <zimon.toutoune <at> gmail.com>:
bug acknowledged by developer. (Fri, 30 Jul 2021 20:55:02 GMT) Full text and rfc822 format available.

Message #16 received at 49333-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 25913-done <at> debbugs.gnu.org, 49333-done <at> debbugs.gnu.org
Subject: Re: bug#49333: [PATCH 0/2] Remove unreachable GNA upstream
Date: Fri, 30 Jul 2021 22:54:14 +0200
Hello,

zimoun <zimon.toutoune <at> gmail.com> skribis:

> These trivial patches allow to close the old report 25913 [1].
> Since there is no apparent new upstream, the sources are hosted only by
> Software Heritage.
>
> To verify all is correct,
>
>   tar xf $(guix build -S guile-dbi)
>   guix hash -r guile-dbi-2.1.6/
>   09ys5hj7gnj5w1iv1m194j06jk6b8sdhc8j6hcv3bprq1428kyxw
>
>   guix hash -r $(./pre-inst-env guix build -S guile-dbi)
>   09ys5hj7gnj5w1iv1m194j06jk6b8sdhc8j6hcv3bprq1428kyxw
>
> and
>
>   tar xf $(guix build -S guile-sqlite3)
>   guix hash -r guile-dbd-sqlite2-2.1.6/
>   1rwf3z6ib6nkhfnk2nw8p6fqirdx2pparcrlmsm0i2ii62plpqhb
>
>   guix hash -r $(./pre-inst-env guix build -S guile-dbd-sqlite3)
>   1rwf3z6ib6nkhfnk2nw8p6fqirdx2pparcrlmsm0i2ii62plpqhb

Finally applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 28 Aug 2021 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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