Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/pcp.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-181095-59657/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/pcp.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/pcp-5.3.7-7.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/pcp.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-181095-59657/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/pcp.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.kt07CO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pcp-5.3.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/pcp-5.3.7.src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pcp-5.3.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (redhat-bugzilla-2003956-pmdabcc-update-kernel-version-check-due-to-backporting.patch):' Patch #0 (redhat-bugzilla-2003956-pmdabcc-update-kernel-version-check-due-to-backporting.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pmdas/bcc/modules/runqlat.python + echo 'Patch #1 (redhat-bugzilla-1981886-pmdasockets-backporting.patch):' Patch #1 (redhat-bugzilla-1981886-pmdasockets-backporting.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file qa/1927 patching file qa/1927.out patching file qa/group patching file src/pmdas/linux_sockets/pmda.c patching file src/pmdas/linux_sockets/ss_parse.c patching file src/pmdas/linux_sockets/ss_stats.h patching file qa/917.out.in patching file src/selinux/GNUlocaldefs patching file qa/917.out.in patching file src/selinux/GNUlocaldefs + echo 'Patch #2 (redhat-bugzilla-2059461-pmie-systemd-fixup.patch):' Patch #2 (redhat-bugzilla-2059461-pmie-systemd-fixup.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pmie/GNUmakefile + echo 'Patch #3 (redhat-bugzilla-2081262-pmdaproc-cgroups-fix.patch):' Patch #3 (redhat-bugzilla-2081262-pmdaproc-cgroups-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pmdas/linux_proc/cgroups.c + echo 'Patch #4 (redhat-bugzilla-2059463-pmdapostfix-harden.patch):' Patch #4 (redhat-bugzilla-2059463-pmdapostfix-harden.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/perl/PMDA/local.c patching file src/pmdas/postfix/pmdapostfix.pl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bK9uOE + umask 022 + cd /builddir/build/BUILD + cd pcp-5.3.7 ++ echo 7.0.1.an8 ++ sed -e 's/\..*$//' + _build=7 + sed -i '/PACKAGE_BUILD/s/=[0-9]*/=7/' VERSION.pcp + 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 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-Anolis-linux --host=aarch64-Anolis-linux --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 --with-docdir=/usr/share/doc/pcp --with-dstat-symlink=yes --with-infiniband=yes --with-podman=yes --with-pmdastatsd=yes --with-perfevent=yes --with-pmdabcc=yes --with-pmdabpf=no --with-pmdabpftrace=yes --with-pmdajson=yes --with-pmdasnmp=yes --with-pmdanutcracker=no --with-python=no configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-podman checking build system type... aarch64-Anolis-linux-gnu checking host system type... aarch64-Anolis-linux-gnu checking target system type... aarch64-Anolis-linux-gnu Building on aarch64-Anolis-linux for aarch64-Anolis-linux Build: os=linux cpu=aarch64 Target: os=linux cpu=aarch64 checking for aarch64-Anolis-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for aarch64-Anolis-linux-suncc... no checking for aarch64-Anolis-linux-egcc... no checking for aarch64-Anolis-linux-gcc... no checking for aarch64-Anolis-linux-cc... no checking for aarch64-Anolis-linux-clang... no checking for suncc... no checking for egcc... 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 configure: Compiling with gcc pie et al. configure: Compiling DSO PMDAs with gcc -fvisibility=hidden checking for --std=c99 support... yes checking for aarch64-Anolis-linux-eg++... no checking for aarch64-Anolis-linux-g++... no checking for aarch64-Anolis-linux-c++... no checking for aarch64-Anolis-linux-clang++... no checking for eg++... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for working C++ compiler... yes checking for gawk... /usr/bin/gawk checking for sed... /usr/bin/sed checking for echo... /usr/bin/echo checking for find... /usr/bin/find checking for which... /usr/bin/which checking for gcc-ar... /usr/bin/gcc-ar checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for bison... bison -y checking for ragel... no checking where unix-like sort(1) lives... /usr/bin/sort checking if echo uses -n or backslash-c to suppress newlines... -n checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for dtrace... dtrace 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 sys/sdt.h usability... yes checking sys/sdt.h presence... yes checking for sys/sdt.h... yes checking for avahi... yes checking for avahi_client_new in -lavahi-client... yes checking avahi-client/publish.h usability... yes checking avahi-client/publish.h presence... yes checking for avahi-client/publish.h... yes checking avahi-common/alternative.h usability... yes checking avahi-common/alternative.h presence... yes checking for avahi-common/alternative.h... yes checking if systemd should be used... yes checking systemd/sd-daemon.h usability... yes checking systemd/sd-daemon.h presence... yes checking for systemd/sd-daemon.h... yes configure: creating ./config.status config.status: creating src/include/pcp/platform_defs.h config.status: creating src/include/pcp/platformsz.h config.status: creating src/include/pcp/config.h config.status: creating src/include/pcp/configsz.h configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-podman checking for git... git checking for pylint... no checking for python2... no checking for python2.7... no checking for python... no checking for python3... python3 checking Python3 version... 3.6.8 checking Python.h usability... yes checking Python.h presence... yes checking for Python.h... yes checking for any python version... yes checking for dstat symlink... yes checking for Python module BPF... no checking for Python module OrderedDict... yes checking for Python module jsonpointer... yes checking for Python module openpyxl... no checking for Python module setuptools... yes checking for Python module requests... yes checking for Python module libvirt... yes checking for Python module six... yes checking if the python InfluxDB support should be included... yes checking if the json PMDA should be included... yes checking if the bcc PMDA should be included... yes checking clang major version installed... 0 checking for libbpf... no checking for libelf... no checking for clang... no checking for llvm-strip... no checking for bpftool... no checking if the bpf PMDA should be included... no checking if the bpftrace PMDA should be included... yes checking for perl... perl checking for any perl version... perl checking if the SNMP PMDA should be included... yes checking if the mysql PMDA should be included... yes checking if the postgresql PMDA should be included... yes checking if the oracle PMDA should be included... yes checking if the elasticsearch PMDA should be included... yes checking if the nginx PMDA should be included... yes checking if the activemq PMDA should be included... yes checking if the bind2 PMDA should be included... yes checking if the nutcracker PMDA should be included... no checking if the LIO PMDA should be included... yes checking if the OpenMetrics PMDA should be included... yes checking if the libvirt PMDA should be included... yes checking for qtchooser... no checking for qmake... /usr/lib64/qt5/bin/qmake checking Qt version... 5.15.2 checking for gmake... /usr/bin/gmake checking for ld... /usr/bin/ld checking for gtar... /usr/bin/gtar checking for gzip... /usr/bin/gzip checking for bzip2... /usr/bin/bzip2 checking for lzma... /bin/lzma checking for xz... /usr/bin/xz checking for hdiutil... no checking for mkinstallp... no checking for pkgmk... no checking for dlltool... no checking for rpmbuild... /usr/bin/rpmbuild checking for rpm... /usr/bin/rpm checking for pod2man... /usr/bin/pod2man checking if ExtUtils::MakeMaker is installed... yes checking for true... /usr/bin/true checking for makedepend... /usr/bin/true checking for md5sum... /usr/bin/md5sum checking for dpkg... no checking for makepkg... no checking whether ln -s works... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... 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 malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/sysinfo.h usability... yes checking sys/sysinfo.h presence... yes checking for sys/sysinfo.h... yes checking sys/systeminfo.h usability... no checking sys/systeminfo.h presence... no checking for sys/systeminfo.h... no checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking standards.h usability... no checking standards.h presence... no checking for standards.h... no checking sys/byteorder.h usability... no checking sys/byteorder.h presence... no checking for sys/byteorder.h... no checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking for stdint.h... (cached) yes checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for sys/wait.h... (cached) yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sys/termios.h usability... yes checking sys/termios.h presence... yes checking for sys/termios.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking net/if.h usability... yes checking net/if.h presence... yes checking for net/if.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking ws2tcpip.h usability... no checking ws2tcpip.h presence... no checking for ws2tcpip.h... no checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking bits/wordsize.h usability... yes checking bits/wordsize.h presence... yes checking for bits/wordsize.h... yes checking for iptypes.h... no checking for iphlpapi.h... no checking for netioapi.h... no checking fts.h usability... yes checking fts.h presence... yes checking for fts.h... yes checking libzfs.h usability... no checking libzfs.h presence... no checking for libzfs.h... no checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/curses.h usability... yes checking ncurses/curses.h presence... yes checking for ncurses/curses.h... yes checking ncurses/ncurses.h usability... yes checking ncurses/ncurses.h presence... yes checking for ncurses/ncurses.h... yes checking ncursesw/curses.h usability... yes checking ncursesw/curses.h presence... yes checking for ncursesw/curses.h... yes checking linux/perf_event.h usability... yes checking linux/perf_event.h presence... yes checking for linux/perf_event.h... yes checking for sys/endian.h ... no checking for machine/endian.h ... no checking for sys/endian.h (IRIX variant) ... no checking for an ANSI C-conforming const... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for inline... inline checking for regcomp in -lregex... no checking for openssl... yes checking for SSL_read_ex... yes checking for libuv... yes checking for uv_pipe_chmod in -luv... yes checking for ncurses... yes checking for ncursesw... yes checking for DEVMAPPER... yes checking for dm_stats_counter_t ... yes checking for SYSTEMD... yes checking if the systemd PMDA should be included... yes checking infiniband/umad.h usability... yes checking infiniband/umad.h presence... yes checking for infiniband/umad.h... yes checking infiniband/mad.h usability... yes checking infiniband/mad.h presence... yes checking for infiniband/mad.h... yes checking for madrpc_init in -libmad... yes checking for umad_init in -libumad... yes checking for port_performance_query_via... no checking for pma_query_via... yes checking if the infiniband PMDA should be included... yes checking if the perfevent PMDA should be included... yes checking for hdr_init in -lhdr_histogram... yes checking for chan_init in -lchan... yes checking if the statsd PMDA should be included... yes checking if the podman PMDA should be included... yes checking for qshape... qshape checking if the postfix PMDA should be included... yes checking for seinfo... seinfo checking if selinux policy should be included... yes checking for selinux files_mmap_all_files() macro... yes checking for selinux logging_watch_all_log_dirs_path() macro... no checking return type of signal handlers... void