Failed to Build docker 20.10.17

  • Done
  • quality assurance status badge
Details
2 participants
  • Edison Ibáñez
  • Danny Milosavljevic
Owner
unassigned
Submitted by
Edison Ibáñez
Severity
normal
E
E
Edison Ibáñez wrote on 25 Nov 2022 01:41
(address . bug-guix@gnu.org)
016e2f238ad85701e7fdf91712946a17@riseup.net
=== Failed
=== FAIL: pkg/fsutils TestSupportsDTypeWithFType0XFS (0.02s)
fsutils_linux_test.go:48: Executing `mkfs.xfs [-m crc=0 -n ftype=0
/tmp/guix-build-docker-20.10.17.drv-0/fsutils-image1756590102]`
fsutils_linux_test.go:51: Filesystem must be larger than 300MB.
Usage: mkfs.xfs
/* blocksize */ [-b size=num]
/* config file */ [-c options=xxx]
/* metadata */ [-m
crc=0|1,finobt=0|1,uuid=xxx,rmapbt=0|1,reflink=0|1,
inobtcount=0|1,bigtime=0|1]
/* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
(sunit=value,swidth=value|su=num,sw=num|noalign),
sectsize=num
/* force overwrite */ [-f]
/* inode size */ [-i perblock=n|size=num,maxpct=n,attr=0|1|2,
projid32bit=0|1,sparse=0|1,nrext64=0|1]
/* no discard */ [-K]
/* log subvol */ [-l
agnum=n,internal,size=num,logdev=xxx,version=n
sunit=value|su=num,sectsize=num,lazy-count=0|1]
/* label */ [-L label (maximum 12 characters)]
/* naming */ [-n size=num,version=2|ci,ftype=0|1]
/* no-op info only */ [-N]
/* prototype file */ [-p fname]
/* quiet */ [-q]
/* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
/* sectorsize */ [-s size=num]
/* version */ [-V]
devicename
<devicename> is required unless -d name=xxx is given.
<num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk
(xxx KiB),
xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp
(xxx PiB).
<value> is xxx (512 byte blocks).
V4 filesystems are deprecated and will not be supported by
future versions.

fsutils_linux_test.go:54: exit status 1

=== FAIL: pkg/fsutils TestSupportsDTypeWithFType1XFS (0.01s)
fsutils_linux_test.go:48: Executing `mkfs.xfs [-m crc=0 -n ftype=1
/tmp/guix-build-docker-20.10.17.drv-0/fsutils-image2620435694]`
fsutils_linux_test.go:51: Filesystem must be larger than 300MB.
Usage: mkfs.xfs
/* blocksize */ [-b size=num]
/* config file */ [-c options=xxx]
/* metadata */ [-m
crc=0|1,finobt=0|1,uuid=xxx,rmapbt=0|1,reflink=0|1,
inobtcount=0|1,bigtime=0|1]
/* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,
(sunit=value,swidth=value|su=num,sw=num|noalign),
sectsize=num
/* force overwrite */ [-f]
/* inode size */ [-i perblock=n|size=num,maxpct=n,attr=0|1|2,
projid32bit=0|1,sparse=0|1,nrext64=0|1]
/* no discard */ [-K]
/* log subvol */ [-l
agnum=n,internal,size=num,logdev=xxx,version=n
sunit=value|su=num,sectsize=num,lazy-count=0|1]
/* label */ [-L label (maximum 12 characters)]
/* naming */ [-n size=num,version=2|ci,ftype=0|1]
/* no-op info only */ [-N]
/* prototype file */ [-p fname]
/* quiet */ [-q]
/* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]
/* sectorsize */ [-s size=num]
/* version */ [-V]
devicename
<devicename> is required unless -d name=xxx is given.
<num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk
(xxx KiB),
xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp
(xxx PiB).
<value> is xxx (512 byte blocks).
V4 filesystems are deprecated and will not be supported by
future versions.

fsutils_linux_test.go:54: exit status 1

