Dear maintainer, I've prepared an NMU for axc (versioned as 0.3.7-2.1). The diff is attached to this message.
Regards.
diff -Nru axc-0.3.7/debian/changelog axc-0.3.7/debian/changelog --- axc-0.3.7/debian/changelog 2025-03-17 04:45:47.000000000 +0100 +++ axc-0.3.7/debian/changelog 2025-04-19 13:54:16.000000000 +0200 @@ -1,3 +1,12 @@ +axc (0.3.7-2.1) unstable; urgency=medium + + * Non-maintainer upload. + + [ Gui-Yue ] + * disable -fcf-protection=full to fix FTBFS (Closes: #1101090) + + -- Chris Hofstaedtler <z...@debian.org> Sat, 19 Apr 2025 13:54:16 +0200 + axc (0.3.7-2) unstable; urgency=medium [ Evangelos Ribeiro Tzaras ] diff -Nru axc-0.3.7/debian/patches/03_apply_hardening_to_tests.diff axc-0.3.7/debian/patches/03_apply_hardening_to_tests.diff --- axc-0.3.7/debian/patches/03_apply_hardening_to_tests.diff 2025-03-17 04:45:47.000000000 +0100 +++ axc-0.3.7/debian/patches/03_apply_hardening_to_tests.diff 2025-04-19 13:54:16.000000000 +0200 @@ -13,16 +13,20 @@ Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/Makefile b/Makefile -index 4a6c615..64fc8bb 100644 ---- a/Makefile -+++ b/Makefile -@@ -64,7 +64,7 @@ CPPFLAGS += -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE -D_D +Index: axc-0.3.7/Makefile +=================================================================== +--- axc-0.3.7.orig/Makefile ++++ axc-0.3.7/Makefile +@@ -64,7 +64,11 @@ CPPFLAGS += -D_XOPEN_SOURCE=700 -D_BSD_S CFLAGS += $(PKGCFG_C) -std=c11 -g -Wall -Wextra -Wpedantic \ -Wstrict-overflow -fno-strict-aliasing -funsigned-char \ -fno-builtin-memset -fstack-protector-strong -Wformat -Werror=format-security -TESTFLAGS=$(PKGCFG_C) -g -O0 --coverage -Wall -Wextra -Wpedantic -Wstrict-overflow -fstack-protector-strong -Wformat -Werror=format-security -+TESTFLAGS=$(PKGCFG_C) -g -O0 --coverage -Wall -Wextra -Wpedantic -Wstrict-overflow -fstack-protector-strong -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection ++TESTFLAGS=$(PKGCFG_C) -g -O0 --coverage -Wall -Wextra -Wpedantic -Wstrict-overflow -fstack-protector-strong -Wformat -Werror=format-security -fstack-clash-protection ++ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),amd64 i386)) ++TESTFLAGS += -fcf-protection ++endif ++ LDFLAGS += -pthread -ldl $(PKGCFG_L) -lm LDFLAGS_T= -lcmocka $(LDFLAGS) PICFLAGS=-fPIC $(CFLAGS)