sudo docker build -t daedalus . fails with the below cabal error:
Error: cabal: sdist of SexpDDL-0.1.0.0: filepath wildcard 'CHANGELOG.md' does
not match any files.
As suggested, I tried adding empty files ./s-exp/ddl-hs/CHANGELOG.md and ./s-exp/ddl-hs/LICENSE, but they did not make a difference. The complete error output is below.
$ sudo docker build -t daedalus .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Sending build context to Docker daemon 106.8MB
Step 1/21 : FROM haskell:9.4 AS build
---> 0786a9eb628b
Step 2/21 : ADD https://api.github.com/repos/GaloisInc/daedalus/git/refs/heads/master version.unused.json
Downloading 347B
---> Using cache
---> 0f0aba4fc506
Step 3/21 : RUN git clone https://github.com/GaloisInc/daedalus
---> Using cache
---> b95f3ed64284
Step 4/21 : WORKDIR daedalus
---> Using cache
---> c6c03f24e3ce
Step 5/21 : RUN cabal update
---> Using cache
---> 275107a31f5f
Step 6/21 : RUN cabal install exe:daedalus
---> Running in 5abb44868b01
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/daedalus-0.1.0.0.tar.gz
Wrote tarball sdist to
/daedalus/dist-newstyle/sdist/daedalus-utils-0.1.0.0.tar.gz
Wrote tarball sdist to
/daedalus/dist-newstyle/sdist/daedalus-core-0.1.0.0.tar.gz
Wrote tarball sdist to
/daedalus/dist-newstyle/sdist/daedalus-vm-0.1.0.0.tar.gz
Wrote tarball sdist to
/daedalus/dist-newstyle/sdist/daedalus-value-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/rts-hs-0.1.0.0.tar.gz
Wrote tarball sdist to
/daedalus/dist-newstyle/sdist/rts-hs-data-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/rts-vm-hs-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/pdf-cos-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/pdf-driver-0.1.0.0.tar.gz
Wrote tarball sdist to
/daedalus/dist-newstyle/sdist/arlington-pdf-model-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/icc-tools-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/nitf-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/atto-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/leb128-ddl-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/bson-ddl-0.1.0.0.tar.gz
Wrote tarball sdist to /daedalus/dist-newstyle/sdist/bson-hs-0.1.0.0.tar.gz
Error: cabal: sdist of SexpDDL-0.1.0.0: filepath wildcard 'CHANGELOG.md' does
not match any files.
The command '/bin/sh -c cabal install exe:daedalus' returned a non-zero code: 1
sudo docker build -t daedalus .
fails with the below cabal error:As suggested, I tried adding empty files
./s-exp/ddl-hs/CHANGELOG.md
and./s-exp/ddl-hs/LICENSE
, but they did not make a difference. The complete error output is below.