Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #66089

Bug#948041: impossible to update libbpf without updating the kernel

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Jonathan Nieder <jrnieder@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#948041: impossible to update libbpf without updating the kernel
Date Wed, 15 Jan 2020 07:20:03 +0100
Message-ID <zoKc2-7vg-3@gated-at.bofh.it> (permalink)
References <zkyM9-AC-3@gated-at.bofh.it> <zkzId-1as-5@gated-at.bofh.it> <zkBh0-1Xc-1@gated-at.bofh.it> <zkBK1-2m1-1@gated-at.bofh.it> <zkyM9-AC-3@gated-at.bofh.it> <znzsl-4FB-3@gated-at.bofh.it> <znHpT-1bb-1@gated-at.bofh.it> <znHpT-1bb-1@gated-at.bofh.it> <zkyM9-AC-3@gated-at.bofh.it> <zoKc2-7vg-5@gated-at.bofh.it> <zkyM9-AC-3@gated-at.bofh.it> <zoKc2-7vg-5@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Wed Jan 15 06:15:08 2020
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score 3.397
Reply-To Jonathan Nieder <jrnieder@gmail.com>, 948041@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 948041
X-Debian-Pr-Package src:linux
X-Debian-Pr-Source linux
X-Spam-Bayes score:0.0000 Tokens: new, 22; hammy, 150; neutral, 140; spammy, 0. spammytokens: hammytokens:0.000-+--H*u:1.10.1, 0.000-+--H*UA:1.10.1, 0.000-+--H*u:2018-07-13, 0.000-+--H*UA:2018-07-13, 0.000-+--debianpolicy
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=zq7OKefBpdKvBtaZnC5Xusd8qz09a4Ki+aCHNa30yBE=; b=pYYUe8CLfD259QEmUvxeGQrH+1cgDgqAbGymfRFU6xWEmk4UzHdcEbVmrFCoa+0wV2 Nrp2DmoLVyxcS/5zu4PC6pFxsOw09blM4cdj4olmaKg1eo7HiST5C6Whl7Vh4zwSpkZO Ed8S5yfW9IbqdLEUh4gdgGHfc0fS0y7oXU+wTzzeHucvemAnkjDWDZUFLy5EafZCTmh6 vKKez5FSVGLQD6Od3xkqdQ1R8G+BNp8Ecw0EDg/t3BHbdPYh16DZLzjsXJzN/ZxB7pXV tH5M5IjSONp98Ok8LfelUBwsehjSl9dBeqGMjcERohkGqZ+H3FADQwoPC6F9X8Y6B5cI Asog==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=zq7OKefBpdKvBtaZnC5Xusd8qz09a4Ki+aCHNa30yBE=; b=UrNwvX2LPPuFwVjR64qViTm1F9KRKjlWxKRqcO21ODOlK6uXo3ckIHWZ4MKKaI9701 BErgglFTZC170Z3CIVofNRLO6dJD5SUmSWQFr8Iiz/MGt1/l4ksTjMw5bLB0C2CL3TVF e0rHF12K2t3e0J2DVqEeJWYDCB20YAqrnOfSNAEKDrLQ1CvWJE6KYB58aooca4xxfpxJ QwFLYUeDb3o7cAy5HpCzL0IZ7mmgXES9GGO+m/nnufhFru78VEHvTe2kap7+W8iFMC5D xeOjJ8uIjYXWazXWdP8/ey/nsLDfF/cU/lY70ZFQKHCdtzPNOYlQmZJI+vUtH9P/FUY8 aZFQ==
X-Gm-Message-State APjAAAUhFLOKRZ7nMkRX80ScoptgaPXQUo6oZuS+ZXDhBKmr+CWEJFnj AbSCzRWElIf6IEsOnr9rExA=
X-Google-SMTP-Source APXvYqx20FH8M98Uq/Bh0Ofmvf3TcKE5IRUL5QIUZKlN5dDuQTrM4VbjtCOffn1dqUbDhzaZ/HXWYA==
X-Received by 2002:a17:90a:1697:: with SMTP id o23mr17863217pja.62.1579068726893; Tue, 14 Jan 2020 22:12:06 -0800 (PST)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.10.1 (2018-07-13)
X-Crossassassin-Score 2
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1579294
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 54
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc "waldi@debian.org" <waldi@debian.org>, "sudipm.mukherjee@gmail.com" <sudipm.mukherjee@gmail.com>, "md@Linux.IT" <md@Linux.IT>
X-Original-Date Wed, 15 Jan 2020 06:12:05 +0000
X-Original-Message-ID <20200115061205.GC218782@google.com>
X-Original-References <20200103171255.sqhtr3rpaep5gdmr@debian> <20200103175936.GD490987@bongo.bofh.it> <20200103194944.hvhiczvbe52xphe4@shell.thinkmo.de> <CADVatmMsSG0TG1nq7VFNAnNUZOsWc8=B17d=yno=_vnnZ4JDOw@mail.gmail.com> <20200103171255.sqhtr3rpaep5gdmr@debian> <20200112002820.zebojotzoeeaukc2@debian> <20200112085155.yeumrrrp2wtiarlk@shell.thinkmo.de> <20200112085155.yeumrrrp2wtiarlk@shell.thinkmo.de> <20200103171255.sqhtr3rpaep5gdmr@debian> <0bd726ba-be20-ba91-0a52-60c38b28ff3b@fb.com> <20200103171255.sqhtr3rpaep5gdmr@debian> <0bd726ba-be20-ba91-0a52-60c38b28ff3b@fb.com>
Xref csiph.com linux.debian.bugs.dist:991410 linux.debian.kernel:66089

