GNU bug report logs -
#69244
[PATCH] gnu: go-golang-org-x-net-html: Add missing input.
Previous Next
Reported by: Troy Figiel <troy <at> troyfigiel.com>
Date: Sun, 18 Feb 2024 18:25:09 UTC
Severity: normal
Tags: patch
Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>
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 69244 in the body.
You can then email your comments to 69244 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#69244
; Package
guix-patches
.
(Sun, 18 Feb 2024 18:25:10 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Troy Figiel <troy <at> troyfigiel.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 18 Feb 2024 18:25:10 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/golang-build.scm (go-golang-org-x-net-html): Add missing input.
[propagated-inputs]: Add go-golang-org-x-text.
---
gnu/packages/golang-build.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm
index 8b7dca46a6..04267845a5 100644
--- a/gnu/packages/golang-build.scm
+++ b/gnu/packages/golang-build.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e <at> gmail.com>
;;; Copyright © 2023 Nicolas Graves <ngraves <at> ngraves.fr>
;;; Copyright © 2023 Timo Wilken <guix <at> twilken.net>
+;;; Copyright © 2024 Troy Figiel <troy <at> troyfigiel.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -252,6 +253,7 @@ (define-public go-golang-org-x-net-html
(arguments
'(#:import-path "golang.org/x/net/html"
#:unpack-path "golang.org/x/net"))
+ (propagated-inputs (list go-golang-org-x-text))
(home-page "https://godoc.org/golang.org/x/net/html")
(synopsis "HTML5-compliant tokenizer and parser")
(description
base-commit: 91d80460296e2d5a01704d0f34fb966a45a165ae
--
2.42.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#69244
; Package
guix-patches
.
(Sun, 18 Feb 2024 22:10:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 69244 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Troy,
I've started review process for all Golang related patches sent.
Did you check the go.mod for the commit of go-golang-org-x-net package?
It looks like it need 2 more modules
<https://cs.opensource.google/go/x/net/+/8e0e7d8d38f2b6d21d742845570dde2902d06a1d:go.mod>
--8<---------------cut here---------------start------------->8---
module golang.org/x/net
go 1.17
require (
golang.org/x/sys v0.4.0
golang.org/x/term v0.4.0
golang.org/x/text v0.6.0
)
--8<---------------cut here---------------end--------------->8---
Due to large amount of impact for any packages in golang-build, I would
place it in go-team branch (not existing yet).
May, please, double check if we need golang.org/x/sys and
golang.org/x/term and send v2 if so.
--
Oleg
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#69244
; Package
guix-patches
.
(Sun, 18 Feb 2024 22:48:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 69244 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Oleg,
On 2024-02-18 23:08, Sharlatan Hellseher wrote> Did you check the go.mod
for the commit of go-golang-org-x-net package?
> It looks like it need 2 more modules
>
The entire module (golang.org/x/net) does need those two Go packages,
but the golang.org/x/net/html Go package does not, i.e. the inputs as I
sent them are correct.
This is a result of how Guix has packaged Go in the past, with a Guix
package per Go package, not per Go module. This means we cannot reliably
use the go.mod file to determine dependencies, as there might be a bunch
that we do not need.
For future Guix packages, I think it will be easier to follow the Go
module structure instead, but that is a topic for the mailing list :-)
> Due to large amount of impact for any packages in golang-build, I would
> place it in go-team branch (not existing yet).
>
With "guix refresh -l go-golang-org-x-net-html" I only see 2 dependents
(emacs-ghq rebuilds both). I am not sure I understand what you mean.
In general though, feel free to apply these missing inputs, fixes, etc.
whenever is convenient. I am locally working with a separate branch,
which already uses the "/..." fix (for both the build and check phases)
and I regularly rebase this branch on master. Sending updated patches is
no issue.
Best wishes,
Troy
[OpenPGP_0xC67C9181B3893FB0.asc (application/pgp-keys, attachment)]
[OpenPGP_signature.asc (application/pgp-signature, attachment)]
Reply sent
to
Sharlatan Hellseher <sharlatanus <at> gmail.com>
:
You have taken responsibility.
(Tue, 20 Feb 2024 00:07:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Troy Figiel <troy <at> troyfigiel.com>
:
bug acknowledged by developer.
(Tue, 20 Feb 2024 00:07:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 69244-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
Pushed as d234999cac6d6f16ce121ed2ead28adc0d41b5ed to master.
--
Oleg
[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
.
(Tue, 19 Mar 2024 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year 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.