Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ptpd.spec'], chrootPath='/var/lib/mock/f29-build-25563-13314/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/ptpd-2.3.1-13.235e9b4.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ptpd.spec'], chrootPath='/var/lib/mock/f29-build-25563-13314/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dBwSsd + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CeLiQ0 + umask 022 + cd /builddir/build/BUILD + cd ptpd-2.3.1 + autoreconf -vif BUILDSTDERR: autoreconf: Entering directory `.' BUILDSTDERR: autoreconf: configure.ac: not using Gettext BUILDSTDERR: autoreconf: running: aclocal --force -I m4 BUILDSTDERR: autoreconf: configure.ac: tracing BUILDSTDERR: autoreconf: configure.ac: creating directory build-aux BUILDSTDERR: 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' BUILDSTDERR: autoreconf: running: /usr/bin/autoconf --force BUILDSTDERR: autoreconf: running: /usr/bin/autoheader --force BUILDSTDERR: autoreconf: running: automake --add-missing --copy --force-missing BUILDSTDERR: configure.ac:26: installing 'build-aux/compile' BUILDSTDERR: configure.ac:28: installing 'build-aux/config.guess' BUILDSTDERR: configure.ac:28: installing 'build-aux/config.sub' BUILDSTDERR: configure.ac:17: installing 'build-aux/install-sh' BUILDSTDERR: configure.ac:17: installing 'build-aux/missing' BUILDSTDERR: src/Makefile.am: installing 'build-aux/depcomp' BUILDSTDERR: autoreconf: Leaving directory `.' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub BUILDSTDERR: ++ 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) BUILDSTDERR: ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess BUILDSTDERR: ++ 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' ']' BUILDSTDERR: ++ 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... no checking for 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... 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 /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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' BUILDSTDERR: bmc.c: In function 'bmcStateDecision': BUILDSTDERR: bmc.c:678:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (ptpClock->portDS.portState == PTP_SLAVE) BUILDSTDERR: ^~ BUILDSTDERR: bmc.c:680:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if(rtOpts->calibrationDelay) { BUILDSTDERR: ^~ 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' BUILDSTDERR: dep/sys.c: In function 'writeStatusFile': BUILDSTDERR: dep/sys.c:1057:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if(ptpClock->portDS.portState == PTP_MASTER) BUILDSTDERR: ^~ BUILDSTDERR: dep/sys.c:1059:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: fprintf(out,"\n"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: dep/sys.c: In function 'maintainLogSize.part.1': BUILDSTDERR: 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=] BUILDSTDERR: snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, logFileNumber); BUILDSTDERR: ^ BUILDSTDERR: dep/sys.c:611:29: note: directive argument in the range [-2147483647, 2147483646] BUILDSTDERR: snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, logFileNumber); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from dep/../ptpd.h:45, BUILDSTDERR: from dep/sys.c:54: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 4109 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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=] BUILDSTDERR: snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, i); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from dep/../ptpd.h:45, BUILDSTDERR: from dep/sys.c:54: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 4109 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dep/sys.c: In function 'checkOtherLocks': BUILDSTDERR: 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=] BUILDSTDERR: snprintf(searchPattern, PATH_MAX,"%s/%s_*_%s.lock", BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from dep/../ptpd.h:45, BUILDSTDERR: from dep/sys.c:54: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 4111) into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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=] BUILDSTDERR: snprintf(searchPattern, PATH_MAX,"%s/%s_%s_*.lock", BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from dep/../ptpd.h:45, BUILDSTDERR: from dep/sys.c:54: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 26 and 4122 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' BUILDSTDERR: signaling.c:59:81: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: static void issueSignaling(MsgSignaling *outgoing, Integer32 destination, const const RunTimeOpts *rtOpts, PtpClock *ptpclock); BUILDSTDERR: ^~~~~ BUILDSTDERR: signaling.c:962:58: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: cancelUnicastTransmission(UnicastGrantData* grant, const const RunTimeOpts* rtOpts, PtpClock* ptpClock) BUILDSTDERR: ^~~~~ BUILDSTDERR: signaling.c:982:69: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: issueSignaling(MsgSignaling *outgoing, Integer32 destination, const const RunTimeOpts *rtOpts, BUILDSTDERR: ^~~~~ 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' BUILDSTDERR: In file included from management.c:54: BUILDSTDERR: management.c: In function 'handleManagement': BUILDSTDERR: management.c:1767:26: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: tmpsnprintf(tmpStr, 4, "%d", data->logMinPdelayReqInterval); BUILDSTDERR: ^~~~ BUILDSTDERR: ptpd.h:358:21: note: in definition of macro 'tmpsnprintf' BUILDSTDERR: snprintf(var, len, __VA_ARGS__); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from ptpd.h:45, BUILDSTDERR: from management.c:54: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 5 bytes into a destination of size 4 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from management.c:54: BUILDSTDERR: management.c:1302:26: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: tmpsnprintf(tmpStr, 4, "%d", data->logSyncInterval); BUILDSTDERR: ^~~~ BUILDSTDERR: ptpd.h:358:21: note: in definition of macro 'tmpsnprintf' BUILDSTDERR: snprintf(var, len, __VA_ARGS__); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from ptpd.h:45, BUILDSTDERR: from management.c:54: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 5 bytes into a destination of size 4 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from management.c:54: BUILDSTDERR: management.c:1214:26: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: tmpsnprintf(tmpStr, 4, "%d", data->logAnnounceInterval); BUILDSTDERR: ^~~~ BUILDSTDERR: ptpd.h:358:21: note: in definition of macro 'tmpsnprintf' BUILDSTDERR: snprintf(var, len, __VA_ARGS__); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from ptpd.h:45, BUILDSTDERR: from management.c:54: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 5 bytes into a destination of size 4 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from management.c:54: BUILDSTDERR: constants.h:26:3: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size 53 [-Wformat-truncation=] BUILDSTDERR: "ptpd;"PACKAGE_VERSION";%s" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ptpd.h:358:21: note: in definition of macro 'tmpsnprintf' BUILDSTDERR: snprintf(var, len, __VA_ARGS__); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: management.c:606:27: note: in expansion of macro 'PRODUCT_DESCRIPTION' BUILDSTDERR: tmpsnprintf(tmpStr, 64, PRODUCT_DESCRIPTION, rtOpts->productDescription); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ptpd.h:136, BUILDSTDERR: from management.c:54: BUILDSTDERR: constants.h:26:27: note: format string is defined here BUILDSTDERR: "ptpd;"PACKAGE_VERSION";%s" BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from ptpd.h:45, BUILDSTDERR: from management.c:54: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 12 and 76 bytes into a destination of size 64 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' BUILDSTDERR: dep/daemonconfig.c: In function 'parseConfig': BUILDSTDERR: 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=] BUILDSTDERR: "%s/%s", rtOpts->lockDirectory, DEFAULT_LOCKFILE_NAME); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from dep/../ptpd.h:45, BUILDSTDERR: from dep/daemonconfig.c:40: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 12 and 4108 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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=] BUILDSTDERR: "%s/"PTPD_PROGNAME"_%s_%s.lock", BUILDSTDERR: ^~~~~ BUILDSTDERR: dep/daemonconfig.c:2452:10: note: format string is defined here BUILDSTDERR: "%s/"PTPD_PROGNAME"_%s_%s.lock", BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from dep/../ptpd.h:45, BUILDSTDERR: from dep/daemonconfig.c:40: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 20 or more bytes (assuming 4121) into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' BUILDSTDERR: dep/net.c:2020:15: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: const const RunTimeOpts *rtOpts, Integer32 destinationAddress) BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from dep/../ptpd.h:46, BUILDSTDERR: from dep/net.c:57: BUILDSTDERR: In function 'memcpy', BUILDSTDERR: inlined from 'netInit' at dep/net.c:1072:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' offset 8 is out of the bounds [0, 4] of object 'addr' with type 'uint32_t' {aka 'unsigned int'} [-Warray-bounds] BUILDSTDERR: return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dep/net.c: In function 'netInit': BUILDSTDERR: dep/net.c:1070:12: note: 'addr' declared here BUILDSTDERR: uint32_t addr = ((struct sockaddr_in*)&(netPath->interfaceInfo.afAddress))->sin_addr.s_addr; BUILDSTDERR: ^~~~ 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' BUILDSTDERR: dep/servo.c:1038:36: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: setupPIservo(PIservo* servo, const const RunTimeOpts* rtOpts) BUILDSTDERR: ^~~~~ 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' BUILDSTDERR: dep/iniparser/iniparser.c: In function 'iniparser_load': BUILDSTDERR: 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=] BUILDSTDERR: snprintf(tmp, ASCIILINESZ, "%s%s%s", section, strlen(section)==0?"":":", key); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from dep/iniparser/iniparser.h:17, BUILDSTDERR: from dep/iniparser/iniparser.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 2050 bytes into a destination of size 1024 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -Wl,-z,relro -Wl,-z,now -L/usr/lib64 -lnetsnmpmibs -lsensors -ldl -lrpm -lrpmio -lnetsnmpagent -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lnetsnmp -lssl -lssl -lcrypto -lm -lpcap -Wl,-z,relro -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fstack-protector -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--enable-new-dtags -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -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' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BQxs6c + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64 + cd ptpd-2.3.1 + mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/etc/sysconfig + mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/usr/share/man/man5 /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/usr/share/snmp/mibs + mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/usr/share/ptpd + mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/usr/share/doc/ptpd + mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/var/log + install -pm 644 /builddir/build/SOURCES/ptpd2.service /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/usr/lib/systemd/system + install -pm 644 /builddir/build/SOURCES/ptpd2 /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/etc/sysconfig + install -pm 644 /builddir/build/SOURCES/ptpd2.conf /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/etc + install -pm 755 src/ptpd2 /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/usr/bin + install -pm 644 src/ptpd2.8 /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/usr/share/man/man8/ + install -pm 644 src/ptpd2.conf.5 /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/usr/share/man/man5/ + install -pm 644 doc/PTPBASE-MIB.txt /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/usr/share/snmp/mibs + install -pm 644 src/leap-seconds.list /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/usr/share/ptpd + touch /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/var/log/ptpd2_kernelclock.drift + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.3.1-13.235e9b4.fc29 --unique-debug-suffix -2.3.1-13.235e9b4.fc29.riscv64 --unique-debug-src-base ptpd-2.3.1-13.235e9b4.fc29.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-13.235e9b4.fc29.riscv64/usr/bin/ptpd2 extracting debug info from /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/usr/bin/ptpd2 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 2357 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ptpd-2.3.1-13.235e9b4.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KKVAbS + umask 022 + cd /builddir/build/BUILD + cd ptpd-2.3.1 + DOCDIR=/builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.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-13.235e9b4.fc29.riscv64/usr/share/doc/ptpd + cp -pr ChangeLog /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/usr/share/doc/ptpd + cp -pr README.md /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/usr/share/doc/ptpd + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FlZ5fX + umask 022 + cd /builddir/build/BUILD + cd ptpd-2.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.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-13.235e9b4.fc29.riscv64/usr/share/licenses/ptpd + cp -pr COPYRIGHT /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64/usr/share/licenses/ptpd + exit 0 Provides: config(ptpd) = 2.3.1-13.235e9b4.fc29 ptpd = 2.3.1-13.235e9b4.fc29 ptpd(riscv-64) = 2.3.1-13.235e9b4.fc29 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) libcrypto.so.1.1()(64bit) libdl.so.2()(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) librpm.so.8()(64bit) librpmio.so.8()(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.27)(64bit) libsensors.so.4()(64bit) libssl.so.1.1()(64bit) rtld(GNU_HASH) Processing files: ptpd-debugsource-2.3.1-13.235e9b4.fc29.riscv64 Provides: ptpd-debugsource = 2.3.1-13.235e9b4.fc29 ptpd-debugsource(riscv-64) = 2.3.1-13.235e9b4.fc29 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-13.235e9b4.fc29.riscv64 Provides: debuginfo(build-id) = 969cd3065fd11c888f7bb4172c3d431f28e84b48 ptpd-debuginfo = 2.3.1-13.235e9b4.fc29 ptpd-debuginfo(riscv-64) = 2.3.1-13.235e9b4.fc29 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-13.235e9b4.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64 Wrote: /builddir/build/RPMS/ptpd-2.3.1-13.235e9b4.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/ptpd-debugsource-2.3.1-13.235e9b4.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/ptpd-debuginfo-2.3.1-13.235e9b4.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ImO3B5 + umask 022 + cd /builddir/build/BUILD + cd ptpd-2.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ptpd-2.3.1-13.235e9b4.fc29.riscv64 + exit 0 Child return code was: 0