Closed bluca closed 4 years ago
Unfortunately the Internet is not always reliable.
But autogen.sh
is only meant to be occasionally run by developers, so this is not really an issue. An empty config.sub
would not be be pushed to the stable
branch.
Looks like curl
has a --fail
option that should prevent this. Let's add this, then!
Unfortunately the Internet is not always reliable.
But
autogen.sh
is only meant to be occasionally run by developers, so this is not really an issue. An emptyconfig.sub
would not be be pushed to thestable
branch.
There are CI systems, like oss-fuzz, which require building from scratch due to the need to instrument code. This is how I found this issue in the first place.
We vendor dependencies in our project so that we can perform integrity checks as part of our build process. autogen.sh
should not be, by default, downloading files that are later executed without an integrity check.
Added in f057d474e2303f93cd745054e8915a33c88b4e7d, thanks!
I know there is a env variable to avoid downloading new files, but having a simple sanity check before overwriting existing files in build-aux would be very helpful for automated build systems. Without inspecting the build root, the error from ./configure is not helpful when reading the log.