Updating config.guess is needed for riscv64 builds
Issue description
cryptsetup
FTBFS on riscv64 because of the outdated config.guess
, and configure
would complain "cannot guess build type".
Steps for reproducing the issue
Build this package on riscv64 platform (using corresponding PKGBUILD
file from Arch Linux).
Additional info
extra-riscv64-build
is used to build this package on Arch Linux RISC-V. The compilation failed because configure
cannot guess build type.
Debug log
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets ... yes
checking build system type... ./config.guess: unable to guess system type
This script, last modified 2014-03-23, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.
config.guess timestamp = 2014-03-23
uname -m = riscv64
uname -r = 5.18.11-arch1-1
uname -s = Linux
uname -v = #1 SMP PREEMPT_DYNAMIC Tue, 12 Jul 2022 15:40:51 +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.11-arch1-1
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP PREEMPT_DYNAMIC Tue, 12 Jul 2022 15:40:51 +0000
configure: error: cannot guess build type; you must specify one