From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Guix & IPFS Date: Wed, 17 Oct 2018 19:00:14 +0200 Message-ID: <87r2goecf5.fsf@ambrevar.xyz> References: <87r2grk5dj.fsf@ambrevar.xyz> <87lg6zfr20.fsf@gnu.org> <87lg6zjxwt.fsf@ambrevar.xyz> <20181016162747.GB25057@jasmine.lan> 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]:49639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCpBR-0000IY-Gu for guix-devel@gnu.org; Wed, 17 Oct 2018 13:00:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCpBJ-0001OY-7k for guix-devel@gnu.org; Wed, 17 Oct 2018 13:00:31 -0400 In-reply-to: <20181016162747.GB25057@jasmine.lan> 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" To: Leo Famulari Cc: Guix-devel --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I've started writing "gx-download.scm", it's on the wip-ipfs branch. On the ipfs-go-ipfs-cmdkit example, I get this error: =2D-8<---------------cut here---------------start------------->8--- > ./pre-inst-env guix build -K ipfs-go-ipfs-cmdkit ;;; note: source file /home/ambrevar/projects/guix/guix/gx-download.scm ;;; newer than compiled /home/ambrevar/.cache/guile/ccache/2.2-LE-8-3= .A/home/ambrevar/projects/guix/guix/gx-download.scm.go substitute: updating substitutes from 'https://mirror.hydra.gnu.org'... 100= .0% building /gnu/store/rnwbwvks2imzzs5av5p0ihab6qynfgi8-module-import-compiled= .drv... [ 1/ 2] Compiling './guix/build/gx.scm'... [ 2/ 2] Compiling './guix/build/utils.scm'... successfully built /gnu/store/rnwbwvks2imzzs5av5p0ihab6qynfgi8-module-impor= t-compiled.drv building /gnu/store/pwjnh2sp30plxbw12zmwg4p5w0wfh5fy-ipfs-go-ipfs-cmdkit-1.= 1.3-1.QmSP88r-checkout.drv... what language will the project be in? initializing package 3nbb94ssalhxdas7= vz2bv8n6dpz3mdw2-ipfs-go-ipfs-cmdkit-1.1.3-1.QmSP88r-checkout... where should users go to report issues? notice: no helper tool found for=20 ERROR: from shell.Get(): Post https://ipfs.io/api/v0/get?arg=3DQmSP88ryZkHS= Rn1fnngAaV2Vcn63WUJzAavnRM9CVdU1Ky&create=3Dtrue: x509: failed to load syst= em roots and no roots provided retrying fetch QmSP88ryZkHSRn1fnngAaV2Vcn63WUJzAavnRM9CVdU1Ky after a secon= d... ERROR: from shell.Get(): Post https://ipfs.io/api/v0/get?arg=3DQmSP88ryZkHS= Rn1fnngAaV2Vcn63WUJzAavnRM9CVdU1Ky&create=3Dtrue: x509: failed to load syst= em roots and no roots provided retrying fetch QmSP88ryZkHSRn1fnngAaV2Vcn63WUJzAavnRM9CVdU1Ky after a secon= d... ERROR: from shell.Get(): Post https://ipfs.io/api/v0/get?arg=3DQmSP88ryZkHS= Rn1fnngAaV2Vcn63WUJzAavnRM9CVdU1Ky&create=3Dtrue: x509: failed to load syst= em roots and no roots provided ERROR: (install): failed to fetch package: QmSP88ryZkHSRn1fnngAaV2Vcn63WUJz= AavnRM9CVdU1Ky: Post https://ipfs.io/api/v0/get?arg=3DQmSP88ryZkHSRn1fnngAa= V2Vcn63WUJzAavnRM9CVdU1Ky&create=3Dtrue: x509: failed to load system roots = and no roots provided=20 Backtrace: 2 (primitive-load "/gnu/store/gpnysp8v5nv1l3yklbv0y5fvb0r?") In guix/build/gx.scm: 52:10 1 (gx-fetch _ _ #:gx-command _) In unknown file: 0 (scm-error misc-error #f "~A" ("Cannot import gx pack?") ?) ERROR: In procedure scm-error: Cannot import gx package note: keeping build directory `/tmp/guix-build-ipfs-go-ipfs-cmdkit-1.1.3-1.= QmSP88r-checkout.drv-1' builder for `/gnu/store/pwjnh2sp30plxbw12zmwg4p5w0wfh5fy-ipfs-go-ipfs-cmdki= t-1.1.3-1.QmSP88r-checkout.drv' failed with exit code 1 build of /gnu/store/pwjnh2sp30plxbw12zmwg4p5w0wfh5fy-ipfs-go-ipfs-cmdkit-1.= 1.3-1.QmSP88r-checkout.drv failed View build log at '/var/log/guix/drvs/pw/jnh2sp30plxbw12zmwg4p5w0wfh5fy-ipf= s-go-ipfs-cmdkit-1.1.3-1.QmSP88r-checkout.drv.bz2'. cannot build derivation `/gnu/store/1prmx5jgzm4wzm23zzwbc1af0r593zhj-ipfs-g= o-ipfs-cmdkit-1.1.3-1.QmSP88r.drv': 1 dependencies couldn't be built guix build: error: build failed: build of `/gnu/store/1prmx5jgzm4wzm23zzwbc= 1af0r593zhj-ipfs-go-ipfs-cmdkit-1.1.3-1.QmSP88r.drv' failed =2D-8<---------------cut here---------------end--------------->8--- My understanding is that I need to pass certificates to the fetcher. Does anyone know how to do that? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlvHap4ACgkQm9z0l6S7 zH8NJwf+OgzGGMzNVVOwT24Qg2uwT4XApMPUxajPDIY60zl8vVlY3312gGu48ed8 /YhdhoufaSVMbstl3KotBzB1fyu4Zy/JPdyDgdXxIcUc//DEx55SLn9Ik+BA03tZ XoaDOxrklMQzlNTALVH0gguQHYCMQ8Ryl88vCbSqishiDRGefJFEN/VVU2SxPuZV boiaAI1vGae0Km67x25RyuIIq0zN/OacY4q/qji7JnfVynZj7TxhWFp0qU5Id2MA /+hdcuPH85JpXP3+EU8ab0W7j0N0Eaww/RD4SlVJtzhYaDs9Y8dxOr7H1MfP4hQi hF92yDGFZeKu5YOd09Zt9OI5TC+Irw== =kVke -----END PGP SIGNATURE----- --=-=-=--