Hi! I'm building gnupg for ArchLinux RISC-V distribution and I get an error message:
checking build system type... ./build-aux/config.guess: unable to guess system type This script (version 2016-05-15), has failed to recognize the operating system you are using. If your script is old, overwrite config.guess and config.sub with the latest versions from: http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess and http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub If ./build-aux/config.guess has already been updated, send the following data and any information you think might be pertinent to email@example.com to provide the necessary information to handle your system. config.guess timestamp = 2016-05-15 uname -m = riscv64 uname -r = 5.18.7-arch1-1 uname -s = Linux uname -v = #1 SMP PREEMPT_DYNAMIC Sat, 25 Jun 2022 20:22:01 +0000 /usr/bin/uname -p = unknown /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = riscv64 UNAME_RELEASE = 5.18.7-arch1-1 UNAME_SYSTEM = Linux UNAME_VERSION = #1 SMP PREEMPT_DYNAMIC Sat, 25 Jun 2022 20:22:01 +0000 configure: error: cannot guess build type; you must specify one
It indicates that the contents of the config.guess file in build-aux directory are out of date and cannot determine new systems and/or architectures.
Running autoreconf -fi in the root of the repository to update these files will resolve the problem.