FS#69654 - [linux] pahole is now a makedep for modules
Attached to Project:
Community Packages
Opened by Pedro Gabriel Drumond Pereira (pedrogabriel) - Tuesday, 16 February 2021, 02:56 GMT
Last edited by Toolybird (Toolybird) - Monday, 08 May 2023, 07:37 GMT
Opened by Pedro Gabriel Drumond Pereira (pedrogabriel) - Tuesday, 16 February 2021, 02:56 GMT
Last edited by Toolybird (Toolybird) - Monday, 08 May 2023, 07:37 GMT
|
Details
Description:
Additional info: * package version(s) 0.8-388 * config and/or log files etc. DKMS make.log for bbswitch-0.8 for kernel 5.11.0-arch1-1 (x86_64) seg 15 fev 2021 23:51:25 -03 make -C /lib/modules/5.11.0-arch1-1/build M="$(pwd)" modules make[1]: Entrando no diretório '/usr/lib/modules/5.11.0-arch1-1/build' CC [M] /var/lib/dkms/bbswitch/0.8/build/bbswitch.o MODPOST /var/lib/dkms/bbswitch/0.8/build/Module.symvers CC [M] /var/lib/dkms/bbswitch/0.8/build/bbswitch.mod.o LD [M] /var/lib/dkms/bbswitch/0.8/build/bbswitch.ko BTF [M] /var/lib/dkms/bbswitch/0.8/build/bbswitch.ko /bin/sh: linha 1: pahole: comando não encontrado make[3]: *** [scripts/Makefile.modfinal:59: /var/lib/dkms/bbswitch/0.8/build/bbswitch.ko] Erro 127 make[3]: ** Apagando arquivo '/var/lib/dkms/bbswitch/0.8/build/bbswitch.ko' make[2]: *** [scripts/Makefile.modpost:117: __modpost] Erro 2 make[1]: *** [Makefile:1704: modules] Erro 2 make[1]: Saindo do diretório '/usr/lib/modules/5.11.0-arch1-1/build' make: *** [Makefile:13: default] Erro 2 Steps to reproduce: Install linux 5.11 with bbswitch-dkms installed |
This task depends upon
[1] https://github.com/archlinux/svntogit-community/commit/d293e6d939a6e672df8d1c0d02c1ad57fb6191fa
[2] https://github.com/archlinux/svntogit-community/commit/0294ef8dc2870a7c41dcfa415dc30dae449a16e1
pedro@engels ~ % LC_ALL=C sudo pacman -Qi bbswitch-dkms
Name : bbswitch-dkms
Version : 0.8-389
Description : Kernel module allowing to switch dedicated graphics card on Optimus laptops
Architecture : x86_64
URL : http://github.com/Bumblebee-Project/bbswitch
Licenses : GPL
Groups : None
Provides : bbswitch
Depends On : dkms
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : bbswitch
Replaces : None
Installed Size : 16.47 KiB
Packager : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date : Mon Feb 15 20:32:23 2021
Install Date : Tue Feb 16 00:48:31 2021
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
Or add pahole to all the DKMS packages as an optdepend or depend.
One can use any of linux-{,lts-,zen-,other}headers plus pahole should not be needed by bcc - the second *headers user.
Like others tools (clang, llvm-ar, etc) defined in this Makefile, pahole is more a requirement of linux-headers scripts to build modules than dkms itself.
These programs are tied with the linux build system, and may change with future kernel release, so if we add dependencies, I think they should be bound to linux-headers packages than dkms.