Package: bpftrace
Version: 0.20.2-1
Severity: normal

Hi. I'm running Debian/sid. I just "apt build-dep bpftrace" and I tried
building the latest bpftrace from git. This is at the latest tag:

  dima@shorty:~/debianstuff/bpftrace$ git describe --tags
  debian/0.20.2-1

The build fails during the cmake configuration:

  -- Found LLVM 17.0.6: /usr/lib/llvm-17/lib/cmake/llvm
  CMake Error at /usr/lib/llvm-14/lib/cmake/clang/ClangTargets.cmake:756 
(message):
    The imported target "clangBasic" references the file

       "/usr/lib/llvm-14/lib/libclangBasic.a"

    but this file does not exist.  Possible reasons include:

    * The file was deleted, renamed, or moved to another location.

    * An install or uninstall procedure did not complete successfully.

    * The installation package was faulty and contained

       "/usr/lib/llvm-14/lib/cmake/clang/ClangTargets.cmake"

    but not all the files it references.

  Call Stack (most recent call first):
    /usr/lib/cmake/clang-14/ClangConfig.cmake:19 (include)
    CMakeLists.txt:158 (find_package)

To make it work, I had to remove these packages, one at a time:

  clang-13
  clang-14
  clang-16

I didn't have clang-15 installed, but presumably it would have confused
the build as well. These extra packages being installed shouldn't
confuse anything.

Thanks.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (500, 'unstable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.13-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bpftrace depends on:
ii  libbpf1          1:1.4.1-1
ii  libbpfcc         0.29.1+ds-1.1
ii  libc6            2.38-11
ii  libclang1-17t64  1:17.0.6-12
ii  libdw1t64        0.191-1
ii  libgcc-s1        14.1.0-1
ii  libllvm17t64     1:17.0.6-12
ii  libstdc++6       14.1.0-1
ii  zlib1g           1:1.3.dfsg+really1.3.1-1

Versions of packages bpftrace recommends:
ii  libc6-dev  2.38-11

bpftrace suggests no packages.

-- no debconf information

Reply via email to