Cross-posted to 2 groups.

Show key headers only | View raw


retitle 948041 libbpf-dev: please build from https://github.com/libbpf/libbpf
reassign 948041 libbpf-dev
merge 942903 948041
quit

Hi,

Julia Kartseva wrote:
> On Sun, 12 Jan 2020 09:51:55 +0100 Bastian Blank <waldi@debian.org> wrote:

>> Why should we?  If the upstream developers decide to maintain it
>> independently, aka don't use the kernel repo as true source, or better,
>> remove the source from it, then we have something to do.

I agree --- if upstream development were happening in
https://github.com/libbpf/libbpf then this would be a no-brainer.  It
appears to instead be a mirror of the source that's in the kernel
repo, though.

> Why should we switch from kernel sources to GH is a frequently asked
> question so the reason was explained in libbpf README [1].

If I'm reading that correctly, the intent appears to be that it would
allow faster libbpf upgrades.

In the context of the Debian project, that could go both ways.  The
Linux kernel packages are very well maintained.  New versions appear
in stable-backports pretty quickly, and that's *less* likely to happen
with a separate libbpf source package.  Binary package dependencies do
not force an end user to use the same version of the kernel as
userspace tools like this one.  Debian even permits binary packages to
have different version numbers from the source package they were built
from.

Depending packages would likely use Debian's shlibs or symbols
mechanism (if upstream provides symbol versioning, that is very
helpful) to automatically produce appropriate dependencies.  More
details about this are at
https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#dependencies-between-the-library-and-other-packages

So this appears to impose exactly the same costs and benefits as any
other instance where someone splits a binary package that comes from
the same upstream source package into a separate Debian source
package.  Sometimes that is the right thing to do, especially when the
Debian maintainers for the two packages do not work very closely
together.  Is that the case here?

Is there some underlying need that we could address more directly?
I think I'm missing some piece of the motivation here.

Thanks,
Jonathan

> [1] https://github.com/libbpf/libbpf#distributions

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#948041: impossible to update libbpf without updating the kernel Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-01-03 18:20 +0100
  Bug#948041: impossible to update libbpf without updating the kernel Marco d'Itri <md@Linux.IT> - 2020-01-03 19:20 +0100
    Bug#948041: impossible to update libbpf without updating the kernel Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-01-03 19:50 +0100
    Bug#948041: impossible to update libbpf without updating the kernel Bastian Blank <bblank@thinkmo.de> - 2020-01-03 21:00 +0100
      Bug#948041: impossible to update libbpf without updating the kernel Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-01-03 21:30 +0100
        Bug#948041: impossible to update libbpf without updating the kernel Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-01-12 01:40 +0100
          Bug#948041: impossible to update libbpf without updating the kernel Bastian Blank <waldi@debian.org> - 2020-01-12 10:10 +0100
  Bug#948041: impossible to update libbpf without updating the kernel Jonathan Nieder <jrnieder@gmail.com> - 2020-01-15 07:20 +0100
    Bug#948041: impossible to update libbpf without updating the kernel Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-01-15 14:00 +0100
      Bug#948041: impossible to update libbpf without updating the kernel Bastian Blank <bblank@thinkmo.de> - 2020-01-18 16:50 +0100
        Bug#948041: impossible to update libbpf without updating the kernel Andrii Nakryiko <andrii.nakryiko@gmail.com> - 2020-01-20 07:50 +0100
      Bug#948041: impossible to update libbpf without updating the kernel Ben Hutchings <ben@decadent.org.uk> - 2020-01-31 17:20 +0100
        Bug#948041: impossible to update libbpf without updating the kernel Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-01-31 17:40 +0100
          Bug#948041: impossible to update libbpf without updating the kernel Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-02-05 22:10 +0100
  Bug#948041: marked as done (libbpf-dev: please build from  https://github.com/libbpf/libbpf) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-04-12 00:10 +0200

csiph-web