>>> linuxptp 3.1.1 Downloading wget --passive-ftp -nd -t 3 -O '/tmp/instance-19/output-1/build/.linuxptp-3.1.1.tgz.RvZNMc/output' 'http://downloads.sourceforge.net/linuxptp/linuxptp-3.1.1.tgz' --2022-10-20 23:14:47-- http://downloads.sourceforge.net/linuxptp/linuxptp-3.1.1.tgz Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 204.68.111.105 Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|204.68.111.105|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://downloads.sourceforge.net/project/linuxptp/v3.1/linuxptp-3.1.1.tgz [following] --2022-10-20 23:14:47-- http://downloads.sourceforge.net/project/linuxptp/v3.1/linuxptp-3.1.1.tgz Reusing existing connection to downloads.sourceforge.net:80. HTTP request sent, awaiting response... 302 Found Location: http://gigenet.dl.sourceforge.net/project/linuxptp/v3.1/linuxptp-3.1.1.tgz [following] --2022-10-20 23:14:47-- http://gigenet.dl.sourceforge.net/project/linuxptp/v3.1/linuxptp-3.1.1.tgz Resolving gigenet.dl.sourceforge.net (gigenet.dl.sourceforge.net)... 69.65.16.142 Connecting to gigenet.dl.sourceforge.net (gigenet.dl.sourceforge.net)|69.65.16.142|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 218784 (214K) [application/octet-stream] Saving to: '/tmp/instance-19/output-1/build/.linuxptp-3.1.1.tgz.RvZNMc/output' 0K .......... .......... .......... .......... .......... 23% 404K 0s 50K .......... .......... .......... .......... .......... 46% 1.52M 0s 100K .......... .......... .......... .......... .......... 70% 2.36M 0s 150K .......... .......... .......... .......... .......... 93% 14.2M 0s 200K .......... ... 100% 570K=0.2s 2022-10-20 23:14:47 (1.02 MB/s) - '/tmp/instance-19/output-1/build/.linuxptp-3.1.1.tgz.RvZNMc/output' saved [218784/218784] linuxptp-3.1.1.tgz: OK (sha1: f905eabc6fd0f03c6a353f9c4ba188a3bd1b774c) linuxptp-3.1.1.tgz: OK (md5: 3b79ab5e77c5b5cf06bc1c8350d405bb) linuxptp-3.1.1.tgz: OK (sha256: 94d6855f9b7f2d8e9b0ca6d384e3fae6226ce6fc012dbad02608bdef3be1c0d9) >>> linuxptp 3.1.1 Extracting gzip -d -c /tmp/instance-19/dl/linuxptp/linuxptp-3.1.1.tgz | tar --strip-components=1 -C /tmp/instance-19/output-1/build/linuxptp-3.1.1 -xf - >>> linuxptp 3.1.1 Patching Applying 0001-missing.h-drop-clock_nanosleep-replacement.patch using patch: patching file missing.h Hunk #1 succeeded at 262 (offset 133 lines). >>> linuxptp 3.1.1 Configuring >>> linuxptp 3.1.1 Building PATH="/tmp/instance-19/output-1/host/bin:/tmp/instance-19/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" CROSS_COMPILE="/tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-" KBUILD_OUTPUT=/tmp/instance-19/output-1/host/xtensa-buildroot-linux-uclibc/sysroot /home/autobuild/make/make -j1 prefix=/usr EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 " EXTRA_LDFLAGS="" -C /tmp/instance-19/output-1/build/linuxptp-3.1.1 all make[1]: Entering directory '/tmp/instance-19/output-1/build/linuxptp-3.1.1' DEPEND bmc.c DEPEND clock.c DEPEND clockadj.c DEPEND clockcheck.c DEPEND config.c DEPEND designated_fsm.c DEPEND e2e_tc.c DEPEND fault.c DEPEND filter.c DEPEND mave.c DEPEND mmedian.c DEPEND fsm.c DEPEND hash.c DEPEND interface.c DEPEND monitor.c DEPEND msg.c DEPEND phc.c DEPEND port.c DEPEND port_signaling.c DEPEND pqueue.c DEPEND print.c DEPEND ptp4l.c DEPEND p2p_tc.c DEPEND rtnl.c DEPEND linreg.c DEPEND ntpshm.c DEPEND nullf.c DEPEND pi.c DEPEND servo.c DEPEND sk.c DEPEND stats.c DEPEND tc.c DEPEND raw.c DEPEND transport.c DEPEND udp.c DEPEND udp6.c DEPEND uds.c DEPEND telecom.c DEPEND tlv.c DEPEND tsproc.c DEPEND unicast_client.c DEPEND unicast_fsm.c DEPEND unicast_service.c DEPEND util.c DEPEND version.c DEPEND hwstamp_ctl.c DEPEND nsm.c DEPEND phc2sys.c DEPEND phc_ctl.c DEPEND pmc.c DEPEND pmc_common.c DEPEND sysoff.c DEPEND timemaster.c DEPEND ts2phc.c DEPEND lstab.c DEPEND nmea.c DEPEND serial.c DEPEND sock.c DEPEND ts2phc_generic_master.c DEPEND ts2phc_master.c DEPEND ts2phc_phc_master.c DEPEND ts2phc_nmea_master.c DEPEND ts2phc_slave.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o ptp4l.o ptp4l.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o bmc.o bmc.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o clock.o clock.c clock.c: In function 'clock_management_fill_response': clock.c:450:48: warning: taking address of packed member of 'struct subscribe_events_np' may result in an unaligned pointer value [-Waddress-of-packed-member] 450 | clock_get_subscription(c, req, sen->bitmask, &sen->duration); | ^~~~~~~~~~~~~~ /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o clockadj.o clockadj.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o clockcheck.o clockcheck.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o config.o config.c config.c: In function 'config_create': config.c:899:38: warning: '%s' directive output may be truncated writing up to 7919 bytes into a region of size 33 [-Wformat-truncation=] 899 | snprintf(buf, sizeof(buf), "global.%s", ci->label); | ^~ config.c:899:3: note: 'snprintf' output between 8 and 7927 bytes into a destination of size 40 899 | snprintf(buf, sizeof(buf), "global.%s", ci->label); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o designated_fsm.o designated_fsm.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o e2e_tc.o e2e_tc.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o fault.o fault.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o filter.o filter.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o mave.o mave.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o mmedian.o mmedian.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o fsm.o fsm.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o hash.o hash.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o interface.o interface.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o monitor.o monitor.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o msg.o msg.c msg.c: In function 'msg_allocate': msg.c:271:8: warning: taking address of packed member of 'struct message_storage' may result in an unaligned pointer value [-Waddress-of-packed-member] 271 | m = &s->msg; | ^~~~~~~ /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o phc.o phc.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o port.o port.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o port_signaling.o port_signaling.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o pqueue.o pqueue.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o print.o print.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o p2p_tc.o p2p_tc.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o rtnl.o rtnl.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o linreg.o linreg.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o ntpshm.o ntpshm.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o nullf.o nullf.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o pi.o pi.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o servo.o servo.c /tmp/instance-19/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -Wall -DVER=3.1.1 -D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC -DHAVE_ONESTEP_P2P -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -O1 -g0 -c -o sk.o sk.c sk.c: In function 'sk_timestamping_init': sk.c:490:14: error: 'HWTSTAMP_TX_ONESTEP_P2P' undeclared (first use in this function); did you mean 'HWTSTAMP_TX_ONESTEP_SYNC'? 490 | tx_type = HWTSTAMP_TX_ONESTEP_P2P; | ^~~~~~~~~~~~~~~~~~~~~~~ | HWTSTAMP_TX_ONESTEP_SYNC sk.c:490:14: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [: sk.o] Error 1 make[1]: Leaving directory '/tmp/instance-19/output-1/build/linuxptp-3.1.1' make: *** [package/pkg-generic.mk:293: /tmp/instance-19/output-1/build/linuxptp-3.1.1/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-19/buildroot'