unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* containerd fails to build
@ 2020-02-13 11:32 Tanguy Le Carrour
  2020-02-13 15:13 ` Tanguy Le Carrour
  2020-02-13 19:07 ` Jack Hill
  0 siblings, 2 replies; 4+ messages in thread
From: Tanguy Le Carrour @ 2020-02-13 11:32 UTC (permalink / raw)
  To: Guix

Hi Guix!

containerd fails to build on my system! :-(

```
❯ sudo guix system reconfigure ~/config/system.config.scm
Password:
building /gnu/store/gal5f2xm3476jvfpf2x91hjrp4ccj36i-containerd-1.2.5.drv...
- 'check' phasebuilder for `/gnu/store/gal5f2xm3476jvfpf2x91hjrp4ccj36i-containerd-1.2.5.drv' failed with exit code 1
build of /gnu/store/gal5f2xm3476jvfpf2x91hjrp4ccj36i-containerd-1.2.5.drv failed
View build log at '/var/log/guix/drvs/ga/l5f2xm3476jvfpf2x91hjrp4ccj36i-containerd-1.2.5.drv.bz2'.
guix system: error: build of `/gnu/store/gal5f2xm3476jvfpf2x91hjrp4ccj36i-containerd-1.2.5.drv' failed
```

I checked out the latest Guix version and ran:

```
❯ ./pre-inst-env guix build containerd
```

but this ends up with:

```
...
phase `build' succeeded after 17.3 seconds
starting phase `check'
flag provided but not defined: -test.testlogfile
Usage of /tmp/guix-build-containerd-1.2.5.drv-0/go-build772692618/b001/containerd.test:
  -address string
    	The address to the containerd socket for use in the tests (default "/run/containerd-test/containerd.sock")
  -no-criu
    	Do not run the checkpoint tests
  -no-daemon
    	Do not start a dedicated daemon for the tests
  -test.root
    	enable tests that require root
FAIL	github.com/containerd/containerd	0.004s
FAIL
command "go" "test" "github.com/containerd/containerd" failed with status 1
```

Any idea?!

-- 
Tanguy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: containerd fails to build
  2020-02-13 11:32 containerd fails to build Tanguy Le Carrour
@ 2020-02-13 15:13 ` Tanguy Le Carrour
  2020-02-13 19:07 ` Jack Hill
  1 sibling, 0 replies; 4+ messages in thread
From: Tanguy Le Carrour @ 2020-02-13 15:13 UTC (permalink / raw)
  To: Guix

Hi Guix!

Le 02/13, Tanguy Le Carrour a écrit :
> containerd fails to build on my system! :-(

I've just seen John's email on help-guix [1][] and… it actually answers my
question!

[1]: Cuirass - check evaluation # from build details
     https://lists.gnu.org/archive/html/help-guix/2020-02/msg00118.html

So I guess the proper way to handle a "fails to build" is:
1. check the status on Cuirass;
2. submit a patch or wait for someone more competent than me to do it! ^_^'

Is this the right way to do?

Regards

-- 
Tanguy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: containerd fails to build
  2020-02-13 11:32 containerd fails to build Tanguy Le Carrour
  2020-02-13 15:13 ` Tanguy Le Carrour
@ 2020-02-13 19:07 ` Jack Hill
  2020-02-14  8:38   ` Tanguy Le Carrour
  1 sibling, 1 reply; 4+ messages in thread
From: Jack Hill @ 2020-02-13 19:07 UTC (permalink / raw)
  To: Tanguy Le Carrour; +Cc: Guix


On Thu, 13 Feb 2020, Tanguy Le Carrour wrote:

> Hi Guix!
>
> containerd fails to build on my system! :-(

[content elided]

> starting phase `check'
> flag provided but not defined: -test.testlogfile
> Usage of /tmp/guix-build-containerd-1.2.5.drv-0/go-build772692618/b001/containerd.test:
>  -address string
>    	The address to the containerd socket for use in the tests (default "/run/containerd-test/containerd.sock")
>  -no-criu
>    	Do not run the checkpoint tests
>  -no-daemon
>    	Do not start a dedicated daemon for the tests
>  -test.root
>    	enable tests that require root
> FAIL	github.com/containerd/containerd	0.004s
> FAIL
> command "go" "test" "github.com/containerd/containerd" failed with status 1
> ```
>
> Any idea?!

Oops, sorry about that. this is realated to the Go 1.13 upgrade and an 
change in how the test module works. I've submitted a patch to fix it for 
the containerd 1.2.5: https://issues.guix.gnu.org/issue/39581

It seems the latest containerd release, 1.3.2, does not support go 1.13 
either, but is has landed in unreleased containerd.

Best,
Jack

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: containerd fails to build
  2020-02-13 19:07 ` Jack Hill
@ 2020-02-14  8:38   ` Tanguy Le Carrour
  0 siblings, 0 replies; 4+ messages in thread
From: Tanguy Le Carrour @ 2020-02-14  8:38 UTC (permalink / raw)
  To: Jack Hill; +Cc: Guix

Hi Jack,

Le 02/13, Jack Hill a écrit :
> On Thu, 13 Feb 2020, Tanguy Le Carrour wrote:
> > Hi Guix!
> > containerd fails to build on my system! :-(
> 
> [content elided]
> 
> > starting phase `check'
> > flag provided but not defined: -test.testlogfile
> > Usage of /tmp/guix-build-containerd-1.2.5.drv-0/go-build772692618/b001/containerd.test:
> >  -address string
> >    	The address to the containerd socket for use in the tests (default "/run/containerd-test/containerd.sock")
> >  -no-criu
> >    	Do not run the checkpoint tests
> >  -no-daemon
> >    	Do not start a dedicated daemon for the tests
> >  -test.root
> >    	enable tests that require root
> > FAIL	github.com/containerd/containerd	0.004s
> > FAIL
> > command "go" "test" "github.com/containerd/containerd" failed with status 1
> > ```
> > 
> > Any idea?!
> 
> Oops, sorry about that. this is realated to the Go 1.13 upgrade and an
> change in how the test module works. I've submitted a patch to fix it for
> the containerd 1.2.5: https://issues.guix.gnu.org/issue/39581
> 
> It seems the latest containerd release, 1.3.2, does not support go 1.13
> either, but is has landed in unreleased containerd.

No problem! Thanks for working on that!

Regards

-- 
Tanguy

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-02-14  8:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-13 11:32 containerd fails to build Tanguy Le Carrour
2020-02-13 15:13 ` Tanguy Le Carrour
2020-02-13 19:07 ` Jack Hill
2020-02-14  8:38   ` Tanguy Le Carrour

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).