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


Groups > linux.debian.kernel > #81983

Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package

From Luca Boccassi <bluca@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package
Date 2024-03-02 01:50 +0100
Message-ID <IdlJD-dNWH-5@gated-at.bofh.it> (permalink)
References <IcPJM-dtkW-3@gated-at.bofh.it> <IcvUK-dfIi-21@gated-at.bofh.it> <IcPJM-dtkW-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, 29 Feb 2024 14:23:05 +0000 Colm Buckley <colm@tuatha.org>
wrote:
> On Thu, 29 Feb 2024 13:38:12 +0100 Bastian Blank <waldi@debian.org>
wrote:
> > On Thu, Feb 29, 2024 at 12:12:21PM +0000, Luca Boccassi wrote:
> > > With the new vmlinux.h shipped in the headers package, the BTF
case
> > > should be covered.
> >
> > The relevant code in Linux is:
> >
> > | quiet_cmd_btf_ko = BTF [M] $@
> > |       cmd_btf_ko =
>  \
> > |         if [ ! -f vmlinux ]; then
> \
> > |                 printf "Skipping BTF generation for %s due to
> unavailability of vmlinux\n" $@ 1>&2; \
> > |         else
>  \
> > |                 LLVM_OBJCOPY="$(OBJCOPY)" $(PAHOLE) -J
$(PAHOLE_FLAGS)
> --btf_base vmlinux $@; \
> > |                 $(RESOLVE_BTFIDS) -b vmlinux $@;
>  \
> > |         fi;
> >
> > Which change is needed here to use vmlinux.h instead?
> 
> My understanding is that you don't need this command at all; the
included
> vmlinux.h already contains the necessary type definitions for libbpf,
for
> the kernel source version in question - ie: instead of needing to run
> pahole or bpftool to extract these definitions from a specific
vmlinux
> image, this file is distributed with them already included.

Yes precisely, the bpf program source can just include vmlinux.h and it
should build and run as expected.

-- 
Kind regards,
Luca Boccassi

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


Thread

Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Colm Buckley <colm@tuatha.org> - 2024-02-28 18:30 +0100
  Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Colm Buckley <colm@tuatha.org> - 2024-02-28 18:40 +0100
  Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Bastian Blank <waldi@debian.org> - 2024-02-29 11:40 +0100
    Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Colm Buckley <colm@tuatha.org> - 2024-02-29 12:20 +0100
      Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Bastian Blank <waldi@debian.org> - 2024-02-29 12:30 +0100
        Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Luca Boccassi <bluca@debian.org> - 2024-02-29 13:20 +0100
          Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Bastian Blank <waldi@debian.org> - 2024-02-29 13:40 +0100
            Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Bastian Blank <waldi@debian.org> - 2024-04-06 09:52 +0200
      Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Colm Buckley <colm@tuatha.org> - 2024-02-29 12:40 +0100
  Processed: Re: Bug#1064976: linux-headers-6.6.13+bpo-amd64  incorrectly depends on the corresponding linux-image-amd64 package "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-02-29 11:40 +0100
  Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Colm Buckley <colm@tuatha.org> - 2024-02-29 15:40 +0100
    Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Luca Boccassi <bluca@debian.org> - 2024-03-02 01:50 +0100
      Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Bastian Blank <waldi@debian.org> - 2024-03-04 11:40 +0100
        Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Luca Boccassi <bluca@debian.org> - 2024-03-04 12:40 +0100
          Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Bastian Blank <waldi@debian.org> - 2024-03-04 14:00 +0100
            Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Luca Boccassi <bluca@debian.org> - 2024-03-06 15:20 +0100
  Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Colm Buckley <colm@tuatha.org> - 2024-03-04 11:10 +0100
  Bug#1064976:  colm <colm@tuatha.org> - 2024-03-07 12:30 +0100
  Bug#1064976:  Colm Buckley <colm@tuatha.org> - 2024-03-14 11:00 +0100
  Bug#1064976: linux-headers-amd64: linux-headers-* incorrectly depends on linux-image-* Colm Buckley <colm@tuatha.org> - 2024-03-19 13:40 +0100
    Bug#1064976: linux-headers-amd64: linux-headers-* incorrectly depends on linux-image-* Luca Boccassi <bluca@debian.org> - 2024-04-06 09:52 +0200
  Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Luca Boccassi <bluca@debian.org> - 2024-04-06 09:50 +0200
  Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Bastian Blank <waldi@debian.org> - 2024-04-06 09:50 +0200
    Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Luca Boccassi <bluca@debian.org> - 2024-04-06 09:51 +0200
      Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Bastian Blank <waldi@debian.org> - 2024-04-06 09:51 +0200
  Bug#1064976: Having headers depend on image - bad idea I think Bastian Blank <waldi@debian.org> - 2024-04-06 09:50 +0200
  Bug#1064976: Having headers depend on image - bad idea I think Colm Buckley <colm@tuatha.org> - 2024-04-06 09:50 +0200
  Processed: Re: Bug#1064976: linux-headers-6.6.13+bpo-amd64  incorrectly depends on the corresponding linux-image-amd64 package "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-04-06 09:50 +0200
  Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Luca Boccassi <bluca@debian.org> - 2024-04-06 09:50 +0200
  Processed: Re: linux-headers-amd64: linux-headers-* incorrectly  depends on linux-image-* "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-04-06 09:51 +0200
  Bug#1064976: Having headers depend on image - bad idea I think Colm Buckley <colm@tuatha.org> - 2024-04-06 09:51 +0200
  Processed: Having headers depend on image - bad idea I think "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-04-06 09:51 +0200
  Bug#1064976: marked as done (linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package) Bastian Blank <waldi@debian.org> - 2024-04-06 09:51 +0200
  Bug#1064976: linux-headers-6.6.13 bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package Colm Buckley <colm@tuatha.org> - 2024-04-06 09:51 +0200
  Bug#1064976: marked as done (linux-headers-6.6.13+bpo-amd64  incorrectly depends on the corresponding linux-image-amd64 package) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-04-06 09:51 +0200
  Bug#1064976: Sad user. Colm Buckley <colm@tuatha.org> - 2024-05-16 23:30 +0200

csiph-web