OpenPrinting / system-config-printer

Graphical user interface for CUPS administration
GNU General Public License v2.0
156 stars 87 forks source link

Please consider updating autotool scripts. #282

Closed TinySnow closed 1 year ago

TinySnow commented 1 year ago

Hello, I'm from ArchRISC-V Team, a community porting Arch Linux software to RISC-V architecture.

Description

While packaging system-config-printer, we found an error.

Error information ```bash checking build system type... ./config.guess: unable to guess system type This script, last modified 2015-01-01, 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 in order to provide the needed information to handle your system. config.guess timestamp = 2015-01-01 uname -m = riscv64 uname -r = 5.18.16-arch1-1 uname -s = Linux uname -v = #1 SMP PREEMPT_DYNAMIC Wed, 03 Aug 2022 11:25:04 +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.16-arch1-1 UNAME_SYSTEM = Linux UNAME_VERSION = #1 SMP PREEMPT_DYNAMIC Wed, 03 Aug 2022 11:25:04 +0000 configure: error: cannot guess build type; you must specify one ```

Solved

prepare() {
  autoupdate
  autoreconf -fiv
}

Advice

Sincerely thanks.

:)

zdohnal commented 1 year ago

I've updated config.sub and config.guess as we did for other OpenPrinting projects when people reported configuration problems on RiSC. I hope it fixes it.