Control: retitle -1 debcraft: ERROR: failed to solve: failed to read
dockerfile: open Dockerfile: no such file or directory

Hi!

What Docker version are you using? When I try to reproduce this with
Podman I get:

$ cd $(mktemp -d)
$ apt source bpfcc
$ debcraft build bpfcc_0.31.0+ds-7.dsc
Building container 'debcraft-debian-sid' in
'/tmp/tmp.EXOv6xPqam/debcraft-container' for downloader use
mkdir: created directory '/tmp/tmp.EXOv6xPqam/debcraft-container'
WARN[0000] missing "HOST_ARCH" build argument. Try adding "--build-arg
HOST_ARCH=<VALUE>" to the command line
STEP 1/19: FROM debian:sid
STEP 2/19: ARG HOST_ARCH
--> Using cache f8fcc317ac8cb6fd7022945e1394dd57850ce39b3dbf4b8a0cc8888be21621d5
--> f8fcc317ac8
STEP 3/19: ENV DEBIAN_FRONTEND=noninteractive
--> Using cache 0294da90084a9278ee4fe86f9ba985deb331f3c3575582278e7d6b81bd54f681
--> 0294da90084
STEP 4/19: RUN if grep -q 'PRETTY_NAME="Debian GNU/Linux 9 (stretch)"'
/etc/os-release;     then       echo "deb
http://archive.debian.org/debian stretch main\ndeb
http://archive.debian.org/debian-security stretch/updates main"
 > /etc/apt/sources.list;     fi
--> Using cache 1c58aa5c94a765403c687c470a7fc1aa8d264648dd18c922d0687a966d07423c
--> 1c58aa5c94a
STEP 5/19: RUN apt-get update -q &&     apt-get install -q --yes
--no-install-recommends       blhc       ccache       curl
devscripts       eatmydata       equivs       fakeroot       git
git-buildpackage       lintian       pristine-tar       quilt
Get:1 http://deb.debian.org/debian sid InRelease [216 kB]
Get:2 http://deb.debian.org/debian sid/main amd64 Packages [10.2 MB]
Fetched 10.4 MB in 1s (7700 kB/s)
Reading package lists...
Reading package lists...
...
STEP 18/19: COPY *.sh /
--> 848df0a0ff7
STEP 19/19: RUN apt-get update -q
Hit:1 http://deb.debian.org/debian sid InRelease
Get:2 http://deb.debian.org/debian sid/main Sources [11.1 MB]
Fetched 11.1 MB in 1s (9079 kB/s)
Reading package lists...
COMMIT debcraft-debian-sid
--> a42052db03a
Successfully tagged localhost/debcraft-debian-sid:latest
a42052db03ada648e8434fde4c98c6fc70716dc8c2f772fabe736a45ce5d7d06
Unpack bpfcc_0.31.0+ds-7.dsc and associated Debian and source tar
packages with 'dpkg-source'
usage: sopv-gpgv inline-verify [-h] [--debug] [--not-before TIMESTAMP]
                               [--not-after TIMESTAMP]
                               [--verifications-out VERIFICATIONS]
                               CERTS [CERTS ...]
sopv-gpgv inline-verify: error: the following arguments are required: CERTS
dpkg-source: warning: cannot verify inline signature for
./bpfcc_0.31.0+ds-7.dsc: error code 2
dpkg-source: info: extracting bpfcc in bpfcc-0.31.0+ds
dpkg-source: error: unpack target exists: bpfcc-0.31.0+ds
DEBCRAFT ERROR: Downloading package 'bpfcc_0.31.0+ds-7.dsc' failed

This issue seems to be https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114098

What you are seeing is specific for some newer version of Docker. This
commit message does not have the exact error, but if may be the same
issue that is fixed in latest commit on the development repository 3
weeks ago: 
https://salsa.debian.org/debian/debcraft/-/commit/95a136eb2b53b5e7c0807e9b47c7b4424642db61

Reply via email to