[178/315] Compiling libntp/clockwork.c ../../libntp/ntp_calendar.c:18:10: fatal error: PIVOT.h: No such file or directory 18 | #include "PIVOT.h" | ^~~~~~~~~ compilation terminated.
Default verbosity log and minimal solving patch attached. I also think merge requests !1256, !1253, and !1237 should be merged, and that !1292, !1290, and others should be evaluated (although probably later).
+ basename /home/jamesb/ntpsec/devel + [ devel != devel ] + set -e + [ != ] + cat ../VERSION + V=1.2.1 + echo version is 1.2.1 version is 1.2.1 + rm -fr .tmp + cd .. + git ls-files + find build -print + grep \.[0-9]$ + cd .. + tar --transform=s:^:ntpsec-1.2.1/: -T devel/MANIFEST -czf ntpsec-1.2.1.tar.gz + rm MANIFEST + mv ../ntpsec-1.2.1.tar.gz . + set -e + mkdir .tmp + cd .tmp + tar -xzf ../ntpsec-1.2.1.tar.gz + cd ntpsec-1.2.1 + ./waf configure --refclock=all --enable-doc Setting top to : /home/jamesb/ntpsec/devel/.tmp/ntpsec-1.2.1 Setting out to : /home/jamesb/ntpsec/devel/.tmp/ntpsec-1.2.1/build Checking for program 'asciidoctor' : /usr/bin/asciidoctor Checking for asciidoctor version >= 1.5.8 : 2.0.16 --- Configuring host --- Checking for 'gcc' (C compiler) : /usr/bin/gcc Checking compiler version : 12.2.0 Checking for program 'ldconfig' : /usr/sbin/ldconfig Checking for program 'm4' : /usr/bin/m4 Checking for program 'bison' : /usr/bin/bison Checking for program 'awk' : /usr/bin/awk Checking for program 'sh' : /usr/bin/sh Checking for program 'pkg-config' : /usr/bin/pkg-config Checking for systemd : yes systemd unit directory: : /lib/systemd/system --- Configuring main --- Checking for endianness : little Checking for library m : yes Checking for library rt : yes Checking for library pthread : yes Checking for library execinfo : not found Checking for library bsd : not found Checking for library ssp : not found Checking for library ssp_nonshared : yes Checking if C compiler supports -fstack-protector-all : yes Checking if C compiler supports -fPIC : yes Checking if C compiler supports -pie -fPIE : yes Checking if C compiler supports -Qunused-arguments : no Checking if C compiler supports -Wcast-qual : yes Checking if C compiler supports -Wdisabled-optimization : yes Checking if C compiler supports -Wfloat-equal : yes Checking if C compiler supports -Wformat : yes Checking if C compiler supports -Wformat-security : yes Checking if C compiler supports -Wformat-signedness : yes Checking if C compiler supports -Wimplicit-function-declaration : yes Checking if C compiler supports -Winit-self : yes Checking if C compiler supports -Winvalid-pch : yes Checking if C compiler supports -Wmissing-declarations : yes Checking if C compiler supports -Wmultichar : yes Checking if C compiler supports -Wpacked : yes Checking if C compiler supports -Wpointer-arith : yes Checking if C compiler supports -Wshadow : yes Checking if C compiler supports -Wsuggest-attribute=noreturn : yes Checking if C compiler supports -Wwrite-strings : yes Checking if C compiler supports -flto : yes Checking if linker supports -Wl,-z,now : yes Checking if linker supports -Wl,--strip-all : yes Checking if linker supports -Wl,-z,relro : yes Checking for type struct if_laddrconf : no Checking for type struct if_laddrreq : no Checking for type struct timex : yes Checking for type struct ntptimeval : yes Checking for field time_tick in struct timex : no Checking for field modes in struct timex : yes Checking for field time.tv_nsec in struct ntptimeval : no Checking for field tai in struct ntptimeval : yes Checking sizeof long : 8 Checking sizeof time_t (time.h) : 8 Checking for OpenSSL/libssl (via pkg-config) : yes Checking for OpenSSL/libcrypto (via pkg-config) : yes Checking for function _Unwind_Backtrace : yes Checking for function adjtimex : yes Checking for function backtrace_symbols_fd : yes Checking for function ntp_adjtime : yes Checking for function ntp_gettime : yes Checking for function res_init : yes Checking for function strlcpy : no Checking for function strlcat : no Checking for function timegm : yes Checking for function PRIV_NTP_ADJTIME : no Checking for function timer_create : yes Checking for function CMAC_CTX_new : yes Checking for function EVP_PKEY_new_CMAC_key : yes Checking for function strlcat : no Checking for function strlcpy : no Checking for header stdbool.h : yes Checking for header alloca.h : yes Checking for header arpa/nameser.h : yes Checking for header bsd/string.h : not found Checking for header ifaddrs.h : yes Checking for header linux/if_addr.h : yes Checking for header linux/rtnetlink.h : yes Checking for header linux/serial.h : yes Checking for header net/if6.h : not found Checking for header net/route.h : yes Checking for header priv.h : not found Checking for header stdatomic.h : yes Checking for header sys/clockctl.h : not found Checking for header sys/ioctl.h : yes Checking for header sys/modem.h : not found Checking for header sys/sockio.h : not found Checking for header sys/sysctl.h : no Checking for header timepps.h : no Checking for header sys/timepps.h : yes Checking for header sys/timex.h : yes Checking for sockaddr->sa_len : no Checking if strerror_r returns char* : yes Checking for header libscf.h : not found Enabling Refclock Undisciplined Local Clock (local): : Yes Enabling Refclock Spectracom GPS Receivers (spectracom): : Yes Enabling Refclock TrueTime GPS/GOES/OMEGA Receivers (truetime): : Yes Enabling Refclock Generic Reference Driver (Parse) (generic): : Yes Enabling Refclock Arbiter 1088A/B GPS Receiver (arbiter): : Yes Enabling Refclock NIST/USNO/PTB Modem Time Services (modem): : Yes Enabling Refclock Generic NMEA GPS Receiver (nmea): : Yes Enabling Refclock PPS Clock Discipline (pps): : Yes Enabling Refclock Hewlett Packard 58503A GPS Receiver (hpgps): : Yes Enabling Refclock Shared Memory Driver (shm): : Yes Enabling Refclock Trimble Navigation GPSes (trimble): : Yes Enabling Refclock Motorola UT Oncore GPS (oncore): : Yes Enabling Refclock JJY Receivers (jjy): : Yes Enabling Refclock Zyfer GPStarplus Receiver (zyfer): : Yes Enabling Refclock GPSD NG client protocol (gpsd): : Yes Checking for header sys/prctl.h : yes Checking for header sys/capability.h : yes Checking for library cap : yes Checking for header dns_sd.h : yes Checking for OpenSSL with TLSv1.3 support : yes Checking for OpenSSL != 1.1.1a : yes Writing configuration header: : config.h Build Options CC : /usr/bin/gcc CFLAGS : -DUNITY_EXCLUDE_FLOAT_PRINT -fstack-protector-all -Wshadow -Wpacked -Wcast-qual -Wmissing-declarations -Wdisabled-optimization -Wimplicit-function-declaration -Winvalid-pch -Wpointer-arith -Wwrite-strings -Winit-self -Wfloat-equal -Wformat -Wformat-signedness -Wformat-security -Wsuggest-attribute=noreturn -fPIC -O1 -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wundef -Wunused -std=c99 -D_GNU_SOURCE LDFLAGS : -lssp_nonshared -Wl,-z,now -Wl,--strip-all -Wl,-z,relro LINKFLAGS_NTPD : -pie PREFIX : /usr/local LIBDIR : /usr/local/lib Droproot Support : Linux Debug Support : No Refclocks : arbiter, generic, gpsd, hpgps, jjy, local, modem, nmea, oncore, pps, shm, spectracom, trimble, truetime, zyfer Build Docs : Yes Build Manpages : Yes Checking for program 'python' : /usr/bin/python Checking for python version >= 2.6.0 : 3.10.7 python-config : /usr/bin/python-config Asking python-config for pyext '--cflags --libs --ldflags' flags : yes Testing pyext configuration : yes Checking for python module 'curses' : ok Checking for python module 'argparse' : 1.1 Checking for python module 'gps' (ver >= num(3, 18)) : 3.24.1~dev PYSHEBANG : /usr/bin/env python PYTHONDIR : /usr/local/lib/python3/dist-packages PYTHONARCHDIR : /usr/local/lib/python3/dist-packages 'configure' finished successfully (4.077s) + ./waf build --- building host --- Waf: Entering directory `/home/jamesb/ntpsec/devel/.tmp/ntpsec-1.2.1/build/host' [1/2] Processing ntpd/ntp_parser.y [2/2] Compiling build/host/ntpd/ntp_parser.tab.c [3/4] Compiling ntpd/keyword-gen.c [4/4] Linking build/host/ntpd/keyword-gen [5/5] Compiling build/host/ntpd/ntp_parser.tab.h 163 keywords consumed 701 states of 2047 max. Waf: Leaving directory `/home/jamesb/ntpsec/devel/.tmp/ntpsec-1.2.1/build/host' --- building main --- Waf: Entering directory `/home/jamesb/ntpsec/devel/.tmp/ntpsec-1.2.1/build/main' --- PYTHONPATH is not set, loading the Python ntp library may be troublesome --- [ 1/166] Compiling docs/ntpsnmpd.adoc [ 2/166] Compiling docs/driver_shm.adoc [ 3/166] Compiling docs/copyright.adoc [ 4/166] Compiling docs/access.adoc [ 5/166] Compiling docs/ntpsec.adoc [ 6/166] Compiling docs/ntpmon.adoc [ 7/166] Compiling docs/ntpfrob.adoc [ 8/166] Compiling docs/authentic.adoc [ 9/166] Compiling docs/comdex.adoc [ 10/166] Compiling docs/ntpd.adoc [ 11/166] Compiling docs/driver_local.adoc [ 12/166] Compiling docs/ntp_keys.adoc [ 13/166] Compiling docs/ntpdig.adoc [ 14/166] Compiling docs/ntp_config.adoc [ 15/166] Compiling docs/driver_jjy.adoc [ 16/166] Compiling docs/cluster.adoc [ 17/166] Compiling docs/ntp_conf.adoc [ 18/166] Compiling docs/msyslog.adoc [ 19/166] Compiling docs/driver_hpgps.adoc [ 20/166] Compiling docs/mode6.adoc [ 21/166] Compiling docs/monopt.adoc [ 22/166] Compiling docs/driver_howto.adoc [ 23/166] Compiling docs/clockopt.adoc [ 24/166] Compiling docs/assoc.adoc [ 25/166] Compiling docs/NTS-QuickStart.adoc [ 26/166] Compiling docs/miscopt.adoc [ 27/166] Compiling docs/leapsmear.adoc [ 28/166] Compiling docs/driver_gpsd.adoc [ 29/166] Compiling docs/leap.adoc [ 30/166] Compiling docs/warp.adoc [ 31/166] Compiling docs/kernpps.adoc [ 32/166] Compiling docs/driver_generic.adoc [ 33/166] Compiling docs/clock.adoc [ 34/166] Compiling docs/tf582_4.adoc [ 35/166] Compiling docs/stats.adoc [ 36/166] Compiling docs/kern.adoc [ 37/166] Compiling docs/standards.adoc [ 38/166] Compiling docs/sitemap.adoc [ 39/166] Compiling docs/index.adoc [ 40/166] Compiling docs/driver_arbiter.adoc [ 41/166] Compiling docs/select.adoc [ 42/166] Compiling docs/rollover.adoc [ 43/166] Compiling docs/huffpuff.adoc [ 44/166] Compiling docs/refclock.adoc [ 45/166] Compiling docs/rdebug.adoc [ 46/166] Compiling docs/history.adoc [ 47/166] Compiling docs/discover.adoc [ 48/166] Compiling docs/build.adoc [ 49/166] Compiling docs/accopt.adoc [ 50/166] Compiling docs/rate.adoc [ 51/166] Compiling docs/quick.adoc [ 52/166] Compiling docs/generic_howto.adoc [ 53/166] Compiling docs/prefer.adoc [ 54/166] Compiling docs/pps.adoc [ 55/166] Compiling docs/filter.adoc [ 56/166] Compiling docs/discipline.adoc [ 57/166] Compiling docs/poll.adoc [ 58/166] Compiling docs/parsedata.adoc [ 59/166] Compiling docs/extern.adoc [ 60/166] Compiling docs/outside-tools.adoc [ 61/166] Compiling docs/orphan.adoc [ 62/166] Compiling docs/driver_zyfer.adoc [ 63/166] Compiling docs/decode.adoc [ 64/166] Compiling docs/bugs.adoc [ 65/166] Compiling docs/oncore-shmem.adoc [ 66/166] Compiling docs/ntpwait.adoc [ 67/166] Compiling docs/driver_truetime.adoc [ 68/166] Compiling docs/ntpviz.adoc [ 69/166] Compiling docs/driver_trimble.adoc [ 70/166] Compiling docs/ntptrace.adoc [ 71/166] Compiling docs/debug.adoc [ 72/166] Compiling docs/ntptime.adoc [ 73/166] Compiling docs/ntpsweep.adoc [ 74/166] Compiling docs/driver_modem.adoc [ 75/166] Compiling docs/ntpkeygen.adoc [ 76/166] Compiling docs/ntpspeak.adoc [ 77/166] Compiling docs/driver_pps.adoc [ 78/166] Compiling docs/driver_nmea.adoc [ 79/166] Compiling docs/ntpleapfetch.adoc [ 80/166] Compiling docs/authopt.adoc [ 81/166] Compiling docs/ntpq.adoc [ 82/166] Compiling docs/ntploggps.adoc [ 83/166] Compiling docs/confopt.adoc [ 84/166] Compiling docs/404.adoc [ 85/166] Compiling docs/driver_oncore.adoc [ 86/166] Compiling docs/ntplogtemp.adoc [ 87/166] Compiling docs/driver_spectracom.adoc [ 88/166] Compiling docs/icons/sitemap.png [ 89/166] Compiling docs/icons/mail2.gif [ 90/166] Compiling docs/icons/home.gif [ 91/166] Compiling docs/pic/wingdorothy.gif [ 92/166] Compiling docs/pic/alice11.gif [ 93/166] Compiling docs/pic/neoclock4x.gif [ 94/166] Compiling docs/pic/alice47.gif [ 95/166] Compiling docs/pic/sheepb.jpg [ 96/166] Compiling docs/pic/flt7.gif [ 97/166] Compiling docs/pic/flt5.gif [ 98/166] Compiling docs/pic/which-way-is.up.jpg [ 99/166] Compiling docs/pic/flt3.gif [100/166] Compiling docs/pic/stats.gif [101/166] Compiling docs/pic/fig_3_1.gif [102/166] Compiling docs/pic/tonea.gif [103/166] Compiling docs/pic/stack1a.jpg [104/166] Compiling docs/pic/pogo1a.gif [105/166] Compiling docs/pic/discipline.gif [106/166] Compiling docs/pic/bustardfly.gif [107/166] Compiling docs/pic/boom3.gif [108/166] Compiling docs/pic/peer.gif [109/166] Compiling docs/pic/alice51.gif [110/166] Compiling docs/pic/pd_om011.gif [111/166] Compiling docs/pic/alice35.gif [112/166] Compiling docs/pic/orchestra.gif [113/166] Compiling docs/pic/alice13.gif [114/166] Compiling docs/pic/fg6021.gif [115/166] Compiling docs/pic/igclock.gif [116/166] Compiling docs/pic/flt4.gif [117/166] Compiling docs/pic/flt6.gif [118/166] Compiling docs/pic/pzf511.jpg [119/166] Compiling docs/pic/flatheads.gif [120/166] Compiling docs/pic/alice38.gif [121/166] Compiling docs/pic/pogo7.gif [122/166] Compiling docs/pic/oz2.gif [123/166] Compiling docs/pic/pogo5.gif [124/166] Compiling docs/pic/howland.jpg [125/166] Compiling docs/pic/alice15.gif [126/166] Compiling docs/pic/alice61.gif [127/166] Compiling docs/pic/hornraba.gif [128/166] Compiling docs/pic/flt1.gif [129/166] Compiling docs/pic/driver_palisade.gif [130/166] Compiling docs/pic/thunderbolt.jpg [131/166] Compiling docs/pic/pogo6.gif [132/166] Compiling docs/pic/pogo.gif [133/166] Compiling docs/pic/boom4.gif [134/166] Compiling docs/pic/dogsnake.gif [135/166] Compiling docs/pic/alice44.gif [136/166] Compiling docs/pic/flt2.gif [137/166] Compiling docs/pic/oncore_utplusbig.gif [138/166] Compiling docs/pic/tribeb.gif [139/166] Compiling docs/pic/boom3a.gif [140/166] Compiling docs/pic/SAppr.jpg [141/166] Compiling docs/pic/kelly_pogo_earthday.jpg [142/166] Compiling docs/pic/looking.jpg [143/166] Compiling docs/pic/pogo4.gif [144/166] Compiling docs/pic/pogo8.gif [145/166] Compiling docs/pic/barnstable.gif [146/166] Compiling docs/pic/gps167.jpg [147/166] Compiling docs/pic/sx5.gif [148/166] Compiling docs/pic/c51.jpg [149/166] Compiling docs/pic/pd_om006.gif [150/166] Compiling docs/pic/alice23.gif [151/166] Compiling docs/pic/clocktower128.png [152/166] Compiling docs/pic/description.jpg [153/166] Compiling docs/pic/alice32.gif [154/166] Compiling docs/pic/oncore_evalbig.gif [155/166] Compiling docs/pic/flt9.gif [156/166] Compiling docs/pic/time1.gif [157/166] Compiling docs/pic/flt8.gif [158/166] Compiling docs/pic/radio2.jpg [159/166] Compiling docs/pic/pogo3a.gif [160/166] Compiling docs/pic/pogo-enemy2.png [161/166] Compiling docs/pic/beaver.gif [162/166] Compiling docs/pic/pogocell.gif [163/166] Compiling docs/pic/broad.gif [164/166] Compiling docs/pic/panda.gif [165/166] Compiling docs/asciidoc.js [166/166] Compiling docs/asciidoc.css [167/315] Compiling libaes_siv/aes_siv.c [168/315] Compiling libntp/ntp_endian.c [169/315] Compiling libntp/macencrypt.c [170/315] Compiling libntp/isc_interfaceiter.c [171/315] Compiling libntp/strl_obsd.c [172/315] Compiling libntp/timespecops.c [173/315] Compiling libntp/clocktime.c [174/315] Compiling libntp/ntp_calendar.c [175/315] Compiling libntp/authkeys.c [176/315] Linking build/main/libaes_siv/libaes_siv.a [177/315] Compiling libntp/emalloc.c [178/315] Compiling libntp/clockwork.c ../../libntp/ntp_calendar.c:18:10: fatal error: PIVOT.h: No such file or directory 18 | #include "PIVOT.h" | ^~~~~~~~~ compilation terminated. Waf: Leaving directory `/home/jamesb/ntpsec/devel/.tmp/ntpsec-1.2.1/build/main' Build failed -> task in 'ntp' failed with exit status 1 (run with -v to display more information)
From c3368e8cce7ea9da4253d8a6ee467b2f08b23270 Mon Sep 17 00:00:00 2001 From: James Browning <jamesb.f...@gmail.com> Date: Tue, 13 Dec 2022 17:51:35 -0800 Subject: [PATCH] make-tarball: Minimal patch to fix the PIVOT.h symlink deal --- devel/make-tarball | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/make-tarball b/devel/make-tarball index e72d307b4..1ca0813e1 100755 --- a/devel/make-tarball +++ b/devel/make-tarball @@ -31,7 +31,7 @@ echo version is $V # Build the tarball rm -fr .tmp (cd ..; git ls-files; find build -print | grep '\.[0-9]$') >MANIFEST -(cd ..; tar --transform="s:^:ntpsec-${V}/:" -T devel/MANIFEST -czf ntpsec-${V}.tar.gz) +(cd ..; tar --transform="s:^:ntpsec-${V}/:S" -T devel/MANIFEST -czf ntpsec-${V}.tar.gz) rm MANIFEST mv ../ntpsec-${V}.tar.gz . -- 2.37.2
_______________________________________________ devel mailing list devel@ntpsec.org https://lists.ntpsec.org/mailman/listinfo/devel