Page MenuHome GnuPG

File `config.guess` is a little out of date
Closed, ResolvedPublic


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:;a=blob_plain;f=config.guess

If ./build-aux/config.guess has already been updated, send the following data and any
information you think might be pertinent to 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_RELEASE = 5.18.7-arch1-1
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.

Event Timeline

gniibe triaged this task as Normal priority.Jul 18 2022, 10:56 AM

Thank you.

I updated config.* in gnupg master. To be conservative, I use 2022-01-09 version, which is widely used in Debian testing. (As of today, upstream has 2022-05-25 version.)

This is a good opportunity. I'll update the scripts in other programs, too.

Note that versions since 2020-11-07 to 2021-07-03 have major problem with non-POSIX shell, which doesn't support $(..) construct.

Our update is OK.

In the repo, for all related software, it's done.