Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pcp.spec'], chrootPath='/var/lib/mock/dist-an23-build-342675-69976/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1703635200 Wrote: /builddir/build/SRPMS/pcp-6.1.0-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pcp.spec'], chrootPath='/var/lib/mock/dist-an23-build-342675-69976/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1703635200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.drGoAB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pcp-6.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pcp-6.1.0.src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pcp-6.1.0 + /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.hZHqfa + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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.1.0 ++ echo 1.an23 ++ sed -e 's/\..*$//' + _build=1 + sed -i '/PACKAGE_BUILD/s/=[0-9]*/=1/' VERSION.pcp + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 + '[' '-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-09-06 14:08:21.000000000 +0800 +++ ./configure 2023-12-27 16:45:18.392877516 +0800 @@ -2254,7 +2254,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/anolis/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./config.guess '/usr/lib/rpm/anolis/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./config.sub '/usr/lib/rpm/anolis/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld' ']' ++ find . -name ltmain.sh ++ dirname ./configure + /usr/lib/rpm/anolis/force-as-needed-for-shared-lib-in-libtool . Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/anolis/fix-libtool-ltmain-from-overlinking ++ dirname ./configure + /usr/lib/rpm/anolis/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/anolis/fix-dlsearch-path-in-libtool . lib64 + ./configure --build=x86_64-Anolis-linux --host=x86_64-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-pmdastatsd=no --with-perfevent=yes --with-pmdabcc=yes --with-pmdabpf=no --with-pmdabpftrace=yes --with-pmdajson=yes --with-pmdamongodb=no --with-pmdasnmp=yes --with-pmdanutcracker=yes configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... x86_64-Anolis-linux-gnu checking host system type... x86_64-Anolis-linux-gnu checking target system type... x86_64-Anolis-linux-gnu Building on x86_64-Anolis-linux for x86_64-Anolis-linux Build: os=linux cpu=x86_64 Target: os=linux cpu=x86_64 checking for x86_64-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 x86_64-Anolis-linux-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 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/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 checking for git... no checking for pylint... no checking for /usr/bin/python2... no checking for python2... no checking for python2.7... no checking for python... no checking for /usr/bin/python3... no checking for python3... python3 checking Python3 version... 3.10.13 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 pyodbc... yes 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... no checking for libelf... no checking for clang... no checking clang major version installed... 0 checking for llvm-strip... no checking BPF CO-RE architecture identifier... x86 checking for libbpf-tools vmlinux.h... /builddir/build/BUILD/pcp-6.1.0/vendor/github.com/iovisor/bcc/libbpf-tools/x86/vmlinux.h 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 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... yes checking if the LIO PMDA should be included... yes checking if the OpenMetrics PMDA should be included... yes checking if the SQL Server PMDA should be included... yes checking if the libvirt PMDA should be included... yes checking for qmake... /usr/lib64/qt5/bin/qmake checking Qt version... 5.15.11 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 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 ncursesw/term.h... yes checking for ncurses/term.h... yes checking for term.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 SSL_trace in -lssl... yes checking for libsasl2... yes checking for libuv... yes checking for uv_pipe_chmod in -luv... yes checking for ncurses... yes