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-265579-25333/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffff9cd909d0>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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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-265579-25333/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffff9cd909d0>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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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.4Bjx4b
+ 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 <security@ntpsec.org>"
+ 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.ep5cta
+ 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