Looks like it is just missing a Build-Depends: bpftool:

dh_auto_configure -- -DBUILD_TESTING:BOOL=ON -DUSE_SYSTEM_BPF_BCC=1 \
                     
-DLIBBFD_LIBRARIES:FILEPATH=/usr/lib/x86_64-linux-gnu/libbfd.a \
                     
-DLIBOPCODES_LIBRARIES:FILEPATH=/usr/lib/x86_64-linux-gnu/libopcodes.a \
                     -DLIBSFRAME_FOUND:BOOL=ON -DLIBZSTD_FOUND:BOOL=ON
        cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb 
PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr 
-DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc 
-DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON 
-DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF 
-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON 
-DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run 
-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" 
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu 
-DBUILD_TESTING:BOOL=ON -DUSE_SYSTEM_BPF_BCC=1 
-DLIBBFD_LIBRARIES:FILEPATH=/usr/lib/x86_64-linux-gnu/libbfd.a 
-DLIBOPCODES_LIBRARIES:FILEPATH=/usr/lib/x86_64-linux-gnu/libopcodes.a 
-DLIBSFRAME_FOUND:BOOL=ON -DLIBZSTD_FOUND:BOOL=ON ..
-- The C compiler identification is GNU 15.2.0
-- The CXX compiler identification is GNU 15.2.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 ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.3.1")
-- Found LibBcc: /usr/lib/x86_64-linux-gnu/libbcc.so
-- Looking for bcc_usdt_foreach
-- Looking for bcc_usdt_foreach - found
-- Found LibBpf: /usr/lib/x86_64-linux-gnu/libbpf.so
-- Performing Test HAVE_LIBBPF_UPROBE_MULTI
-- Performing Test HAVE_LIBBPF_UPROBE_MULTI - Success
-- Found LibElf: /usr/lib/x86_64-linux-gnu/libelf.so
-- Found LibCereal: /usr/include
-- Found BISON: /usr/bin/bison (found version "3.8.2")
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- Looking for name_to_handle_at
-- Looking for name_to_handle_at - found
-- Found LibBfd: /usr/lib/x86_64-linux-gnu/libbfd.a
-- Found LibOpcodes: /usr/lib/x86_64-linux-gnu/libopcodes.a
-- Using static libbfd, need to link additional libraries.
-- Performing Test LIBBFD_DISASM_FOUR_ARGS_SIGNATURE
-- Performing Test LIBBFD_DISASM_FOUR_ARGS_SIGNATURE - Success
-- Performing Test LIBBFD_INIT_DISASM_INFO_FOUR_ARGS_SIGNATURE
-- Performing Test LIBBFD_INIT_DISASM_INFO_FOUR_ARGS_SIGNATURE - Success
-- Found LibDw: /usr/lib/x86_64-linux-gnu/libdw.so
-- Please install the libpcap development package (missing: LIBPCAP_LIBRARIES 
LIBPCAP_INCLUDE_DIRS) 
-- Please install the libblazesym development package (missing: 
LIBBLAZESYM_LIBRARIES LIBBLAZESYM_INCLUDE_DIRS) 
-- Performing Test HAVE_FFI_CALL
-- Performing Test HAVE_FFI_CALL - Success
-- Found FFI: /usr/lib/x86_64-linux-gnu/libffi.so
-- Could NOT find LibEdit (missing: LibEdit_INCLUDE_DIRS LibEdit_LIBRARIES) 
-- Found zstd: /usr/lib/x86_64-linux-gnu/libzstd.so
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.15.1")
-- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) 
-- Found LLVM 21.1.8: /usr/lib/llvm-21/lib/cmake/llvm
-- Could NOT find LibEdit (missing: LibEdit_INCLUDE_DIRS LibEdit_LIBRARIES) 
-- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) 
-- Using SYSTEM_INCLUDE_PATHS=auto
-- Disabled codegen tests. Requires GNU/GCC and LLVM 18 (found GNU, LLVM 21)
CMake Error at cmake/BuildBPF.cmake:7 (find_program):
  Could not find BPFTOOL using the following names: bpftool 
<==================== Here
Call Stack (most recent call first):
  tests/data/CMakeLists.txt:1 (include)

** Changed in: bpftrace (Ubuntu)
     Assignee: (unassigned) => Nick Rosbrook (enr0n)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2139018

Title:
  bpftrace ftbfs from source, blocking binutils migration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bpftrace/+bug/2139018/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to