libqrencode icon indicating copy to clipboard operation
libqrencode copied to clipboard

[Build Failed] Please consider updating autotool scripts.

Open TinySnow opened this issue 2 years ago • 0 comments

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

Description

  • While packaging qrencode, we found an error.

(This link is the log about building processing our lord maintained.)

  • The config.guess file is too old to work.

  • So our team gives this advice.

Advice

  • You can find the patch here that how we fix it.

  • Or just see the patch below.(in ArchLinux PKGBUILD file):


--- PKGBUILD
+++ PKGBUILD
@@ -13,6 +13,14 @@ license=('GPL')
 source=(https://fukuchi.org/works/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
 sha256sums=('e455d9732f8041cf5b9c388e345a641fd15707860f928e94507b1961256a6923')

+prepare() {
+  cd "${srcdir}/$pkgname-$pkgver"
+
+  autoreconf -fiv
+
+  autoupdate
+}
+
 build() {
   cd "${srcdir}/$pkgname-$pkgver"

  • Please consider updating the configure script tools (Especially config.guess file). As part of our duty, we do suggest our upstreams doing this once and for all instead.

Sincerely thanks. :)

Arch Linux RISC-V Team,

TinySnow

TinySnow avatar Jan 07 '23 08:01 TinySnow