[Bug 2086104] Re: bpftrace is broken on Oracular

Mate Kukri 2086104 at bugs.launchpad.net
Thu Nov 7 18:43:39 UTC 2024


This is caused by two copies of LLVM being linked into the bpftrace
binary: both the shared libraryand the static ones.

I guess if these are the same version this doesnt cause issues, but a
later LLVM update left the static one s out of date.

The patch is to change the build process to only link the shared LLVM.
This applies to plucky too, and should be backported to Oracular to
unbreak bpftrace.

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

Title:
  bpftrace is broken on Oracular

Status in bpftrace package in Ubuntu:
  Confirmed

Bug description:
  In oracular, with bpftrace version 0.21.2-1ubuntu1, when I run any
  arbitrary bpftrace command such as

  $ sudo bpftrace -l '*sleep*'

  I get the following error:

  : CommandLine Error: Option 'debug-counter' registered more than once!
  LLVM ERROR: inconsistency in registered CommandLine options
  Aborted

  Making the package currently unusable in oracular.

  Possibly related upstream bug:
  https://github.com/bpftrace/bpftrace/issues/1855

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




More information about the foundations-bugs mailing list