Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild --nocheck -bs --target loongarch64 --nodeps /builddir/build/SPECS/systemtap.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-62611-34644/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=986gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5g897nso:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5g897nso:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9a7a198d33b449d0b1dbcff1d904e44b', '-D', '/var/lib/mock/dist-an8-loongarch64-build-62611-34644/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5g897nso:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild --nocheck -bs --target loongarch64 --nodeps /builddir/build/SPECS/systemtap.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False warning: Macro expanded in comment on line 1084: %{_libexecdir}/systemtap/python/*/*.pyc warning: Macro expanded in comment on line 1126: %{_datadir}/systemtap/examples/general/*/*.pyc Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/systemtap-4.3-7.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild --nocheck -bb --target loongarch64 --nodeps /builddir/build/SPECS/systemtap.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-62611-34644/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=986gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5g897nso:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5g897nso:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '72208bdae60a417390f21f866adf3bc8', '-D', '/var/lib/mock/dist-an8-loongarch64-build-62611-34644/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5g897nso:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild --nocheck -bb --target loongarch64 --nodeps /builddir/build/SPECS/systemtap.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False warning: Macro expanded in comment on line 1084: %{_libexecdir}/systemtap/python/*/*.pyc warning: Macro expanded in comment on line 1126: %{_datadir}/systemtap/examples/general/*/*.pyc Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EGMRt0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf systemtap-4.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/systemtap-4.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd systemtap-4.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #10 (rhbz1847676,1857749.patch):' Patch #10 (rhbz1847676,1857749.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file runtime/linux/uprobes-inode.c patching file runtime/linux/uprobes-inode.c patching file translate.cxx patching file runtime/linux/uprobes-inode.c patching file runtime/linux/uprobes-inode.c patching file runtime/linux/task_finder2.c Hunk #1 succeeded at 651 (offset -1 lines). Hunk #2 succeeded at 883 (offset -1 lines). Hunk #3 succeeded at 1333 (offset -1 lines). Hunk #4 succeeded at 1454 (offset -1 lines). Hunk #5 succeeded at 1832 (offset -1 lines). patching file runtime/linux/uprobes-inode.c patching file runtime/sym.c patching file testsuite/systemtap.base/sdt_buildid.c patching file testsuite/systemtap.base/sdt_buildid.exp patching file testsuite/systemtap.base/sdt_buildid.stp patching file testsuite/systemtap.base/sdt_buildid_.d Patch #11 (rhbz1855264.patch): + echo 'Patch #11 (rhbz1855264.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file testsuite/systemtap.examples/general/sizeof.meta patching file testsuite/systemtap.examples/general/sizeof.stp patching file testsuite/systemtap.examples/general/sizeof.stp patching file testsuite/systemtap.examples/lwtools/fslatency-nd.stp patching file testsuite/systemtap.examples/lwtools/fsslower-nd.stp patching file testsuite/systemtap.examples/process/pfiles.stp patching file testsuite/systemtap.examples/profiling/ioctl_handler.stp patching file testsuite/systemtap.examples/stapgames/tapset/gmtty.stp patching file testsuite/systemtap.examples/profiling/periodic.stp patching file testsuite/systemtap.examples/process/semop-watch.stp patching file tapset/linux/dentry.stp patching file tapset/linux/dev.stp patching file tapset/linux/ioblock.stp patching file tapset/linux/task.stp patching file tapset/linux/nfs_proc.stp patching file tapset/linux/networking.stp patching file tapset/linux/scsi.stp patching file testsuite/buildok/pretty.stp patching file testsuite/semok/cast.stp patching file testsuite/semok/pretty.stp patching file testsuite/semok/sizeof.stp patching file testsuite/semok/thirtyeight.stp patching file testsuite/semok/thirtysix.stp patching file testsuite/systemtap.base/bitfield.stp patching file testsuite/systemtap.base/target_set.stp patching file testsuite/systemtap.context/usymbols.exp patching file testsuite/systemtap.base/cast.stp + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dCcJ9N + umask 022 + cd /builddir/build/BUILD + cd systemtap-4.3 + CPPFLAGS='-I/usr/include -I/usr/include/dyninst -O2 -g' + export CPPFLAGS + LDFLAGS='-L/usr/lib64 -Wl,-rpath-link,/usr/lib64/dyninst -L/usr/lib64/dyninst -L/usr/lib64/elfutils' + export LDFLAGS + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-L/usr/lib64 -Wl,-rpath-link,/usr/lib64/dyninst -L/usr/lib64/dyninst -L/usr/lib64/elfutils' + 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=loongarch64-Anolis-linux --host=loongarch64-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 --without-dyninst --disable-sqlite --disable-crash --enable-docs=prebuilt --enable-pie --with-rpm --without-java --disable-virt --without-python3 --without-python2-probes --with-python3-probes --disable-httpd --without-bpf --disable-silent-rules '--with-extra-version=rpm 4.3-7.an8' checking build system type... loongarch64-Anolis-linux-gnu checking host system type... loongarch64-Anolis-linux-gnu checking target system type... loongarch64-Anolis-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for loongarch64-Anolis-linux-gcc... 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 checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether ln -s works... yes checking for loongarch64-Anolis-linux-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for loongarch64-Anolis-linux-g++... no checking for loongarch64-Anolis-linux-c++... no checking for loongarch64-Anolis-linux-gpp... no checking for loongarch64-Anolis-linux-aCC... no checking for loongarch64-Anolis-linux-CC... no checking for loongarch64-Anolis-linux-cxx... no checking for loongarch64-Anolis-linux-cc++... no checking for loongarch64-Anolis-linux-cl.exe... no checking for loongarch64-Anolis-linux-FCC... no checking for loongarch64-Anolis-linux-KCC... no checking for loongarch64-Anolis-linux-RCC... no checking for loongarch64-Anolis-linux-xlC_r... no checking for loongarch64-Anolis-linux-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C preprocessor... gcc -E checking for loongarch64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking whether make sets $(MAKE)... (cached) yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for ppoll... yes checking for openat... yes checking for a sed that does not truncate output... /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for python... no checking for a Python interpreter with version >= 2.6... none checking for python3... /usr/bin/python3 checking for python3 version... 3.6 checking for python3 platform... linux checking for python3 script directory... ${prefix}/lib/python3.6/site-packages checking for python3 extension module directory... ${exec_prefix}/lib64/python3.6/site-packages checking to see if prologue searching should be the default... no checking to see if sdt probes should be the default... yes checking whether g++ supports C++11 features by default... yes configure: Compiling with gcc -fstack-protector-all et al. configure: Compiling with gcc pie et al. checking whether to use debuginfod... auto checking for loongarch64-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 debuginfod... no configure: WARNING: libdebuginfod is missing or unusable; some features may be unavailable. checking for latex... no checking for dvips... no checking for ps2pdf... no configure: will only install prebuilt documentation checking for xmlto... no checking for fop... no checking for nss... yes checking for openssl... no configure: using dracut module directory /usr/lib/dracut/modules.d/99stap configure: using dracut binary /sbin checking for avahi... no configure: WARNING: some compile-server functionality will be restricted, cannot find avahi development files checking for rpmtsInitIterator in -lrpm... yes checking for rpmdbNextIterator in -lrpmdb... no checking for rpmFreeCrypto in -lrpmio... yes checking how to link readline libs... -lreadline configure: error: python version 2 is required error: Bad exit status from /var/tmp/rpm-tmp.dCcJ9N (%build) RPM build errors: Macro expanded in comment on line 1084: %{_libexecdir}/systemtap/python/*/*.pyc Macro expanded in comment on line 1126: %{_datadir}/systemtap/examples/general/*/*.pyc Bad exit status from /var/tmp/rpm-tmp.dCcJ9N (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 72208bdae60a417390f21f866adf3bc8 -D /var/lib/mock/dist-an8-loongarch64-build-62611-34644/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.5g897nso:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild --nocheck -bb --target loongarch64 --nodeps /builddir/build/SPECS/systemtap.spec