GNU bug report logs -
#58465
[PATCH] gnu: Add guile-dns.
Previous Next
Reported by: Arun Isaac <arunisaac <at> systemreboot.net>
Date: Wed, 12 Oct 2022 09:49:01 UTC
Severity: normal
Tags: patch
Done: Arun Isaac <arunisaac <at> systemreboot.net>
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 58465 in the body.
You can then email your comments to 58465 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#58465
; Package
guix-patches
.
(Wed, 12 Oct 2022 09:49:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 12 Oct 2022 09:49:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/guile-xyz.scm (guile-dns): New variable.
---
gnu/packages/guile-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 379d9aa264..b7909e8f8d 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -4426,6 +4426,42 @@ (define-public guile-avahi
(home-page "https://www.nongnu.org/guile-avahi/")
(license license:lgpl3+))))
+(define-public guile-dns
+ (package
+ (name "guile-dns")
+ (version "0.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.lysator.liu.se/hugo/guile-dns")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "18skivracv6jh1zab9dknkcpbizc416n0pb2mcwb20dpzc2md9yf"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:make-flags #~(list (string-append "PREFIX=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'prefer-curdir
+ (lambda _
+ ;; CURDIR is a standard GNU Make variable. Prefer it to
+ ;; PWD. PWD is set by the shell and is absent in the build
+ ;; process.
+ (substitute* "Makefile"
+ (("PWD") "CURDIR"))))
+ (delete 'configure))))
+ (inputs
+ (list guile-3.0))
+ (native-inputs
+ (list texinfo))
+ (home-page "https://git.lysator.liu.se/hugo/guile-dns")
+ (synopsis "Guile DNS library")
+ (description "@code{guile-dns} is a DNS library written in pure Guile
+Scheme.")
+ (license license:gpl3+)))
+
(define-public guile-jwt
(package
(name "guile-jwt")
--
2.37.3
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58465
; Package
guix-patches
.
(Thu, 13 Oct 2022 10:07:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 58465 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Arun Isaac <arunisaac <at> systemreboot.net> writes:
> * gnu/packages/guile-xyz.scm (guile-dns): New variable.
> ---
> gnu/packages/guile-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
> 1 file changed, 36 insertions(+)
This looks to fail to build on i686-linux:
https://qa.guix.gnu.org/issue/58465
Given this is a new package, ideally we'd either fix that, or change the
supported systems to match what builds.
Thanks,
Chris
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58465
; Package
guix-patches
.
(Fri, 14 Oct 2022 20:41:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 58465 <at> debbugs.gnu.org (full text, mbox):
Hi Chris,
> This looks to fail to build on i686-linux:
>
> https://qa.guix.gnu.org/issue/58465
Good catch, and love the new QA system! :-)
> Given this is a new package, ideally we'd either fix that, or change the
> supported systems to match what builds.
Disabling the coverage report fixes this. Is that a satisfactory
solution? A patch follows.
Thanks,
Arun
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58465
; Package
guix-patches
.
(Fri, 14 Oct 2022 20:42:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 58465 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/guile-xyz.scm (guile-dns): New variable.
---
gnu/packages/guile-xyz.scm | 42 ++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 379d9aa264..934762f631 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -4426,6 +4426,48 @@ (define-public guile-avahi
(home-page "https://www.nongnu.org/guile-avahi/")
(license license:lgpl3+))))
+(define-public guile-dns
+ (package
+ (name "guile-dns")
+ (version "0.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.lysator.liu.se/hugo/guile-dns")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "18skivracv6jh1zab9dknkcpbizc416n0pb2mcwb20dpzc2md9yf"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:make-flags #~(list (string-append "PREFIX=" #$output)
+ ;; Prevent guild warnings.
+ "GUILE_AUTO_COMPILE=0"
+ ;; Make tests verbose and disable coverage
+ ;; report. The coverage report fails on
+ ;; i686-linux.
+ "TEST_FLAGS=--verbose")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'prefer-curdir
+ (lambda _
+ ;; CURDIR is a standard GNU Make variable. Prefer it to
+ ;; PWD. PWD is set by the shell and is absent in the build
+ ;; process.
+ (substitute* "Makefile"
+ (("PWD") "CURDIR"))))
+ (delete 'configure))))
+ (inputs
+ (list guile-3.0))
+ (native-inputs
+ (list texinfo))
+ (home-page "https://git.lysator.liu.se/hugo/guile-dns")
+ (synopsis "Guile DNS library")
+ (description "@code{guile-dns} is a DNS library written in pure Guile
+Scheme.")
+ (license license:gpl3+)))
+
(define-public guile-jwt
(package
(name "guile-jwt")
--
2.37.3
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58465
; Package
guix-patches
.
(Fri, 14 Oct 2022 20:56:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 58465 <at> debbugs.gnu.org (full text, mbox):
I just found that the info file was installed into the wrong path. I have
fixed it in this v3 patch.
Arun Isaac (1):
gnu: Add guile-dns.
gnu/packages/guile-xyz.scm | 44 ++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
--
2.37.3
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58465
; Package
guix-patches
.
(Fri, 14 Oct 2022 20:57:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 58465 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/guile-xyz.scm (guile-dns): New variable.
---
gnu/packages/guile-xyz.scm | 44 ++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 379d9aa264..16ee197c2a 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -4426,6 +4426,50 @@ (define-public guile-avahi
(home-page "https://www.nongnu.org/guile-avahi/")
(license license:lgpl3+))))
+(define-public guile-dns
+ (package
+ (name "guile-dns")
+ (version "0.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.lysator.liu.se/hugo/guile-dns")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "18skivracv6jh1zab9dknkcpbizc416n0pb2mcwb20dpzc2md9yf"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:make-flags #~(list (string-append "PREFIX=" #$output)
+ ;; Prevent guild warnings.
+ "GUILE_AUTO_COMPILE=0"
+ ;; Make tests verbose and disable coverage
+ ;; report. The coverage report fails on
+ ;; i686-linux.
+ "TEST_FLAGS=--verbose")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-makefile
+ (lambda _
+ (substitute* "Makefile"
+ ;; CURDIR is a standard GNU Make variable. Prefer it to
+ ;; PWD. PWD is set by the shell and is absent in the
+ ;; build process.
+ (("PWD") "CURDIR")
+ ;; Install info file at share/info, not at share.
+ (("share doc") "share/info doc"))))
+ (delete 'configure))))
+ (inputs
+ (list guile-3.0))
+ (native-inputs
+ (list texinfo))
+ (home-page "https://git.lysator.liu.se/hugo/guile-dns")
+ (synopsis "Guile DNS library")
+ (description "@code{guile-dns} is a DNS library written in pure Guile
+Scheme.")
+ (license license:gpl3+)))
+
(define-public guile-jwt
(package
(name "guile-jwt")
--
2.37.3
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58465
; Package
guix-patches
.
(Sat, 15 Oct 2022 20:35:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 58465 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Arun Isaac <arunisaac <at> systemreboot.net> writes:
>> This looks to fail to build on i686-linux:
>>
>> https://qa.guix.gnu.org/issue/58465
>
> Good catch, and love the new QA system! :-)
>
>> Given this is a new package, ideally we'd either fix that, or change the
>> supported systems to match what builds.
>
> Disabling the coverage report fixes this. Is that a satisfactory
> solution? A patch follows.
Yeah, that sounds fine to me, please go ahead and push :)
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
You have taken responsibility.
(Sun, 16 Oct 2022 08:38:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
bug acknowledged by developer.
(Sun, 16 Oct 2022 08:38:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 58465-done <at> debbugs.gnu.org (full text, mbox):
Pushed, thanks!
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 13 Nov 2022 12:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 277 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.