Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/pcp.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-9087-228/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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-6.0.4-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/pcp.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-9087-228/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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.1GIWmL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pcp-6.0.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/pcp-6.0.4.src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pcp-6.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RcXIFV + 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 pcp-6.0.4 ++ echo 1.ocs23 ++ sed -e 's/\..*$//' + _build=1 + sed -i '/PACKAGE_BUILD/s/=[0-9]*/=1/' VERSION.pcp + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-05-15 07:54:41.000000000 +0800 +++ ./configure 2023-07-12 22:10:59.776166727 +0800 @@ -2296,7 +2296,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 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/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-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 --with-docdir=/usr/share/doc/pcp --with-dstat-symlink=yes --with-infiniband=yes --with-pmdastatsd=yes --with-perfevent=yes --with-pmdabcc=yes --with-pmdabpf=yes --with-pmdabpftrace=yes --with-pmdajson=yes --with-pmdasnmp=yes --with-python=no --with-podman=yes --with-pmdanutcracker=no configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-podman configure: loading site script /usr/share/config.site checking build system type... aarch64-opencloudos-linux-gnu checking host system type... aarch64-opencloudos-linux-gnu checking target system type... aarch64-opencloudos-linux-gnu Building on aarch64-opencloudos-linux for aarch64-opencloudos-linux Build: os=linux cpu=aarch64 Target: os=linux cpu=aarch64 checking for aarch64-opencloudos-linux-gnu-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-opencloudos-linux-gnu-suncc... 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking sizeof off_t... 8 configure: Compiling with gcc pie et al. configure: Compiling DSO PMDAs with gcc -fvisibility=hidden checking for --std=c99 support... yes checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed 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 for lex output file root... lex.yy checking for lex library... none needed checking for library containing yywrap... no checking whether yytext is a pointer... yes 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 for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for sys/sdt.h... yes checking for avahi... yes checking for avahi_client_new in -lavahi-client... yes checking for avahi-client/publish.h... yes checking for avahi-common/alternative.h... yes checking if systemd should be used... 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.10.5 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 for libbpf... yes checking libbpf version... 0.8.0 checking for libelf... yes checking for clang... /usr/bin/clang checking clang major version installed... 14 checking for llvm-strip... /usr/bin/llvm-strip checking BPF CO-RE architecture identifier... arm64 checking for libbpf-tools vmlinux.h... /builddir/build/BUILD/pcp-6.0.4/vendor/github.com/iovisor/bcc/libbpf-tools/arm64/vmlinux.h checking if the bpf PMDA should be included... yes checking if bpf PMDA modules using bpf_buffer__new should be included... no (libbpf version required: 1.0.0, installed: 0.8.0) checking which bpf PMDA modules should be included... biolatency.so runqlat.so bashreadline.so biolatency.so execsnoop.so exitsnoop.so fsslower.so opensnoop.so runqlat.so statsnoop.so tcpconnect.so tcpconnlat.so vfsstat.so biosnoop.so checking if the bpftrace PMDA should be included... yes checking for perl... perl checking for any perl version... perl checking if ExtUtils::MakeMaker is installed... yes checking if the SNMP PMDA should be included... yes checking if the mysql PMDA should be included... yes checking if the mongodb PMDA should be included... no 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.7 checking for gmake... /usr/bin/gmake checking how to run the C preprocessor... gcc -E 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 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 egrep... (cached) /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for limits.h... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking for syslog.h... yes checking for stddef.h... yes checking for sched.h... yes checking for dlfcn.h... yes checking for dl.h... no checking for sys/times.h... yes checking for sys/resource.h... yes checking for sys/prctl.h... yes checking for sys/sysinfo.h... yes checking for sys/systeminfo.h... no checking for endian.h... yes checking for standards.h... no checking for sys/byteorder.h... no checking for libgen.h... yes checking for sys/mman.h... yes checking for sys/un.h... yes checking for values.h... yes checking for stdint.h... (cached) yes checking for ieeefp.h... no checking for math.h... yes checking for pwd.h... yes checking for grp.h... yes checking for regex.h... yes checking for sys/wait.h... (cached) yes checking for termio.h... yes checking for termios.h... yes checking for sys/termios.h... yes checking for sys/ioctl.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for netdb.h... yes checking for poll.h... yes checking for net/if.h... yes checking for netinet/in.h... yes checking for netinet/tcp.h... yes checking for arpa/inet.h... yes checking for windows.h... no checking for winsock2.h... no checking for ws2tcpip.h... no checking for execinfo.h... yes checking for bits/wordsize.h... yes checking for iptypes.h... no checking for iphlpapi.h... no checking for netioapi.h... no checking for fts.h... yes checking for libzfs.h... no checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for sys/mount.h... yes checking for curses.h... yes checking for ncurses.h... yes checking for ncurses/curses.h... yes checking for ncurses/ncurses.h... yes checking for ncursesw/curses.h... 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 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 BIO_write_ex in -lcrypto... yes checking for libsasl2... 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 for infiniband/umad.h... 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 for qshape... qshape checking if the postfix PMDA should be included... yes checking if selinux policy should be included... yes checking return type of signal handlers... void