Subject: bug#35359: docker-image produces corrupt tar

From: Ludovic Courtès <[email-masked]>
Date: Sun, 21 Apr 2019 22:35:52 +0200

Hi,

rendaw <[email-masked]> skribis:

> $ guix system docker-image testsystem2.scm --on-error=backtrace
> successfully built
> /gnu/store/l3psqh73xjb5h11y1hwrlfvl1yr920x4-guixsd-docker-image.tar.gz.drv
> /gnu/store/giaw69wla9zdf4k7nddyyglvhq3629jq-guixsd-docker-image.tar.gz
> $ tar -ztf
> /gnu/store/d8rr8ilwm7l0xjachp7glbhp9qf4hjyg-guixsd-docker-image.tar.gz ^C
> $ docker load <
> /gnu/store/giaw69wla9zdf4k7nddyyglvhq3629jq-guixsd-docker-image.tar.gz
> Error processing tar file(exit status 1): unexpected EOF
> $ tar -ztf
> /gnu/store/giaw69wla9zdf4k7nddyyglvhq3629jq-guixsd-docker-image.tar.gz
> ./
> ./41bc17c3316805da9a209f5835327160c8993ab4311c9cb649911a4ae41d1603/
> ./41bc17c3316805da9a209f5835327160c8993ab4311c9cb649911a4ae41d1603/VERSION
> ./41bc17c3316805da9a209f5835327160c8993ab4311c9cb649911a4ae41d1603/json
> ./41bc17c3316805da9a209f5835327160c8993ab4311c9cb649911a4ae41d1603/layer.tar
>
> gzip: stdin: unexpected end of file
> tar: Unexpected EOF in archive
> tar: Error is not recoverable: exiting now
> ```

What’s the output of ‘guix describe’?

This problem was initially fixed in
0dc7d298a33f83d5f02a962b5f1bd24ee0e8ef07 (March 22), with a followup in
66ec389580d4f1e4b81e1c72afe2749a547a0e7ca (Apr. 14).

Thanks,
Ludo’.