bug#69599: peercred package crashes guix go importer

2024-03-16 Thread Carlo Zancanaro
On Wed, Mar 06 2024, Nathan Dehnel wrote:
> ice-9/boot-9.scm:1683:16: In procedure raise-exception:
> In procedure getaddrinfo: System error

Looks like an issue with the domain. Guix tries to look up inet.af, but
the project doesn't have the domain any more[1].

Using "guix import go github.com/inetaf/peercred" instead should work.

Carlo

[1]: https://github.com/inetaf/tcpproxy/issues/39





bug#69599: peercred package crashes guix go importer

2024-03-07 Thread Nathan Dehnel
Is there a way to work around this for the recursive importer if
another package uses the old domain?

On Wed, Mar 6, 2024 at 11:59 PM Carlo Zancanaro  wrote:
>
> On Wed, Mar 06 2024, Nathan Dehnel wrote:
> > ice-9/boot-9.scm:1683:16: In procedure raise-exception:
> > In procedure getaddrinfo: System error
>
> Looks like an issue with the domain. Guix tries to look up inet.af, but
> the project doesn't have the domain any more[1].
>
> Using "guix import go github.com/inetaf/peercred" instead should work.
>
> Carlo
>
> [1]: https://github.com/inetaf/tcpproxy/issues/39





bug#69599: peercred package crashes guix go importer

2024-03-06 Thread Nathan Dehnel
$ guix import go inet.af/peercred
Backtrace:
 18 (primitive-load "/home/nathan/.config/guix/current/bin/…")
In guix/ui.scm:
  2324:7 17 (run-guix . _)
 2287:10 16 (run-guix-command _ . _)
In guix/scripts/import.scm:
80:6 15 (guix-import . _)
In ice-9/boot-9.scm:
 1752:10 14 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/import/go.scm:
  116:29 13 (_)
In ice-9/exceptions.scm:
  406:15 12 (go-module->guix-package* . _)
In ice-9/boot-9.scm:
 1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
In guix/import/go.scm:
  497:20 10 (go-module->guix-package "inet.af/peercred" #:goproxy _ …)
In guix/memoization.scm:
98:0  9 (mproc "https://inet.af/peercred?go-get=1";)
In unknown file:
  8 (_ # …)
In guix/import/go.scm:
  105:29  7 (_ . _)
In guix/http-client.scm:
  107:28  6 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ # …)
In guix/build/download.scm:
   468:4  5 (open-connection-for-uri _ #:timeout _ # _)
  469:14  4 (thunk)
   396:8  3 (open-socket-for-uri _ #:timeout _)
In unknown file:
  2 (getaddrinfo "inet.af" "https" 32 # # …)
In ice-9/boot-9.scm:
 1685:16  1 (raise-exception _ #:continuable? _)
 1683:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1683:16: In procedure raise-exception:
In procedure getaddrinfo: System error

The package exists
https://pkg.go.dev/inet.af/peercred

guix b4107ca