Menu

#68 [BUG] [GNU-netcat Build Failed] Please consider updating autotool scripts.

v1.0 (example)
open
nobody
None
5
2023-04-15
2023-04-15
TinySnow
No

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

Description

  • While packaging gnu-netcat, 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,12 @@ provides=('netcat')
 source=("https://downloads.sourceforge.net/sourceforge/netcat/netcat-$pkgver.tar.bz2")
 sha256sums=('b55af0bbdf5acc02d1eb6ab18da2acd77a400bafd074489003f3df09676332bb')

+prepare() {
+  cd "${srcdir}/netcat-${pkgver}"
+  autoreconf -fiv
+  autoupdate
+}
+
 build() {
   cd "${srcdir}/netcat-${pkgver}"
   ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
  • 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

Discussion


Log in to post a comment.

MongoDB Logo MongoDB