Source: hello-traditional Version: 2.10-6 Severity: normal Tags: patch User: debian-de...@lists.debian.org Usertags: loongarch64 X-Debbugs-Cc: sangm...@loongson.cn
Dear Maintainers, Please address the compilation failure issue of the hello-traditional package on the LoongArch architecture. I have identified that this is due to outdated `config.guess` and `config.sub` files. The LoongArch architecture is now supported in autotools-dev [1]. I have made changes to the `debian/rules` file, and the package can now be successfully built. Sincerely, Meng Sang [1] Link: https://git.savannah.gnu.org/cgit/config.git/commit/?id=20403c5701973a4cbd7e0b4bbeb627fcd424a0f1
diff -Nru hello-traditional-2.10/debian/changelog hello-traditional-2.10/debian/changelog --- hello-traditional-2.10/debian/changelog 2022-12-15 22:15:00.000000000 +0000 +++ hello-traditional-2.10/debian/changelog 2023-09-07 07:26:35.000000000 +0000 @@ -1,3 +1,9 @@ +hello-traditional (2.10-6.1+loong64) UNRELEASED; urgency=medium + + * debian/rules: Fix build error on loongarch64. + + -- Meng Sang <sangm...@loongson.cn> Thu, 07 Sep 2023 07:26:35 +0000 + hello-traditional (2.10-6) unstable; urgency=medium * Remove old dependency on "dpkg (>= 1.15.4) | install-info", diff -Nru hello-traditional-2.10/debian/hello-traditional.debhelper.log hello-traditional-2.10/debian/hello-traditional.debhelper.log --- hello-traditional-2.10/debian/hello-traditional.debhelper.log 1970-01-01 00:00:00.000000000 +0000 +++ hello-traditional-2.10/debian/hello-traditional.debhelper.log 2023-09-07 07:26:35.000000000 +0000 @@ -0,0 +1 @@ +dh_autoreconf_clean diff -Nru hello-traditional-2.10/debian/rules hello-traditional-2.10/debian/rules --- hello-traditional-2.10/debian/rules 2022-12-15 21:00:00.000000000 +0000 +++ hello-traditional-2.10/debian/rules 2023-09-07 07:26:34.000000000 +0000 @@ -37,12 +37,14 @@ endif build: + dh_autoreconf ./configure CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \ LDFLAGS="$(LDFLAGS)" $(confflags) --prefix=/usr $(MAKE) touch build clean: + dh_autoreconf_clean rm -f build [ ! -f Makefile ] || $(MAKE) distclean rm -rf *~ debian/tmp debian/*~ debian/files* debian/substvars