Source: hello-traditional
Version: 2.10-6
Severity: normal
Tags: patch
User: [email protected]
Usertags: loong64

Dear maintainers,

Please update the outdated config.guess and config.sub to recognize the LoongArch. The version of config.guess and config.sub in the hello-traditional source package are too old for the LoongArch architecture.

The LoongArch architecture has been supported in config upstream [1] and autotools-dev source package [2].

Please consider the patch (modify debian/rules) I have attached.
If you have any questions, you can contact me at any time.


[1]:https://git.savannah.gnu.org/cgit/config.git/commit/?id=20403c5701973a4cbd7e0b4bbeb627fcd424a0f1
[2]:https://packages.debian.org/bookworm/autotools-dev

Best regards,
Dandan Zhang

On Mon, 11 Sep 2023 12:26:05 +0200 Santiago Vila wrote:

> Hello.
>
> I received this report from the Debian bug system.
>
> Usually we just go ahead and update config.sub and config.guess automatically
> during the build process, but I'm not sure if all distributions do that.
>
> I've checked and the latest hello package, released 2022-05-30, still has
> config.sub and config.guess files dated 2020-12-22.
>
> Since this is an example package also for the GNU project, I would suggest updating
> those files always at each new release.
>
> Thanks.

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     2025-02-25 09:41:22.000000000 
+0000
@@ -1,3 +1,9 @@
+hello-traditional (2.10-6+loong64) unstable; urgency=medium
+
+  * update-autotools-config.
+
+ -- Dandan Zhang <[email protected]>  Tue, 25 Feb 2025 17:41:22 +0800
+
 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/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 2025-02-25 09:41:22.000000000 +0000
@@ -37,6 +37,7 @@
 endif
 
 build:
+       dh_autoreconf
        ./configure CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
                LDFLAGS="$(LDFLAGS)" $(confflags) --prefix=/usr
        $(MAKE)

Reply via email to