=== FAIL: pkg/system TestChtimesLinux (0.00s)
chtimes_linux_test.go:87: Expected: 2262-04-11 23:47:16 +0000 UTC,
got: 2038-01-19 03:14:07 +0000 UTC

=== FAIL: pkg/system TestChtimes (0.00s)
chtimes_test.go:92: Expected: 2262-04-11 23:47:16 +0000 UTC, got:
2038-01-19 03:14:07 +0000 UTC


DONE 2121 tests, 63 skipped, 4 failures in 96.380s
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "hack/test/unit" arguments: ()
exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 97.1 seconds
command "hack/test/unit" failed with status 1

Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.
builder for
`/gnu/store/jjybllxmvvqm9rvvgnxkjyc5p7lh4xhk-docker-20.10.17.drv' failed
with exit code 1
build of /gnu/store/jjybllxmvvqm9rvvgnxkjyc5p7lh4xhk-docker-20.10.17.drv
failed
View build log at
'/var/log/guix/drvs/jj/ybllxmvvqm9rvvgnxkjyc5p7lh4xhk-docker-20.10.17.drv.gz'.
guix system: error: build of
`/gnu/store/jjybllxmvvqm9rvvgnxkjyc5p7lh4xhk-docker-20.10.17.drv' failed
D
D
Danny Milosavljevic wrote on 25 Nov 2022 14:49
(name . Edison Ibáñez)(address . arkhan@riseup.net)(address . 59551-done@debbugs.gnu.org)
20221125144948.55dacffa@scratchpost.org
Hi,

Thanks for the report.

I've worked around the problem in guix master in commit 7e0ad0dd0f2829d6f3776648ba7c88acf9888d7a.
Please test by invoking guix pull and then trying again.

=====

For the record, I also tried to update docker instead and I get this error:

starting phase `build'

Removing bundles/

---> Making bundle: dynbinary (in bundles/dynbinary)
Building: bundles/dynbinary-daemon/dockerd-20.10.21-ce
GOOS="" GOARCH="" GOARM=""
# github.com/docker/docker/vendor/archive/tar
.gopath/src/github.com/docker/docker/vendor/archive/tar/common.go:541:32: undefined: any
.gopath/src/github.com/docker/docker/vendor/archive/tar/strconv.go:204:15: undefined: strings.Cut
.gopath/src/github.com/docker/docker/vendor/archive/tar/strconv.go:254:20: undefined: strings.Cut
.gopath/src/github.com/docker/docker/vendor/archive/tar/strconv.go:276:13: undefined: strings.Cut
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "hack/make.sh" arguments: ("dynbinary") exit-status: 2 term-signal: #f stop-signal: #f>
phase `build' failed after 30.5 seconds
command "hack/make.sh" "dynbinary" failed with status 2

... with the attached patch. Hence I went downgrading xfsprogs instead of upgrading docker.
Author: Danny Milosavljevic <dannym@scratchpost.org>
Date: 2022-11-25 14:43:00

