Bug#979016: libbpfcc: vendors libbpf

2021-01-07 Thread Vincent Bernat
 ❦  7 janvier 2021 09:46 GMT, Luca Boccassi:

> CC'ing Vincent, as maintainer of bpftrace - looks like this will be
> part of bullseye. There should be no changes from the point of view of
> bpftrace, as it's an internal detail of bpfcc's library, but just in
> case.

Let's try. If there is a problem, we still have time to fix it.
-- 
It is often the case that the man who can't tell a lie thinks he is the best
judge of one.
-- Mark Twain, "Pudd'nhead Wilson's Calendar"



Bug#979016: libbpfcc: vendors libbpf

2021-01-07 Thread Luca Boccassi
On Mon, 04 Jan 2021 11:34:42 +0530 Vasudev Kamath 
 wrote:
> Luca Boccassi  writes:
> 
> > Package: libbpfcc
> > Version: 0.8.0-4
> > Severity: important
> > Tags: bullseye patch
> >
> > Dear Maintainer(s),
> >
> > libbpfcc vendors and statically links against libbpf, which is now
> > available in the Debian archive as a fully maintained shared library.
> >
> > This is a problem in the upstream CMake files, I've sent a PR to fix it:
> >
> > https://github.com/iovisor/bcc/pull/3210
> >
> > I have also prepared a backport and tested it, and opened a MR on Salsa:
> >
> > https://salsa.debian.org/debian/bpfcc/-/merge_requests/9
> >
> > This allows to unvendor the library, and only link against it
> > dynamically from the packaged version.
> >
> > Please consider applying it before the bullseye freeze.
> 
> Thank you Luca, I've been trying to get this working for some time now
> but was failing due to CMakefile issue I even reported the same to
> upstream but with little help. Since I was not very well versed in CMake
> I gave up.
> 
> I will review this and merge it soon.
> 
> Cheers,
> Vasudev

CC'ing Vincent, as maintainer of bpftrace - looks like this will be
part of bullseye. There should be no changes from the point of view of
bpftrace, as it's an internal detail of bpfcc's library, but just in
case.

-- 
Kind regards,
Luca Boccassi


signature.asc
Description: This is a digitally signed message part


Bug#979016: libbpfcc: vendors libbpf

2021-01-03 Thread Vasudev Kamath
Luca Boccassi  writes:

> Package: libbpfcc
> Version: 0.8.0-4
> Severity: important
> Tags: bullseye patch
>
> Dear Maintainer(s),
>
> libbpfcc vendors and statically links against libbpf, which is now
> available in the Debian archive as a fully maintained shared library.
>
> This is a problem in the upstream CMake files, I've sent a PR to fix it:
>
> https://github.com/iovisor/bcc/pull/3210
>
> I have also prepared a backport and tested it, and opened a MR on Salsa:
>
> https://salsa.debian.org/debian/bpfcc/-/merge_requests/9
>
> This allows to unvendor the library, and only link against it
> dynamically from the packaged version.
>
> Please consider applying it before the bullseye freeze.

Thank you Luca, I've been trying to get this working for some time now
but was failing due to CMakefile issue I even reported the same to
upstream but with little help. Since I was not very well versed in CMake
I gave up.

I will review this and merge it soon.

Cheers,
Vasudev



Bug#979016: libbpfcc: vendors libbpf

2021-01-01 Thread Luca Boccassi
Package: libbpfcc
Version: 0.8.0-4
Severity: important
Tags: bullseye patch

Dear Maintainer(s),

libbpfcc vendors and statically links against libbpf, which is now
available in the Debian archive as a fully maintained shared library.

This is a problem in the upstream CMake files, I've sent a PR to fix it:

https://github.com/iovisor/bcc/pull/3210

I have also prepared a backport and tested it, and opened a MR on Salsa:

https://salsa.debian.org/debian/bpfcc/-/merge_requests/9

This allows to unvendor the library, and only link against it
dynamically from the packaged version.

Please consider applying it before the bullseye freeze.

Thank you!

Kind regards,
Luca Boccassi