[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#894241: need config.guess/sub update for riscv64



Source: speex
Version: 1.2~rc1.2-1
Severity: normal
Tags: patch
Justification: Policy §4.3
User: debian-riscv@lists.debian.org
Usertags: riscv64

Hi,

We are in the process of bootstrapping a Debian port for the
riscv64 architecture (https://wiki.debian.org/RISC-V). It happens that
the config.guess/sub included in speex is too old to recognize this
system [1]. The solution is to update those files from autotools-dev, as
recommended by Debian Policy §4.3. This is what the single patch
below does, by running the dh_update_autotools_config command just
before configure. Restoring those files in the clean rule is done by
dh_clean.

Thanks,
Aurelien


diff -u speex-1.2~rc1.2/debian/rules speex-1.2~rc1.2/debian/rules
--- speex-1.2~rc1.2/debian/rules
+++ speex-1.2~rc1.2/debian/rules
@@ -90,6 +90,7 @@
 
 %/config.status: configure
 	dh_testdir
+	dh_update_autotools_config
 	mkdir -p $*
 	cd $* && ../configure --host=$(DEB_HOST_GNU_TYPE)	\
 			      --build=$(DEB_BUILD_GNU_TYPE)	\

-- System Information:
Debian Release: buster/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: riscv64

Kernel: Linux 4.15.0_riscv-linux-4.15_2b0aa1de4+ (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply to: