Hello, I'm from ArchRISC-V Team, a community porting Arch Linux software to RISC-V architecture.
First attempt Description While packaging `gnuchess`, we found an error. Error information checking build system type... ./config.guess: unable to guess system type This script, last modified 2009-11-20, 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 <[email protected]> in order to provide the needed information to handle your system. config.guess timestamp = 2009-11-20 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 Solved * Added `autoreconf` in the `prepare()` function in the PKGBUILD. Here is the code: autoupdate autoreconf -fiv Second attempt Description Then we got a second error, and it is a dependency error: Error information /bin/sh '/build/gnuchess/src/gnuchess-6.2.9/missing' help2man --name='GNU Chess' --info-page='gnuchess' ../src/gnuchess -o gnuchess.1 /build/gnuchess/src/gnuchess-6.2.9/missing: line 81: help2man: command not found WARNING: 'help2man' is missing on your system. You should only need it if you modified a dependency of a man page. You may want to install the GNU Help2man package: <https://www.gnu.org/software/help2man/> make[1]: *** [Makefile:560: gnuchess.1] Error 127 make[1]: Leaving directory '/build/gnuchess/src/gnuchess-6.2.9/man' make: *** [Makefile:518: all-recursive] Error 1 Solved * We added it to the `makedepends` in `PKGBUILD` to solve it. * Build passed. Summary * Please consider updating the configure script tools. * We made a patch and patched it into source to let it works, however, as part of our duty, we do suggest our upstreams doing this once and for all instead. Sincerely thanks. :) ArchRISC-V Team Member, Tiny Snow
