Your message dated Fri, 12 Jul 2024 00:34:18 +0000
with message-id <[email protected]>
and subject line Bug#1072578: fixed in golang-github-containers-buildah 
1.35.3+ds1-2
has caused the Debian Bug report #1072578,
regarding buildah doesn't support HEREDOC
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1072578: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072578
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: buildah
Severity: important
X-Debbugs-Cc: [email protected]

It looks like the version of buildah included in Debian (and Ubuntu) doesn't
support heredocs although this has been fixed for a while in upstream. It looks
like that patch got intentionally reverted in Debian.

This greatly reduces the compatibility with Docker as well as with Podman on
other systems.

To reproduce:

Create a `Dockerfile`:
```
FROM alpine
ARG FOO=bar
COPY <<-EOT /script.sh
  echo "hello ${FOO}"
EOT
ENTRYPOINT ash /script.sh
```

and build with `buildah build -f Dockerfile`. This fails with:

```
$ buildah build -f Dockerfile
STEP 1/6: FROM alpine
STEP 2/6: ARG FOO=bar
STEP 3/6: COPY <<-EOT /script.sh
Error: building at STEP "COPY <<-EOT /script.sh": checking on sources under
"/tmp": copier: stat: "/<<-EOT": no such file or directory
```

References:
- [1] https://docs.docker.com/reference/dockerfile/#here-documents
- [2] https://github.com/containers/buildah/issues/5474


-- System Information:
Debian Release: bookworm/sid
  APT prefers jammy-updates
  APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy'), 
(100, 'jammy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-35-generic (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages buildah depends on:
pn  golang-github-containers-common  <none>
ii  libc6                            2.35-0ubuntu3.7
ii  libdevmapper1.02.1               2:1.02.175-2.1ubuntu4
ii  libglib2.0-0                     2.72.4-0ubuntu2.3
ii  libgpgme11                       1.16.0-1.2ubuntu4.2
ii  libostree-1-1                    2022.2-3
ii  libseccomp2                      2.5.3-2ubuntu2
ii  libselinux1                      3.3-1build2
pn  uidmap                           <none>

Versions of packages buildah recommends:
ii  containerd.io [runc]  1.6.32-1
pn  fuse-overlayfs        <none>

Versions of packages buildah suggests:
pn  containers-storage  <none>

--- End Message ---
--- Begin Message ---
Source: golang-github-containers-buildah
Source-Version: 1.35.3+ds1-2
Done: Reinhard Tartler <[email protected]>

We believe that the bug you reported is fixed in the latest version of
golang-github-containers-buildah, which is due to be installed in the Debian 
FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Reinhard Tartler <[email protected]> (supplier of updated 
golang-github-containers-buildah package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 11 Jul 2024 20:10:38 -0400
Source: golang-github-containers-buildah
Architecture: source
Version: 1.35.3+ds1-2
Distribution: experimental
Urgency: medium
Maintainer: Debian Go Packaging Team <[email protected]>
Changed-By: Reinhard Tartler <[email protected]>
Closes: 1072147 1072578
Changes:
 golang-github-containers-buildah (1.35.3+ds1-2) experimental; urgency=medium
 .
   * Refresh and document patches
   * Build against docker 26.1, Closes: #1072578
   * Disable TestDeviceFromPath, Closes: #1072147
   * Tighten depends on:
      - golang-github-fsouza-go-dockerclient-dev
      - imagebuildah
   * Enable heredoc support, Closes: #1072578
   * Backport patch to support --start-interval
Checksums-Sha1:
 df3479a9fe8104e2cd5f701f62702154d51f1743 4070 
golang-github-containers-buildah_1.35.3+ds1-2.dsc
 22ec193fc1a388ca7e668c1d771f21eae11d3750 11052 
golang-github-containers-buildah_1.35.3+ds1-2.debian.tar.xz
Checksums-Sha256:
 5274a3dc0e7b045c239ba4135297768fbc78ebad2d40a12eeff6d8a3ec808415 4070 
golang-github-containers-buildah_1.35.3+ds1-2.dsc
 b80bdf19de2c1f1a4de9c15a8af55b35638926c83545f5c347d1d8d608e2c748 11052 
golang-github-containers-buildah_1.35.3+ds1-2.debian.tar.xz
Files:
 b298433b19dbacaee4da8ad3c859736f 4070 devel optional 
golang-github-containers-buildah_1.35.3+ds1-2.dsc
 362b10e11b9dc16458aef7f891237b38 11052 devel optional 
golang-github-containers-buildah_1.35.3+ds1-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEMN59F2OrlFLH4IJQSadpd5QoJssFAmaQdSgUHHNpcmV0YXJ0
QHRhdXdhcmUuZGUACgkQSadpd5QoJsvqAw//UYwHaFAvASp5P6B8uDI7UF9K76Ig
ToQbGnss1buBwBoMKVnMnylwYKOnFrB6T/XNhtuP2wzzUXq7Z7YbOfCAiHNHSoEG
RnYZ8pcakcJN4daRCGK0jUfu/kCMI2UBJv0x9CxDcpxvGQOJjw5MVy4V9/MhpRZf
xxXBO1Md1puCrZMiRbRbzycnRgRkhjhBqoyCNdNNzeJV6NyYn8a2vd07SR9Y62EP
tji0onHXRSJyAvUJ5e3ZHCVwYXjLP2t9/bFDy3eR1dz8gVvMLtSh8YHPdnGEFrpv
As0+V2mNKHGM5pqmhEhNIZ76WWCPR7bz6LWCVVfguYH83o4JuyXMDxoQ1HbavfQl
9BByYAyGBfuRGpveSHoWJuos01cO2xji4yXfKkJNihfuK8z8YHLkUu1o1O/hjH8K
OogawGS3kzl37MWNr6JoyNMi1jEVMpM1KjbhOndOkRldTRxYwmHTeRGuKDCGmKid
IeeRoCPWAyUX+rfmknQousgbZXSDbHyPQ78expp+pcYZnuKKj+iIxlyeRvQn0o/1
yMJuJnhXREHpp2BPnctaFONMeT5htx+i/+31YIOFdpLUvOIhtmVuvsNA3881acSz
gIMMFllWL98pgN1QjkT9TKl1r5wk9z2oq61pF7Z5Km0anUHoTKI/8++v11nW9y+n
pe4q6uSapvjcyO0=
=TwSk
-----END PGP SIGNATURE-----

Attachment: pgpruh_ZOhphb.pgp
Description: PGP signature


--- End Message ---

Reply via email to