Source: linux
Version: 7.3.3-1
Severity: wishlist

I was trying to build a kernel yesterday when I saw this:

```sh
make[5]: Entering directory 
'/home/diederik/dev/debian/salsa/kernel-team/linux/tools/perf'
...
Auto-detecting system features:
...
...                  babeltrace2-ctf-writer: [ on  ]
...
```

That 'on' appeared after being instructed to install ``libbabeltrace2-dev``.
Debian currently B-D on ``libbabeltrace-dev``.

Searched for it in upstream commits and found the following:
536e81f07450 ("perf data ctf: replace libbabeltrace with 
babeltrace2-ctf-writer")
01c7a389d1ff ("perf build: install-build-deps: add Debian devel package 
mapping")

https://git.linux.org/linus/536e81f07450 
https://git.linux.org/linus/01c7a389d1ff 

The first commit's commit message has the following:

    perf data ctf: replace libbabeltrace with babeltrace2-ctf-writer

    The 1.x branch of Babeltrace has been superseded by 2.x in 2020 and has
    been unmaintained since 2022, efforts have started to remove it from
    popular distributions.

    Babeltrace 2.x offers a very similar 'ctf-writer' library that can be used
    with minimal changes for the '--to-ctf' feature and has been packaged
    since Debian 11 and Fedora 32.

The first commit landed in 7.2-rc1 and the second in 7.3-rc1.
So it seems the B-D should be changed to libbabeltrace2-dev?

Cheers,
  Diederik

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.2.9+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to