depends: fix libsodium build breaking on git.savannah.gnu.org 502
libsodium's autogen.sh fetches config.sub/config.guess from git.savannah.gnu.org gitweb, which is frequently down (currently returns 502). curl saved the HTML error page over config.sub, so libsodium's configure died with "cannot run /bin/bash ./build-aux/config.sub" and the whole build failed. autoreconf -ivf (run earlier in autogen.sh) already installs valid config.sub/ config.guess from the build host, so set DO_NOT_UPDATE_CONFIG_SCRIPTS=1 (the script's own opt-out) to skip the fragile download. Validated: the full build now completes and produces working dragonxd/dragonx-cli/dragonx-tx. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -16,8 +16,12 @@ define $(package)_set_vars
|
||||
endef
|
||||
endif
|
||||
|
||||
# libsodium's autogen.sh otherwise fetches config.sub/config.guess from
|
||||
# git.savannah.gnu.org gitweb, which is frequently down (502) and writes the error
|
||||
# page over config.sub, breaking configure. autoreconf -ivf (run first) already
|
||||
# installs valid copies, so tell autogen.sh to skip the download.
|
||||
define $(package)_preprocess_cmds
|
||||
cd $($(package)_build_subdir); ./autogen.sh
|
||||
cd $($(package)_build_subdir); DO_NOT_UPDATE_CONFIG_SCRIPTS=1 ./autogen.sh
|
||||
endef
|
||||
|
||||
define $(package)_config_cmds
|
||||
|
||||
Reference in New Issue
Block a user