[Debian-med-packaging] Bug#1109688: aegean: please enable build for loong64
zhangdandan
zhangdandan at loongson.cn
Tue Jul 22 04:49:21 BST 2025
Source: aegean
Version: 0.16.0+dfsg-4
Severity: normal
Tags: patch
User: debian-loongarch at lists.debian.org
Usertags: loong64
Dear maintainers,
The status of aegean is Auto-Not-For-Us on loong64.
We need to append loong64 support in d/control and add loongarch64
support in Makefile.
Please consider the patch I attached for aegean.
Based on attached patch, I have built aegean successfully on locally.
```
......
dh_builddeb
dpkg-deb: building package 'aegean' in
'../aegean_0.16.0+dfsg-4+loong64_loong64.deb'.
dpkg-deb: building package 'aegean-dbgsym' in
'../aegean-dbgsym_0.16.0+dfsg-4+loong64_loong64.deb'.
dpkg-genbuildinfo -O../aegean_0.16.0+dfsg-4+loong64_loong64.buildinfo
dpkg-genchanges -O../aegean_0.16.0+dfsg-4+loong64_loong64.changes
```
Please enable build for loong64 after Debian 13 released.
Your opinions are welcome.
Best regards,
Dandan Zhang
-------------- next part --------------
diff -Nru aegean-0.16.0+dfsg/debian/changelog aegean-0.16.0+dfsg/debian/changelog
--- aegean-0.16.0+dfsg/debian/changelog 2024-04-01 17:49:51.000000000 +0000
+++ aegean-0.16.0+dfsg/debian/changelog 2025-07-22 03:38:04.000000000 +0000
@@ -1,3 +1,10 @@
+aegean (0.16.0+dfsg-4+loong64) unstable; urgency=medium
+
+ * Append loong64 support in d/control.
+ * Do not use -m64 CFLAGS on loongarch64.
+
+ -- Dandan Zhang <zhangdandan at loongson.cn> Tue, 22 Jul 2025 11:38:04 +0800
+
aegean (0.16.0+dfsg-4) unstable; urgency=medium
* Remove explicit runtime dependency on libgenometools0.
diff -Nru aegean-0.16.0+dfsg/debian/control aegean-0.16.0+dfsg/debian/control
--- aegean-0.16.0+dfsg/debian/control 2024-04-01 17:49:51.000000000 +0000
+++ aegean-0.16.0+dfsg/debian/control 2025-07-22 03:17:38.000000000 +0000
@@ -14,7 +14,7 @@
Homepage: https://standage.github.io/AEGeAn
Package: aegean
-Architecture: amd64 arm64 armel armhf i386 mipsel powerpc ppc64el s390x hurd-i386 kfreebsd-amd64 kfreebsd-i386 ppc64 x32
+Architecture: amd64 arm64 armel armhf i386 mipsel powerpc ppc64el s390x hurd-i386 kfreebsd-amd64 kfreebsd-i386 ppc64 x32 loong64
Depends: ${shlibs:Depends},
${misc:Depends},
libjs-jquery,
diff -Nru aegean-0.16.0+dfsg/debian/patches/aegean-add-loongarch64-support.patch aegean-0.16.0+dfsg/debian/patches/aegean-add-loongarch64-support.patch
--- aegean-0.16.0+dfsg/debian/patches/aegean-add-loongarch64-support.patch 1970-01-01 00:00:00.000000000 +0000
+++ aegean-0.16.0+dfsg/debian/patches/aegean-add-loongarch64-support.patch 2025-07-22 03:37:07.000000000 +0000
@@ -0,0 +1,14 @@
+Description: Do not use -m64 CFLAGS on loongarch64
+Last-Update: 2025-07-22
+
+--- aegean-0.16.0+dfsg.orig/Makefile
++++ aegean-0.16.0+dfsg/Makefile
+@@ -45,7 +45,7 @@ ifeq ($(optimize),yes)
+ CFLAGS += -O3
+ endif
+ ifneq ($(64bit),no)
+- ifeq (,$(filter $(MACHINE),ia64 alpha mips64 mips64el aarch64))
++ ifeq (,$(filter $(MACHINE),ia64 alpha mips64 mips64el aarch64 loongarch64))
+ CFLAGS += -m64
+ GTFLAGS += 64bit=yes
+ endif
diff -Nru aegean-0.16.0+dfsg/debian/patches/series aegean-0.16.0+dfsg/debian/patches/series
--- aegean-0.16.0+dfsg/debian/patches/series 2019-09-09 16:35:41.000000000 +0000
+++ aegean-0.16.0+dfsg/debian/patches/series 2025-07-22 03:36:18.000000000 +0000
@@ -5,3 +5,4 @@
follow_links
includepaths
2to3.patch
+aegean-add-loongarch64-support.patch
More information about the Debian-med-packaging
mailing list