Closed rmancusi closed 1 year ago
I just downloaded it manually and the checksum is fine, so nothing changed on the server side. Perhaps there was a temporary network or server issue and you got a bad download, i.e. the ".tar.xz" might be an HTML page. You can "docker run --rm" on the image ID at that layer then "docker cp" out the bad tarball to have a closer look. To retry the download you will need to discard or ignore the bad image cache with "prune", "rmi" on the bad image ID, or even "build --no-cache".
If it persists, maybe it's a local network issue, such as fossies.org being blocked by middleware, though curl ultimately believed the download was successful, i.e. it got a "200 OK" and ran to completion. In that case running curl manually or inspecting the downloaded tarball per above may reveal the issue. The URL is near the beginning of the Dockerfile.
In the very worst case if you cannot download one of the URLs for whatever reason, you can grab the "source.tar" from the "Releases" and change the Dockerfile "RUN curl" into a "COPY" instruction, bypassing the need to download the source tarballs. It still needs to download Debian packages (i.e. the bootstrap compiler), but you already succeeded at that part.
Thanks for your hints. I had been using the "build --no-cache" command. So I skipped to the last option that you provided and got it to build.
Not terribly sure what happened. I'm working on a Windows11 machine, but that wouldn't have much to do with a network issue.
This can be closed, again with thanks.
I need some help resolving the following during my build of 1.16.1. Apparently the checksum check for expat-2.4.8.tar.xz failed.