[Bug 2086104] Re: bpftrace is broken on Oracular

Nick Rosbrook 2086104 at bugs.launchpad.net
Thu Nov 7 22:20:00 UTC 2024


** Description changed:

  [ Impact ]
  
  Running any arbitrary bpftrace commands in oracular, such as
  
  $ sudo bpftrace -l '*sleep*'
  
  fails with
  
  : CommandLine Error: Option 'debug-counter' registered more than once!
  LLVM ERROR: inconsistency in registered CommandLine options
  Aborted
  
  Making the package currently unusable there.
  
  [ Test Plan ]
  
  In an oracular fresh install, run
  
  $ sudo bpftrace -l '*sleep*'
  
  affected systems will output
  
  : CommandLine Error: Option 'debug-counter' registered more than once!
  LLVM ERROR: inconsistency in registered CommandLine options
  Aborted
  
  while a fixed system will show a list such as
  
  kfunc:vmlinux:__bpf_prog_array_free_sleepable_cb
  kfunc:vmlinux:__ia32_sys_clock_nanosleep
  kfunc:vmlinux:__ia32_sys_clock_nanosleep_time32
  kfunc:vmlinux:__ia32_sys_nanosleep
  ...
  
  Note that bpftrace is a seeded package so you will not need to install
  it to run the tests above.
  
  [ Where problems could occur ]
  
- TBD
+ The patch changes a CMakeLists.txt to *always* link against shared LLVM
+ libraries (because that is what we want). If we saw problems, it would
+ most likely be in the package build itself.
  
  [ Other Info ]
  
  This issue only affects oracular.
  
  [ Original bug report ]
  
  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

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

Title:
  bpftrace is broken on Oracular

Status in bpftrace package in Ubuntu:
  Confirmed
Status in bpftrace source package in Oracular:
  New

Bug description:
  [ Impact ]

  Running any arbitrary bpftrace commands in oracular, such as

  $ sudo bpftrace -l '*sleep*'

  fails with

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

  Making the package currently unusable there.

  [ Test Plan ]

  In an oracular fresh install, run

  $ sudo bpftrace -l '*sleep*'

  affected systems will output

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

  while a fixed system will show a list such as

  kfunc:vmlinux:__bpf_prog_array_free_sleepable_cb
  kfunc:vmlinux:__ia32_sys_clock_nanosleep
  kfunc:vmlinux:__ia32_sys_clock_nanosleep_time32
  kfunc:vmlinux:__ia32_sys_nanosleep
  ...

  Note that bpftrace is a seeded package so you will not need to install
  it to run the tests above.

  [ Where problems could occur ]

  The patch changes a CMakeLists.txt to *always* link against shared
  LLVM libraries (because that is what we want). If we saw problems, it
  would most likely be in the package build itself.

  [ Other Info ]

  This issue only affects oracular.

  [ Original bug report ]

  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 Ubuntu-sponsors mailing list