Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/bpftrace.spec'], chrootPath='/var/lib/mock/dist-oc8-build-33142-10036/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 --target x86_64 --nodeps /builddir/build/SPECS/bpftrace.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 Wrote: /builddir/build/SRPMS/bpftrace-0.12.1-4.oc8.2.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/bpftrace.spec'], chrootPath='/var/lib/mock/dist-oc8-build-33142-10036/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 --target x86_64 --nodeps /builddir/build/SPECS/bpftrace.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KHnpL3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bpftrace-0.12.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/bpftrace-0.12.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bpftrace-0.12.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/bpftrace-0.12.1-RHEL-8-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/bpftrace-0.12.1-orc-Fix-build-with-clang-13.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wQiHea + umask 022 + cd /builddir/build/BUILD + cd bpftrace-0.12.1 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=OFF -DHAVE_LIBBPF_LINK_CREATE:BOOL=OFF -DHAVE_BCC_PROG_LOAD_XATTR:BOOL=OFF -- The C compiler identification is GNU 8.5.0 -- The CXX compiler identification is GNU 8.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found LibBcc: /usr/lib64/libbcc.so -- Performing Test LIBBCC_ATTACH_KPROBE_SIX_ARGS_SIGNATURE -- Performing Test LIBBCC_ATTACH_KPROBE_SIX_ARGS_SIGNATURE - Success -- Performing Test LIBBCC_ATTACH_UPROBE_SEVEN_ARGS_SIGNATURE -- Performing Test LIBBCC_ATTACH_UPROBE_SEVEN_ARGS_SIGNATURE - Success -- Found LibElf: /usr/lib64/libelf.so -- Performing Test ELF_GETSHDRSTRNDX -- Performing Test ELF_GETSHDRSTRNDX - Success -- Found BISON: /usr/bin/bison (found version "3.0.4") -- Found FLEX: /usr/bin/flex (found version "2.6.1") -- Looking for name_to_handle_at -- Looking for name_to_handle_at - found -- Found LibBpf: /usr/lib64/libbpf.so -- Looking for btf_dump__new -- Looking for btf_dump__new - not found -- Looking for btf_dump__emit_type_decl -- Looking for btf_dump__emit_type_decl - not found -- Looking for bpf_map_lookup_batch -- Looking for bpf_map_lookup_batch - found -- Found LibBfd: /usr/lib64/libbfd.so -- Found LibOpcodes: /usr/lib64/libopcodes.so -- Performing Test LIBBFD_DISASM_FOUR_ARGS_SIGNATURE -- Performing Test LIBBFD_DISASM_FOUR_ARGS_SIGNATURE - Success -- Looking for bcc_prog_load -- Looking for bcc_prog_load - found -- Looking for bcc_create_map -- Looking for bcc_create_map - found -- Looking for bcc_elf_foreach_sym -- Looking for bcc_elf_foreach_sym - found -- Looking for bpf_attach_kfunc -- Looking for bpf_attach_kfunc - found -- Looking for bcc_usdt_addsem_probe -- Looking for bcc_usdt_addsem_probe - found -- Looking for sys/sdt.h -- Looking for sys/sdt.h - not found -- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL) -- Could NOT find Terminfo (missing: Terminfo_LIBRARIES Terminfo_LINKABLE) -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found LLVM 14.0.6: /usr/lib64/cmake/llvm -- Using LLVM orcv2 -- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL) -- Could NOT find Terminfo (missing: Terminfo_LIBRARIES Terminfo_LINKABLE) -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/bpftrace-0.12.1 + /usr/bin/make -O -j32 /usr/bin/cmake -S/builddir/build/BUILD/bpftrace-0.12.1 -B/builddir/build/BUILD/bpftrace-0.12.1 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/bpftrace-0.12.1/CMakeFiles /builddir/build/BUILD/bpftrace-0.12.1//CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f CMakeFiles/parser.dir/build.make CMakeFiles/parser.dir/depend /usr/bin/make -f src/arch/CMakeFiles/arch.dir/build.make src/arch/CMakeFiles/arch.dir/depend /usr/bin/make -f resources/CMakeFiles/resources.dir/build.make resources/CMakeFiles/resources.dir/depend /usr/bin/make -f man/man8/CMakeFiles/man.dir/build.make man/man8/CMakeFiles/man.dir/depend make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' cd /builddir/build/BUILD/bpftrace-0.12.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/bpftrace-0.12.1 /builddir/build/BUILD/bpftrace-0.12.1/resources /builddir/build/BUILD/bpftrace-0.12.1 /builddir/build/BUILD/bpftrace-0.12.1/resources /builddir/build/BUILD/bpftrace-0.12.1/resources/CMakeFiles/resources.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' /usr/bin/make -f resources/CMakeFiles/resources.dir/build.make resources/CMakeFiles/resources.dir/build make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' cd /builddir/build/BUILD/bpftrace-0.12.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/bpftrace-0.12.1 /builddir/build/BUILD/bpftrace-0.12.1/man/man8 /builddir/build/BUILD/bpftrace-0.12.1 /builddir/build/BUILD/bpftrace-0.12.1/man/man8 /builddir/build/BUILD/bpftrace-0.12.1/man/man8/CMakeFiles/man.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' /usr/bin/make -f man/man8/CMakeFiles/man.dir/build.make man/man8/CMakeFiles/man.dir/build make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' cd /builddir/build/BUILD/bpftrace-0.12.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/bpftrace-0.12.1 /builddir/build/BUILD/bpftrace-0.12.1/src/arch /builddir/build/BUILD/bpftrace-0.12.1 /builddir/build/BUILD/bpftrace-0.12.1/src/arch /builddir/build/BUILD/bpftrace-0.12.1/src/arch/CMakeFiles/arch.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' /usr/bin/make -f src/arch/CMakeFiles/arch.dir/build.make src/arch/CMakeFiles/arch.dir/build make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 2%] [FLEX][flex_lexer] Building scanner with flex 2.6.1 /usr/bin/flex -o/builddir/build/BUILD/bpftrace-0.12.1/lex.yy.cc src/lexer.l src/lexer.l:230: warning, -s option given but default rule can be matched make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 5%] Generating bashreadline.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/bashreadline.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/bashreadline.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 4%] Generating biostacks.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/biostacks.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/biostacks.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 7%] Generating cpuwalk.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/cpuwalk.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/cpuwalk.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 8%] Generating biosnoop.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/biosnoop.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/biosnoop.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 10%] Generating biolatency.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/biolatency.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/biolatency.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 12%] Generating bitesize.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/bitesize.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/bitesize.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 11%] Generating bpftrace.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/bpftrace.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/bpftrace.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 14%] Generating capable.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/capable.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/capable.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 15%] Generating dcsnoop.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/dcsnoop.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/dcsnoop.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 17%] Generating execsnoop.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/execsnoop.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/execsnoop.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 10%] Generating gethostlatency.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/gethostlatency.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/gethostlatency.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 20%] Generating killsnoop.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/killsnoop.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/killsnoop.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 20%] Generating loads.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/loads.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/loads.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 24%] Generating naptime.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/naptime.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/naptime.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 21%] Generating mdflush.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/mdflush.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/mdflush.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 28%] Generating pidpersec.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/pidpersec.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/pidpersec.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 24%] Generating oomkill.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/oomkill.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/oomkill.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 27%] Generating opensnoop.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/opensnoop.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/opensnoop.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 22%] Generating runqlat.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/runqlat.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/runqlat.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 30%] Generating runqlen.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/runqlen.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/runqlen.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 27%] Generating setuids.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/setuids.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/setuids.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 29%] Generating statsnoop.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/statsnoop.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/statsnoop.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 32%] Generating swapin.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/swapin.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/swapin.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 31%] Generating syncsnoop.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/syncsnoop.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/syncsnoop.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 34%] Generating syscount.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/syscount.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/syscount.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 35%] Generating tcpaccept.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/tcpaccept.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/tcpaccept.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 36%] Generating tcpdrop.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/tcpdrop.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/tcpdrop.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 37%] Generating tcpconnect.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/tcpconnect.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/tcpconnect.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 38%] Generating tcpsynbl.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/tcpsynbl.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/tcpsynbl.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 40%] Generating tcplife.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/tcplife.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/tcplife.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 3%] Building CXX object resources/CMakeFiles/resources.dir/headers.cpp.o cd /builddir/build/BUILD/bpftrace-0.12.1/resources && /usr/bin/c++ -DLLVM_ORC_V2 -DLLVM_VERSION_MAJOR=14 -DLLVM_VERSION_MINOR=0 -DLLVM_VERSION_PATCH=6 -I/builddir/build/BUILD/bpftrace-0.12.1/resources/../src -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -Wunreachable-code -Wdisabled-optimization -std=c++17 -MD -MT resources/CMakeFiles/resources.dir/headers.cpp.o -MF CMakeFiles/resources.dir/headers.cpp.o.d -o CMakeFiles/resources.dir/headers.cpp.o -c /builddir/build/BUILD/bpftrace-0.12.1/resources/headers.cpp make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 41%] Generating vfsstat.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/vfsstat.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/vfsstat.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 42%] Generating vfscount.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/vfscount.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/vfscount.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 43%] Generating writeback.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/writeback.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/writeback.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 45%] Generating xfsdist.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/xfsdist.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/xfsdist.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 45%] Generating tcpretrans.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/tcpretrans.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/tcpretrans.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 47%] Generating threadsnoop.8.gz cd /builddir/build/BUILD/bpftrace-0.12.1/man/man8 && /usr/bin/gzip -c /builddir/build/BUILD/bpftrace-0.12.1/man/man8/threadsnoop.8 > /builddir/build/BUILD/bpftrace-0.12.1/man/man8/threadsnoop.8.gz make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[1]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 48%] Built target man make[1]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 48%] Linking CXX static library libresources.a cd /builddir/build/BUILD/bpftrace-0.12.1/resources && /usr/bin/cmake -P CMakeFiles/resources.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/bpftrace-0.12.1/resources && /usr/bin/cmake -E cmake_link_script CMakeFiles/resources.dir/link.txt --verbose=1 /usr/bin/ar qc libresources.a CMakeFiles/resources.dir/headers.cpp.o /usr/bin/ranlib libresources.a make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[1]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 48%] Built target resources make[1]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 1%] [BISON][bison_parser] Building parser with bison 3.0.4 /usr/bin/bison -d --verbose -o /builddir/build/BUILD/bpftrace-0.12.1/parser.tab.cc src/parser.yy make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' src/parser.yy:285.8-23: warning: type clash on default action: != <> [-Wother] | tuple_assignment ^^^^^^^^^^^^^^^^ src/parser.yy: warning: 29 shift/reduce conflicts [-Wconflicts-sr] src/parser.yy: warning: 31 reduce/reduce conflicts [-Wconflicts-rr] make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' cd /builddir/build/BUILD/bpftrace-0.12.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/bpftrace-0.12.1 /builddir/build/BUILD/bpftrace-0.12.1 /builddir/build/BUILD/bpftrace-0.12.1 /builddir/build/BUILD/bpftrace-0.12.1 /builddir/build/BUILD/bpftrace-0.12.1/CMakeFiles/parser.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' /usr/bin/make -f CMakeFiles/parser.dir/build.make CMakeFiles/parser.dir/build make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 50%] Building CXX object CMakeFiles/parser.dir/lex.yy.cc.o /usr/bin/c++ -DLLVM_ORC_V2 -DLLVM_VERSION_MAJOR=14 -DLLVM_VERSION_MINOR=0 -DLLVM_VERSION_PATCH=6 -I/builddir/build/BUILD/bpftrace-0.12.1/src -I/builddir/build/BUILD/bpftrace-0.12.1/src/ast -I/builddir/build/BUILD/bpftrace-0.12.1 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -Wunreachable-code -Wdisabled-optimization -w -std=c++17 -MD -MT CMakeFiles/parser.dir/lex.yy.cc.o -MF CMakeFiles/parser.dir/lex.yy.cc.o.d -o CMakeFiles/parser.dir/lex.yy.cc.o -c /builddir/build/BUILD/bpftrace-0.12.1/lex.yy.cc make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' In file included from /builddir/build/BUILD/bpftrace-0.12.1/src/bpftrace.h:15, from /builddir/build/BUILD/bpftrace-0.12.1/src/driver.h:7, from src/lexer.l:7: /builddir/build/BUILD/bpftrace-0.12.1/src/bpforc.h:17:10: fatal error: llvm/Support/TargetRegistry.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/parser.dir/build.make:108: CMakeFiles/parser.dir/lex.yy.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /builddir/build/BUILD/bpftrace-0.12.1/src/bpftrace.h:15, from /builddir/build/BUILD/bpftrace-0.12.1/src/driver.h:7, from src/parser.yy:34: /builddir/build/BUILD/bpftrace-0.12.1/src/bpforc.h:17:10: fatal error: llvm/Support/TargetRegistry.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/parser.dir/build.make:93: CMakeFiles/parser.dir/parser.tab.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:292: CMakeFiles/parser.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 49%] Building CXX object CMakeFiles/parser.dir/parser.tab.cc.o /usr/bin/c++ -DLLVM_ORC_V2 -DLLVM_VERSION_MAJOR=14 -DLLVM_VERSION_MINOR=0 -DLLVM_VERSION_PATCH=6 -I/builddir/build/BUILD/bpftrace-0.12.1/src -I/builddir/build/BUILD/bpftrace-0.12.1/src/ast -I/builddir/build/BUILD/bpftrace-0.12.1 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -Wunreachable-code -Wdisabled-optimization -w -std=c++17 -MD -MT CMakeFiles/parser.dir/parser.tab.cc.o -MF CMakeFiles/parser.dir/parser.tab.cc.o.d -o CMakeFiles/parser.dir/parser.tab.cc.o -c /builddir/build/BUILD/bpftrace-0.12.1/parser.tab.cc make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 16%] Building CXX object src/arch/CMakeFiles/arch.dir/x86_64.cpp.o cd /builddir/build/BUILD/bpftrace-0.12.1/src/arch && /usr/bin/c++ -DLLVM_ORC_V2 -DLLVM_VERSION_MAJOR=14 -DLLVM_VERSION_MINOR=0 -DLLVM_VERSION_PATCH=6 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -Wunreachable-code -Wdisabled-optimization -std=c++17 -MD -MT src/arch/CMakeFiles/arch.dir/x86_64.cpp.o -MF CMakeFiles/arch.dir/x86_64.cpp.o.d -o CMakeFiles/arch.dir/x86_64.cpp.o -c /builddir/build/BUILD/bpftrace-0.12.1/src/arch/x86_64.cpp make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[2]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 51%] Linking CXX static library libarch.a cd /builddir/build/BUILD/bpftrace-0.12.1/src/arch && /usr/bin/cmake -P CMakeFiles/arch.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/bpftrace-0.12.1/src/arch && /usr/bin/cmake -E cmake_link_script CMakeFiles/arch.dir/link.txt --verbose=1 /usr/bin/ar qc libarch.a CMakeFiles/arch.dir/x86_64.cpp.o /usr/bin/ranlib libarch.a make[2]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make[1]: Entering directory '/builddir/build/BUILD/bpftrace-0.12.1' [ 51%] Built target arch make[1]: Leaving directory '/builddir/build/BUILD/bpftrace-0.12.1' make: *** [Makefile:139: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.wQiHea (%build) Bad exit status from /var/tmp/rpm-tmp.wQiHea (%build) RPM build errors: 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 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/bpftrace.spec