Bug#653771: [pkg-ntp-maintainers] Bug#653771: FTBFS on kfreebsd-* due to -Wformat-security

2012-01-04 Thread Steven Chamberlain
On 03/01/12 21:51, Peter Eisentraut wrote: > I think the below is a more correct fix. Could you check whether it > works for you? Hi Peter, Your suggestion builds okay on kfreebsd-i386, it prevents the -Wformat-security warning, and it runs fine. I've copied your patch and mine to upstream to s

Bug#653771: [pkg-ntp-maintainers] Bug#653771: FTBFS on kfreebsd-* due to -Wformat-security

2012-01-03 Thread Peter Eisentraut
I think the below is a more correct fix. Could you check whether it works for you? --- a/ntpd/refclock_oncore.c +++ b/ntpd/refclock_oncore.c @@ -4058,7 +4058,7 @@ oncore_log ( snprintf(Msg, sizeof(Msg), "ONCORE[%d]: %s", instance->unit, msg); - syslog(log_level, M

Bug#653771: [pkg-ntp-maintainers] Bug#653771: FTBFS on kfreebsd-* due to -Wformat-security

2011-12-31 Thread Steven Chamberlain
On 31/12/11 20:48, Peter Eisentraut wrote: > On fre, 2011-12-30 at 23:29 +, Steven Chamberlain wrote: >> My new patch (attached) fixes only those parts, and I am now able to >> build successfully on kfreebsd-i386. > > Why did you change printf to fprintf(stdout, ...)? Hi, I saw it written th

Bug#653771: [pkg-ntp-maintainers] Bug#653771: FTBFS on kfreebsd-* due to -Wformat-security

2011-12-31 Thread Peter Eisentraut
On fre, 2011-12-30 at 23:29 +, Steven Chamberlain wrote: > My new patch (attached) fixes only those parts, and I am now able to > build successfully on kfreebsd-i386. Why did you change printf to fprintf(stdout, ...)? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org w

Bug#653771: FTBFS on kfreebsd-* due to -Wformat-security

2011-12-30 Thread Steven Chamberlain
On 30/12/11 21:49, Steven Chamberlain wrote: > ntp is now failing to build on the kfreebsd-* arches. Argh! I had the wrong version of the source package. Most of the fixes in my last mail are already applied (as per #542721, #627403) -- but there are two places where some (apparently kfreebsd-sp

Bug#653771: FTBFS on kfreebsd-* due to -Wformat-security

2011-12-30 Thread Steven Chamberlain
Package: src:ntp Version: 1:4.2.6.p3+dfsg-2 Severity: serious Tags: patch User: debian-...@lists.debian.org Usertags: kfreebsd Hi! ntp is now failing to build on the kfreebsd-* arches. Some code is failing the -Wformat-security build hardening test, and this is being treated as an error during b