nijel / enca

Extremely Naive Charset Analyser

Home Page:https://cihar.com/software/enca/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FTBFS on RISC-V] Please consider updating tarball files.

TinySnow opened this issue · comments

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

Description

  • While packaging enca, 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
@@ -14,6 +14,13 @@ options=('!docs')
 source=("https://dl.cihar.com/${pkgname}/${pkgname}-${pkgver}.tar.xz")
 sha256sums=('3a487eca40b41021e2e4b7a6440b97d822e6532db5464471f572ecf77295e8b8')

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

The release is currently blocked by #27. Either the documentation needs to be fixed, or the make dist adjusted to not include the documentation.