peercred package crashes guix go importer

  • Open
  • quality assurance status badge
Details
2 participants
  • Carlo Zancanaro
  • Nathan Dehnel
Owner
unassigned
Submitted by
Nathan Dehnel
Severity
normal
N
N
Nathan Dehnel wrote on 7 Mar 06:18 +0100
(name . bug-guix)(address . bug-guix@gnu.org)
CAEEhgEvNpMqeHi+H9P20SNxQ0dSrH5uDQoGTuJ8byGcAsiKCXA@mail.gmail.com
$ 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:
In unknown file:
8 (_ #<procedure 7f007e85fd80 at guix/memoization.scm:17…> …)
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 #<undefined> #<undef…> …)
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

guix b4107ca
C
C
Carlo Zancanaro wrote on 7 Mar 06:59 +0100
(name . Nathan Dehnel)(address . ncdehnel@gmail.com)(address . 69599@debbugs.gnu.org)
877cieinuv.fsf@sil.org
On Wed, Mar 06 2024, Nathan Dehnel wrote:
Toggle quote (3 lines)
> 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

N
N
Nathan Dehnel wrote on 7 Mar 18:01 +0100
(name . Carlo Zancanaro)(address . carlo_zancanaro@sil.org)(address . 69599@debbugs.gnu.org)
CAEEhgEu-h4sRdcSke9W362PGhRxOypz1=HACHOpJCo=z7gtokA@mail.gmail.com
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 <carlo_zancanaro@sil.org> wrote:
Toggle quote (13 lines)
>
> 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
?