Closed jonglezb closed 3 years ago
Hi,
The fact that they need to be executable is a little bit surprising.
The configure
script doesn't call them directly, only via a shell command:
$SHELL "$ac_aux_dir/config.guess"
$SHELL "$ac_aux_dir/config.sub"
If the SHELL
environment variable empty somehow? That would be the actual issue.
Yes, I expect it would work for a normal build.
However, Spack has an autotools workaround where it tries to manually execute these scripts to check if they work (I have no idea what was the original issue that required this workaround). It's applied to all autotools-based packages, not just libsodium.
By the way, the upstream scripts are executable: https://git.savannah.gnu.org/gitweb/?p=config.git;a=tree
This fixes Spack build on ppc64 and aarch64, see https://github.com/spack/spack/pull/21256