>>> ptpd: Building testing/ptpd 2.3.1-r1 (using abuild 3.10.0_rc1-r2) started Tue, 25 Oct 2022 06:20:14 +0000 >>> ptpd: Checking sanity of /home/buildozer/aports/testing/ptpd/APKBUILD... >>> ptpd: Analyzing dependencies... >>> ptpd: Installing for build: build-base autoconf automake libtool libpcap-dev net-snmp-dev linux-headers (1/18) Installing m4 (1.4.19-r1) (2/18) Installing libbz2 (1.0.8-r3) (3/18) Installing perl (5.36.0-r0) (4/18) Installing autoconf (2.71-r1) (5/18) Installing automake (1.16.5-r1) (6/18) Installing libltdl (2.4.7-r0) (7/18) Installing libtool (2.4.7-r0) (8/18) Installing libpcap (1.10.1-r1) (9/18) Installing libpcap-dev (1.10.1-r1) (10/18) Installing openssl-dev (3.0.5-r3) (11/18) Installing net-snmp-libs (5.9.3-r1) (12/18) Installing net-snmp-agent-libs (5.9.3-r1) (13/18) Installing net-snmp-dev (5.9.3-r1) (14/18) Installing linux-headers (5.19.5-r0) (15/18) Installing .makedepends-ptpd (20221025.062015) (16/18) Installing perl-error (0.17029-r1) (17/18) Installing perl-git (2.38.1-r0) (18/18) Installing git-perl (2.38.1-r0) Executing busybox-1.35.0-r27.trigger OK: 467 MiB in 116 packages >>> ptpd: Cleaning up srcdir >>> ptpd: Cleaning up pkgdir >>> ptpd: Fetching https://distfiles.alpinelinux.org/distfiles/edge/ptpd-2.3.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 863k 100 863k 0 0 1395k 0 --:--:-- --:--:-- --:--:-- 1397k >>> ptpd: Fetching https://distfiles.alpinelinux.org/distfiles/edge/ptpd-2.3.1.tar.gz >>> ptpd: Checking sha512sums... ptpd-2.3.1.tar.gz: OK ptpd-2.3.1-fix-libressl-compatibility.patch: OK ptpd-2.3.1-fix-snmp.patch: OK ptpd2.rc: OK ptpd2.confd: OK >>> ptpd: Unpacking /var/cache/distfiles/edge/ptpd-2.3.1.tar.gz... >>> ptpd: ptpd-2.3.1-fix-libressl-compatibility.patch patching file src/dep/ntpengine/ntp_isc_md5.c patching file src/dep/ntpengine/ntp_isc_md5.h >>> ptpd: ptpd-2.3.1-fix-snmp.patch patching file src/dep/snmp.c libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:14: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:14: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:14: the top level configure.ac:28: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:28: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... configure.ac:28: the top level configure.ac:29: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:29: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:29: the top level configure.ac:83: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:83: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:83: the top level configure.ac:159: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:159: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:159: the top level configure.ac:212: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.ac:212: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.ac:212: the top level configure.ac:27: installing 'build-aux/compile' configure.ac:29: installing 'build-aux/config.guess' configure.ac:29: installing 'build-aux/config.sub' configure.ac:18: installing 'build-aux/install-sh' configure.ac:18: installing 'build-aux/missing' src/Makefile.am: installing 'build-aux/depcomp' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... ./build-aux/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gawk... (cached) awk checking for x86_64-alpine-linux-musl-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking build system type... x86_64-alpine-linux-musl checking host system type... x86_64-alpine-linux-musl checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/x86_64-alpine-linux-musl/bin/ld checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert x86_64-alpine-linux-musl file names to x86_64-alpine-linux-musl format... func_convert_file_noop checking how to convert x86_64-alpine-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-alpine-linux-musl/bin/ld option to reload object files... -r checking for x86_64-alpine-linux-musl-file... no checking for file... file checking for x86_64-alpine-linux-musl-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-alpine-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alpine-linux-musl-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alpine-linux-musl-strip... no checking for strip... strip checking for x86_64-alpine-linux-musl-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-alpine-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for cut... /usr/bin/cut checking for tr... /usr/bin/tr checking for svnversion... no checking for linux/net_tstamp.h... yes checking for pow in -lm... yes checking for clock_gettime in -lrt... yes checking for egrep... (cached) /bin/grep -E checking for arpa/inet.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for netdb.h... yes checking for net/ethernet.h... yes checking for netinet/in.h... yes checking for netinet/in_systm.h... yes checking for netinet/ether.h... yes checking for sys/uio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/param.h... yes checking for sys/socket.h... (cached) yes checking for sys/sockio.h... no checking for ifaddrs.h... yes checking for sys/time.h... (cached) yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for glob.h... yes checking for sched.h... yes checking for utmp.h... yes checking for utmpx.h... yes checking for linux/rtc.h... yes checking for sys/timex.h... yes checking for endian.h... yes checking for machine/endian.h... no checking for sys/isa_defs.h... no checking for math.h... yes checking for sys/cpuset.h... no checking for net/if.h... yes checking for net/if_arp.h... yes checking for netinet/if_ether.h... yes checking for net/if_ether.h... no checking for an ANSI C-conforming const... yes checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for working volatile... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for size_t... yes checking for ssize_t... yes checking for int64_t... yes checking for struct timex.tick... yes checking for struct timex.tai... yes checking for struct ntptimeval.tai... no checking for struct ifreq.ifr_hwaddr... yes checking for struct ether_addr.octet... no checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking for strftime... yes checking for vprintf... yes checking for clock_gettime... yes checking for dup2... yes checking for ftruncate... yes checking for gethostbyname2... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memset... yes checking for pow... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strtol... yes checking for glob... yes checking for pututline... yes checking for utmpxname... yes checking for updwtmpx... yes checking for setutent... yes checking for endutent... yes checking for signal... yes checking for ntp_gettime... no configure: ************************************************************ configure: * PTPD BUILD FLAG AND LIBRARY DEPENDENCY CHECKS START HERE * configure: ************************************************************ checking for gcc options needed to detect all undeclared functions... none needed checking whether MSG_ERRQUEUE is declared... yes checking whether POSIX_TIMERS_SUPPORTED is declared... yes checking if we want to build POSIX timer support... yes checking for pcap-config... /usr/bin/pcap-config checking if we want to build with libpcap support... yes, pcap-config checking for pcap/pcap.h... yes checking for pcap.h... yes checking if we can build with libpcap support... yes checking for net-snmp-config... /usr/bin/net-snmp-config checking if we want to try building SNMP support... yes checking for net-snmp/net-snmp-config.h... yes checking if we are building SNMP support... yes checking for RUNTIME_DEBUG... no checking for (old-style) debug message level... no checking for maximum unicast destination table size... 128 checking for daemon mode... yes checking for experimental options... no checking for realtime statistics support... yes checking if we want to enable SO_TIMESTAMPING support on Linux if available... yes checking if we're building a slave-only build... no configure: ************************************************************ configure: * END OF PTPD BUILD FLAG AND LIBRARY DEPENDENCY CHECKS * configure: ************************************************************ checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/ptpd2.8 config.status: creating src/ptpd2.conf.5 config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands make all-recursive make[1]: Entering directory '/home/buildozer/aports/testing/ptpd/src/ptpd-ptpd-2.3.1' Making all in src make[2]: Entering directory '/home/buildozer/aports/testing/ptpd/src/ptpd-ptpd-2.3.1/src' depbase=`echo arith.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT arith.o -MD -MP -MF $depbase.Tpo -c -o arith.o arith.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo bmc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT bmc.o -MD -MP -MF $depbase.Tpo -c -o bmc.o bmc.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo ptp_timers.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT ptp_timers.o -MD -MP -MF $depbase.Tpo -c -o ptp_timers.o ptp_timers.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo display.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT display.o -MD -MP -MF $depbase.Tpo -c -o display.o display.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo management.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT management.o -MD -MP -MF $depbase.Tpo -c -o management.o management.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo signaling.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT signaling.o -MD -MP -MF $depbase.Tpo -c -o signaling.o signaling.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo protocol.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT protocol.o -MD -MP -MF $depbase.Tpo -c -o protocol.o protocol.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo timingdomain.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT timingdomain.o -MD -MP -MF $depbase.Tpo -c -o timingdomain.o timingdomain.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo ptpd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT ptpd.o -MD -MP -MF $depbase.Tpo -c -o ptpd.o ptpd.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo dep/snmp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT dep/snmp.o -MD -MP -MF $depbase.Tpo -c -o dep/snmp.o dep/snmp.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo dep/statistics.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT dep/statistics.o -MD -MP -MF $depbase.Tpo -c -o dep/statistics.o dep/statistics.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo dep/outlierfilter.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT dep/outlierfilter.o -MD -MP -MF $depbase.Tpo -c -o dep/outlierfilter.o dep/outlierfilter.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo dep/eventtimer_posix.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT dep/eventtimer_posix.o -MD -MP -MF $depbase.Tpo -c -o dep/eventtimer_posix.o dep/eventtimer_posix.c &&\ mv -f $depbase.Tpo $depbase.Po bmc.c: In function 'bmcStateDecision': bmc.c:631:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 631 | if (ptpClock->portState == PTP_SLAVE) | ^~ bmc.c:633:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 633 | if(rtOpts->calibrationDelay) { | ^~ signaling.c:867:63: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 867 | void cancelUnicastTransmission(UnicastGrantData* grant, const const RunTimeOpts* rtOpts, PtpClock* ptpClock) | ^~~~~ signaling.c:886:74: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 886 | void issueSignaling(MsgSignaling *outgoing, Integer32 destination, const const RunTimeOpts *rtOpts, | ^~~~~ depbase=`echo dep/ipv4_acl.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT dep/ipv4_acl.o -MD -MP -MF $depbase.Tpo -c -o dep/ipv4_acl.o dep/ipv4_acl.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo dep/msg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT dep/msg.o -MD -MP -MF $depbase.Tpo -c -o dep/msg.o dep/msg.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo dep/net.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT dep/net.o -MD -MP -MF $depbase.Tpo -c -o dep/net.o dep/net.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo dep/eventtimer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT dep/eventtimer.o -MD -MP -MF $depbase.Tpo -c -o dep/eventtimer.o dep/eventtimer.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo dep/servo.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT dep/servo.o -MD -MP -MF $depbase.Tpo -c -o dep/servo.o dep/servo.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo dep/iniparser/dictionary.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT dep/iniparser/dictionary.o -MD -MP -MF $depbase.Tpo -c -o dep/iniparser/dictionary.o dep/iniparser/dictionary.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo dep/iniparser/iniparser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT dep/iniparser/iniparser.o -MD -MP -MF $depbase.Tpo -c -o dep/iniparser/iniparser.o dep/iniparser/iniparser.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo dep/daemonconfig.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT dep/daemonconfig.o -MD -MP -MF $depbase.Tpo -c -o dep/daemonconfig.o dep/daemonconfig.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo dep/startup.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT dep/startup.o -MD -MP -MF $depbase.Tpo -c -o dep/startup.o dep/startup.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo dep/sys.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT dep/sys.o -MD -MP -MF $depbase.Tpo -c -o dep/sys.o dep/sys.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo dep/ntpengine/ntp_isc_md5.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT dep/ntpengine/ntp_isc_md5.o -MD -MP -MF $depbase.Tpo -c -o dep/ntpengine/ntp_isc_md5.o dep/ntpengine/ntp_isc_md5.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo dep/ntpengine/ntpdcontrol.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I.. -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I/usr/include -I/usr/include -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -Os -fomit-frame-pointer -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -MT dep/ntpengine/ntpdcontrol.o -MD -MP -MF $depbase.Tpo -c -o dep/ntpengine/ntpdcontrol.o dep/ntpengine/ntpdcontrol.c &&\ mv -f $depbase.Tpo $depbase.Po dep/servo.c:950:36: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 950 | setupPIservo(PIservo* servo, const const RunTimeOpts* rtOpts) | ^~~~~ dep/sys.c: In function 'writeStatusFile': dep/sys.c:996:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 996 | if(ptpClock->portState == PTP_MASTER) | ^~ dep/sys.c:998:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 998 | fprintf(out,"\n"); | ^~~~~~~ dep/sys.c: In function 'restoreDrift': dep/sys.c:2086:25: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2086 | else | ^~~~ dep/sys.c:2090:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2090 | break; | ^~~~~ dep/net.c:1913:22: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 1913 | const const RunTimeOpts *rtOpts, Integer32 destinationAddress) | ^~~~~ dep/net.c: In function 'netInit': dep/net.c:999:56: warning: array subscript 2 is outside array bounds of 'uint32_t[1]' {aka 'unsigned int[1]'} [-Warray-bounds] 999 | memcpy(netPath->interfaceID + 4, &addr + 2, 2); | ~~~~~~^~~ dep/net.c:997:26: note: at offset 8 into object 'addr' of size 4 997 | uint32_t addr = ((struct sockaddr_in*)&(netPath->interfaceInfo.afAddress))->sin_addr.s_addr; | ^~~~ dep/net.c:999:56: warning: array subscript 2 is outside array bounds of 'uint32_t[1]' {aka 'unsigned int[1]'} [-Warray-bounds] 999 | memcpy(netPath->interfaceID + 4, &addr + 2, 2); | ~~~~~~^~~ dep/net.c:997:26: note: at offset 8 into object 'addr' of size 4 997 | uint32_t addr = ((struct sockaddr_in*)&(netPath->interfaceInfo.afAddress))->sin_addr.s_addr; | ^~~~ dep/net.c:999:56: warning: array subscript 2 is outside array bounds of 'uint32_t[1]' {aka 'unsigned int[1]'} [-Warray-bounds] 999 | memcpy(netPath->interfaceID + 4, &addr + 2, 2); | ~~~~~~^~~ dep/net.c:997:26: note: at offset 8 into object 'addr' of size 4 997 | uint32_t addr = ((struct sockaddr_in*)&(netPath->interfaceInfo.afAddress))->sin_addr.s_addr; | ^~~~ In file included from dep/../ptpd.h:46, from dep/net.c:57: In function 'memcpy', inlined from 'netInit' at dep/net.c:999:3: /usr/include/fortify/string.h:49:31: warning: array subscript 2 is outside array bounds of 'uint32_t[1]' {aka 'unsigned int[1]'} [-Warray-bounds] 49 | (__s < __d && __s + __n > __d)) | ~~~~^~~~~ dep/net.c: In function 'netInit': dep/net.c:997:26: note: at offset 10 into object 'addr' of size 4 997 | uint32_t addr = ((struct sockaddr_in*)&(netPath->interfaceInfo.afAddress))->sin_addr.s_addr; | ^~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -Wl,--as-needed,-O1,--sort-common -lpthread -L/usr/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmp -lssl -lssl -lcrypto -L/usr/lib -lpcap -Wl,--as-needed,-O1,--sort-common -o ptpd2 arith.o bmc.o dep/ipv4_acl.o dep/msg.o dep/net.o dep/eventtimer.o ptp_timers.o dep/servo.o dep/iniparser/dictionary.o dep/iniparser/iniparser.o dep/daemonconfig.o dep/startup.o dep/sys.o display.o management.o signaling.o protocol.o dep/ntpengine/ntp_isc_md5.o dep/ntpengine/ntpdcontrol.o timingdomain.o ptpd.o dep/snmp.o dep/statistics.o dep/outlierfilter.o dep/eventtimer_posix.o -lrt -lm libtool: link: gcc -Os -fomit-frame-pointer -g -fno-strict-aliasing -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -Wall -Os -fomit-frame-pointer -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -o ptpd2 arith.o bmc.o dep/ipv4_acl.o dep/msg.o dep/net.o dep/eventtimer.o ptp_timers.o dep/servo.o dep/iniparser/dictionary.o dep/iniparser/iniparser.o dep/daemonconfig.o dep/startup.o dep/sys.o display.o management.o signaling.o protocol.o dep/ntpengine/ntp_isc_md5.o dep/ntpengine/ntpdcontrol.o timingdomain.o ptpd.o dep/snmp.o dep/statistics.o dep/outlierfilter.o dep/eventtimer_posix.o -lpthread -L/usr/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmp -lssl -lcrypto -lpcap -lrt -lm make[2]: Leaving directory '/home/buildozer/aports/testing/ptpd/src/ptpd-ptpd-2.3.1/src' make[2]: Entering directory '/home/buildozer/aports/testing/ptpd/src/ptpd-ptpd-2.3.1' make[2]: Leaving directory '/home/buildozer/aports/testing/ptpd/src/ptpd-ptpd-2.3.1' make[1]: Leaving directory '/home/buildozer/aports/testing/ptpd/src/ptpd-ptpd-2.3.1' >>> ptpd: Entering fakeroot... make install-recursive make[1]: Entering directory '/home/buildozer/aports/testing/ptpd/src/ptpd-ptpd-2.3.1' Making install in src make[2]: Entering directory '/home/buildozer/aports/testing/ptpd/src/ptpd-ptpd-2.3.1/src' make[3]: Entering directory '/home/buildozer/aports/testing/ptpd/src/ptpd-ptpd-2.3.1/src' .././build-aux/install-sh -c -d '/home/buildozer/aports/testing/ptpd/pkg/ptpd/usr/share/man/man5' .././build-aux/install-sh -c -d '/home/buildozer/aports/testing/ptpd/pkg/ptpd/usr/share/man/man8' /usr/bin/install -c -m 644 ptpd2.conf.5 '/home/buildozer/aports/testing/ptpd/pkg/ptpd/usr/share/man/man5' /usr/bin/install -c -m 644 ptpd2.8 '/home/buildozer/aports/testing/ptpd/pkg/ptpd/usr/share/man/man8' .././build-aux/install-sh -c -d '/home/buildozer/aports/testing/ptpd/pkg/ptpd/usr/sbin' /bin/sh ../libtool --mode=install /usr/bin/install -c ptpd2 '/home/buildozer/aports/testing/ptpd/pkg/ptpd/usr/sbin' libtool: install: /usr/bin/install -c ptpd2 /home/buildozer/aports/testing/ptpd/pkg/ptpd/usr/sbin/ptpd2 make[3]: Leaving directory '/home/buildozer/aports/testing/ptpd/src/ptpd-ptpd-2.3.1/src' make[2]: Leaving directory '/home/buildozer/aports/testing/ptpd/src/ptpd-ptpd-2.3.1/src' make[2]: Entering directory '/home/buildozer/aports/testing/ptpd/src/ptpd-ptpd-2.3.1' make[3]: Entering directory '/home/buildozer/aports/testing/ptpd/src/ptpd-ptpd-2.3.1' make[3]: Nothing to be done for 'install-exec-am'. ./build-aux/install-sh -c -d '/home/buildozer/aports/testing/ptpd/pkg/ptpd/usr/share/ptpd' /usr/bin/install -c -m 644 src/leap-seconds.list.28dec2015 src/ptpd2.conf.minimal src/ptpd2.conf.default-full doc/PTPBASE-MIB.txt '/home/buildozer/aports/testing/ptpd/pkg/ptpd/usr/share/ptpd' make[3]: Leaving directory '/home/buildozer/aports/testing/ptpd/src/ptpd-ptpd-2.3.1' make[2]: Leaving directory '/home/buildozer/aports/testing/ptpd/src/ptpd-ptpd-2.3.1' make[1]: Leaving directory '/home/buildozer/aports/testing/ptpd/src/ptpd-ptpd-2.3.1' >>> ptpd-doc*: Running split function doc... >>> ptpd-doc*: Preparing subpackage ptpd-doc... >>> ptpd-doc*: Running postcheck for ptpd-doc >>> ptpd-openrc*: Running split function openrc... >>> ptpd-openrc*: Preparing subpackage ptpd-openrc... >>> ptpd-openrc*: Running postcheck for ptpd-openrc >>> ptpd*: Running postcheck for ptpd >>> ptpd*: Preparing package ptpd... >>> ptpd*: Stripping binaries >>> ptpd-doc*: Scanning shared objects >>> ptpd-openrc*: Scanning shared objects >>> ptpd*: Scanning shared objects >>> ptpd-doc*: Tracing dependencies... >>> ptpd-doc*: Package size: 48.0 KB >>> ptpd-doc*: Compressing data... >>> ptpd-doc*: Create checksum... >>> ptpd-doc*: Create ptpd-doc-2.3.1-r1.apk >>> ptpd-openrc*: Tracing dependencies... >>> ptpd-openrc*: Package size: 24.0 KB >>> ptpd-openrc*: Compressing data... >>> ptpd-openrc*: Create checksum... >>> ptpd-openrc*: Create ptpd-openrc-2.3.1-r1.apk >>> ptpd*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libnetsnmp.so.40 so:libnetsnmpagent.so.40 so:libnetsnmpmibs.so.40 so:libpcap.so.1 >>> ptpd*: Package size: 520.0 KB >>> ptpd*: Compressing data... >>> ptpd*: Create checksum... >>> ptpd*: Create ptpd-2.3.1-r1.apk >>> ptpd: Build complete at Tue, 25 Oct 2022 06:20:44 +0000 elapsed time 0h 0m 30s >>> ptpd: Cleaning up srcdir >>> ptpd: Cleaning up pkgdir >>> ptpd: Uninstalling dependencies... (1/18) Purging .makedepends-ptpd (20221025.062015) (2/18) Purging autoconf (2.71-r1) (3/18) Purging m4 (1.4.19-r1) (4/18) Purging automake (1.16.5-r1) (5/18) Purging libtool (2.4.7-r0) (6/18) Purging libltdl (2.4.7-r0) (7/18) Purging libpcap-dev (1.10.1-r1) (8/18) Purging libpcap (1.10.1-r1) (9/18) Purging net-snmp-dev (5.9.3-r1) (10/18) Purging openssl-dev (3.0.5-r3) (11/18) Purging net-snmp-agent-libs (5.9.3-r1) (12/18) Purging net-snmp-libs (5.9.3-r1) (13/18) Purging linux-headers (5.19.5-r0) (14/18) Purging git-perl (2.38.1-r0) (15/18) Purging perl-git (2.38.1-r0) (16/18) Purging perl-error (0.17029-r1) (17/18) Purging perl (5.36.0-r0) (18/18) Purging libbz2 (1.0.8-r3) Executing busybox-1.35.0-r27.trigger OK: 393 MiB in 98 packages >>> ptpd: Updating the testing/x86_64 repository index... >>> ptpd: Signing the index...