[pkg-go] Bug#981849: podman build does not use the cache

Antonio Terceiro terceiro at debian.org
Thu Feb 4 15:21:50 GMT 2021


Package: podman
Version: 3.0.0~rc2+dfsg1-2
Severity: normal

After upgrading from 3.0.0~rc1+dfsg1-1, which was in experimental, to the
version that was just uploaded to unstable, `podman build` stopped using the
cache when building images. See the log below. The build before
the upgrade uses the cache, and the build after it builds everything
from scratch, and will redo every new build after that.

----------------8<----------------8<----------------8<-----------------
$ dpkg-query --show podman
podman	3.0.0~rc1+dfsg1-1

$ make
podman build -t systemd .
STEP 1: FROM debian
STEP 2: RUN apt-get update     && apt-get install -qy auto-apt-proxy     && apt-get install -qy systemd-sysv procps
--> Using cache 30787bd829172ef9075332dcda22f497b52d995e6e720d075b1b04bb5523197c
--> 30787bd8291
STEP 3: RUN  passwd -d root
--> Using cache d4d6285c90f51975ac5dcb2be77936ec5351029b8f8ba16447cb5e7bc29d1975
--> d4d6285c90f
STEP 4: CMD ["/sbin/init"]
--> Using cache 81f365bde08662630f26388bb8c6c672d0ce6cb20e4a6753c2c1dbaa40954107
STEP 5: COMMIT systemd
--> 81f365bde08
81f365bde08662630f26388bb8c6c672d0ce6cb20e4a6753c2c1dbaa40954107

$ sudo apt install -qy podman/unstable
Lendo listas de pacotes...
Construindo árvore de dependências...
Lendo informação de estado...
Pacotes sugeridos:
  containers-storage
Os pacotes a seguir serão atualizados:
  podman
1 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
É preciso baixar 9.491 kB de arquivos.
Depois desta operação, 78,8 kB adicionais de espaço em disco serão usados.
Obter:1 http://ftp.br.debian.org/debian unstable/main amd64 podman amd64 3.0.0~rc2+dfsg1-2 [9.491 kB]
Baixados 9.491 kB em 0s (89,8 MB/s)
(Lendo banco de dados ... 617561 ficheiros e directórios actualmente instalados.)
A preparar para desempacotar .../podman_3.0.0~rc2+dfsg1-2_amd64.deb ...
A descompactar podman (3.0.0~rc2+dfsg1-2) sobre (3.0.0~rc1+dfsg1-1) ...
Configurando podman (3.0.0~rc2+dfsg1-2) ...
podman.service is a disabled or a static unit not running, not starting it.
A processar 'triggers' para man-db (2.9.3-2) ...
[...]

$ make
podman build -t systemd .
STEP 1: FROM debian
STEP 2: RUN apt-get update     && apt-get install -qy auto-apt-proxy     && apt-get install -qy systemd-sysv procps
Get:1 http://deb.debian.org/debian buster InRelease [121 kB]
Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [266 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]
Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [7848 B]
Fetched 8420 kB in 2s (5001 kB/s)
[...]
----------------8<----------------8<----------------8<-----------------

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=pt_BR:pt:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages podman depends on:
ii  conmon                           2.0.25+ds1-1
ii  containernetworking-plugins      0.9.0-1
ii  crun                             0.17+dfsg-1
ii  golang-github-containers-common  0.33.1+ds1-3
ii  init-system-helpers              1.60
ii  libc6                            2.31-9
ii  libdevmapper1.02.1               2:1.02.175-2
ii  libgpgme11                       1.14.0-1+b2
ii  libseccomp2                      2.5.1-1
ii  runc                             1.0.0~rc93+ds1-1

Versions of packages podman recommends:
ii  buildah                                           1.19.3+dfsg1-1
ii  catatonit                                         0.1.5-2
ii  fuse-overlayfs                                    1.4.0-1
ii  golang-github-containernetworking-plugin-dnsname  1.1.1+ds1-4+b1
ii  slirp4netns                                       1.0.1-1
ii  tini                                              0.19.0-1
ii  uidmap                                            1:4.8.1-1

Versions of packages podman suggests:
pn  containers-storage  <none>
ii  docker-compose      1.25.0-1

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20210204/a664cf0d/attachment.sig>


More information about the Pkg-go-maintainers mailing list