Talked about this on IRC davexunit, but there appears to be a circular dependency issue with gnutls and pkg-config now that pkg-config needs to be downloaded via https. If I do a guix build pkg-config --check --no-substitutes on master right now i get: Starting download of /gnu/store/87mxipb93cxhg4wy13wa8wk9mjsxd937-pkg-config-0.29.tar.gz From http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.tar.gz... following redirection to `https://pkg-config.freedesktop.org/releases/pkg-config-0.29.tar.gz'... ;;; Failed to autoload make-session in (gnutls): ;;; ERROR: missing interface for module (gnutls) ERROR: In procedure module-lookup: Unbound variable: make-session failed to download "/gnu/store/87mxipb93cxhg4wy13wa8wk9mjsxd937-pkg-config-0.29.tar.gz" from "http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.tar.gz" builder for `/gnu/store/yp6432nfcwblxwvmm3kmsg6zdgqfyc9p-pkg-config-0.29.tar.gz.drv' failed to produce output path `/gnu/store/87mxipb93cxhg4wy13wa8wk9mjsxd937-pkg-config-0.29.tar.gz' @ build-failed /gnu/store/yp6432nfcwblxwvmm3kmsg6zdgqfyc9p-pkg-config-0.29.tar.gz.drv - 1 builder for `/gnu/store/yp6432nfcwblxwvmm3kmsg6zdgqfyc9p-pkg-config-0.29.tar.gz.drv' failed to produce output path `/gnu/store/87mxipb93cxhg4wy13wa8wk9mjsxd937-pkg-config-0.29.tar.gz' cannot build derivation `/gnu/store/ns04f833g7r72gbaxlcakjb4n69iw2fw-pkg-config-0.29.drv': 1 dependencies couldn't be built guix build: error: build failed: build of `/gnu/store/ns04f833g7r72gbaxlcakjb4n69iw2fw-pkg-config-0.29.drv' failed If I change the url to the redirection url (see attached patch) I get: Backtrace: In guix/gexp.scm: 402: 19 [# #] 405: 18 [# #] In guix/store.scm: 1001: 17 [# #] In guix/packages.scm: 733: 16 [cache # # #] 978: 15 [thunk] 910: 14 [bag->derivation # # #] In srfi/srfi-1.scm: 578: 13 [map # #] In guix/packages.scm: 790: 12 [expand-input # # # ...] In guix/store.scm: 1061: 11 [run-with-store # ...] In guix/download.scm: 271: 10 [# #] In guix/store.scm: 1001: 9 [# #] In guix/packages.scm: 733: 8 [cache # # #] 978: 7 [thunk] 910: 6 [bag->derivation # # #] In srfi/srfi-1.scm: 578: 5 [map # #] In guix/packages.scm: 790: 4 [expand-input # # # ...] In guix/store.scm: 1008: 3 [# # # ...] In guix/packages.scm: 1080: 2 [origin->derivation # "x86_64-linux"] In guix/download.scm: 239: 1 [url-fetch "mirror://gnu/guile/guile-2.0.11.tar.xz" sha256 ...] In unknown file: ?: 0 [string-prefix? "https://" "mirror://gnu/guile/guile-2.0.11.tar.xz" ...] ERROR: In procedure string-prefix?: ERROR: Throw to key `vm-error' with args `(vm-run "VM: Stack overflow" ())'. Backtrace: In guix/store.scm: 1001: 19 [# #] In guix/packages.scm: 733: 18 [cache # # #] 978: 17 [thunk] 910: 16 [bag->derivation # # #] In srfi/srfi-1.scm: 578: 15 [map # #] In guix/packages.scm: 790: 14 [expand-input # # # ...] In guix/store.scm: 1061: 13 [run-with-store # ...] In guix/download.scm: 271: 12 [# #] In guix/store.scm: 1001: 11 [# #] In guix/packages.scm: 733: 10 [cache # # #] 978: 9 [thunk] 910: 8 [bag->derivation # # #] In srfi/srfi-1.scm: 578: 7 [map # #] In guix/packages.scm: 790: 6 [expand-input # # # ...] In guix/store.scm: 1008: 5 [# # # ...] In guix/packages.scm: 1080: 4 [origin->derivation # "x86_64-linux"] In guix/download.scm: 239: 3 [url-fetch "mirror://gnu/guile/guile-2.0.11.tar.xz" sha256 ...] In unknown file: ?: 2 [string-prefix? "https://" "mirror://gnu/guile/guile-2.0.11.tar.xz" ...] In ice-9/boot-9.scm: 105: 1 [# vm-error ...] 65: 0 [abort-to-prompt catch7 vm-error vm-run "VM: Stack overflow" ()] ice-9/boot-9.scm:65:2: In procedure abort-to-prompt: ice-9/boot-9.scm:65:2: Throw to key `vm-error' with args `(vm-run "VM: Stack overflow" ())'. Backtrace: In guix/packages.scm: 978: 19 [thunk] 910: 18 [bag->derivation # # #] In srfi/srfi-1.scm: 578: 17 [map # #] In guix/packages.scm: 790: 16 [expand-input # # # ...] In guix/store.scm: 1061: 15 [run-with-store # ...] In guix/download.scm: 271: 14 [# #] In guix/store.scm: 1001: 13 [# #] In guix/packages.scm: 733: 12 [cache # # #] 978: 11 [thunk] 910: 10 [bag->derivation # # #] In srfi/srfi-1.scm: 578: 9 [map # #] In guix/packages.scm: 790: 8 [expand-input # # # ...] In guix/store.scm: 1008: 7 [# # # ...] In guix/packages.scm: 1080: 6 [origin->derivation # "x86_64-linux"] In guix/download.scm: 239: 5 [url-fetch "mirror://gnu/guile/guile-2.0.11.tar.xz" sha256 ...] In unknown file: ?: 4 [string-prefix? "https://" "mirror://gnu/guile/guile-2.0.11.tar.xz" ...] In ice-9/boot-9.scm: 105: 3 [# vm-error ...] 65: 2 [abort-to-prompt catch7 vm-error vm-run "VM: Stack overflow" ()] 105: 1 [# vm-error ...] 65: 0 [abort-to-prompt catch7 vm-error vm-run "VM: Stack overflow" ()] ice-9/boot-9.scm:65:2: In procedure abort-to-prompt: ice-9/boot-9.scm:65:2: Throw to key `vm-error' with args `(vm-run "VM: Stack overflow" ())'. davexunit on #guix mentioned that this may need to be solved using a minimal build of gnutls that doesn't require pkg-config for https downloads but i'm a bit out of my depth here so I'm just reporting :). I am happy to do some grunt work once the project decides what direction to go. Thanks, Christopher Carpenter ===File /home/mordocai/git_repos/guix/0001-Fix-pkg-config-source-url-for-redirection.patch=== From ec3fd8fecac1d76fe429915f85556be937bc6ec8 Mon Sep 17 00:00:00 2001 From: "Christopher W. Carpenter (https://mordocai.net/gpg.html)" Date: Tue, 9 Feb 2016 20:52:38 -0600 Subject: [PATCH] Fix pkg-config source url for redirection --- gnu/packages/pkg-config.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/pkg-config.scm b/gnu/packages/pkg-config.scm index 5923395..a6be228 100644 --- a/gnu/packages/pkg-config.scm +++ b/gnu/packages/pkg-config.scm @@ -34,7 +34,7 @@ (source (origin (method url-fetch) (uri (string-append - "http://pkgconfig.freedesktop.org/releases/pkg-config-" + "https://pkg-config.freedesktop.org/releases/pkg-config-" version ".tar.gz")) (sha256 (base32 -- 2.7.0 ============================================================