unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38857: X.509 certificate of 'crates.io' could not be verified during a recursive import from crates.io
@ 2020-01-01 22:45 Valentin Ignatev
  2020-01-02  7:12 ` Efraim Flashner
  0 siblings, 1 reply; 5+ messages in thread
From: Valentin Ignatev @ 2020-01-01 22:45 UTC (permalink / raw)
  To: 38857

[-- Attachment #1: Type: text/plain, Size: 1813 bytes --]

Hi! I'm trying to recursively import a package from crates.io like this:

guix import crate notify@4.0.14 --recursive

It follows redirections for a while untill at some point throws this:

Backtrace:
          12 (primitive-load "/home/vj/.config/guix/current/bin/guix")
In guix/ui.scm:
  1806:12 11 (run-guix-command _ . _)
In guix/scripts/import.scm:
   116:11 10 (guix-import . _)
In guix/scripts/import/crate.scm:
   103:16  9 (guix-import-crate . _)
In guix/import/utils.scm:
    425:7  8 (recursive-import _ _ #:repo->guix-package _ #:guix-name …)
   397:31  7 (topological-sort _ #<procedure 7f9a59729630 at guix/i…> …)
In srfi/srfi-1.scm:
   592:17  6 (map1 ("tempfile"))
In guix/import/utils.scm:
   421:36  5 (lookup-node "tempfile")
In guix/import/crate.scm:
   222:10  4 (crate->guix-package "tempfile" _)
   150:15  3 (make-crate-sexp #:name _ #:version _ #:cargo-inputs _ # …)
In guix/http-client.scm:
    88:25  2 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ # …)
In guix/build/download.scm:
    419:4  1 (open-connection-for-uri _ #:timeout _ # _)
    306:6  0 (tls-wrap #<closed: file 7f9a564b3a10> _ # _)

guix/build/download.scm:306:6: In procedure tls-wrap:
X.509 certificate of 'crates.io' could not be verified:
  signer-not-found
  invalid

I suspect that it happens after the importer hits
"wasm-bindgen-webidl" and starts going circles. Maybe there's some
circullar dependencies going on, but I'm not sure. I'm attaching a
full log for convenience.

For additional info: I'm running Guix on Arch Linux. I've also
installed nss-certs package, exported all neeeded variables
(SSL_CERT_DIR, SSL_CERT_FILE and GIT_SSL_CAINFO) before running guix
import and also made sure nscd.service is running.

Regards,
Valentin Ignatev

[-- Attachment #2: crates_recursive_importer.log --]
[-- Type: text/x-log, Size: 25519 bytes --]

guix import crate notify@4.0.14 --recursive > notify.scm
following redirection to `https://static.crates.io/crates/notify/notify-4.0.14.crate'...
following redirection to `https://static.crates.io/crates/bitflags/bitflags-1.2.1.crate'...
following redirection to `https://static.crates.io/crates/filetime/filetime-0.2.8.crate'...
following redirection to `https://static.crates.io/crates/fsevent/fsevent-2.0.1.crate'...
following redirection to `https://static.crates.io/crates/fsevent-sys/fsevent-sys-3.0.0.crate'...
following redirection to `https://static.crates.io/crates/inotify/inotify-0.8.0.crate'...
following redirection to `https://static.crates.io/crates/kernel32-sys/kernel32-sys-0.2.2.crate'...
following redirection to `https://static.crates.io/crates/libc/libc-0.2.66.crate'...
following redirection to `https://static.crates.io/crates/mio/mio-0.7.0-alpha.1.crate'...
following redirection to `https://static.crates.io/crates/mio-extras/mio-extras-2.0.6.crate'...
following redirection to `https://static.crates.io/crates/walkdir/walkdir-2.2.9.crate'...
following redirection to `https://static.crates.io/crates/winapi/winapi-0.3.8.crate'...
following redirection to `https://static.crates.io/crates/tempdir/tempdir-0.3.7.crate'...
following redirection to `https://static.crates.io/crates/cfg-if/cfg-if-0.1.10.crate'...
following redirection to `https://static.crates.io/crates/libc/libc-0.2.66.crate'...
following redirection to `https://static.crates.io/crates/redox_syscall/redox_syscall-0.1.56.crate'...
following redirection to `https://static.crates.io/crates/winapi/winapi-0.3.8.crate'...
following redirection to `https://static.crates.io/crates/tempfile/tempfile-3.1.0.crate'...
following redirection to `https://static.crates.io/crates/compiler_builtins/compiler_builtins-0.1.23.crate'...
following redirection to `https://static.crates.io/crates/rustc-std-workspace-core/rustc-std-workspace-core-1.0.0.crate'...
following redirection to `https://static.crates.io/crates/rustc-std-workspace-core/rustc-std-workspace-core-1.0.0.crate'...
following redirection to `https://static.crates.io/crates/cc/cc-1.0.48.crate'...
following redirection to `https://static.crates.io/crates/jobserver/jobserver-0.1.17.crate'...
following redirection to `https://static.crates.io/crates/num_cpus/num_cpus-1.11.1.crate'...
following redirection to `https://static.crates.io/crates/tempfile/tempfile-3.1.0.crate'...
following redirection to `https://static.crates.io/crates/getrandom/getrandom-0.1.13.crate'...
following redirection to `https://static.crates.io/crates/libc/libc-0.2.66.crate'...
following redirection to `https://static.crates.io/crates/log/log-0.4.8.crate'...
following redirection to `https://static.crates.io/crates/futures/futures-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/num_cpus/num_cpus-1.11.1.crate'...
following redirection to `https://static.crates.io/crates/tempdir/tempdir-0.3.7.crate'...
following redirection to `https://static.crates.io/crates/tokio-core/tokio-core-0.1.17.crate'...
following redirection to `https://static.crates.io/crates/tokio-process/tokio-process-0.3.0-alpha.2.crate'...
following redirection to `https://static.crates.io/crates/cfg-if/cfg-if-0.1.10.crate'...
following redirection to `https://static.crates.io/crates/compiler_builtins/compiler_builtins-0.1.23.crate'...
following redirection to `https://static.crates.io/crates/libc/libc-0.2.66.crate'...
following redirection to `https://static.crates.io/crates/log/log-0.4.8.crate'...
following redirection to `https://static.crates.io/crates/rustc-std-workspace-core/rustc-std-workspace-core-1.0.0.crate'...
following redirection to `https://static.crates.io/crates/stdweb/stdweb-0.4.20.crate'...
following redirection to `https://static.crates.io/crates/wasi/wasi-0.9.0+wasi-snapshot-preview1.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen/wasm-bindgen-0.2.56.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen-test/wasm-bindgen-test-0.3.6.crate'...
following redirection to `https://static.crates.io/crates/rustc-std-workspace-core/rustc-std-workspace-core-1.0.0.crate'...
following redirection to `https://static.crates.io/crates/cfg-if/cfg-if-0.1.10.crate'...
following redirection to `https://static.crates.io/crates/serde/serde-1.0.104.crate'...
following redirection to `https://static.crates.io/crates/sval/sval-0.4.7.crate'...
following redirection to `https://static.crates.io/crates/serde_test/serde_test-1.0.104.crate'...
following redirection to `https://static.crates.io/crates/sval/sval-0.4.7.crate'...
following redirection to `https://static.crates.io/crates/serde_derive/serde_derive-1.0.104.crate'...
following redirection to `https://static.crates.io/crates/serde_derive/serde_derive-1.0.104.crate'...
following redirection to `https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.7.crate'...
following redirection to `https://static.crates.io/crates/quote/quote-1.0.2.crate'...
following redirection to `https://static.crates.io/crates/syn/syn-1.0.12.crate'...
following redirection to `https://static.crates.io/crates/serde/serde-1.0.104.crate'...
following redirection to `https://static.crates.io/crates/unicode-xid/unicode-xid-0.2.0.crate'...
following redirection to `https://static.crates.io/crates/quote/quote-1.0.2.crate'...
following redirection to `https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.7.crate'...
following redirection to `https://static.crates.io/crates/rustversion/rustversion-1.0.1.crate'...
following redirection to `https://static.crates.io/crates/trybuild/trybuild-1.0.19.crate'...
following redirection to `https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.7.crate'...
following redirection to `https://static.crates.io/crates/quote/quote-1.0.2.crate'...
following redirection to `https://static.crates.io/crates/syn/syn-1.0.12.crate'...
following redirection to `https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.7.crate'...
following redirection to `https://static.crates.io/crates/quote/quote-1.0.2.crate'...
following redirection to `https://static.crates.io/crates/unicode-xid/unicode-xid-0.2.0.crate'...
following redirection to `https://static.crates.io/crates/anyhow/anyhow-1.0.26.crate'...
following redirection to `https://static.crates.io/crates/flate2/flate2-1.0.13.crate'...
following redirection to `https://static.crates.io/crates/insta/insta-0.12.0.crate'...
following redirection to `https://static.crates.io/crates/rayon/rayon-1.3.0.crate'...
following redirection to `https://static.crates.io/crates/ref-cast/ref-cast-1.0.0.crate'...
following redirection to `https://static.crates.io/crates/regex/regex-1.3.1.crate'...
following redirection to `https://static.crates.io/crates/reqwest/reqwest-0.10.0.crate'...
following redirection to `https://static.crates.io/crates/tar/tar-0.4.26.crate'...
following redirection to `https://static.crates.io/crates/termcolor/termcolor-1.0.5.crate'...
following redirection to `https://static.crates.io/crates/walkdir/walkdir-2.2.9.crate'...
following redirection to `https://static.crates.io/crates/futures/futures-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/rustversion/rustversion-1.0.1.crate'...
following redirection to `https://static.crates.io/crates/thiserror/thiserror-1.0.9.crate'...
following redirection to `https://static.crates.io/crates/trybuild/trybuild-1.0.19.crate'...
following redirection to `https://static.crates.io/crates/futures-channel/futures-channel-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/futures-core/futures-core-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/futures-executor/futures-executor-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/futures-io/futures-io-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/futures-sink/futures-sink-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/futures-task/futures-task-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/futures-util/futures-util-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/assert_matches/assert_matches-1.3.0.crate'...
following redirection to `https://static.crates.io/crates/pin-utils/pin-utils-0.1.0-alpha.4.crate'...
following redirection to `https://static.crates.io/crates/tokio/tokio-0.2.6.crate'...
following redirection to `https://static.crates.io/crates/futures-core/futures-core-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/futures-sink/futures-sink-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/futures-core/futures-core-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/futures-task/futures-task-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/futures-util/futures-util-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/num_cpus/num_cpus-1.11.1.crate'...
following redirection to `https://static.crates.io/crates/futures/futures-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/futures-channel/futures-channel-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/futures-core/futures-core-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/futures-io/futures-io-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/futures-macro/futures-macro-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/futures-sink/futures-sink-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/futures-task/futures-task-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/memchr/memchr-2.2.1.crate'...
following redirection to `https://static.crates.io/crates/pin-utils/pin-utils-0.1.0-alpha.4.crate'...
following redirection to `https://static.crates.io/crates/proc-macro-hack/proc-macro-hack-0.5.11.crate'...
following redirection to `https://static.crates.io/crates/proc-macro-nested/proc-macro-nested-0.1.3.crate'...
following redirection to `https://static.crates.io/crates/slab/slab-0.4.2.crate'...
following redirection to `https://static.crates.io/crates/tokio-io/tokio-io-0.2.0-alpha.6.crate'...
following redirection to `https://static.crates.io/crates/proc-macro-hack/proc-macro-hack-0.5.11.crate'...
following redirection to `https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.7.crate'...
following redirection to `https://static.crates.io/crates/quote/quote-1.0.2.crate'...
following redirection to `https://static.crates.io/crates/syn/syn-1.0.12.crate'...
following redirection to `https://static.crates.io/crates/proc-macro2/proc-macro2-1.0.7.crate'...
following redirection to `https://static.crates.io/crates/quote/quote-1.0.2.crate'...
following redirection to `https://static.crates.io/crates/syn/syn-1.0.12.crate'...
following redirection to `https://static.crates.io/crates/demo-hack/demo-hack-0.0.5.crate'...
following redirection to `https://static.crates.io/crates/demo-hack-impl/demo-hack-impl-0.0.5.crate'...
following redirection to `https://static.crates.io/crates/demo-hack-impl/demo-hack-impl-0.0.5.crate'...
following redirection to `https://static.crates.io/crates/proc-macro-hack/proc-macro-hack-0.5.11.crate'...
following redirection to `https://static.crates.io/crates/proc-macro-hack/proc-macro-hack-0.5.11.crate'...
following redirection to `https://static.crates.io/crates/quote/quote-1.0.2.crate'...
following redirection to `https://static.crates.io/crates/syn/syn-1.0.12.crate'...
following redirection to `https://static.crates.io/crates/libc/libc-0.2.66.crate'...
following redirection to `https://static.crates.io/crates/quickcheck/quickcheck-0.9.0.crate'...
following redirection to `https://static.crates.io/crates/env_logger/env_logger-0.7.1.crate'...
following redirection to `https://static.crates.io/crates/log/log-0.4.8.crate'...
following redirection to `https://static.crates.io/crates/rand/rand-0.7.2.crate'...
following redirection to `https://static.crates.io/crates/rand_core/rand_core-0.5.1.crate'...
following redirection to `https://static.crates.io/crates/atty/atty-0.2.13.crate'...
following redirection to `https://static.crates.io/crates/humantime/humantime-1.3.0.crate'...
following redirection to `https://static.crates.io/crates/log/log-0.4.8.crate'...
following redirection to `https://static.crates.io/crates/regex/regex-1.3.1.crate'...
following redirection to `https://static.crates.io/crates/termcolor/termcolor-1.0.5.crate'...
following redirection to `https://static.crates.io/crates/libc/libc-0.2.66.crate'...
following redirection to `https://static.crates.io/crates/winapi/winapi-0.3.8.crate'...
following redirection to `https://static.crates.io/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate'...
following redirection to `https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate'...
following redirection to `https://static.crates.io/crates/quick-error/quick-error-1.2.2.crate'...
following redirection to `https://static.crates.io/crates/chrono/chrono-0.4.10.crate'...
following redirection to `https://static.crates.io/crates/rand/rand-0.7.2.crate'...
following redirection to `https://static.crates.io/crates/time/time-0.2.1.crate'...
following redirection to `https://static.crates.io/crates/js-sys/js-sys-0.3.33.crate'...
following redirection to `https://static.crates.io/crates/num-integer/num-integer-0.1.41.crate'...
following redirection to `https://static.crates.io/crates/num-traits/num-traits-0.2.10.crate'...
following redirection to `https://static.crates.io/crates/rustc-serialize/rustc-serialize-0.3.24.crate'...
following redirection to `https://static.crates.io/crates/serde/serde-1.0.104.crate'...
following redirection to `https://static.crates.io/crates/time/time-0.2.1.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen/wasm-bindgen-0.2.56.crate'...
following redirection to `https://static.crates.io/crates/bincode/bincode-1.2.1.crate'...
following redirection to `https://static.crates.io/crates/doc-comment/doc-comment-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/num-iter/num-iter-0.1.39.crate'...
following redirection to `https://static.crates.io/crates/serde_derive/serde_derive-1.0.104.crate'...
following redirection to `https://static.crates.io/crates/serde_json/serde_json-1.0.44.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen-test/wasm-bindgen-test-0.3.6.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen/wasm-bindgen-0.2.56.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen-futures/wasm-bindgen-futures-0.4.6.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen-test/wasm-bindgen-test-0.3.6.crate'...
following redirection to `https://static.crates.io/crates/cfg-if/cfg-if-0.1.10.crate'...
following redirection to `https://static.crates.io/crates/serde/serde-1.0.104.crate'...
following redirection to `https://static.crates.io/crates/serde_json/serde_json-1.0.44.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen-macro/wasm-bindgen-macro-0.2.56.crate'...
following redirection to `https://static.crates.io/crates/js-sys/js-sys-0.3.33.crate'...
following redirection to `https://static.crates.io/crates/serde_derive/serde_derive-1.0.104.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen-futures/wasm-bindgen-futures-0.4.6.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen-test/wasm-bindgen-test-0.3.6.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen-test-crate-a/wasm-bindgen-test-crate-a-0.1.0.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen-test-crate-b/wasm-bindgen-test-crate-b-0.1.0.crate'...
following redirection to `https://static.crates.io/crates/indexmap/indexmap-1.3.0.crate'...
following redirection to `https://static.crates.io/crates/itoa/itoa-0.4.4.crate'...
following redirection to `https://static.crates.io/crates/ryu/ryu-1.0.2.crate'...
following redirection to `https://static.crates.io/crates/serde/serde-1.0.104.crate'...
following redirection to `https://static.crates.io/crates/automod/automod-0.1.2.crate'...
following redirection to `https://static.crates.io/crates/rustversion/rustversion-1.0.1.crate'...
following redirection to `https://static.crates.io/crates/serde_bytes/serde_bytes-0.11.3.crate'...
following redirection to `https://static.crates.io/crates/serde_derive/serde_derive-1.0.104.crate'...
following redirection to `https://static.crates.io/crates/serde_stacker/serde_stacker-0.1.1.crate'...
following redirection to `https://static.crates.io/crates/trybuild/trybuild-1.0.19.crate'...
following redirection to `https://static.crates.io/crates/rayon/rayon-1.3.0.crate'...
following redirection to `https://static.crates.io/crates/serde/serde-1.0.104.crate'...
following redirection to `https://static.crates.io/crates/autocfg/autocfg-0.1.7.crate'...
following redirection to `https://static.crates.io/crates/fnv/fnv-1.0.6.crate'...
following redirection to `https://static.crates.io/crates/itertools/itertools-0.8.2.crate'...
following redirection to `https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate'...
following redirection to `https://static.crates.io/crates/quickcheck/quickcheck-0.9.0.crate'...
following redirection to `https://static.crates.io/crates/rand/rand-0.7.2.crate'...
following redirection to `https://static.crates.io/crates/serde_test/serde_test-1.0.104.crate'...
following redirection to `https://static.crates.io/crates/crossbeam-deque/crossbeam-deque-0.7.2.crate'...
following redirection to `https://static.crates.io/crates/either/either-1.5.3.crate'...
following redirection to `https://static.crates.io/crates/rayon-core/rayon-core-1.7.0.crate'...
following redirection to `https://static.crates.io/crates/doc-comment/doc-comment-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/docopt/docopt-1.1.0.crate'...
following redirection to `https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate'...
following redirection to `https://static.crates.io/crates/rand/rand-0.7.2.crate'...
following redirection to `https://static.crates.io/crates/rand_xorshift/rand_xorshift-0.2.0.crate'...
following redirection to `https://static.crates.io/crates/serde/serde-1.0.104.crate'...
following redirection to `https://static.crates.io/crates/crossbeam-epoch/crossbeam-epoch-0.8.0.crate'...
following redirection to `https://static.crates.io/crates/crossbeam-utils/crossbeam-utils-0.7.0.crate'...
following redirection to `https://static.crates.io/crates/rand/rand-0.7.2.crate'...
following redirection to `https://static.crates.io/crates/cfg-if/cfg-if-0.1.10.crate'...
following redirection to `https://static.crates.io/crates/crossbeam-utils/crossbeam-utils-0.7.0.crate'...
following redirection to `https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate'...
following redirection to `https://static.crates.io/crates/memoffset/memoffset-0.5.3.crate'...
following redirection to `https://static.crates.io/crates/scopeguard/scopeguard-1.0.0.crate'...
following redirection to `https://static.crates.io/crates/autocfg/autocfg-0.1.7.crate'...
following redirection to `https://static.crates.io/crates/rand/rand-0.7.2.crate'...
following redirection to `https://static.crates.io/crates/cfg-if/cfg-if-0.1.10.crate'...
following redirection to `https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate'...
following redirection to `https://static.crates.io/crates/autocfg/autocfg-0.1.7.crate'...
following redirection to `https://static.crates.io/crates/rand/rand-0.7.2.crate'...
following redirection to `https://static.crates.io/crates/spin/spin-0.5.2.crate'...
following redirection to `https://static.crates.io/crates/doc-comment/doc-comment-0.3.1.crate'...
following redirection to `https://static.crates.io/crates/getrandom/getrandom-0.1.13.crate'...
following redirection to `https://static.crates.io/crates/libc/libc-0.2.66.crate'...
following redirection to `https://static.crates.io/crates/log/log-0.4.8.crate'...
following redirection to `https://static.crates.io/crates/packed_simd/packed_simd-0.3.3.crate'...
following redirection to `https://static.crates.io/crates/rand_chacha/rand_chacha-0.2.1.crate'...
following redirection to `https://static.crates.io/crates/rand_core/rand_core-0.5.1.crate'...
following redirection to `https://static.crates.io/crates/rand_hc/rand_hc-0.2.0.crate'...
following redirection to `https://static.crates.io/crates/rand_pcg/rand_pcg-0.2.1.crate'...
following redirection to `https://static.crates.io/crates/rand_hc/rand_hc-0.2.0.crate'...
following redirection to `https://static.crates.io/crates/rand_isaac/rand_isaac-0.2.0.crate'...
following redirection to `https://static.crates.io/crates/rand_pcg/rand_pcg-0.2.1.crate'...
following redirection to `https://static.crates.io/crates/rand_xorshift/rand_xorshift-0.2.0.crate'...
following redirection to `https://static.crates.io/crates/rand_xoshiro/rand_xoshiro-0.4.0.crate'...
following redirection to `https://static.crates.io/crates/cfg-if/cfg-if-0.1.10.crate'...
following redirection to `https://static.crates.io/crates/core_arch/core_arch-0.1.5.crate'...
following redirection to `https://static.crates.io/crates/sleef-sys/sleef-sys-0.1.2.crate'...
following redirection to `https://static.crates.io/crates/arrayvec/arrayvec-0.5.1.crate'...
following redirection to `https://static.crates.io/crates/paste/paste-0.1.6.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen/wasm-bindgen-0.2.56.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen-test/wasm-bindgen-test-0.3.6.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen-test/wasm-bindgen-test-0.3.6.crate'...
following redirection to `https://static.crates.io/crates/console_error_panic_hook/console_error_panic_hook-0.1.6.crate'...
following redirection to `https://static.crates.io/crates/js-sys/js-sys-0.3.33.crate'...
following redirection to `https://static.crates.io/crates/scoped-tls/scoped-tls-1.0.0.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen/wasm-bindgen-0.2.56.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen-futures/wasm-bindgen-futures-0.4.6.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen-test-macro/wasm-bindgen-test-macro-0.3.6.crate'...
following redirection to `https://static.crates.io/crates/cfg-if/cfg-if-0.1.10.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen/wasm-bindgen-0.2.56.crate'...
following redirection to `https://static.crates.io/crates/cfg-if/cfg-if-0.1.10.crate'...
following redirection to `https://static.crates.io/crates/js-sys/js-sys-0.3.33.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen/wasm-bindgen-0.2.56.crate'...
following redirection to `https://static.crates.io/crates/web-sys/web-sys-0.3.33.crate'...
following redirection to `https://static.crates.io/crates/futures-channel-preview/futures-channel-preview-0.3.0-alpha.19.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen-test/wasm-bindgen-test-0.3.6.crate'...
following redirection to `https://static.crates.io/crates/js-sys/js-sys-0.3.33.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen/wasm-bindgen-0.2.56.crate'...
following redirection to `https://static.crates.io/crates/anyhow/anyhow-1.0.26.crate'...
following redirection to `https://static.crates.io/crates/env_logger/env_logger-0.7.1.crate'...
following redirection to `https://static.crates.io/crates/sourcefile/sourcefile-0.1.4.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen-futures/wasm-bindgen-futures-0.4.6.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen-test/wasm-bindgen-test-0.3.6.crate'...
following redirection to `https://static.crates.io/crates/wasm-bindgen-webidl/wasm-bindgen-webidl-0.2.56.crate'...
Backtrace:
          12 (primitive-load "/home/vj/.config/guix/current/bin/guix")
