Hi, On Mon, 25 Jan 2021 at 22:10, taxuswc--- via Bug reports for GNU Guix <[email protected]> wrote:
> I am building GNU Guix from the source on a foreign distro. Several > tests fail: Which commit are you building using which commit version? Did you do guix environment guix ./bootstrap ./configure --localstatedir=/var/ make make check ? Or something else? Or are you trying to bootstrap Guix on foreign distro? > FAIL: tests/lint > ================ [...] > test-name: archival: missing content > location: /home/taxus/downloads/distro/guix/guix-1.2.0/tests/lint.scm:921 > source: > + (test-assert > + "archival: missing content" > + (let* ((origin > + (origin > + (method url-fetch) > + (uri "http://example.org/foo.tgz") > + (sha256 (make-bytevector 32)))) > + (warnings > + (with-http-server > + '((404 "Not archived.")) > + (parameterize > + ((%swh-base-url (%local-url))) > + (check-archival > + (dummy-package "x" (source origin))))))) > + (warning-contains? "not archived" warnings))) > actual-value: #f > actual-error: > + (keyword-argument-error > + #<procedure http-request (uri #:key body port method version keep-alive? > headers decode-body? streaming? request)> > + "Unrecognized keyword" > + () > + (#:verify-certificate?)) > result: FAIL Hum?! [...] > FAIL: tests/guix-pack > ===================== > > + guile -c '(getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)' > + guix pack --version > guix pack (GNU Guix) 1.2.0 > Copyright (C) 2020 the Guix authors > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. [...] > + tar -xf > /home/taxus/downloads/distro/guix/guix-1.2.0/test-tmp/store/az698s2v2q2qnc1ljrg4ypnjpb246x4c-tarball-pack.tar.xz > tar: ./opt/gnu/bin: Cannot hard link to ‘./opt/gnu/bin’: No such file or > directory > tar: Exiting with failure status due to previous errors > + chmod -Rf +w /tmp/tmp.QVmTayA5IX > + rm -rf /tmp/tmp.QVmTayA5IX > FAIL tests/guix-pack.sh (exit status: 2) > > Backtrace: > In ice-9/boot-9.scm: > 2887:24 19 (_) > 222:17 18 (map1 (((guix scripts offload)) ((srfi srfi-64)))) > 2800:17 17 (resolve-interface (guix scripts offload) #:select _ # _ …) > In ice-9/threads.scm: > 390:8 16 (_ _) > In ice-9/boot-9.scm: > 2726:13 15 (_) > In ice-9/threads.scm: > 390:8 14 (_ _) > In ice-9/boot-9.scm: > 2994:20 13 (_) > 2312:4 12 (save-module-excursion #<procedure 7f40c806d2a0 at ice-…>) > 3014:26 11 (_) > In unknown file: > 10 (primitive-load-path "guix/scripts/offload" #<procedure…>) > In ice-9/eval.scm: > 721:20 9 (primitive-eval (define-module (guix scripts offload) …)) > In ice-9/psyntax.scm: > 1262:36 8 (expand-top-sequence ((define-module (guix # #) # # …)) …) > 1209:24 7 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …) > 285:10 6 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …) > In ice-9/eval.scm: > 293:34 5 (_ #<module (#{ g24}#) 7f40c8b980a0>) > In ice-9/boot-9.scm: > 2874:4 4 (define-module* _ #:filename _ #:pure _ #:version _ # _ …) > 2887:24 3 (_) > 222:17 2 (map1 (((ssh key)) ((ssh auth)) ((ssh session)) ((…)) …)) > 2803:6 1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …) > In unknown file: > 0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …) > > ERROR: In procedure scm-error: > no code for module (ssh key) It seems a misconfiguration of your environment. All the best, simon
