Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ntpsec.spec'], chrootPath='/var/lib/mock/dist-ocs23-rebuild-test-0-build-265285-25333/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ntpsec.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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ntpsec-1.2.2a-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ntpsec.spec'], chrootPath='/var/lib/mock/dist-ocs23-rebuild-test-0-build-265285-25333/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ntpsec.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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1CJw3e + umask 022 + cd /builddir/build/BUILD + /usr/lib/rpm/OpenCloudOS/gpgverify --keyring=/builddir/build/SOURCES/ntpsec.gpg.pub.asc --signature=/builddir/build/SOURCES/ntpsec-1.2.2a.tar.gz.asc --data=/builddir/build/SOURCES/ntpsec-1.2.2a.tar.gz gpgv: Signature made Thu Aug 3 12:25:01 2023 CST gpgv: using RSA key E57235D22764129FA4F2F4D17F52608ED0E49D76 gpgv: Good signature from "NTPsec Security Reporting " + cd /builddir/build/BUILD + rm -rf ntpsec-1.2.2a + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ntpsec-1.2.2a.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ntpsec-1.2.2a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/ntpsec-weakkeys.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's|NTPSEC_VERSION_EXTENDED|NTPSEC_VERSION|' pylib/ntp-in.egg-info + sed -i 's|/var/NTP|/var/log/ntpstats|' docs/includes/ntpd-body.adoc ntpd/ntp_util.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CNh4hd + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ntpsec-1.2.2a + export '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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + waf configure --enable-debug --enable-debug-gdb --disable-doc --refclock=all --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 Setting top to : /builddir/build/BUILD/ntpsec-1.2.2a Setting out to : /builddir/build/BUILD/ntpsec-1.2.2a/build Checking for program 'asciidoctor' : /usr/bin/asciidoctor Checking for asciidoctor version >= 1.5.8 : 2.0.20 --- Configuring host --- Checking for 'gcc' (C compiler) : gcc Checking compiler version : 12.3.1 Checking for program 'ldconfig' : /usr/sbin/ldconfig Checking for program 'm4' : /usr/bin/m4 Checking for program 'bison' : /usr/bin/bison Checking for program 'awk' : /usr/bin/awk Checking for program 'sh' : /usr/bin/sh Checking for program 'pkg-config' : /usr/bin/pkg-config Checking for systemd : not found --- Configuring main --- Checking for endianness : little Checking for library m : yes Checking for library rt : yes Checking for library pthread : yes Checking for library execinfo : not found Checking for library bsd : yes Checking for library ssp : not found Checking for library ssp_nonshared : not found Checking if C compiler supports -fstack-protector-all : yes Checking if C compiler supports -fPIC : yes Checking if C compiler supports -pie -fPIE : yes Checking if C compiler supports -Qunused-arguments : no Checking if C compiler supports -Wcast-qual : yes Checking if C compiler supports -Wdisabled-optimization : yes Checking if C compiler supports -Wfloat-equal : yes Checking if C compiler supports -Wformat : yes Checking if C compiler supports -Wformat-security : yes Checking if C compiler supports -Wformat-signedness : yes Checking if C compiler supports -Wimplicit-function-declaration : yes Checking if C compiler supports -Winit-self : yes Checking if C compiler supports -Winvalid-pch : yes Checking if C compiler supports -Wmissing-declarations : yes Checking if C compiler supports -Wmultichar : yes Checking if C compiler supports -Wpacked : yes Checking if C compiler supports -Wpointer-arith : yes Checking if C compiler supports -Wshadow : yes Checking if C compiler supports -Wsuggest-attribute=noreturn : yes Checking if C compiler supports -Wwrite-strings : yes Checking if linker supports -Wl,-z,now : yes Checking if linker supports -Wl,-z,relro : yes Checking for type struct if_laddrconf : no Checking for type struct if_laddrreq : no Checking for type struct timex : yes Checking for type struct ntptimeval : yes Checking for field time_tick in struct timex : no Checking for field modes in struct timex : yes Checking for field time.tv_nsec in struct ntptimeval : no Checking for field tai in struct ntptimeval : yes Checking sizeof long : 8 Checking sizeof time_t (time.h) : 8 Checking for OpenSSL/libssl (via pkg-config) : yes Checking for OpenSSL/libcrypto (via pkg-config) : yes Checking for function _Unwind_Backtrace : yes Checking for function adjtimex : yes Checking for function backtrace_symbols_fd : yes Checking for function ntp_adjtime : yes Checking for function ntp_gettime : yes Checking for function res_init : yes Checking for function strlcpy : yes Checking for function strlcat : yes Checking for function timegm : yes Checking for function PRIV_NTP_ADJTIME : no Checking for function timer_create : yes Checking for function CMAC_CTX_new : yes Checking for function EVP_PKEY_new_CMAC_key : yes Checking for header stdbool.h : yes Checking for header alloca.h : yes Checking for header arpa/nameser.h : yes Checking for header bsd/string.h : yes Checking for header ifaddrs.h : yes Checking for header linux/if_addr.h : yes Checking for header linux/rtnetlink.h : yes Checking for header linux/serial.h : yes Checking for header net/if6.h : not found Checking for header net/route.h : yes Checking for header priv.h : not found Checking for header stdatomic.h : yes Checking for header sys/clockctl.h : not found Checking for header sys/ioctl.h : yes Checking for header sys/modem.h : not found Checking for header sys/sockio.h : not found Checking for header sys/sysctl.h : no Checking for header timepps.h : no Checking for header sys/timepps.h : yes Checking for header sys/timex.h : yes Checking for sockaddr->sa_len : no Checking if strerror_r returns char* : yes Checking for header libscf.h : not found Enabling Refclock Undisciplined Local Clock (local): : Yes Enabling Refclock Spectracom GPS Receivers (spectracom): : Yes Enabling Refclock TrueTime GPS/GOES/OMEGA Receivers (truetime): : Yes Enabling Refclock Generic Reference Driver (Parse) (generic): : Yes Enabling Refclock Arbiter 1088A/B GPS Receiver (arbiter): : Yes Enabling Refclock NIST/USNO/PTB Modem Time Services (modem): : Yes Enabling Refclock Generic NMEA GPS Receiver (nmea): : Yes Enabling Refclock PPS Clock Discipline (pps): : Yes Enabling Refclock Hewlett Packard 58503A GPS Receiver (hpgps): : Yes Enabling Refclock Shared Memory Driver (shm): : Yes Enabling Refclock Trimble Navigation GPSes (trimble): : Yes Enabling Refclock Motorola UT Oncore GPS (oncore): : Yes Enabling Refclock JJY Receivers (jjy): : Yes Enabling Refclock Zyfer GPStarplus Receiver (zyfer): : Yes Enabling Refclock GPSD NG client protocol (gpsd): : Yes Checking for header sys/prctl.h : yes Checking for header sys/capability.h : yes Checking for library cap : yes Checking for header dns_sd.h : not found Checking for OpenSSL with TLSv1.3 support : yes Checking for OpenSSL != 1.1.1a : yes Writing configuration header: : config.h Build Options CC : gcc CFLAGS : -DUNITY_EXCLUDE_FLOAT_PRINT -fstack-protector-all -Wshadow -Wpacked -Wcast-qual -Wmissing-declarations -Wdisabled-optimization -Wimplicit-function-declaration -Winvalid-pch -Wpointer-arith -Wwrite-strings -Winit-self -Wfloat-equal -Wformat -Wformat-signedness -Wformat-security -Wsuggest-attribute=noreturn -fPIC -O1 -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wundef -Wunused -g -std=c99 -D_GNU_SOURCE -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection LDFLAGS : -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -lbsd -Wl,-z,now -Wl,-z,relro LINKFLAGS_NTPD : -pie PREFIX : /usr LIBDIR : /usr/lib64 Droproot Support : Linux Debug Support : Yes Refclocks : arbiter, generic, gpsd, hpgps, jjy, local, modem, nmea, oncore, pps, shm, spectracom, trimble, truetime, zyfer Build Docs : No Build Manpages : Yes Checking for program 'python' : /usr/bin/python3 Checking for python version >= 2.6.0 : 3.11.6 python-config : /usr/bin/python3-config Asking python-config for pyext '--cflags --libs --ldflags' flags : yes Testing pyext configuration : yes Checking for python module 'curses' : ok Checking for python module 'argparse' : 1.1 Checking for python module 'gps' (ver >= num(3, 18)) : not found WARNING: ntploggps will not be built/installed since python gps module >= 3.18 was not found PYSHEBANG : /usr/bin/env python PYTHONDIR : /usr/lib/python3.11/site-packages PYTHONARCHDIR : /usr/lib64/python3.11/site-packages 'configure' finished successfully (8.261s) + waf build --- building host --- Waf: Entering directory `/builddir/build/BUILD/ntpsec-1.2.2a/build/host' [1/2] Processing ntpd/ntp_parser.y [2/2] Compiling build/host/ntpd/ntp_parser.tab.c [3/4] Compiling ntpd/keyword-gen.c [4/4] Linking build/host/ntpd/keyword-gen [5/5] Compiling build/host/ntpd/ntp_parser.tab.h 163 keywords consumed 701 states of 2047 max. Waf: Leaving directory `/builddir/build/BUILD/ntpsec-1.2.2a/build/host' --- building main --- Waf: Entering directory `/builddir/build/BUILD/ntpsec-1.2.2a/build/main' --- PYTHONPATH is not set, loading the Python ntp library may be troublesome --- [ 1/147] Compiling libaes_siv/aes_siv.c [ 2/147] Compiling libntp/ntp_endian.c [ 3/147] Compiling libntp/macencrypt.c [ 4/147] Compiling libntp/isc_net.c [ 5/147] Compiling libntp/isc_interfaceiter.c [ 6/147] Compiling libntp/initnetwork.c [ 7/147] Compiling libntp/getopt.c [ 8/147] Compiling libntp/timespecops.c [ 9/147] Compiling libntp/clocktime.c [ 10/147] Compiling libntp/msyslog.c [ 11/147] Compiling libntp/hextolfp.c [ 12/147] Compiling libntp/emalloc.c [ 13/147] Linking build/main/libaes_siv/libaes_siv.a [ 14/147] Compiling libntp/clockwork.c [ 15/147] Compiling libntp/statestr.c [ 16/147] Compiling libntp/lib_strbuf.c [ 17/147] Compiling libntp/ssl_init.c [ 18/147] Compiling libntp/authkeys.c [ 19/147] Compiling libntp/assert.c [ 20/147] Compiling libntp/systime.c [ 21/147] Compiling libntp/ntp_calendar.c [ 22/147] Compiling libntp/authreadkeys.c [ 23/147] Compiling libntp/numtoa.c [ 24/147] Compiling libntp/refidsmear.c [ 25/147] Compiling libntp/dolfptoa.c [ 26/147] Compiling libntp/ntp_random.c [ 27/147] Compiling libntp/socket.c [ 28/147] Compiling libntp/socktoa.c [ 29/147] Compiling libntp/decodenetnum.c [ 30/147] Compiling libntp/prettydate.c [ 31/147] Compiling libntp/syssignal.c [ 32/147] Compiling libparse/gpstolfp.c [ 33/147] Compiling libparse/clk_trimtaip.c [ 34/147] Compiling libparse/clk_computime.c [ 35/147] Compiling libparse/clk_meinberg.c [ 36/147] Compiling libparse/binio.c [ 37/147] Compiling libparse/parse_conf.c [ 38/147] Compiling libparse/clk_trimtsip.c [ 39/147] Compiling libparse/clk_varitext.c [ 40/147] Compiling libparse/clk_sel240x.c [ 41/147] Linking build/main/libntp/libntp.a [ 42/147] Compiling libparse/clk_rawdcf.c [ 43/147] Compiling libparse/clk_wharton.c [ 44/147] Compiling libparse/parse.c [ 45/147] Compiling libparse/data_mbg.c [ 46/147] Compiling libparse/clk_hopf6021.c [ 47/147] Compiling libparse/info_trimble.c [ 48/147] Compiling libparse/clk_dcf7000.c [ 49/147] Compiling libparse/ieee754io.c [ 50/147] Compiling libparse/clk_rcc8000.c [ 51/147] Compiling libparse/trim_info.c [ 52/147] Compiling libparse/clk_schmid.c [ 53/147] Compiling libaes_siv/aes_siv_test.c [ 54/147] Compiling libaes_siv/tests.c [ 55/147] Compiling ntpd/ntp_util.c [ 56/147] Compiling ntpd/ntp_monitor.c [ 57/147] Compiling ntpd/ntp_leapsec.c [ 58/147] Compiling ntpd/ntp_control.c [ 59/147] Compiling ntpd/ntp_filegen.c [ 60/147] Compiling ntpd/nts_cookie.c [ 61/147] Compiling ntpd/nts_extens.c