In guix/ui.scm:
  1806:12 11 (run-guix-command _ . _)
In guix/scripts/import.scm:
   116:11 10 (guix-import . _)
In guix/scripts/import/crate.scm:
   103:16  9 (guix-import-crate . _)
In guix/import/utils.scm:
    425:7  8 (recursive-import _ _ #:repo->guix-package _ #:guix-name …)
   397:31  7 (topological-sort _ #<procedure 7f9a59729630 at guix/i…> …)
In srfi/srfi-1.scm:
   592:17  6 (map1 ("tempfile"))
In guix/import/utils.scm:
   421:36  5 (lookup-node "tempfile")
In guix/import/crate.scm:
   222:10  4 (crate->guix-package "tempfile" _)
   150:15  3 (make-crate-sexp #:name _ #:version _ #:cargo-inputs _ # …)
In guix/http-client.scm:
    88:25  2 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ # …)
In guix/build/download.scm:
    419:4  1 (open-connection-for-uri _ #:timeout _ # _)
    306:6  0 (tls-wrap #<closed: file 7f9a564b3a10> _ # _)

guix/build/download.scm:306:6: In procedure tls-wrap:
X.509 certificate of 'crates.io' could not be verified:
  signer-not-found
  invalid

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#38857: X.509 certificate of 'crates.io' could not be verified during a recursive import from crates.io
  2020-01-01 22:45 bug#38857: X.509 certificate of 'crates.io' could not be verified during a recursive import from crates.io Valentin Ignatev
@ 2020-01-02  7:12 ` Efraim Flashner
  2020-01-02 19:06   ` Bengt Richter
  0 siblings, 1 reply; 5+ messages in thread
From: Efraim Flashner @ 2020-01-02  7:12 UTC (permalink / raw)
  To: Valentin Ignatev; +Cc: 38857

[-- Attachment #1: Type: text/plain, Size: 2318 bytes --]

On Thu, Jan 02, 2020 at 01:45:35AM +0300, Valentin Ignatev wrote:
> Hi! I'm trying to recursively import a package from crates.io like this:
> 
> guix import crate notify@4.0.14 --recursive
> 
> It follows redirections for a while untill at some point throws this:
> 
> Backtrace:
>           12 (primitive-load "/home/vj/.config/guix/current/bin/guix")
> In guix/ui.scm:
>   1806:12 11 (run-guix-command _ . _)
> In guix/scripts/import.scm:
>    116:11 10 (guix-import . _)
> In guix/scripts/import/crate.scm:
>    103:16  9 (guix-import-crate . _)
> In guix/import/utils.scm:
>     425:7  8 (recursive-import _ _ #:repo->guix-package _ #:guix-name …)
>    397:31  7 (topological-sort _ #<procedure 7f9a59729630 at guix/i…> …)
> In srfi/srfi-1.scm:
>    592:17  6 (map1 ("tempfile"))
> In guix/import/utils.scm:
>    421:36  5 (lookup-node "tempfile")
> In guix/import/crate.scm:
>    222:10  4 (crate->guix-package "tempfile" _)
>    150:15  3 (make-crate-sexp #:name _ #:version _ #:cargo-inputs _ # …)
> In guix/http-client.scm:
>     88:25  2 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ # …)
> In guix/build/download.scm:
>     419:4  1 (open-connection-for-uri _ #:timeout _ # _)
>     306:6  0 (tls-wrap #<closed: file 7f9a564b3a10> _ # _)
> 
> guix/build/download.scm:306:6: In procedure tls-wrap:
> X.509 certificate of 'crates.io' could not be verified:
>   signer-not-found
>   invalid
> 
> I suspect that it happens after the importer hits
> "wasm-bindgen-webidl" and starts going circles. Maybe there's some
> circullar dependencies going on, but I'm not sure. I'm attaching a
> full log for convenience.
> 
> For additional info: I'm running Guix on Arch Linux. I've also
> installed nss-certs package, exported all neeeded variables
> (SSL_CERT_DIR, SSL_CERT_FILE and GIT_SSL_CAINFO) before running guix
> import and also made sure nscd.service is running.
> 
> Regards,
> Valentin Ignatev

I've had it happen to me also sometimes. It's like it forgets that it
just successfully connected 100+ times and then fails.


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#38857: X.509 certificate of 'crates.io' could not be verified during a recursive import from crates.io
  2020-01-02  7:12 ` Efraim Flashner
@ 2020-01-02 19:06   ` Bengt Richter
  2020-01-02 19:20     ` Valentin Ignatev
  0 siblings, 1 reply; 5+ messages in thread
From: Bengt Richter @ 2020-01-02 19:06 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: Valentin Ignatev, 38857

Hi Guix,

On +2020-01-02 09:12:43 +0200, Efraim Flashner wrote:
> On Thu, Jan 02, 2020 at 01:45:35AM +0300, Valentin Ignatev wrote:
> > Hi! I'm trying to recursively import a package from crates.io like this:
> > 
> > guix import crate notify@4.0.14 --recursive
> > 
> > It follows redirections for a while untill at some point throws this:
> > 
> > Backtrace:
> >           12 (primitive-load "/home/vj/.config/guix/current/bin/guix")
> > In guix/ui.scm:
> >   1806:12 11 (run-guix-command _ . _)
> > In guix/scripts/import.scm:
> >    116:11 10 (guix-import . _)
> > In guix/scripts/import/crate.scm:
> >    103:16  9 (guix-import-crate . _)
> > In guix/import/utils.scm:
> >     425:7  8 (recursive-import _ _ #:repo->guix-package _ #:guix-name …)
> >    397:31  7 (topological-sort _ #<procedure 7f9a59729630 at guix/i…> …)
> > In srfi/srfi-1.scm:
> >    592:17  6 (map1 ("tempfile"))
> > In guix/import/utils.scm:
> >    421:36  5 (lookup-node "tempfile")
> > In guix/import/crate.scm:
> >    222:10  4 (crate->guix-package "tempfile" _)
> >    150:15  3 (make-crate-sexp #:name _ #:version _ #:cargo-inputs _ # …)
> > In guix/http-client.scm:
> >     88:25  2 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ # …)
> > In guix/build/download.scm:
> >     419:4  1 (open-connection-for-uri _ #:timeout _ # _)
> >     306:6  0 (tls-wrap #<closed: file 7f9a564b3a10> _ # _)
> > 
> > guix/build/download.scm:306:6: In procedure tls-wrap:
> > X.509 certificate of 'crates.io' could not be verified:
> >   signer-not-found
> >   invalid
> > 
> > I suspect that it happens after the importer hits
> > "wasm-bindgen-webidl" and starts going circles. Maybe there's some
> > circullar dependencies going on, but I'm not sure. I'm attaching a
> > full log for convenience.
> > 
> > For additional info: I'm running Guix on Arch Linux. I've also
> > installed nss-certs package, exported all neeeded variables
> > (SSL_CERT_DIR, SSL_CERT_FILE and GIT_SSL_CAINFO) before running guix
> > import and also made sure nscd.service is running.
> > 
> > Regards,
> > Valentin Ignatev
> 
> I've had it happen to me also sometimes. It's like it forgets that it
> just successfully connected 100+ times and then fails.
> 
> 
> -- 
> Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted

I don't know if this could be related, but...
I am also running guix on Archlinux and experienced a TLS problem
after doing pacman -Syu.

Mutt got updated and I could no longer get my pop mail.
I reverted the last mutt update:

--8<---------------cut here---------------start------------->8---
[2020-01-01T15:53:13-0800] [ALPM] downgraded mutt (1.13.2-1 -> 1.12.2-1)
--8<---------------cut here---------------end--------------->8---

And am writing this with the reverted verssion.
(So BTW this may be a heads-up not to package 1.13.2-1 until the problem
is resolved, to avoid similar breakage for other Arch users, and perhaps others?)

BTW2, if you are using pacman on arch, this little snippet is handy to list
what your last pacman {up,down}grade did:

I do listing variants as ls-whatever -- this one is ls-pacupd:
--8<---------------cut here---------------start------------->8---
#!/usr/bin/bash
# ~/bin/ls-pacupd -- list latest pacman Syu upgrades
latest="$(stat -c '%y' /var/log/pacman.log|cut -d ' ' -f1)"
egrep "$latest.* (up|down)graded " /var/log/pacman.log
--8<---------------cut here---------------end--------------->8---

I found that the guix-installed  version of mutt worked for getting mail,
and saw that it used the prior version.

However, emacs is mutt's configured editor, and after some longish time editing
the entire system would freeze and not respond to ANY key input, and I had to
power down physically (5-sec press of power button).
So I had to go back to the old Arch version.

I am still mystified by this freeze-up. It's possible that I am typing some fatal
combination of keys on this keyboard or that my migration from a dying laptop to
an SSD in a USB3 cassette booted with UEFI on a Lenovo Swift did not entirely succeed.

My context:

I am running on tty1 with guix "disabled" by not setting up its paths etc in
~/.bash_profile at login, so this is my current boot context here:
┌─────────────────────────────────────────────────────────────────────────────────┐
│ Booted at 2020-01-02 08:50 -0800 (PST) and logged in as as bokr@Evo25c2ArchGx4  │
├─────────────────────────────────────────────────────────────────────────────────┤
│ HW host:  Acer Swift SF113-31/ASAHI_AP_S, BIOS V1.08 11/22/2017                 │
│ MOUNTPOINT KNAME        LABEL            SIZE FSAVAIL FSUSE%                    │
│ /boot      sda1         Evo25c2EFI1        1G  461.9M    55%                    │
│ /          sda4         Evo25c2ArchGx4 167.9G   73.5G    50%                    │
│ Kernel: 5.4.6-arch3-1 #1 SMP PREEMPT Tue, 24 Dec 2019 04:36:53 +0000            │
│    CPU: Intel(R) Pentium(R) CPU N4200 @ 1.10GHz                                 │
└─────────────────────────────────────────────────────────────────────────────────┘

Whereas on tty4 I logged in with a config value that my ~/.bash_profile uses
to set MY_GUIX_MODE=enabled at the top and do further enabled/disabled specializations
after that, so e.g. guix is found in $PATH and currently that makes
(captured on tty4 and and retrieved here on tty1)

guix describe:
--8<---------------cut here---------------start------------->8---
Generation 27	Dec 29 2019 18:49:23	(current)
  guix 996182a
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 996182a84bafb4c4982dcb36c2c54b350c16629a
--8<---------------cut here---------------end--------------->8---

Editing context in emacs here and now:
--8<---------------cut here---------------start------------->8---
pidparents      ?           8747 Ss   /usr/bin/bash /home/bokr/bin/pidparents
emacs           tty1        2420 Sl+  emacs /home/bokr/.mutt/temp/mutt-Evo25c2ArchGx4-1000-861-11810734661506241046
mutt            tty1         861 S    mutt
bash            tty1         461 Ss   -bash
login           ?            447 Ss   login -- bokr
systemd         ?              1 Ss   /sbin/init \EFI\Evo25c2ArchGx4\vmlinuz-linux
--8<---------------cut here---------------end--------------->8---

Regards,
Bengt Richter

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#38857: X.509 certificate of 'crates.io' could not be verified during a recursive import from crates.io
  2020-01-02 19:06   ` Bengt Richter
@ 2020-01-02 19:20     ` Valentin Ignatev
  2020-01-02 19:37       ` Martin Becze
  0 siblings, 1 reply; 5+ messages in thread
From: Valentin Ignatev @ 2020-01-02 19:20 UTC (permalink / raw)
  To: Bengt Richter; +Cc: 38857

I don't think that it's related, but who knows. I only have a
certificate issue when I'm using recursive crates import. I am able to
import packages from crates one by one without an issue as well as
doing other tls-sensitive stuff.

Regards,
Valentin

On 1/2/20, Bengt Richter <bokr@bokr.com> wrote:
> Hi Guix,
>
> On +2020-01-02 09:12:43 +0200, Efraim Flashner wrote:
>> On Thu, Jan 02, 2020 at 01:45:35AM +0300, Valentin Ignatev wrote:
>> > Hi! I'm trying to recursively import a package from crates.io like
>> > this:
>> >
>> > guix import crate notify@4.0.14 --recursive
>> >
>> > It follows redirections for a while untill at some point throws this:
>> >
>> > Backtrace:
>> >           12 (primitive-load "/home/vj/.config/guix/current/bin/guix")
>> > In guix/ui.scm:
>> >   1806:12 11 (run-guix-command _ . _)
>> > In guix/scripts/import.scm:
>> >    116:11 10 (guix-import . _)
>> > In guix/scripts/import/crate.scm:
>> >    103:16  9 (guix-import-crate . _)
>> > In guix/import/utils.scm:
>> >     425:7  8 (recursive-import _ _ #:repo->guix-package _ #:guix-name
>> > …)
>> >    397:31  7 (topological-sort _ #<procedure 7f9a59729630 at guix/i…>
>> > …)
>> > In srfi/srfi-1.scm:
>> >    592:17  6 (map1 ("tempfile"))
>> > In guix/import/utils.scm:
>> >    421:36  5 (lookup-node "tempfile")
>> > In guix/import/crate.scm:
>> >    222:10  4 (crate->guix-package "tempfile" _)
>> >    150:15  3 (make-crate-sexp #:name _ #:version _ #:cargo-inputs _ #
>> > …)
>> > In guix/http-client.scm:
>> >     88:25  2 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ #
>> > …)
>> > In guix/build/download.scm:
>> >     419:4  1 (open-connection-for-uri _ #:timeout _ # _)
>> >     306:6  0 (tls-wrap #<closed: file 7f9a564b3a10> _ # _)
>> >
>> > guix/build/download.scm:306:6: In procedure tls-wrap:
>> > X.509 certificate of 'crates.io' could not be verified:
>> >   signer-not-found
>> >   invalid
>> >
>> > I suspect that it happens after the importer hits
>> > "wasm-bindgen-webidl" and starts going circles. Maybe there's some
>> > circullar dependencies going on, but I'm not sure. I'm attaching a
>> > full log for convenience.
>> >
>> > For additional info: I'm running Guix on Arch Linux. I've also
>> > installed nss-certs package, exported all neeeded variables
>> > (SSL_CERT_DIR, SSL_CERT_FILE and GIT_SSL_CAINFO) before running guix
>> > import and also made sure nscd.service is running.
>> >
>> > Regards,
>> > Valentin Ignatev
>>
>> I've had it happen to me also sometimes. It's like it forgets that it
>> just successfully connected 100+ times and then fails.
>>
>>
>> --
>> Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
>> GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
>> Confidentiality cannot be guaranteed on emails sent or received
>> unencrypted
>
> I don't know if this could be related, but...
> I am also running guix on Archlinux and experienced a TLS problem
> after doing pacman -Syu.
>
> Mutt got updated and I could no longer get my pop mail.
> I reverted the last mutt update:
>
> --8<---------------cut here---------------start------------->8---
> [2020-01-01T15:53:13-0800] [ALPM] downgraded mutt (1.13.2-1 -> 1.12.2-1)
> --8<---------------cut here---------------end--------------->8---
>
> And am writing this with the reverted verssion.
> (So BTW this may be a heads-up not to package 1.13.2-1 until the problem
> is resolved, to avoid similar breakage for other Arch users, and perhaps
> others?)
>
> BTW2, if you are using pacman on arch, this little snippet is handy to list
> what your last pacman {up,down}grade did:
>
> I do listing variants as ls-whatever -- this one is ls-pacupd:
> --8<---------------cut here---------------start------------->8---
> #!/usr/bin/bash
> # ~/bin/ls-pacupd -- list latest pacman Syu upgrades
> latest="$(stat -c '%y' /var/log/pacman.log|cut -d ' ' -f1)"
> egrep "$latest.* (up|down)graded " /var/log/pacman.log
> --8<---------------cut here---------------end--------------->8---
>
> I found that the guix-installed  version of mutt worked for getting mail,
> and saw that it used the prior version.
>
> However, emacs is mutt's configured editor, and after some longish time
> editing
> the entire system would freeze and not respond to ANY key input, and I had
> to
> power down physically (5-sec press of power button).
> So I had to go back to the old Arch version.
>
> I am still mystified by this freeze-up. It's possible that I am typing some
> fatal
> combination of keys on this keyboard or that my migration from a dying
> laptop to
> an SSD in a USB3 cassette booted with UEFI on a Lenovo Swift did not
> entirely succeed.
>
> My context:
>
> I am running on tty1 with guix "disabled" by not setting up its paths etc
> in
> ~/.bash_profile at login, so this is my current boot context here:
> ┌─────────────────────────────────────────────────────────────────────────────────┐
> │ Booted at 2020-01-02 08:50 -0800 (PST) and logged in as as
> bokr@Evo25c2ArchGx4  │
> ├─────────────────────────────────────────────────────────────────────────────────┤
> │ HW host:  Acer Swift SF113-31/ASAHI_AP_S, BIOS V1.08 11/22/2017
>      │
> │ MOUNTPOINT KNAME        LABEL            SIZE FSAVAIL FSUSE%
>      │
> │ /boot      sda1         Evo25c2EFI1        1G  461.9M    55%
>      │
> │ /          sda4         Evo25c2ArchGx4 167.9G   73.5G    50%
>      │
> │ Kernel: 5.4.6-arch3-1 #1 SMP PREEMPT Tue, 24 Dec 2019 04:36:53 +0000
>      │
> │    CPU: Intel(R) Pentium(R) CPU N4200 @ 1.10GHz
>      │
> └─────────────────────────────────────────────────────────────────────────────────┘
>
> Whereas on tty4 I logged in with a config value that my ~/.bash_profile
> uses
> to set MY_GUIX_MODE=enabled at the top and do further enabled/disabled
> specializations
> after that, so e.g. guix is found in $PATH and currently that makes
> (captured on tty4 and and retrieved here on tty1)
>
> guix describe:
> --8<---------------cut here---------------start------------->8---
> Generation 27	Dec 29 2019 18:49:23	(current)
>   guix 996182a
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: 996182a84bafb4c4982dcb36c2c54b350c16629a
> --8<---------------cut here---------------end--------------->8---
>
> Editing context in emacs here and now:
> --8<---------------cut here---------------start------------->8---
> pidparents      ?           8747 Ss   /usr/bin/bash
> /home/bokr/bin/pidparents
> emacs           tty1        2420 Sl+  emacs
> /home/bokr/.mutt/temp/mutt-Evo25c2ArchGx4-1000-861-11810734661506241046
> mutt            tty1         861 S    mutt
> bash            tty1         461 Ss   -bash
> login           ?            447 Ss   login -- bokr
> systemd         ?              1 Ss   /sbin/init
> \EFI\Evo25c2ArchGx4\vmlinuz-linux
> --8<---------------cut here---------------end--------------->8---
>
> Regards,
> Bengt Richter
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#38857: X.509 certificate of 'crates.io' could not be verified during a recursive import from crates.io
  2020-01-02 19:20     ` Valentin Ignatev
@ 2020-01-02 19:37       ` Martin Becze
  0 siblings, 0 replies; 5+ messages in thread
From: Martin Becze @ 2020-01-02 19:37 UTC (permalink / raw)
  To: 38857

I have had this problem as well. I noticed that the file descriptors 
where not being closed when the connections end. I think this is causing 
the issue. Related https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20145

On 1/2/20 2:20 PM, Valentin Ignatev wrote:
> I don't think that it's related, but who knows. I only have a
> certificate issue when I'm using recursive crates import. I am able to
> import packages from crates one by one without an issue as well as
> doing other tls-sensitive stuff.
>
> Regards,
> Valentin
>
> On 1/2/20, Bengt Richter <bokr@bokr.com> wrote:
>> Hi Guix,
>>
>> On +2020-01-02 09:12:43 +0200, Efraim Flashner wrote:
>>> On Thu, Jan 02, 2020 at 01:45:35AM +0300, Valentin Ignatev wrote:
>>>> Hi! I'm trying to recursively import a package from crates.io like
>>>> this:
>>>>
>>>> guix import crate notify@4.0.14 --recursive
>>>>
>>>> It follows redirections for a while untill at some point throws this:
>>>>
>>>> Backtrace:
>>>>            12 (primitive-load "/home/vj/.config/guix/current/bin/guix")
>>>> In guix/ui.scm:
>>>>    1806:12 11 (run-guix-command _ . _)
>>>> In guix/scripts/import.scm:
>>>>     116:11 10 (guix-import . _)
>>>> In guix/scripts/import/crate.scm:
>>>>     103:16  9 (guix-import-crate . _)
>>>> In guix/import/utils.scm:
>>>>      425:7  8 (recursive-import _ _ #:repo->guix-package _ #:guix-name
>>>> …)
>>>>     397:31  7 (topological-sort _ #<procedure 7f9a59729630 at guix/i…>
>>>> …)
>>>> In srfi/srfi-1.scm:
>>>>     592:17  6 (map1 ("tempfile"))
>>>> In guix/import/utils.scm:
>>>>     421:36  5 (lookup-node "tempfile")
>>>> In guix/import/crate.scm:
>>>>     222:10  4 (crate->guix-package "tempfile" _)
>>>>     150:15  3 (make-crate-sexp #:name _ #:version _ #:cargo-inputs _ #
>>>> …)
>>>> In guix/http-client.scm:
>>>>      88:25  2 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ #
>>>> …)
>>>> In guix/build/download.scm:
>>>>      419:4  1 (open-connection-for-uri _ #:timeout _ # _)
>>>>      306:6  0 (tls-wrap #<closed: file 7f9a564b3a10> _ # _)
>>>>
>>>> guix/build/download.scm:306:6: In procedure tls-wrap:
>>>> X.509 certificate of 'crates.io' could not be verified:
>>>>    signer-not-found
>>>>    invalid
>>>>
>>>> I suspect that it happens after the importer hits
>>>> "wasm-bindgen-webidl" and starts going circles. Maybe there's some
>>>> circullar dependencies going on, but I'm not sure. I'm attaching a
>>>> full log for convenience.
>>>>
>>>> For additional info: I'm running Guix on Arch Linux. I've also
>>>> installed nss-certs package, exported all neeeded variables
>>>> (SSL_CERT_DIR, SSL_CERT_FILE and GIT_SSL_CAINFO) before running guix
>>>> import and also made sure nscd.service is running.
>>>>
>>>> Regards,
>>>> Valentin Ignatev
>>> I've had it happen to me also sometimes. It's like it forgets that it
>>> just successfully connected 100+ times and then fails.
>>>
>>>
>>> --
>>> Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
>>> GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
>>> Confidentiality cannot be guaranteed on emails sent or received
>>> unencrypted
>> I don't know if this could be related, but...
>> I am also running guix on Archlinux and experienced a TLS problem
>> after doing pacman -Syu.
>>
>> Mutt got updated and I could no longer get my pop mail.
>> I reverted the last mutt update:
>>
>> --8<---------------cut here---------------start------------->8---
>> [2020-01-01T15:53:13-0800] [ALPM] downgraded mutt (1.13.2-1 -> 1.12.2-1)
>> --8<---------------cut here---------------end--------------->8---
>>
>> And am writing this with the reverted verssion.
>> (So BTW this may be a heads-up not to package 1.13.2-1 until the problem
>> is resolved, to avoid similar breakage for other Arch users, and perhaps
>> others?)
>>
>> BTW2, if you are using pacman on arch, this little snippet is handy to list
>> what your last pacman {up,down}grade did:
>>
>> I do listing variants as ls-whatever -- this one is ls-pacupd:
>> --8<---------------cut here---------------start------------->8---
>> #!/usr/bin/bash
>> # ~/bin/ls-pacupd -- list latest pacman Syu upgrades
>> latest="$(stat -c '%y' /var/log/pacman.log|cut -d ' ' -f1)"
>> egrep "$latest.* (up|down)graded " /var/log/pacman.log
>> --8<---------------cut here---------------end--------------->8---
>>
>> I found that the guix-installed  version of mutt worked for getting mail,
>> and saw that it used the prior version.
>>
>> However, emacs is mutt's configured editor, and after some longish time
>> editing
>> the entire system would freeze and not respond to ANY key input, and I had
>> to
>> power down physically (5-sec press of power button).
>> So I had to go back to the old Arch version.
>>
>> I am still mystified by this freeze-up. It's possible that I am typing some
>> fatal
>> combination of keys on this keyboard or that my migration from a dying
>> laptop to
>> an SSD in a USB3 cassette booted with UEFI on a Lenovo Swift did not
>> entirely succeed.
>>
>> My context:
>>
>> I am running on tty1 with guix "disabled" by not setting up its paths etc
>> in
>> ~/.bash_profile at login, so this is my current boot context here:
>> ┌─────────────────────────────────────────────────────────────────────────────────┐
>> │ Booted at 2020-01-02 08:50 -0800 (PST) and logged in as as
>> bokr@Evo25c2ArchGx4  │
>> ├─────────────────────────────────────────────────────────────────────────────────┤
>> │ HW host:  Acer Swift SF113-31/ASAHI_AP_S, BIOS V1.08 11/22/2017
>>       │
>> │ MOUNTPOINT KNAME        LABEL            SIZE FSAVAIL FSUSE%
>>       │
>> │ /boot      sda1         Evo25c2EFI1        1G  461.9M    55%
>>       │
>> │ /          sda4         Evo25c2ArchGx4 167.9G   73.5G    50%
>>       │
>> │ Kernel: 5.4.6-arch3-1 #1 SMP PREEMPT Tue, 24 Dec 2019 04:36:53 +0000
>>       │
>> │    CPU: Intel(R) Pentium(R) CPU N4200 @ 1.10GHz
>>       │
>> └─────────────────────────────────────────────────────────────────────────────────┘
>>
>> Whereas on tty4 I logged in with a config value that my ~/.bash_profile
>> uses
>> to set MY_GUIX_MODE=enabled at the top and do further enabled/disabled
>> specializations
>> after that, so e.g. guix is found in $PATH and currently that makes
>> (captured on tty4 and and retrieved here on tty1)
>>
>> guix describe:
>> --8<---------------cut here---------------start------------->8---
>> Generation 27	Dec 29 2019 18:49:23	(current)
>>    guix 996182a
>>      repository URL: https://git.savannah.gnu.org/git/guix.git
>>      branch: master
>>      commit: 996182a84bafb4c4982dcb36c2c54b350c16629a
>> --8<---------------cut here---------------end--------------->8---
>>
>> Editing context in emacs here and now:
>> --8<---------------cut here---------------start------------->8---
>> pidparents      ?           8747 Ss   /usr/bin/bash
>> /home/bokr/bin/pidparents
>> emacs           tty1        2420 Sl+  emacs
>> /home/bokr/.mutt/temp/mutt-Evo25c2ArchGx4-1000-861-11810734661506241046
>> mutt            tty1         861 S    mutt
>> bash            tty1         461 Ss   -bash
>> login           ?            447 Ss   login -- bokr
>> systemd         ?              1 Ss   /sbin/init
>> \EFI\Evo25c2ArchGx4\vmlinuz-linux
>> --8<---------------cut here---------------end--------------->8---
>>
>> Regards,
>> Bengt Richter
>>
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-01-02 19:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-01 22:45 bug#38857: X.509 certificate of 'crates.io' could not be verified during a recursive import from crates.io Valentin Ignatev
2020-01-02  7:12 ` Efraim Flashner
2020-01-02 19:06   ` Bengt Richter
2020-01-02 19:20     ` Valentin Ignatev
2020-01-02 19:37       ` Martin Becze

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).