Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ptpd.spec'], chrootPath='/var/lib/mock/f33-build-338112-58401/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ptpd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/ptpd-2.3.1-17.235e9b4.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ptpd.spec'], chrootPath='/var/lib/mock/f33-build-338112-58401/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ptpd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ExW9tX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ptpd-2.3.1 + /usr/bin/xz -dc /builddir/build/SOURCES/ptpd-2.3.1-235e9b4.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ptpd-2.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/patch-conflicting-typedef + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QAKHJY + umask 022 + cd /builddir/build/BUILD + cd ptpd-2.3.1 + autoreconf -vif autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory build-aux autoreconf: running: libtoolize --copy --force 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' autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:26: installing 'build-aux/compile' configure.ac:28: installing 'build-aux/config.guess' configure.ac:28: installing 'build-aux/config.sub' configure.ac:17: installing 'build-aux/install-sh' configure.ac:17: installing 'build-aux/missing' src/Makefile.am: installing 'build-aux/depcomp' autoreconf: Leaving directory `.' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-09-01 06:43:13.188813665 -0400 +++ ./configure 2020-09-01 06:44:16.518805258 -0400 @@ -1823,7 +1823,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-09-01 06:44:16.518805258 -0400 +++ ./configure 2020-09-01 06:44:17.998805061 -0400 @@ -6551,7 +6551,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -15821,7 +15821,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./build-aux/ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-statistics --with-max-unicast-destinations=512 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gawk... (cached) gawk checking for riscv64-redhat-linux-gnu-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... 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... none checking for gcc option to accept ISO C99... none needed checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/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... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 6505: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.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... no 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/bin/ld) 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 date... /usr/bin/date checking for svnversion... no checking linux/net_tstamp.h usability... yes checking linux/net_tstamp.h presence... yes checking for linux/net_tstamp.h... yes checking for library containing pow... -lm checking for library containing clock_gettime... none required checking for library containing timer_create... -lrt checking for library containing connect... none required checking for library containing gethostbyname... none required checking for ANSI C header files... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking net/ethernet.h usability... yes checking net/ethernet.h presence... yes checking for net/ethernet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/ether.h usability... yes checking netinet/ether.h presence... yes checking for netinet/ether.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking unix.h usability... no checking unix.h presence... no checking for unix.h... no checking linux/rtc.h usability... yes checking linux/rtc.h presence... yes checking for linux/rtc.h... yes checking sys/timex.h usability... yes checking sys/timex.h presence... yes checking for sys/timex.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking machine/endian.h usability... no checking machine/endian.h presence... no checking for machine/endian.h... no checking sys/isa_defs.h usability... no checking sys/isa_defs.h presence... no checking for sys/isa_defs.h... no checking math.h usability... yes checking math.h presence... yes 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 stdbool.h that conforms to C99... yes checking for _Bool... yes checking whether time.h and sys/time.h may both be included... 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 utmp.ut_time... yes checking for struct timex.tick... yes checking for struct timex.tai... yes checking for struct ntptimeval.tai... yes checking for struct ifreq.ifr_hwaddr... yes checking for struct ifreq.ifr_index... no checking for struct ifreq.ifr_ifindex... yes checking for struct ether_addr.octet... no checking whether gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) 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 _doprnt... no 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... yes checking for getopt_long... yes checking if GCC -fstack-protector is usable... yes configure: ************************************************************ configure: * PTPD BUILD FLAG AND LIBRARY DEPENDENCY CHECKS START HERE * configure: ************************************************************ 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 pcap/pcap.h usability... yes checking pcap/pcap.h presence... yes checking for pcap/pcap.h... yes checking pcap.h usability... yes checking pcap.h presence... 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 net-snmp/net-snmp-config.h usability... yes checking net-snmp/net-snmp-config.h presence... 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... 512 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 + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o ptp_timers.o ptp_timers.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o arith.o arith.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/configdefaults.o dep/configdefaults.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o bmc.o bmc.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' bmc.c: In function 'bmcStateDecision': bmc.c:678:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 678 | if (ptpClock->portDS.portState == PTP_SLAVE) | ^~ bmc.c:680:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 680 | if(rtOpts->calibrationDelay) { | ^~ make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/startup.o dep/startup.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o display.o display.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/sys.o dep/sys.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' dep/sys.c: In function 'writeStatusFile': dep/sys.c:1057:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1057 | if(ptpClock->portDS.portState == PTP_MASTER) | ^~ dep/sys.c:1059:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1059 | fprintf(out,"\n"); | ^~~~~~~ In file included from /usr/include/string.h:519, from dep/../ptpd.h:46, from dep/sys.c:54: In function 'strncpy', inlined from 'ether_ntohost_cache' at dep/sys.c:284:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 100 bytes from a string of length 999 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/sys.c: In function 'maintainLogSize.part.0': dep/sys.c:599:33: warning: '.' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 599 | snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, i); | ^ dep/sys.c:599:30: note: directive argument in the range [1, 2147483647] 599 | snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, i); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from dep/../ptpd.h:45, from dep/sys.c:54: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 3 and 4108 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/sys.c:611:32: warning: '.' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 611 | snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, logFileNumber); | ^ dep/sys.c:611:29: note: directive argument in the range [-2147483647, 2147483646] 611 | snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, logFileNumber); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from dep/../ptpd.h:45, from dep/sys.c:54: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 3 and 4109 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/sys.c: In function 'checkOtherLocks': dep/sys.c:1756:38: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 1756 | snprintf(searchPattern, PATH_MAX,"%s/%s_*_%s.lock", | ^ In file included from /usr/include/stdio.h:866, from dep/../ptpd.h:45, from dep/sys.c:54: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 15 or more bytes (assuming 4111) into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/sys.c:1802:42: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 1802 | snprintf(searchPattern, PATH_MAX,"%s/%s_%s_*.lock", | ^ In file included from /usr/include/stdio.h:866, from dep/../ptpd.h:45, from dep/sys.c:54: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 26 and 4122 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o signaling.o signaling.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' signaling.c:59:81: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 59 | static void issueSignaling(MsgSignaling *outgoing, Integer32 destination, const const RunTimeOpts *rtOpts, PtpClock *ptpclock); | ^~~~~ signaling.c:962:58: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 962 | cancelUnicastTransmission(UnicastGrantData* grant, const const RunTimeOpts* rtOpts, PtpClock* ptpClock) | ^~~~~ signaling.c:982:69: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 982 | issueSignaling(MsgSignaling *outgoing, Integer32 destination, const const RunTimeOpts *rtOpts, | ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/daemonconfig.o dep/daemonconfig.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' dep/daemonconfig.c: In function 'parseConfig': dep/daemonconfig.c:2464:8: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 2464 | "%s/%s", rtOpts->lockDirectory, DEFAULT_LOCKFILE_NAME); | ^ In file included from /usr/include/stdio.h:866, from dep/../ptpd.h:45, from dep/daemonconfig.c:40: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 12 and 4108 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2452:7: warning: '/ptpd2_' directive output may be truncated writing 7 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 2452 | "%s/"PTPD_PROGNAME"_%s_%s.lock", | ^~~~~ dep/daemonconfig.c:2452:10: note: format string is defined here 2452 | "%s/"PTPD_PROGNAME"_%s_%s.lock", | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from dep/../ptpd.h:45, from dep/daemonconfig.c:40: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 20 or more bytes (assuming 4121) into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from dep/../ptpd.h:46, from dep/daemonconfig.c:40: In function 'strncpy', inlined from 'loadCommandLineKeys' at dep/daemonconfig.c:2548:4: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o management.o management.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' In file included from management.c:54: management.c: In function 'handleManagement': management.c:1767:26: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1767 | tmpsnprintf(tmpStr, 4, "%d", data->logMinPdelayReqInterval); | ^~~~ management.c:1767:29: note: format string is defined here 1767 | tmpsnprintf(tmpStr, 4, "%d", data->logMinPdelayReqInterval); | ^ In file included from /usr/include/stdio.h:866, from ptpd.h:45, from management.c:54: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 5 bytes into a destination of size 4 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from management.c:54: management.c:1302:26: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1302 | tmpsnprintf(tmpStr, 4, "%d", data->logSyncInterval); | ^~~~ management.c:1302:29: note: format string is defined here 1302 | tmpsnprintf(tmpStr, 4, "%d", data->logSyncInterval); | ^ In file included from /usr/include/stdio.h:866, from ptpd.h:45, from management.c:54: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 5 bytes into a destination of size 4 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from management.c:54: management.c:1214:26: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1214 | tmpsnprintf(tmpStr, 4, "%d", data->logAnnounceInterval); | ^~~~ management.c:1214:29: note: format string is defined here 1214 | tmpsnprintf(tmpStr, 4, "%d", data->logAnnounceInterval); | ^ In file included from /usr/include/stdio.h:866, from ptpd.h:45, from management.c:54: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 2 and 5 bytes into a destination of size 4 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from management.c:54: constants.h:26:3: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size 53 [-Wformat-truncation=] 26 | "ptpd;"PACKAGE_VERSION";%s" | ^~~~~~~ In file included from /usr/include/stdio.h:866, from ptpd.h:45, from management.c:54: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 12 and 76 bytes into a destination of size 64 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o ptpd.o ptpd.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/alarms.o dep/alarms.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o timingdomain.o timingdomain.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/outlierfilter.o dep/outlierfilter.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' In file included from /usr/include/string.h:519, from dep/../ptpd.h:46, from dep/outlierfilter.c:38: In function 'strncpy', inlined from 'outlierFilterInit' at dep/outlierfilter.c:85:17: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 10 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/statistics.o dep/statistics.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' In file included from /usr/include/string.h:519, from dep/../ptpd.h:46, from dep/statistics.c:36: In function 'strncpy', inlined from 'createIntMovingStatFilter' at dep/statistics.c:593:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 10 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'createDoubleMovingStatFilter' at dep/statistics.c:752:2: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 10 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/eventtimer_posix.o dep/eventtimer_posix.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o protocol.o protocol.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/snmp.o dep/snmp.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/ipv4_acl.o dep/ipv4_acl.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/eventtimer.o dep/eventtimer.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/iniparser/dictionary.o dep/iniparser/dictionary.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' In file included from /usr/include/string.h:519, from dep/iniparser/dictionary.h:31, from dep/iniparser/dictionary.c:16: In function 'strncpy', inlined from 'xstrdup' at dep/iniparser/dictionary.c:68:9: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/iniparser/dictionary.c: In function 'xstrdup': dep/iniparser/dictionary.c:68:9: note: length computed here 68 | strncpy(t,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/servo.o dep/servo.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' dep/servo.c:1038:36: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 1038 | setupPIservo(PIservo* servo, const const RunTimeOpts* rtOpts) | ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/net.o dep/net.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' dep/net.c:2020:15: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 2020 | const const RunTimeOpts *rtOpts, Integer32 destinationAddress) | ^~~~~ In file included from /usr/include/string.h:519, from dep/../ptpd.h:46, from dep/net.c:57: In function 'strncpy', inlined from 'getHwAddress' at dep/net.c:372:5, inlined from 'getInterfaceInfo' at dep/net.c:479:11, inlined from 'getInterfaceInfo' at dep/net.c:452:16: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'getInterfaceIndex' at dep/net.c:429:5, inlined from 'getInterfaceInfo' at dep/net.c:497:12, inlined from 'getInterfaceInfo' at dep/net.c:452:16: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/net.c: In function 'netInit': dep/net.c:1072:42: warning: array subscript 2 is outside array bounds of 'uint32_t[1]' [-Warray-bounds] 1072 | memcpy(netPath->interfaceID + 4, &addr + 2, 2); | ~~~~~~^~~ dep/net.c:1070:12: note: while referencing 'addr' 1070 | uint32_t addr = ((struct sockaddr_in*)&(netPath->interfaceInfo.afAddress))->sin_addr.s_addr; | ^~~~ In file included from /usr/include/string.h:519, from dep/../ptpd.h:46, from dep/net.c:57: In function 'memcpy', inlined from 'netInit' at dep/net.c:1072:3: /usr/include/bits/string_fortified.h:34:10: warning: 'memcpy' reading 2 bytes from a region of size 0 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/iniparser/iniparser.o dep/iniparser/iniparser.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' dep/iniparser/iniparser.c: In function 'iniparser_load': dep/iniparser/iniparser.c:708:43: warning: '%s' directive output may be truncated writing up to 1 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] 708 | snprintf(tmp, ASCIILINESZ, "%s%s%s", section, strlen(section)==0?"":":", key); | ^~ In file included from /usr/include/stdio.h:866, from dep/iniparser/iniparser.h:17, from dep/iniparser/iniparser.c:11: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 1 and 2050 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/ntpengine/ntp_isc_md5.o dep/ntpengine/ntp_isc_md5.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/ntpengine/ntpdcontrol.o dep/ntpengine/ntpdcontrol.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -DDATADIR='"/usr/share"' -DPTPD_SNMP -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=512 -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -c -o dep/msg.o dep/msg.c make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' make[2]: Entering directory '/builddir/build/BUILD/ptpd-2.3.1/src' /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lm -L/usr/lib64 -lnetsnmpmibs -lsensors -ldl -lrpm -lrpmio -lnetsnmpagent -Wl,--enable-new-dtags -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lnetsnmp -lssl -lssl -lcrypto -lm -lpcap -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/configdefaults.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 dep/alarms.o ptpd.o dep/snmp.o dep/statistics.o dep/outlierfilter.o dep/eventtimer_posix.o -lrt -lm libtool: link: gcc -Wall -fexceptions -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--enable-new-dtags -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/configdefaults.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 dep/alarms.o ptpd.o dep/snmp.o dep/statistics.o dep/outlierfilter.o dep/eventtimer_posix.o -L/usr/lib64 -lnetsnmpmibs -lsensors -ldl -lrpm -lrpmio -lnetsnmpagent -lnetsnmp -lssl -lcrypto -lpcap -lrt -lm make[2]: Leaving directory '/builddir/build/BUILD/ptpd-2.3.1/src' In function 'memcpy', inlined from 'netInit.constprop' at dep/net.c:1072:3: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' reading 2 bytes from a region of size 0 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^ In function 'strncpy', inlined from 'xstrdup' at dep/iniparser/dictionary.c:68:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ dep/iniparser/dictionary.c: In function 'xstrdup': dep/iniparser/dictionary.c:68:9: note: length computed here 68 | strncpy(t,s,strlen(s)); | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4yE39Y + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64 + cd ptpd-2.3.1 + mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/etc/sysconfig + mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/share/man/man5 /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/share/snmp/mibs + mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/share/ptpd + mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/share/doc/ptpd + mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/var/log + install -pm 644 /builddir/build/SOURCES/ptpd2.service /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/lib/systemd/system + install -pm 644 /builddir/build/SOURCES/ptpd2 /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/etc/sysconfig + install -pm 644 /builddir/build/SOURCES/ptpd2.conf /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/etc + install -pm 755 src/ptpd2 /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/bin + install -pm 644 src/ptpd2.8 /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/share/man/man8/ + install -pm 644 src/ptpd2.conf.5 /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/share/man/man5/ + install -pm 644 doc/PTPBASE-MIB.txt /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/share/snmp/mibs + install -pm 644 src/leap-seconds.list /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/share/ptpd + touch /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/var/log/ptpd2_kernelclock.drift + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.3.1-17.235e9b4.fc33 --unique-debug-suffix -2.3.1-17.235e9b4.fc33.riscv64 --unique-debug-src-base ptpd-2.3.1-17.235e9b4.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ptpd-2.3.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/bin/ptpd2 extracting debug info from /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/bin/ptpd2 original debug info size: 3588kB, size after compression: 3316kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2357 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ptpd-2.3.1-17.235e9b4.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1DIkYU + umask 022 + cd /builddir/build/BUILD + cd ptpd-2.3.1 + DOCDIR=/builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/share/doc/ptpd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/share/doc/ptpd + cp -pr ChangeLog /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/share/doc/ptpd + cp -pr README.md /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/share/doc/ptpd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.chq9KY + umask 022 + cd /builddir/build/BUILD + cd ptpd-2.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/share/licenses/ptpd + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/share/licenses/ptpd + cp -pr COPYRIGHT /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64/usr/share/licenses/ptpd + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(ptpd) = 2.3.1-17.235e9b4.fc33 ptpd = 2.3.1-17.235e9b4.fc33 ptpd(riscv-64) = 2.3.1-17.235e9b4.fc33 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libnetsnmp.so.35()(64bit) libnetsnmpagent.so.35()(64bit) libnetsnmpmibs.so.35()(64bit) libpcap.so.1()(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: ptpd-debugsource-2.3.1-17.235e9b4.fc33.riscv64 Provides: ptpd-debugsource = 2.3.1-17.235e9b4.fc33 ptpd-debugsource(riscv-64) = 2.3.1-17.235e9b4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ptpd-debuginfo-2.3.1-17.235e9b4.fc33.riscv64 Provides: debuginfo(build-id) = 779a0659af6e09d9c6a408e50089f23c2e55961f ptpd-debuginfo = 2.3.1-17.235e9b4.fc33 ptpd-debuginfo(riscv-64) = 2.3.1-17.235e9b4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ptpd-debugsource(riscv-64) = 2.3.1-17.235e9b4.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64 Wrote: /builddir/build/RPMS/ptpd-2.3.1-17.235e9b4.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ptpd-debuginfo-2.3.1-17.235e9b4.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ptpd-debugsource-2.3.1-17.235e9b4.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Yzh6JY + umask 022 + cd /builddir/build/BUILD + cd ptpd-2.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ptpd-2.3.1-17.235e9b4.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0