HTTrack Website Copier
Free software offline browser - FORUM
Subject: Please consider updating autotool scripts.
Author: TinySnow[lo.tinysnow.ol@outlook.com]
Date: 11/20/2022 08:33
 
Hello, I'm from ArchRISC-V Team, a community porting Arch Linux software to
RISC-V architecture. 


# Description

While packaging `httrack`, we found an
[error](https://archriscv.felixc.at/.status/log.htm?url=logs/httrack/httrack-3.49.2-4.log). 

(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](https://github.com/felixonmars/archriscv-packages/wiki/%E6%88%91%E4%BB%AC%E7%9A%84%E5%B7%A5%E4%BD%9C%E4%B9%A0%E6%83%AF#configguess-unable-to-guess-system-type)
that how we fix it. 

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

```diff
--- PKGBUILD
+++ PKGBUILD
@@ -14,11 +14,18 @@ arch=('x86_64')
 url=https://www.httrack.com/
 license=('GPL3')
 depends=('bash' 'xdg-utils' 'hicolor-icon-theme' 'openssl')
+makedepends=('autoconf-archive')

source=(https://mirror.httrack.com/historical/$pkgname-$pkgver.tar.gz{,.asc})
 validpgpkeys=('BB71C7E6CB1AD8FAF53FE42A60C3AA7180598EFB') # Xavier Roche

sha256sums=('3477a0e5568e241c63c9899accbfcdb6aadef2812fcce0173688567b4c7d4025'
             'SKIP')

+prepare() {
+  cd "${srcdir}"/$pkgname-$pkgver
+  autoupdate
+  autoreconf -fiv
+}
+
 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
 
Reply


All articles

Subject Author Date
Please consider updating autotool scripts.

11/20/2022 08:33




4

Created with FORUM 2.0.11