Pierre Neidhardt <m...@ambrevar.xyz> ezt írta (időpont: 2018. okt. 25., Cs
20:11):

>
> > What does ‘gx’ tell you in the builder?
>
> Sorry, I don't understand what you are asking.  The following is the
> output I
> get when I attempt to build a package using gx-fetch:
>
> --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-import-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
> 3nbb94ssalhxdas7vz2bv8n6dpz3mdw2-ipfs-go-ipfs-cmdkit-1.1.3-1.QmSP88r-checkout...
> where should users go to report issues? notice: no helper tool found for
> ERROR: from shell.Get(): Post
> https://ipfs.io/api/v0/get?arg=QmSP88ryZkHSRn1fnngAaV2Vcn63WUJzAavnRM9CVdU1Ky&create=true:
> x509: failed to load system roots and no roots provided
>
Maybe I am just stating the obvious, but this error seems to be certificate
related, i think network access is ok, but the certificate cant be
validated, as no root cert is found.

> retrying fetch QmSP88ryZkHSRn1fnngAaV2Vcn63WUJzAavnRM9CVdU1Ky after a
> second...
> ERROR: from shell.Get(): Post
> https://ipfs.io/api/v0/get?arg=QmSP88ryZkHSRn1fnngAaV2Vcn63WUJzAavnRM9CVdU1Ky&create=true:
> x509: failed to load system roots and no roots provided
> retrying fetch QmSP88ryZkHSRn1fnngAaV2Vcn63WUJzAavnRM9CVdU1Ky after a
> second...
> ERROR: from shell.Get(): Post
> https://ipfs.io/api/v0/get?arg=QmSP88ryZkHSRn1fnngAaV2Vcn63WUJzAavnRM9CVdU1Ky&create=true:
> x509: failed to load system roots and no roots provided
> ERROR: (install): failed to fetch package:
> QmSP88ryZkHSRn1fnngAaV2Vcn63WUJzAavnRM9CVdU1Ky: Post
> https://ipfs.io/api/v0/get?arg=QmSP88ryZkHSRn1fnngAaV2Vcn63WUJzAavnRM9CVdU1Ky&create=true:
> x509: failed to load system roots and no roots provided
> 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-cmdkit-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-ipfs-go-ipfs-cmdkit-1.1.3-1.QmSP88r-checkout.drv.bz2'.
> cannot build derivation
> `/gnu/store/1prmx5jgzm4wzm23zzwbc1af0r593zhj-ipfs-go-ipfs-cmdkit-1.1.3-1.QmSP88r.drv':
> 1 dependencies couldn't be built
> guix build: error: build failed: build of
> `/gnu/store/1prmx5jgzm4wzm23zzwbc1af0r593zhj-ipfs-go-ipfs-cmdkit-1.1.3-1.QmSP88r.drv'
> failed
> --8<---------------cut here---------------end--------------->8---
>
> --
> Pierre Neidhardt
> https://ambrevar.xyz/
>

Reply via email to