Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/bcc.spec'], chrootPath='/var/lib/mock/dist-an8-build-66860-37228/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 aarch64 --nodeps /builddir/build/SPECS/bcc.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 warning: Macro expanded in comment on line 20: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz sh: /usr/bin/python2: No such file or directory Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/bcc-0.16.0-3.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/bcc.spec'], chrootPath='/var/lib/mock/dist-an8-build-66860-37228/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 aarch64 --nodeps /builddir/build/SPECS/bcc.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 warning: Macro expanded in comment on line 20: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YVmww6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bcc + /usr/bin/gzip -dc /builddir/build/SOURCES/bcc-src-with-submodule.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bcc + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/bcc-0.16.0-Manpages-remove-unstable-statement.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/bcc-0.16.0-tools-tcptracer-fix-alignement-in-tcp_ipv6_event_t.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/bcc-0.16.0-sync-with-libbpf-repo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/bcc-0.16.0-slabratetop-Add-memcg_cache_params-struct-def.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/bcc-0.16.0-tools-include-kasan-header-in-slabtoprate.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1000-bcc-anolis-ali-enhanced-tools-for-fs-schedule-sys.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1001-bcc-anolis-tests-test_array.py-add-clock_nanosleep-to-attach-po.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1002-bcc-anolis-fix-some-test-cases-failed-3235.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1003-bcc-anolis-test-test_histogram.py-fix-test-failed-on-kernel-5.1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1004-bcc-anolis-aarch64-turn-off-jump-table-optimization-during-jit-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1005-bcc-anolis-Netqtop-3037-3048.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1006-bcc-anolis-fix-python3-compatible-issue-for-netqtop.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1007-bcc-anolis-fix-netqtop-python3-compatible-3140.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1008-bcc-anolis-tools-netqtop-fix-rx-queue-id.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1009-bcc-anolis-set-larger-range-to-get-probes-evnet-for-test_usdt2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.S4pRz7 + umask 022 + cd /builddir/build/BUILD + cd bcc + 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 + /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 -DREVISION_LAST=0.16.0 -DREVISION=0.16.0 -DPYTHON_CMD=python3 -DCMAKE_USE_LIBBPF_PACKAGE:BOOL=TRUE '-DPYTHON_CMD=python2;python3' -DENABLE_LLVM_SHARED=1 CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 8.4.1 -- The CXX compiler identification is GNU 8.4.1 -- 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 -- Revision is 0.16.0 -- Performing Test HAVE_NO_PIE_FLAG -- Performing Test HAVE_NO_PIE_FLAG - Success -- Performing Test HAVE_REALLOCARRAY_SUPPORT -- Performing Test HAVE_REALLOCARRAY_SUPPORT - Success -- Found LibBpf: /usr/lib64/libbpf.so -- Found BISON: /usr/bin/bison (found version "3.0.4") -- Found FLEX: /usr/bin/flex (found version "2.6.1") -- Found LLVM: /usr/include 11.0.0 -- Found LibElf: /usr/lib64/libelf.so -- Performing Test ELF_GETSHDRSTRNDX -- Performing Test ELF_GETSHDRSTRNDX - Success -- Could NOT find LuaJIT (missing: LUAJIT_LIBRARIES LUAJIT_INCLUDE_DIR) CMake Warning at tests/python/CMakeLists.txt:6 (message): Recommended test program 'arping' not found CMake Warning at tests/python/CMakeLists.txt:10 (message): Recommended test program 'netperf' not found CMake Warning at tests/python/CMakeLists.txt:16 (message): Recommended test program 'iperf' or 'iperf3' not found -- 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/bcc + /usr/bin/make -O -j8 /usr/bin/cmake -S/builddir/build/BUILD/bcc -B/builddir/build/BUILD/bcc --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/bcc/CMakeFiles /builddir/build/BUILD/bcc//CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f src/cc/CMakeFiles/bpf-shared.dir/build.make src/cc/CMakeFiles/bpf-shared.dir/depend /usr/bin/make -f src/cc/CMakeFiles/bpf-static.dir/build.make src/cc/CMakeFiles/bpf-static.dir/depend /usr/bin/make -f src/cc/CMakeFiles/bcc-loader-static.dir/build.make src/cc/CMakeFiles/bcc-loader-static.dir/depend /usr/bin/make -f src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/build.make src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/depend make[2]: Entering directory '/builddir/build/BUILD/bcc' cd /builddir/build/BUILD/bcc && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/bcc /builddir/build/BUILD/bcc/src/cc /builddir/build/BUILD/bcc /builddir/build/BUILD/bcc/src/cc /builddir/build/BUILD/bcc/src/cc/CMakeFiles/bpf-static.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/bcc' /usr/bin/make -f src/cc/api/CMakeFiles/api-static.dir/build.make src/cc/api/CMakeFiles/api-static.dir/depend /usr/bin/make -f src/cc/usdt/CMakeFiles/usdt-static.dir/build.make src/cc/usdt/CMakeFiles/usdt-static.dir/depend /usr/bin/make -f src/cc/frontends/b/CMakeFiles/b_frontend.dir/build.make src/cc/frontends/b/CMakeFiles/b_frontend.dir/depend /usr/bin/make -f src/python/CMakeFiles/bcc_py_python3.dir/build.make src/python/CMakeFiles/bcc_py_python3.dir/depend make[2]: Entering directory '/builddir/build/BUILD/bcc' cd /builddir/build/BUILD/bcc && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/bcc /builddir/build/BUILD/bcc/src/cc /builddir/build/BUILD/bcc /builddir/build/BUILD/bcc/src/cc /builddir/build/BUILD/bcc/src/cc/CMakeFiles/bpf-shared.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/bcc' /usr/bin/make -f src/cc/CMakeFiles/bpf-static.dir/build.make src/cc/CMakeFiles/bpf-static.dir/build make[2]: Entering directory '/builddir/build/BUILD/bcc' cd /builddir/build/BUILD/bcc && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/bcc /builddir/build/BUILD/bcc/src/cc/usdt /builddir/build/BUILD/bcc /builddir/build/BUILD/bcc/src/cc/usdt /builddir/build/BUILD/bcc/src/cc/usdt/CMakeFiles/usdt-static.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' cd /builddir/build/BUILD/bcc && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/bcc /builddir/build/BUILD/bcc/src/cc /builddir/build/BUILD/bcc /builddir/build/BUILD/bcc/src/cc /builddir/build/BUILD/bcc/src/cc/CMakeFiles/bcc-loader-static.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/bcc' /usr/bin/make -f src/cc/CMakeFiles/bpf-shared.dir/build.make src/cc/CMakeFiles/bpf-shared.dir/build make[2]: Entering directory '/builddir/build/BUILD/bcc' cd /builddir/build/BUILD/bcc && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/bcc /builddir/build/BUILD/bcc/src/python /builddir/build/BUILD/bcc /builddir/build/BUILD/bcc/src/python /builddir/build/BUILD/bcc/src/python/CMakeFiles/bcc_py_python3.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' cd /builddir/build/BUILD/bcc && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/bcc /builddir/build/BUILD/bcc/src/cc/api /builddir/build/BUILD/bcc /builddir/build/BUILD/bcc/src/cc/api /builddir/build/BUILD/bcc/src/cc/api/CMakeFiles/api-static.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' cd /builddir/build/BUILD/bcc && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/bcc /builddir/build/BUILD/bcc/src/cc/frontends/clang /builddir/build/BUILD/bcc /builddir/build/BUILD/bcc/src/cc/frontends/clang /builddir/build/BUILD/bcc/src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/bcc' /usr/bin/make -f src/cc/usdt/CMakeFiles/usdt-static.dir/build.make src/cc/usdt/CMakeFiles/usdt-static.dir/build /usr/bin/make -f src/cc/CMakeFiles/bcc-loader-static.dir/build.make src/cc/CMakeFiles/bcc-loader-static.dir/build /usr/bin/make -f src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/build.make src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/build /usr/bin/make -f src/cc/api/CMakeFiles/api-static.dir/build.make src/cc/api/CMakeFiles/api-static.dir/build /usr/bin/make -f src/python/CMakeFiles/bcc_py_python3.dir/build.make src/python/CMakeFiles/bcc_py_python3.dir/build make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 0%] [BISON][Parser] Building parser with bison 3.0.4 cd /builddir/build/BUILD/bcc/src/cc/frontends/b && /usr/bin/bison -o parser.yy.cc -v --debug -d -o /builddir/build/BUILD/bcc/src/cc/frontends/b/parser.yy.cc parser.yy make[2]: Leaving directory '/builddir/build/BUILD/bcc' parser.yy:19.9-17: warning: deprecated directive, use '%define api.namespace ebpf::cc' [-Wdeprecated] %define namespace "ebpf::cc" ^^^^^^^^^ parser.yy:19.9-17: warning: %define variable 'api.namespace' requires '{...}' values [-Wdeprecated] %define namespace "ebpf::cc" ^^^^^^^^^ parser.yy:20.9-25: warning: %define variable 'parser_class_name' requires '{...}' values [-Wdeprecated] %define parser_class_name "BisonParser" ^^^^^^^^^^^^^^^^^ make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 1%] Building C object src/cc/CMakeFiles/bpf-shared.dir/libbpf.c.o cd /builddir/build/BUILD/bcc/src/cc && /usr/bin/cc -DHAVE_EXTERNAL_LIBBPF -Dbpf_shared_EXPORTS -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fPIC -Wno-unused-result -O2 -g -DNDEBUG -fPIC -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -MD -MT src/cc/CMakeFiles/bpf-shared.dir/libbpf.c.o -MF CMakeFiles/bpf-shared.dir/libbpf.c.o.d -o CMakeFiles/bpf-shared.dir/libbpf.c.o -c /builddir/build/BUILD/bcc/src/cc/libbpf.c make[2]: Leaving directory '/builddir/build/BUILD/bcc' In file included from /builddir/build/BUILD/bcc/src/cc/bcc_libbpf_inc.h:5, from /builddir/build/BUILD/bcc/src/cc/libbpf.c:55: /usr/include/bpf/btf.h: In function 'btf_is_float': /usr/include/bpf/btf.h:301:24: error: 'BTF_KIND_FLOAT' undeclared (first use in this function); did you mean 'BTF_KIND_INT'? return btf_kind(t) == BTF_KIND_FLOAT; ^~~~~~~~~~~~~~ BTF_KIND_INT /usr/include/bpf/btf.h:301:24: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [src/cc/CMakeFiles/bpf-shared.dir/build.make:79: src/cc/CMakeFiles/bpf-shared.dir/libbpf.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:733: src/cc/CMakeFiles/bpf-shared.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 2%] Building C object src/cc/CMakeFiles/bpf-static.dir/libbpf.c.o cd /builddir/build/BUILD/bcc/src/cc && /usr/bin/cc -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fPIC -Wno-unused-result -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -MD -MT src/cc/CMakeFiles/bpf-static.dir/libbpf.c.o -MF CMakeFiles/bpf-static.dir/libbpf.c.o.d -o CMakeFiles/bpf-static.dir/libbpf.c.o -c /builddir/build/BUILD/bcc/src/cc/libbpf.c make[2]: Leaving directory '/builddir/build/BUILD/bcc' In file included from /builddir/build/BUILD/bcc/src/cc/bcc_libbpf_inc.h:5, from /builddir/build/BUILD/bcc/src/cc/libbpf.c:55: /usr/include/bpf/btf.h: In function 'btf_is_float': /usr/include/bpf/btf.h:301:24: error: 'BTF_KIND_FLOAT' undeclared (first use in this function); did you mean 'BTF_KIND_INT'? return btf_kind(t) == BTF_KIND_FLOAT; ^~~~~~~~~~~~~~ BTF_KIND_INT /usr/include/bpf/btf.h:301:24: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [src/cc/CMakeFiles/bpf-static.dir/build.make:79: src/cc/CMakeFiles/bpf-static.dir/libbpf.c.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 3%] [FLEX][Lexer] Building scanner with flex 2.6.1 cd /builddir/build/BUILD/bcc/src/cc/frontends/b && /usr/bin/flex --c++ --o lexer.ll.cc -o/builddir/build/BUILD/bcc/src/cc/frontends/b/lexer.ll.cc lexer.ll make[2]: Leaving directory '/builddir/build/BUILD/bcc' lexer.ll:110: warning, -s option given but default rule can be matched make[1]: *** [CMakeFiles/Makefile2:759: src/cc/CMakeFiles/bpf-static.dir/all] Error 2 make[2]: Entering directory '/builddir/build/BUILD/bcc' cd /builddir/build/BUILD/bcc && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/bcc /builddir/build/BUILD/bcc/src/cc/frontends/b /builddir/build/BUILD/bcc /builddir/build/BUILD/bcc/src/cc/frontends/b /builddir/build/BUILD/bcc/src/cc/frontends/b/CMakeFiles/b_frontend.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/bcc' /usr/bin/make -f src/cc/frontends/b/CMakeFiles/b_frontend.dir/build.make src/cc/frontends/b/CMakeFiles/b_frontend.dir/build make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 3%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o cd /builddir/build/BUILD/bcc/src/cc && /usr/bin/cc -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fPIC -Wno-unused-result -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -MD -MT src/cc/CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o -MF CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o.d -o CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o -c /builddir/build/BUILD/bcc/src/cc/bcc_elf.c make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 2%] Building sdist for python3 cd /builddir/build/BUILD/bcc/src/python/bcc-python3 && python3 setup.py sdist running sdist running check writing manifest file 'MANIFEST' creating bcc-0.16.0 creating bcc-0.16.0/bcc making hard links in bcc-0.16.0... hard linking setup.py -> bcc-0.16.0 hard linking bcc/__init__.py -> bcc-0.16.0/bcc hard linking bcc/containers.py -> bcc-0.16.0/bcc hard linking bcc/disassembler.py -> bcc-0.16.0/bcc hard linking bcc/libbcc.py -> bcc-0.16.0/bcc hard linking bcc/perf.py -> bcc-0.16.0/bcc hard linking bcc/syscall.py -> bcc-0.16.0/bcc hard linking bcc/table.py -> bcc-0.16.0/bcc hard linking bcc/tcp.py -> bcc-0.16.0/bcc hard linking bcc/usdt.py -> bcc-0.16.0/bcc hard linking bcc/utils.py -> bcc-0.16.0/bcc hard linking bcc/version.py -> bcc-0.16.0/bcc creating dist Creating tar archive removing 'bcc-0.16.0' (and everything under it) make[2]: Leaving directory '/builddir/build/BUILD/bcc' warning: sdist: manifest template 'MANIFEST.in' does not exist (using default file list) warning: sdist: standard file not found: should have one of README, README.txt make[1]: Entering directory '/builddir/build/BUILD/bcc' [ 5%] Built target bcc_py_python3 make[1]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 5%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o cd /builddir/build/BUILD/bcc/src/cc && /usr/bin/cc -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fPIC -Wno-unused-result -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -MD -MT src/cc/CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o -MF CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o.d -o CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o -c /builddir/build/BUILD/bcc/src/cc/bcc_perf_map.c make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 4%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/loader.cc.o cd /builddir/build/BUILD/bcc/src/cc/frontends/b && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/frontends/b/CMakeFiles/b_frontend.dir/loader.cc.o -MF CMakeFiles/b_frontend.dir/loader.cc.o.d -o CMakeFiles/b_frontend.dir/loader.cc.o -c /builddir/build/BUILD/bcc/src/cc/frontends/b/loader.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 5%] Building C object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o cd /builddir/build/BUILD/bcc/src/cc && /usr/bin/cc -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fPIC -Wno-unused-result -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -MD -MT src/cc/CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o -MF CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o.d -o CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o -c /builddir/build/BUILD/bcc/src/cc/bcc_proc.c make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 2%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o cd /builddir/build/BUILD/bcc/src/cc && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o -MF CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o.d -o CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o -c /builddir/build/BUILD/bcc/src/cc/bcc_syms.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 6%] Building CXX object src/cc/CMakeFiles/bcc-loader-static.dir/common.cc.o cd /builddir/build/BUILD/bcc/src/cc && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/CMakeFiles/bcc-loader-static.dir/common.cc.o -MF CMakeFiles/bcc-loader-static.dir/common.cc.o.d -o CMakeFiles/bcc-loader-static.dir/common.cc.o -c /builddir/build/BUILD/bcc/src/cc/common.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 6%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/node.cc.o cd /builddir/build/BUILD/bcc/src/cc/frontends/b && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/frontends/b/CMakeFiles/b_frontend.dir/node.cc.o -MF CMakeFiles/b_frontend.dir/node.cc.o.d -o CMakeFiles/b_frontend.dir/node.cc.o -c /builddir/build/BUILD/bcc/src/cc/frontends/b/node.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 7%] Linking CXX static library libbcc-loader-static.a cd /builddir/build/BUILD/bcc/src/cc && /usr/bin/cmake -P CMakeFiles/bcc-loader-static.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/bcc/src/cc && /usr/bin/cmake -E cmake_link_script CMakeFiles/bcc-loader-static.dir/link.txt --verbose=1 /usr/bin/ar qc libbcc-loader-static.a CMakeFiles/bcc-loader-static.dir/bcc_syms.cc.o CMakeFiles/bcc-loader-static.dir/bcc_elf.c.o CMakeFiles/bcc-loader-static.dir/bcc_perf_map.c.o CMakeFiles/bcc-loader-static.dir/bcc_proc.c.o CMakeFiles/bcc-loader-static.dir/common.cc.o /usr/bin/ranlib libbcc-loader-static.a make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[1]: Entering directory '/builddir/build/BUILD/bcc' [ 7%] Built target bcc-loader-static make[1]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 6%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/printer.cc.o cd /builddir/build/BUILD/bcc/src/cc/frontends/b && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/frontends/b/CMakeFiles/b_frontend.dir/printer.cc.o -MF CMakeFiles/b_frontend.dir/printer.cc.o.d -o CMakeFiles/b_frontend.dir/printer.cc.o -c /builddir/build/BUILD/bcc/src/cc/frontends/b/printer.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 2%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPF.cc.o cd /builddir/build/BUILD/bcc/src/cc/api && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/api/CMakeFiles/api-static.dir/BPF.cc.o -MF CMakeFiles/api-static.dir/BPF.cc.o.d -o CMakeFiles/api-static.dir/BPF.cc.o -c /builddir/build/BUILD/bcc/src/cc/api/BPF.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' In file included from /builddir/build/BUILD/bcc/src/cc/api/BPF.cc:29: /builddir/build/BUILD/bcc/src/cc/bcc_exception.h: In member function 'ebpf::StatusTuple ebpf::BPF::detach_raw_tracepoint_event(const string&, ebpf::open_probe_t&)': /builddir/build/BUILD/bcc/src/cc/bcc_exception.h:24:7: warning: '__stp.ebpf::StatusTuple::code_' may be used uninitialized in this function [-Wmaybe-uninitialized] class StatusTuple { ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 6%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/parser.cc.o cd /builddir/build/BUILD/bcc/src/cc/frontends/b && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/frontends/b/CMakeFiles/b_frontend.dir/parser.cc.o -MF CMakeFiles/b_frontend.dir/parser.cc.o.d -o CMakeFiles/b_frontend.dir/parser.cc.o -c /builddir/build/BUILD/bcc/src/cc/frontends/b/parser.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 5%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/codegen_llvm.cc.o cd /builddir/build/BUILD/bcc/src/cc/frontends/b && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/frontends/b/CMakeFiles/b_frontend.dir/codegen_llvm.cc.o -MF CMakeFiles/b_frontend.dir/codegen_llvm.cc.o.d -o CMakeFiles/b_frontend.dir/codegen_llvm.cc.o -c /builddir/build/BUILD/bcc/src/cc/frontends/b/codegen_llvm.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 8%] Building CXX object src/cc/api/CMakeFiles/api-static.dir/BPFTable.cc.o cd /builddir/build/BUILD/bcc/src/cc/api && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/api/CMakeFiles/api-static.dir/BPFTable.cc.o -MF CMakeFiles/api-static.dir/BPFTable.cc.o.d -o CMakeFiles/api-static.dir/BPFTable.cc.o -c /builddir/build/BUILD/bcc/src/cc/api/BPFTable.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 9%] Linking CXX static library libapi-static.a cd /builddir/build/BUILD/bcc/src/cc/api && /usr/bin/cmake -P CMakeFiles/api-static.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/bcc/src/cc/api && /usr/bin/cmake -E cmake_link_script CMakeFiles/api-static.dir/link.txt --verbose=1 /usr/bin/ar qc libapi-static.a CMakeFiles/api-static.dir/BPF.cc.o CMakeFiles/api-static.dir/BPFTable.cc.o /usr/bin/ranlib libapi-static.a make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[1]: Entering directory '/builddir/build/BUILD/bcc' [ 9%] Built target api-static make[1]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 2%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt_args.cc.o cd /builddir/build/BUILD/bcc/src/cc/usdt && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/usdt/CMakeFiles/usdt-static.dir/usdt_args.cc.o -MF CMakeFiles/usdt-static.dir/usdt_args.cc.o.d -o CMakeFiles/usdt-static.dir/usdt_args.cc.o -c /builddir/build/BUILD/bcc/src/cc/usdt/usdt_args.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 8%] Building CXX object src/cc/usdt/CMakeFiles/usdt-static.dir/usdt.cc.o cd /builddir/build/BUILD/bcc/src/cc/usdt && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/usdt/CMakeFiles/usdt-static.dir/usdt.cc.o -MF CMakeFiles/usdt-static.dir/usdt.cc.o.d -o CMakeFiles/usdt-static.dir/usdt.cc.o -c /builddir/build/BUILD/bcc/src/cc/usdt/usdt.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 10%] Linking CXX static library libusdt-static.a cd /builddir/build/BUILD/bcc/src/cc/usdt && /usr/bin/cmake -P CMakeFiles/usdt-static.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/bcc/src/cc/usdt && /usr/bin/cmake -E cmake_link_script CMakeFiles/usdt-static.dir/link.txt --verbose=1 /usr/bin/ar qc libusdt-static.a CMakeFiles/usdt-static.dir/usdt_args.cc.o CMakeFiles/usdt-static.dir/usdt.cc.o /usr/bin/ranlib libusdt-static.a make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[1]: Entering directory '/builddir/build/BUILD/bcc' [ 10%] Built target usdt-static make[1]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 9%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/kbuild_helper.cc.o cd /builddir/build/BUILD/bcc/src/cc/frontends/clang && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -DKERNEL_MODULES_DIR='"/lib/modules"' -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/kbuild_helper.cc.o -MF CMakeFiles/clang_frontend.dir/kbuild_helper.cc.o.d -o CMakeFiles/clang_frontend.dir/kbuild_helper.cc.o -c /builddir/build/BUILD/bcc/src/cc/frontends/clang/kbuild_helper.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' /builddir/build/BUILD/bcc/src/cc/frontends/clang/kbuild_helper.cc:80:3: warning: multi-line comment [-Wcomment] // USERINCLUDE := \ ^ /builddir/build/BUILD/bcc/src/cc/frontends/clang/kbuild_helper.cc:89:3: warning: multi-line comment [-Wcomment] // LINUXINCLUDE := \ ^ make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 9%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/lexer.ll.cc.o cd /builddir/build/BUILD/bcc/src/cc/frontends/b && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/frontends/b/CMakeFiles/b_frontend.dir/lexer.ll.cc.o -MF CMakeFiles/b_frontend.dir/lexer.ll.cc.o.d -o CMakeFiles/b_frontend.dir/lexer.ll.cc.o -c /builddir/build/BUILD/bcc/src/cc/frontends/b/lexer.ll.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' /builddir/build/BUILD/bcc/src/cc/frontends/b/lexer.ll.cc: In member function 'virtual int ebpf::cc::Lexer::yylex()': /builddir/build/BUILD/bcc/src/cc/frontends/b/lexer.ll.cc:752:23: warning: comparison of integer expressions of different signedness: 'yy_size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] for ( yyl = 0; yyl < yyleng; ++yyl ) ~~~~^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 9%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/type_check.cc.o cd /builddir/build/BUILD/bcc/src/cc/frontends/b && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/frontends/b/CMakeFiles/b_frontend.dir/type_check.cc.o -MF CMakeFiles/b_frontend.dir/type_check.cc.o.d -o CMakeFiles/b_frontend.dir/type_check.cc.o -c /builddir/build/BUILD/bcc/src/cc/frontends/b/type_check.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 11%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/__/__/common.cc.o cd /builddir/build/BUILD/bcc/src/cc/frontends/clang && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -DKERNEL_MODULES_DIR='"/lib/modules"' -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/__/__/common.cc.o -MF CMakeFiles/clang_frontend.dir/__/__/common.cc.o.d -o CMakeFiles/clang_frontend.dir/__/__/common.cc.o -c /builddir/build/BUILD/bcc/src/cc/common.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 9%] Building CXX object src/cc/frontends/b/CMakeFiles/b_frontend.dir/parser.yy.cc.o cd /builddir/build/BUILD/bcc/src/cc/frontends/b && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/frontends/b/CMakeFiles/b_frontend.dir/parser.yy.cc.o -MF CMakeFiles/b_frontend.dir/parser.yy.cc.o.d -o CMakeFiles/b_frontend.dir/parser.yy.cc.o -c /builddir/build/BUILD/bcc/src/cc/frontends/b/parser.yy.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 12%] Linking CXX static library libb_frontend.a cd /builddir/build/BUILD/bcc/src/cc/frontends/b && /usr/bin/cmake -P CMakeFiles/b_frontend.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/bcc/src/cc/frontends/b && /usr/bin/cmake -E cmake_link_script CMakeFiles/b_frontend.dir/link.txt --verbose=1 /usr/bin/ar qc libb_frontend.a CMakeFiles/b_frontend.dir/loader.cc.o CMakeFiles/b_frontend.dir/codegen_llvm.cc.o CMakeFiles/b_frontend.dir/node.cc.o CMakeFiles/b_frontend.dir/parser.cc.o CMakeFiles/b_frontend.dir/printer.cc.o CMakeFiles/b_frontend.dir/type_check.cc.o CMakeFiles/b_frontend.dir/parser.yy.cc.o CMakeFiles/b_frontend.dir/lexer.ll.cc.o /usr/bin/ranlib libb_frontend.a make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[1]: Entering directory '/builddir/build/BUILD/bcc' [ 12%] Built target b_frontend make[1]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 4%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o cd /builddir/build/BUILD/bcc/src/cc/frontends/clang && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -DKERNEL_MODULES_DIR='"/lib/modules"' -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o -MF CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o.d -o CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o -c /builddir/build/BUILD/bcc/src/cc/frontends/clang/b_frontend_action.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' In file included from /builddir/build/BUILD/bcc/src/cc/bcc_libbpf_inc.h:5, from /builddir/build/BUILD/bcc/src/cc/frontends/clang/b_frontend_action.cc:37: /usr/include/bpf/btf.h: In function 'bool btf_is_float(const btf_type*)': /usr/include/bpf/btf.h:301:24: error: 'BTF_KIND_FLOAT' was not declared in this scope return btf_kind(t) == BTF_KIND_FLOAT; ^~~~~~~~~~~~~~ /usr/include/bpf/btf.h:301:24: note: suggested alternative: 'BTF_KIND_INT' return btf_kind(t) == BTF_KIND_FLOAT; ^~~~~~~~~~~~~~ BTF_KIND_INT make[2]: *** [src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/build.make:93: src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/b_frontend_action.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 2%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/loader.cc.o cd /builddir/build/BUILD/bcc/src/cc/frontends/clang && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -DKERNEL_MODULES_DIR='"/lib/modules"' -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/loader.cc.o -MF CMakeFiles/clang_frontend.dir/loader.cc.o.d -o CMakeFiles/clang_frontend.dir/loader.cc.o -c /builddir/build/BUILD/bcc/src/cc/frontends/clang/loader.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[2]: Entering directory '/builddir/build/BUILD/bcc' [ 9%] Building CXX object src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/tp_frontend_action.cc.o cd /builddir/build/BUILD/bcc/src/cc/frontends/clang && /usr/bin/c++ -DHAVE_EXTERNAL_LIBBPF -I/usr/include/../tools/clang/include -I/builddir/build/BUILD/bcc/src -I/builddir/build/BUILD/bcc/src/cc -I/builddir/build/BUILD/bcc/src/cc/frontends/b -I/builddir/build/BUILD/bcc/src/cc/frontends/clang -I/builddir/build/BUILD/bcc/src/cc/libbpf/include -I/builddir/build/BUILD/bcc/src/cc/libbpf/include/uapi -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 -Wall -fno-rtti -fPIC -DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -DLLVM_MAJOR_VERSION=11 -DKERNEL_MODULES_DIR='"/lib/modules"' -O2 -g -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -std=gnu++14 -MD -MT src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/tp_frontend_action.cc.o -MF CMakeFiles/clang_frontend.dir/tp_frontend_action.cc.o.d -o CMakeFiles/clang_frontend.dir/tp_frontend_action.cc.o -c /builddir/build/BUILD/bcc/src/cc/frontends/clang/tp_frontend_action.cc make[2]: Leaving directory '/builddir/build/BUILD/bcc' make[1]: *** [CMakeFiles/Makefile2:979: src/cc/frontends/clang/CMakeFiles/clang_frontend.dir/all] Error 2 make: *** [Makefile:149: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.S4pRz7 (%build) RPM build errors: Macro expanded in comment on line 20: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Bad exit status from /var/tmp/rpm-tmp.S4pRz7 (%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: # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/bcc.spec