Source: kafs-client Severity: normal Tags: patch User: debian-loonga...@lists.debian.org Usertags: loong64 X-Debbugs-Cc: wuruil...@loongson.cn
Dear Maintainer, kafs-client compiles incorrectly on loongarch, the attached patch has solved the problem, please refer to the patch to modify the code wuruilong -- System Information: Debian Release: trixie/sid APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: loong64 (loongarch64) Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect
diff -Nru kafs-client-0.5/debian/changelog kafs-client-0.5/debian/changelog --- kafs-client-0.5/debian/changelog 2023-02-06 04:48:30.000000000 +0800 +++ kafs-client-0.5/debian/changelog 2024-01-06 18:35:32.000000000 +0800 @@ -1,3 +1,9 @@ +kafs-client (0.5-4.1) UNRELEASED; urgency=medium + + * Fix build failure casued by unrecognized flag "-m64" + + -- Gui-Yue <yuemeng....@gmail.com> Sat, 06 Jan 2024 18:35:32 +0800 + kafs-client (0.5-4) unstable; urgency=medium [ Bill MacAllister ] diff -Nru kafs-client-0.5/debian/patches/fix_unrecognized-flag-m64.patch kafs-client-0.5/debian/patches/fix_unrecognized-flag-m64.patch --- kafs-client-0.5/debian/patches/fix_unrecognized-flag-m64.patch 1970-01-01 08:00:00.000000000 +0800 +++ kafs-client-0.5/debian/patches/fix_unrecognized-flag-m64.patch 2024-01-06 18:35:32.000000000 +0800 @@ -0,0 +1,23 @@ +Description: Fix bug report #976557 +--- a/Makefile ++++ b/Makefile +@@ -30,7 +30,7 @@ + CFLAGS += -m32 + else + ifeq ($(BUILDFOR),64-bit) +-CFLAGS += -m64 ++CFLAGS += + endif + endif + +--- a/src/Makefile.config ++++ b/src/Makefile.config +@@ -48,7 +48,7 @@ + CFLAGS += -m32 + else + ifeq ($(BUILDFOR),64-bit) +-CFLAGS += -m64 ++CFLAGS += + endif + endif + diff -Nru kafs-client-0.5/debian/patches/series kafs-client-0.5/debian/patches/series --- kafs-client-0.5/debian/patches/series 2023-02-06 04:48:30.000000000 +0800 +++ kafs-client-0.5/debian/patches/series 2024-01-06 18:34:25.000000000 +0800 @@ -18,3 +18,4 @@ 0018-rxrpc-pod.patch 0019-kafs-dns-pod.patch auto-gitignore +fix_unrecognized-flag-m64.patch