Build breakage is reverted

Daniel Poirot dtpoirot at gmail.com
Sun Dec 6 14:11:14 UTC 2015


Howdy y'all,

I am stumped.

I started building up a stable of BSD VMs with the goal of adding some docs
and maybe an appendix of build scripts for some of the outliers. 


I just ran 'git clone' on my Linux host and the current code doesn't build
with my standard recipe:

rm -fr ntpsec/
git clone http://github.com/ntpsec/ntpsec
cd ntpsec/
./waf configure
./waf build


'build' ends rather dramatically:

[166/210] Compiling tests/libntp/prettydate.c
../tests/libntp/lfptostr.c:27:1: error: initializer element is not constant
 static const int THREE_FOURTH = -ONE_FOURTH;
 ^

../tests/libntp/msyslog.c: In function
'TEST_msyslog_msnprintfHangingPercent_':
../tests/libntp/msyslog.c:93:0: warning: ignoring #pragma clang diagnostic
[-Wunknown-pragmas]
 #pragma clang diagnostic push
 ^
../tests/libntp/msyslog.c:94:0: warning: ignoring #pragma clang diagnostic
[-Wunknown-pragmas]
 #pragma clang diagnostic ignored "-Wformat"
 ^
../tests/libntp/msyslog.c:95:2: warning: spurious trailing '%' in format
[-Wformat=]
  exp_cnt = snprintf(exp_buf, sizeof(exp_buf), "percent then nul term then
non-nul %\0oops!");
  ^
../tests/libntp/msyslog.c:95:2: warning: embedded '\0' in format
[-Wformat-contains-nul]
../tests/libntp/msyslog.c:95:2: warning: spurious trailing '%' in format
[-Wformat=]
../tests/libntp/msyslog.c:95:2: warning: embedded '\0' in format
[-Wformat-contains-nul]
../tests/libntp/msyslog.c:96:2: warning: spurious trailing '%' in format
[-Wformat=]
  act_cnt = msnprintf(act_buf, sizeof(act_buf), "percent then nul term then
non-nul %\0oops!");
  ^
../tests/libntp/msyslog.c:96:2: warning: embedded '\0' in format
[-Wformat-contains-nul]
../tests/libntp/msyslog.c:97:0: warning: ignoring #pragma clang diagnostic
[-Wunknown-pragmas]
 #pragma clang diagnostic pop
 ^

Waf: Leaving directory `/home/user/work/ntpsec/build'
Build failed
 -> task in 'test_libntp' failed (exit status 1):
        {task 140433132744400: c lfptostr.c -> lfptostr.c.3.o}
['/usr/bin/gcc', '-Wall', '-Wextra', '-I/home/user/work/ntpsec/tests/unity',
'-I/home/user/work/ntpsec/tests/libntp',
'-I/home/user/work/ntpsec/tests/ntpdig',
'-I/home/user/work/ntpsec/tests/common', '-I/home/user/work/ntpsec/build',
'-I/home/user/work/ntpsec/include',
'-I/home/user/work/ntpsec/libisc/include',
'-I/home/user/work/ntpsec/libisc/unix/include', '-DTEST_LIBNTP=1',
'../tests/libntp/lfptostr.c', '-c', '-o',
'/home/user/work/ntpsec/build/tests/libntp/lfptostr.c.3.o']
user at dell-rack:~/work/ntpsec$



-----Original Message-----
From: devel [mailto:devel-bounces at ntpsec.org] On Behalf Of Eric S. Raymond
Sent: Sunday, December 06, 2015 4:29 AM
To: devel at ntpsec.org
Subject: Build breakage is reverted

Build breakage is reverted.  Appologies to all.

I am tempted to suggest that we swdault refclocks to "all"...
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
_______________________________________________
devel mailing list
devel at ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel



More information about the devel mailing list