Hi, 

This package is not able to build with "hardening=+all", becaues of "-Wformat 
-Werror=format-security" will fail.
Remove format check from hardening will help, patch is attached, tested on 
amd64 and riscv64.

Cheers,

Yifan Xu
--- ../rules	2023-02-25 02:48:19.476774102 +0800
+++ debian/rules	2023-02-25 02:48:28.876972668 +0800
@@ -2,7 +2,7 @@
 #export DH_VERBOSE = 1
 
 # see FEATURE AREAS in dpkg-buildflags(1)
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_BUILD_MAINT_OPTIONS=hardening=-format
 
 # see ENVIRONMENT in dpkg-buildflags(1)
 # package maintainers to append CFLAGS

Reply via email to