@gnaggnoyil Same problem. Looks like resolve_btfids is returning EINVAL. Could this have something to do with the kernel 6 release or just a coincidence?
Search Criteria
Package Details: linux-lts510 5.10.237-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/linux-lts510.git (read-only, click to copy) |
---|---|
Package Base: | linux-lts510 |
Description: | The LTS 5.10 Linux kernel and modules |
Upstream URL: | https://www.kernel.org/ |
Keywords: | kernel linux |
Licenses: | GPL2 |
Provides: | VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE |
Submitter: | jonathon |
Maintainer: | severach |
Last Packager: | severach |
Votes: | 10 |
Popularity: | 0.000315 |
First Submitted: | 2022-01-11 00:20 (UTC) |
Last Updated: | 2025-05-02 23:14 (UTC) |
Dependencies (19)
- coreutils (coreutils-gitAUR, coreutils-selinuxAUR, coreutils-uutils-symlinkAUR, coreutils-uutilsAUR, coreutils-vlang-gitAUR, coreutils-uutils-selinuxAUR)
- initramfs (booster-gitAUR, booster-wip-gitAUR, mkinitcpio-gitAUR, dracut-gitAUR, ugrd-gitAUR, booster, dracut, mkinitcpio)
- kmod (kmod-gitAUR)
- bc (bc-ghAUR) (make)
- cpio (cpio-gitAUR) (make)
- graphviz (make)
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR) (make)
- kmod (kmod-gitAUR) (make)
- libelf (elfutils-gitAUR) (make)
- pahole (pahole-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python-six (make)
- python-sphinx (python-sphinx-gitAUR) (make)
- python-sphinx_rtd_theme (make)
- tar (tar-gitAUR) (make)
- xmlto (xmlto-gitAUR) (make)
- xz (xz-gitAUR) (make)
- crda (wireless-regdb) (optional) – to set the correct wireless channels of your country
- linux-firmware (linux-libre-firmwareAUR, linux-firmware-gitAUR, linux-firmware-uncompressedAUR) (optional) – firmware images needed for some devices
Required by (5)
- mullvad-wg.sh-git (requires WIREGUARD-MODULE) (optional)
- piavpn-bin (requires WIREGUARD-MODULE) (optional)
- piavpn-manual-git (requires WIREGUARD-MODULE)
- virtualbox-guest-utils-nox-svn (requires VIRTUALBOX-GUEST-MODULES)
- virtualbox-guest-utils-svn (requires VIRTUALBOX-GUEST-MODULES)
Sources (7)
- 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
- 0003-Sphinx-7.2.2-8.0-PosixPath.patch
- 0004-depmod-remove-depmod_hack_needed.patch
- 0005-kernel-5.10-depmod-disable-for-packaging.patch
- config
- https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.10.237.tar.sign
- https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.10.237.tar.xz
ozz commented on 2022-10-15 21:40 (UTC)
gnaggnoyil commented on 2022-10-15 13:12 (UTC)
I just encountered the following error when I ran extra-x86_64-build
for this package:
LD vmlinux
BTFIDS vmlinux
FAILED: load BTF from vmlinux: Unknown error -22make: *** [Makefile:1189: vmlinux] Error 255
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/gnaggnoyil/build
Is there anyone facing the same problem here? What could possibly go wrong?
ozz commented on 2022-05-18 12:32 (UTC) (edited on 2022-05-18 13:23 (UTC) by ozz)
@jonathon Towards the end of the build the latex
command is used for something (documentation?) but the build skips it if it's not available.
I thought texlive-bin
might be pulled in by texinfo
but it is not. Anyway, sorry for the noise.
jonathon commented on 2022-05-18 10:09 (UTC)
As per the page linked in the pinned comment, those build dependencies are in base-devel
.
I don't know why texlive-bin
would be an optional dependency of a kernel - could you expand on that?
ozz commented on 2022-05-18 06:32 (UTC) (edited on 2022-05-18 06:58 (UTC) by ozz)
This package is missing dependencies: patch, make, gcc, flex, bison
Missing optional dependencies: texlive-bin
Bitals commented on 2022-05-13 12:39 (UTC)
Right, my bad, was sure that I also built it with gcc12, but checked again and turns out I didn't. Sorry about that.
jonathon commented on 2022-05-13 10:44 (UTC)
You need to build both the kernel and the modules with the same GCC version.
If you need help then please open a thread on the forum.
Bitals commented on 2022-05-13 10:37 (UTC)
Post-install job Install DKMS modules
failed for every module:
...
==> dkms install --no-depmod ashmem/1 -k 5.10.115-1-lts510
Error! Bad return status for module build on kernel: 5.10.115-1-lts510 (x86_64)
Consult /var/lib/dkms/ashmem/1/build/make.log for more information.
==> WARNING: `dkms install --no-depmod ashmem/1 -k 5.10.115-1-lts510' exited 10
...
/var/lib/dkms/ashmem/1/build/make.log:
DKMS make.log for ashmem-1 for kernel 5.10.115-1-lts510 (x86_64)
Fri 13 May 12:48:56 MSK 2022
make -C /lib/modules/5.10.115-1-lts510/build V=0 M=$PWD
make[1]: Entering directory '/usr/lib/modules/5.10.115-1-lts510/build'
CC [M] /var/lib/dkms/ashmem/1/build/deps.o
CC [M] /var/lib/dkms/ashmem/1/build/ashmem.o
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
make[2]: *** [scripts/Makefile.build:280: /var/lib/dkms/ashmem/1/build/ashmem.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/Makefile.build:280: /var/lib/dkms/ashmem/1/build/deps.o] Error 1
make[1]: *** [Makefile:1822: /var/lib/dkms/ashmem/1/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.10.115-1-lts510/build'
make: *** [Makefile:12: all] Error 2
Using gcc 12 from the repos.
andrius4669 commented on 2022-04-09 03:14 (UTC)
correct checksum is dbef6a06325433481551cb8cfca9254d908d0ae950bc809f3da8ade00c485693 now..?
Pinned Comments
jonathon commented on 2022-01-11 19:25 (UTC) (edited on 2022-05-18 10:09 (UTC) by jonathon)
Please make sure you read the "How to use the AUR" wiki page before reporting issues: https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_and_upgrading_packages
A binary package is also available in my kernel-lts unofficial user repository.