From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher W Carpenter Subject: Problem with pkgconfig source https redirect Date: Tue, 09 Feb 2016 20:56:59 -0600 Message-ID: <874mdhp91g.fsf@mordocai.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTKxy-00051Z-K8 for guix-devel@gnu.org; Tue, 09 Feb 2016 21:57:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTKxu-0002Z4-C9 for guix-devel@gnu.org; Tue, 09 Feb 2016 21:57:18 -0500 Received: from mail.mordocai.net ([52.33.237.58]:58264) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTKxu-0002YW-2a for guix-devel@gnu.org; Tue, 09 Feb 2016 21:57:14 -0500 Received: from 97-88-111-154.dhcp.stls.mo.charter.com ([97.88.111.154] helo=mordocai-desktop) by mail.mordocai.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1aTKxd-0000hT-D4 for guix-devel@gnu.org; Wed, 10 Feb 2016 02:56:59 +0000 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Talked about this on IRC davexunit, but there appears to be a circular depe= ndency 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=20http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.tar.gz... following redirection to `https://pkg-config.freedesktop.org/releases/pkg-c= onfig-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.2= 9.tar.gz" builder for `/gnu/store/yp6432nfcwblxwvmm3kmsg6zdgqfyc9p-pkg-config-0.29.ta= r.gz.drv' failed to produce output path `/gnu/store/87mxipb93cxhg4wy13wa8wk= 9mjsxd937-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/87mxipb9= 3cxhg4wy13wa8wk9mjsxd937-pkg-config-0.29.tar.gz' cannot build derivation `/gnu/store/ns04f833g7r72gbaxlcakjb4n69iw2fw-pkg-co= nfig-0.29.drv': 1 dependencies couldn't be built guix build: error: build failed: build of `/gnu/store/ns04f833g7r72gbaxlcak= jb4n69iw2fw-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: Stac= k 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: Stac= k 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 =3D=3D=3DFile /home/mordocai/git_repos/guix/0001-Fix-pkg-config-source-url-for-redirectio= n.patch=3D=3D=3D From=20ec3fd8fecac1d76fe429915f85556be937bc6ec8 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 =2D-- 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 =2D-- a/gnu/packages/pkg-config.scm +++ b/gnu/packages/pkg-config.scm @@ -34,7 +34,7 @@ (source (origin (method url-fetch) (uri (string-append =2D "http://pkgconfig.freedesktop.org/releases/pkg-config-" + "https://pkg-config.freedesktop.org/releases/pkg-config-" version ".tar.gz")) (sha256 (base32 =2D-=20 2.7.0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWuqb7AAoJEFJw6mniKuel77MP/2hyVtGNLMgIEfqT3YNyH9Vj /DbO5hchzqjGjMrdkPoyvoetE32Sd3mGnTkdL2Ks53T+UCNQXLdC+3CPl9/IKBC9 aq3+oPz2x55xh5v55D8DZmsylni0GbBp0F504QrRYPI+ArFj+zXYjJLDatgOwcSv vk9tJ2G/m8fvgPI3lC3jU91qhZ5AEKnHJQhqCo9aHyBTP9hODCOq+Pmz8wTjosBS PcFNdrsdCgMO245sw9U1hp/QaiZOhpzNZfBsh/zYxU3mb+MyWnA+uPy+P6SIsM/B b2Srd04SxCIbuF1aLYaSiOYHU1unW1q7U+8CY6vlxSAjtgbLRGmaKY/pB1pIPuZf ZgTRtEqlItXN2G0U1omjsmT+2HvZ3QOSpgZKgx1/ThugZwUNwQihf3SX/22xaFrz qmg00W9lUsESVpKzBFryctLr32GZ67706zqrSxzlVQtFoBAAdhiXFW1PENMo1jlS w8nqtKn4N9uKrxl4eqRwbVQmCWuXcbq0Axeelbazgu2FAcGXZSf1AynnLOIq3KoV xyfunuo5pjWthiklq9DzORZ1AsOrmklZtH8zl0NGnVtGmcA5Tq3a1q/2AZYqQagd psd3YnKVWiOfUw+4i0izhhEAWKOIa7wiTsbUgCsaQ1pW5BEsnk4No5Fl7xTEnpUE KKZkOepvejXOVQqu2qz6 =jpYu -----END PGP SIGNATURE----- --=-=-=--