Toggle diff (49 lines)
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm
index 184280b38f..05cda2a38d 100644
--- a/gnu/packages/docker.scm
+++ b/gnu/packages/docker.scm
@@ -54,7 +54,7 @@ (define-module (gnu packages docker)
;; Note - when changing Docker versions it is important to update the versions
;; of several associated packages (docker-libnetwork and go-sctp).
-(define %docker-version "20.10.17")
+(define %docker-version "20.10.21")
(define-public python-docker
(package
@@ -257,7 +257,7 @@ (define docker-libnetwork
;; the branch that Docker uses, as can be seen in the 'vendor.conf' Docker
;; source file. NOTE - It is important that this version is kept in sync
;; with the version of Docker being used.
- (let ((commit "f6ccccb1c082a432c2a5814aaedaca56af33d9ea")
+ (let ((commit "0dde5c895075df6e3630e76f750a447cf63f4789")
(version (version-major+minor %docker-version))
(revision "1"))
(package
@@ -272,7 +272,7 @@ (define docker-libnetwork
(file-name (git-file-name name version))
(sha256
(base32
- "0nxpr0h0smv4n641g41vxibr5r85ixfcvs9cp3c4fc7zvrhjc49s"))
+ "1pl3n4pkzfvyz8a0ari8cc4r060vniqkdhf4acbqjvzbx6bsfnw5"))
;; Delete bundled ("vendored") free software source code.
(modules '((guix build utils)))
(snippet '(delete-file-recursively "vendor"))))
@@ -323,7 +323,7 @@ (define-public docker
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0hn7fg717rggwk6dbicrwa7aglqp7dp0jp5rvn6p9gfcnrp2w97d"))))
+ (base32 "1gpi4559v1sghknayyp8vky6x9ac9xkjsmmqnw8nb6h4yn3h7ih5"))))
(build-system gnu-build-system)
(arguments
(list
@@ -605,7 +605,7 @@ (define-public docker-cli
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0ksicj4iqvgp9jabd4xmhkf3vax6dwn4f5dsr73bdqj4mf3ahav0"))))
+ (base32 "1ksicj4iqvgp9jabd4xmhkf3vax6dwn4f5dsr73bdqj4mf3ahav0"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/docker/cli"
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAmOAx/wACgkQ5xo1VCww
uqUDTgf8CNUDOAuLUMtO4d2H1+7xWfx62izXKfVUQOdEED5X7lzIX2YuUqNYR1pI
LHNv+00rwXRtd6Abs/zL3nJjQOLLX79inzHchga2hYAbeqOxVIj1olIjGL0h6xCt
1DTk7OOasiEhplHCBI7/IGNmpLqhGtWAgDHqpu1A82OILg2VXU1HW4SG1IzjeloS
Z6qy3eqXxaqcd74sssao30hMiCH4WITrn43ezuq/Df6Apl/EaPevotD8XI1v7vvA
0qGeFpf3GJZ7IBn4pww49ifnKI5409BKPvLp9npTbYMSEfE5AwkivJMGsR1YMyC0
OzGrMIw2RY3znx7XneB+PrpX0vy0VA==
=CWPO
-----END PGP SIGNATURE-----


Closed
E
E
Edison Ibáñez wrote on 25 Nov 2022 15:10
Re: bug#59551: closed (Re: bug#59551: Failed to Build docker 20.10.17)
(address . 59551@debbugs.gnu.org)
7d41269a710ac213e7801ea942e9d5cc@riseup.net
El 2022-11-25 08:50, help-debbugs@gnu.org escribió:
Toggle quote (9 lines)
> Your bug report
>
> #59551: Failed to Build docker 20.10.17
>
> which was filed against the guix package, has been closed.
>
> The explanation is attached below, along with your original report.
> If you require more details, please reply to 59551@debbugs.gnu.org.

Hello, now get this:

=== Failed
=== FAIL: pkg/system TestChtimesLinux (0.00s)
chtimes_linux_test.go:87: Expected: 2262-04-11 23:47:16 +0000 UTC,
got: 2038-01-19 03:14:07 +0000 UTC

=== FAIL: pkg/system TestChtimes (0.00s)
chtimes_test.go:92: Expected: 2262-04-11 23:47:16 +0000 UTC, got:
2038-01-19 03:14:07 +0000 UTC


DONE 2121 tests, 65 skipped, 2 failures in 83.594s
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "hack/test/unit" arguments: ()
exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 84.1 seconds
command "hack/test/unit" failed with status 1

Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.
builder for
`/gnu/store/ggvgiazrcv1xin78siazr1yakyws96is-docker-20.10.17.drv' failed
with exit code 1
build of /gnu/store/ggvgiazrcv1xin78siazr1yakyws96is-docker-20.10.17.drv
failed
View build log at
'/var/log/guix/drvs/gg/vgiazrcv1xin78siazr1yakyws96is-docker-20.10.17.drv.gz'.
guix system: error: build of
`/gnu/store/ggvgiazrcv1xin78siazr1yakyws96is-docker-20.10.17.drv' failed
?