Hi, Thiago Jung Bauermann <bauerm...@kolabnow.com> skribis:
> Ludovic Courtès <l...@gnu.org> writes: > >> First, I noticed that GnuTLS doesn’t implement ‘write_wait_fd’, only >> ‘read_wait_fd’ (not sure how problematic that is): >> >> scheme@(guile-user)> ,use(web client) >> scheme@(guile-user)> (define p (open-socket-for-uri "https://guix.gnu.org")) >> scheme@(guile-user)> ((@@ (ice-9 suspendable-ports) wait-for-writable) p) >> ice-9/boot-9.scm:1685:16: In procedure raise-exception: >> In procedure write_wait_fd: unimplemented >> >> Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. >> scheme@(guile-user) [1]> ,q >> scheme@(guile-user)> ,use(gnutls) >> scheme@(guile-user)> (gnutls-version) >> $1 = "3.7.7" >> scheme@(guile-user)> ((@@ (ice-9 suspendable-ports) wait-for-readable) p) >> $2 = 1 > > This occasionally causes problems when fetching substitutes, as can be > seen in bug #56005 (during substitution: write_wait_fd: unimplemented). Oh, I have not seen it but it’s weird: (guix scripts substitute) doesn’t use O_NONBLOCK sockets, so I don’t get how it can hit that. Needs investigation… Thanks, Ludo’.