@Steffen, I am patching like this:
```
Description: Do not interpret build flags as a printf format string
dpkg-buildflags can include URL-encoded ELF package metadata in LDFLAGS. Its
percent escapes were interpreted as printf conversions, resulting in an
invalid compiler invocation.
Author: Paride Legovini <[email protected]>
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/s-nail/+bug/2166966
Forwarded: no
Last-Update: 2026-09-10
--- a/mk/make-config.sh
+++ b/mk/make-config.sh
@@ -3594,7 +3594,7 @@ for i in \
SU_CFLAGS SU_CXXFLAGS SU_INCS SU_LDFLAGS SU_LIBS \
; do
eval j=\$${i}
- printf -- "${i} = ${j}\n" >> ${mk}
+ printf '%s = %s\n' "${i}" "${j}" >> ${mk}
done
echo >> ${mk}
```
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2166966
Title:
FTBFS: s-nail fails to build in the stonking archive
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s-nail/+bug/2166966/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs