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


Groups > linux.debian.kernel > #86223

Bug#1098706: /bin/sh: 1: /usr/src/linux-headers-6.13-amd64/tools/bpf/resolve_btfids/resolve_btfids: not found

Path csiph.com!news.mixmin.net!sewer!alphared!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1098706: /bin/sh: 1: /usr/src/linux-headers-6.13-amd64/tools/bpf/resolve_btfids/resolve_btfids: not found
Date Sat, 01 Mar 2025 08:10:01 +0100
Message-ID <Klp8Z-2LAA-5@gated-at.bofh.it> (permalink)
References <Kl7c5-2zcx-5@gated-at.bofh.it> <Kj8YF-1gi5-1@gated-at.bofh.it> <KljGh-2HAU-5@gated-at.bofh.it> <Kj8YF-1gi5-1@gated-at.bofh.it> <KljGh-2HAU-3@gated-at.bofh.it> <Kj8YF-1gi5-1@gated-at.bofh.it> <KljGh-2HAU-3@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sat Mar 1 07:00:10 2025
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.999
Reply-To Salvatore Bonaccorso <carnil@debian.org>, 1098706@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 1098706
X-Debian-Pr-Package src:linux
X-Debian-Pr-Keywords ftbfs confirmed
X-Debian-Pr-Source linux
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Debian-User carnil
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1890138
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 114
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sat, 1 Mar 2025 07:57:52 +0100
X-Original-Message-ID <Z8Kv8NeTzHFBQgHB@eldamar.lan>
X-Original-References <E1tnyso-006rzI-1U@fasolo.debian.org> <174027350025.1547094.14691364875593196128.reportbug@caipi> <handler.1098706.D1098706.1740743424286513.notifdone@bugs.debian.org> <174027350025.1547094.14691364875593196128.reportbug@caipi> <fc94e87a-b322-a343-b647-bdf6f5ddc439@debian.org> <174027350025.1547094.14691364875593196128.reportbug@caipi> <fc94e87a-b322-a343-b647-bdf6f5ddc439@debian.org>
Xref csiph.com linux.debian.bugs.dist:1235536 linux.debian.kernel:86223

Cross-posted to 2 groups.

Show key headers only | View raw


Control: tags -1 + unreproducible moreinfo

Hi Andreas,

On Sat, Mar 01, 2025 at 02:12:16AM +0100, Andreas Beckmann wrote:
> Control: found -1 6.13.5-1~exp1
> 
> with pahole available, the next script is missing:
> /usr/src/linux-headers-@KVERS@/tools/bpf/resolve_btfids/resolve_btfids
> 
> DKMS (dkms-3.1.5) make.log for dkms_test/1.0 for kernel 6.13-amd64 (x86_64)
> Sat Mar  1 01:09:31 UTC 2025
> 
> Building module(s)
> # command: make -j14 KERNELRELEASE=6.13-amd64 -C /lib/modules/6.13-amd64/build M=/var/lib/dkms/dkms_test/1.0/build
> make: Entering directory '/usr/src/linux-headers-6.13-amd64'
> make[1]: Entering directory '/var/lib/dkms/dkms_test/1.0/build'
>   CC [M]  dkms_test.o
>   MODPOST Module.symvers
>   CC [M]  dkms_test.mod.o
>   CC [M]  .module-common.o
>   LD [M]  dkms_test.ko
>   BTF [M] dkms_test.ko
> /bin/sh: 1: /usr/src/linux-headers-6.13-amd64/tools/bpf/resolve_btfids/resolve_btfids: not found
> make[3]: *** [/usr/src/linux-headers-6.13-common/scripts/Makefile.modfinal:59: dkms_test.ko] Error 127
> make[3]: *** Deleting file 'dkms_test.ko'
> make[2]: *** [/usr/src/linux-headers-6.13-common/Makefile:1939: modules] Error 2
> make[1]: *** [/usr/src/linux-headers-6.13-common/Makefile:263: __sub-make] Error 2
> make[1]: Leaving directory '/var/lib/dkms/dkms_test/1.0/build'
> make: *** [/usr/src/linux-headers-6.13-common/Makefile:263: __sub-make] Error 2
> make: Leaving directory '/usr/src/linux-headers-6.13-amd64'
> 
> # exit code: 2
> # elapsed time: 00:00:02
> ----------------------------------------------------------------

I cannot reproduce your issue. The resolve_btfids was already included
earlier, and triggered without the pahole dependency the problem.

[...]
Setting up bpftool (7.6.0+6.13.5-1~exp1) ...
Setting up linux-libc-dev (6.13.5-1~exp1) ...
Setting up linux-headers-6.13-common (6.13.5-1~exp1) ...
Setting up linux-image-6.13-amd64 (6.13.5-1~exp1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.12.16-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-6.12.16-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-6.13-amd64
I: /initrd.img is now a symlink to boot/initrd.img-6.13-amd64
/etc/kernel/postinst.d/dkms:

Sign command: /lib/modules/6.13-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Autoinstall of module dkms_test/1.0 for kernel 6.13-amd64 (x86_64)
Cleaning build area... done.
Building module(s)... done.
Signing module /var/lib/dkms/dkms_test/1.0/build/dkms_test.ko
Cleaning build area... done.
Installing /lib/modules/6.13-amd64/updates/dkms/dkms_test.ko.xz
Running depmod... done.

Autoinstall on 6.13-amd64 succeeded for module(s) dkms_test.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.13-amd64
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.13-amd64
Found initrd image: /boot/initrd.img-6.13-amd64
Found linux image: /boot/vmlinuz-6.12.16-amd64
Found initrd image: /boot/initrd.img-6.12.16-amd64
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Setting up linux-perf (6.13.5-1~exp1) ...
Setting up pahole (1.29-2) ...
Setting up dkms-test-dkms (3.1.5-1) ...
Removing old dkms_test/1.0 DKMS files...
Module dkms_test/1.0 for kernel 6.13-amd64 (x86_64):
Before uninstall, this module version was ACTIVE on this kernel.
Deleting /lib/modules/6.13-amd64/updates/dkms/dkms_test.ko.xz
Running depmod... done.

Deleting module dkms_test/1.0 completely from the DKMS tree.
Loading new dkms_test/1.0 DKMS files...
Building for 6.12.16-amd64 and 6.13-amd64

Building initial module dkms_test/1.0 for 6.12.16-amd64
Done.
Installing /lib/modules/6.12.16-amd64/updates/dkms/dkms_test.ko.xz
Running depmod... done.

Building initial module dkms_test/1.0 for 6.13-amd64
Done.
Installing /lib/modules/6.13-amd64/updates/dkms/dkms_test.ko.xz
Running depmod... done.
Setting up linux-image-amd64 (6.13.5-1~exp1) ...
Setting up linux-kbuild-6.13 (6.13.5-1~exp1) ...
Setting up linux-headers-6.13-amd64 (6.13.5-1~exp1) ...
Setting up linux-headers-amd64 (6.13.5-1~exp1) ...
Processing triggers for man-db (2.13.0-1) ...

I would like to see this fixed ASAP for unstable but I have now
postponed my 6.12.17-1 upload. It would be great if you can confirm if
there was just a local problem.

# dpkg -S resolve_btfids/resolve_btfids
linux-kbuild-6.12.16: /usr/lib/linux-kbuild-6.12.16/tools/bpf/resolve_btfids/resolve_btfids
linux-kbuild-6.13: /usr/lib/linux-kbuild-6.13/tools/bpf/resolve_btfids/resolve_btfids

Regards,
Salvatore

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


Thread

Bug#1098706: linux: building out-of-tree modules fails with pahole: not found Andreas Beckmann <anbe@debian.org> - 2025-02-23 02:30 +0100
  Bug#1098706: linux: building out-of-tree modules fails with pahole: not found Salvatore Bonaccorso <carnil@debian.org> - 2025-02-23 16:30 +0100
  Bug#1098706: marked as done (linux: building out-of-tree modules  fails with pahole: not found) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-02-28 13:00 +0100
  Processed: /bin/sh: 1: /usr/src/linux-headers-6.13-amd64/tools/bpf/resolve_btfids/resolve_btfids:  not found "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-03-01 08:10 +0100
  Bug#1098706: /bin/sh: 1: /usr/src/linux-headers-6.13-amd64/tools/bpf/resolve_btfids/resolve_btfids: not found Salvatore Bonaccorso <carnil@debian.org> - 2025-03-01 08:10 +0100
    Bug#1098706: /bin/sh: 1: /usr/src/linux-headers-6.13-amd64/tools/bpf/resolve_btfids/resolve_btfids: not found Andreas Beckmann <anbe@debian.org> - 2025-03-01 14:10 +0100
  Processed: Re: /bin/sh: 1: /usr/src/linux-headers-6.13-amd64/tools/bpf/resolve_btfids/resolve_btfids:  not found "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-03-01 14:10 +0100
  Bug#1098706: marked as done (linux: building out-of-tree modules  fails with pahole: not found) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-03-02 01:10 +0100

csiph-web