You are not logged in.
Since version 6.1.6 (or 6.1.5), all the kernel modules failed to build due to a missing file:
DKMS make.log for hid-nintendo-1.2 for kernel 6.2.2-arch2-1 (x86_64)
dom 12 mar 2023 12:03:49 -03
make: Entering directory '/usr/lib/modules/6.2.2-arch2-1/build'
CC [M] /var/lib/dkms/hid-nintendo/1.2/build/hid-nintendo.o
In file included from <command-line>:
././include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory
5 | #include <generated/autoconf.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.build:252: /var/lib/dkms/hid-nintendo/1.2/build/hid-nintendo.o] Error 1
make: *** [Makefile:2021: /var/lib/dkms/hid-nintendo/1.2/build] Error 2
make: Leaving directory '/usr/lib/modules/6.2.2-arch2-1/build'
this also occur with v4l2loopback, zenpower3, etc...
I think the problem is shown in the output of `pacman -Qikk linux-headers`:
Name : linux-headers
Version : 6.2.2.arch2-1
Description : Headers and scripts for building modules for the Linux kernel
Architecture : x86_64
URL : [url]https://github.com/archlinux/linux/commits/v6.2.2-arch2[/url]
Licenses : GPL2
Groups : None
Provides : None
Depends On : pahole
Optional Deps : None
Required By : None
Optional For : dkms r8125-dkms
Conflicts With : None
Replaces : None
Installed Size : 158,71 MiB
Packager : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date : qua 08 mar 2023 01:07:29
Install Date : dom 12 mar 2023 11:47:24
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
warning: linux-headers: /usr/lib/modules/6.2.2-arch2-1/build/include/generated/autoconf.h (No such file or directory)
warning: linux-headers: /usr/lib/modules/6.2.2-arch2-1/build/include/generated/rustc_cfg (No such file or directory)
warning: linux-headers: /usr/lib/modules/6.2.2-arch2-1/build/scripts/kconfig/.conf.cmd (Modification time mismatch)
warning: linux-headers: /usr/lib/modules/6.2.2-arch2-1/build/scripts/kconfig/conf (Modification time mismatch)
warning: linux-headers: /usr/lib/modules/6.2.2-arch2-1/build/scripts/kconfig/conf (Size mismatch)
warning: linux-headers: /usr/lib/modules/6.2.2-arch2-1/build/scripts/kconfig/conf (MD5 checksum mismatch)
warning: linux-headers: /usr/lib/modules/6.2.2-arch2-1/build/scripts/kconfig/conf (SHA256 checksum mismatch)
Even with full reinstallation (uninstall, clear cache and install again), those 2 first files still missing. Is there an way to me to fix this specific problem or I should rollback to a working version?
I found some kernel packages with supposedly fixed versions, would this prevent kernel and headers updates?
Also, I tried to manually put the missing files from the original package, it doesn't worked.
EDIT: by removing hid-nintendo-nso-dkms / hid-nintendo-dkms, the missing files is restored, allowing the other kernel modules to be installed normaly. This won't affect the behaivor of Switch Pro Controller.
Last edited by narvy (2023-03-12 20:45:07)
Offline
Do you have anything set in NoExtract in pacman.conf? Do you run any cleanup software like bleachbit?
Offline
I tried to manually put the missing files from the original package, it doesn't worked.
After you manually installed the files were they detected correctly by
pacman -Qkk linux-headers
before you ran any dkms commands?
Offline
Do you have anything set in NoExtract in pacman.conf? Do you run any cleanup software like bleachbit?
None of both options, everything about the headers and modules worked fine for months on.
Offline
narvy wrote:I tried to manually put the missing files from the original package, it doesn't worked.
After you manually installed the files were they detected correctly by
pacman -Qkk linux-headers
before you ran any dkms commands?
Yes, they appeared in Qkk with only mismatch modification time, but dkms installation still failed with the same error.
Offline
Assuming the dkms command removed the files, please reinstall the files manually then post the dkms command and its output.
Offline
Assuming the dkms command removed the files, please reinstall the files manually then post the dkms command and its output.
This is what I have in current directory:
linux-headers-6.2.2.arch2-1-x86_64.pkg.tar.zst usr
usr is what the tar file has...
sudo cp -r ./ /
is how I insert linux-headers files into my system (autoconf is there in the right directory).
the
pacman -Qikk linux-headers
command shows that probably every single file is there, with only timestamp mismatching.
I proceed to install the module with
sudo dkms install --no-depmod hid-nintendo/1.2 -k 6.2.2-arch2-1
:
Sign command: /usr/lib/modules/6.2.2-arch2-1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module:
Cleaning build area...(bad exit status: 2)
make -j24 KERNELRELEASE=6.2.2-arch2-1 -C /usr/lib/modules/6.2.2-arch2-1/build M=/var/lib/dkms/hid-nintendo/1.2/build/ modules...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.2.2-arch2-1 (x86_64)
Consult /var/lib/dkms/hid-nintendo/1.2/build/make.log for more information.
the file it is pointing to consult for information is this:
DKMS make.log for hid-nintendo-1.2 for kernel 6.2.2-arch2-1 (x86_64)
dom 12 mar 2023 12:45:45 -03
make: Entering directory '/usr/lib/modules/6.2.2-arch2-1/build'
CC [M] /var/lib/dkms/hid-nintendo/1.2/build/hid-nintendo.o
In file included from <command-line>:
././include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory
5 | #include <generated/autoconf.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.build:252: /var/lib/dkms/hid-nintendo/1.2/build/hid-nintendo.o] Error 1
make: *** [Makefile:2021: /var/lib/dkms/hid-nintendo/1.2/build] Error 2
make: Leaving directory '/usr/lib/modules/6.2.2-arch2-1/build'
Offline
What if you remove hid-nintendo which is now supplied by the linux package?
Offline
What if you remove hid-nintendo which is now supplied by the linux package?
I don't quite got what you mean by that. Are you telling that the linux-headers has what hid-nintendo supposed to deliver?
Also, I reinstalled all of dkms packages, no changes on the issue...
If is there something on those specifics AUR packages, that can explain a lot:
hid-nintendo-nso-dkms
r8125-dkms
zenpower3-dkms
virtualbox-host-dkms
v4l2loopback-dkms
Offline
hid-nintendo got upstreamed a while ago, so it's already part of the kernel package. He's saying to get rid of the hid-nintendo-nso-dkms package.
Also, checking the AUR comments should always be step 1 when you have issues with an AUR package. https://aur.archlinux.org/packages/hid- … o-nso-dkms
Last edited by Scimmia (2023-03-12 19:47:28)
Offline
hid-nintendo got upstreamed a while ago, so it's already part of the kernel package. He's saying to get rid of the hid-nintendo-nso-dkms package.
Thank you. This is a bit odd considering I got more headache with Switch Pro Controller bluetooth in the last days...
Anyway, even if I remove hid-nintendo, the other packages won't finish to build. All of them are facing the same missing file problem.
Offline
You'll have to reinstall the headers packages after removing it. Also, make sure to check my edit on the previous post.
Offline
You'll have to reinstall the headers packages after removing it. Also, make sure to check my edit on the previous post.
Yes, I got used to read AUR pkg comments. But the problem is not exclusive to hid-nintendo. I already tried to remove linux-headers and clear the cache before reinstall it.
Funny thing just happened, kernel 6.2.5-arch1-1 just dropped for me, and even updating the headers to same version, autoconf still missing and all dkms packages failed again in the same problem.
Offline
Full pacman output from that update?
Offline
Full pacman output from that update?
resolving dependencies...
looking for conflicting packages...
Packages (4) linux-headers-6.2.5.arch1-1 v4l2loopback-dkms-0.12.7-2 v4l2loopback-utils-0.12.7-2 virtualbox-host-dkms-7.0.6-3
Total Download Size: 29,87 MiB
Total Installed Size: 169,44 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
virtualbox-host-dkms-7.0.6-3-x86_64 760,5 KiB 2,37 MiB/s 00:00 [#############################################################] 100%
v4l2loopback-utils-0.12.7-2-any 11,3 KiB 10,4 KiB/s 00:01 [#############################################################] 100%
v4l2loopback-dkms-0.12.7-2-any 19,8 KiB 18,3 KiB/s 00:01 [#############################################################] 100%
linux-headers-6.2.5.arch1-1-x86_64 29,1 MiB 26,1 MiB/s 00:01 [#############################################################] 100%
Total (4/4) 29,9 MiB 14,3 MiB/s 00:02 [#############################################################] 100%
(4/4) checking keys in keyring [#############################################################] 100%
(4/4) checking package integrity [#############################################################] 100%
(4/4) loading package files [#############################################################] 100%
(4/4) checking for file conflicts [#############################################################] 100%
:: Processing package changes...
(1/4) installing virtualbox-host-dkms [#############################################################] 100%
(2/4) installing v4l2loopback-dkms [#############################################################] 100%
(3/4) installing v4l2loopback-utils [#############################################################] 100%
(4/4) installing linux-headers [#############################################################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Install DKMS modules
==> dkms install --no-depmod vboxhost/7.0.6_OSE -k 6.2.5-arch1-1
==> dkms install --no-depmod v4l2loopback/0.12.7 -k 6.2.5-arch1-1
==> depmod 6.2.5-arch1-1
==> ERROR: Missing 6.2.2-arch2-1 kernel modules tree for module vboxhost/7.0.6_OSE.
==> ERROR: Missing 6.2.2-arch1-1 kernel headers for module vboxhost/7.0.6_OSE.
==> ERROR: Missing 6.2.1-arch1-1 kernel headers for module vboxhost/7.0.6_OSE.
==> ERROR: Missing 6.2.2-arch2-1 kernel modules tree for module v4l2loopback/0.12.7.
==> ERROR: Missing 6.2.1-arch1-1 kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing 6.2.2-arch1-1 kernel headers for module v4l2loopback/0.12.7.
(4/4) Refreshing PackageKit...
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:4] hid-nintendo-nso-dkms-1.2-1 r8125-dkms-9.011.00-1 zenpower3-dkms-0.2.0-3 iriunwebcam-bin-2.8-1
:: (1/4) Downloaded PKGBUILD: zenpower3-dkms
:: (2/4) Downloaded PKGBUILD: iriunwebcam-bin
:: (3/4) Downloaded PKGBUILD: r8125-dkms
:: (4/4) Downloaded PKGBUILD: hid-nintendo-nso-dkms
4 hid-nintendo-nso-dkms (Build Files Exist)
3 r8125-dkms (Build Files Exist)
2 zenpower3-dkms (Build Files Exist)
1 iriunwebcam-bin (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: (1/4) Parsing SRCINFO: hid-nintendo-nso-dkms
:: (2/4) Parsing SRCINFO: r8125-dkms
:: (3/4) Parsing SRCINFO: zenpower3-dkms
:: (4/4) Parsing SRCINFO: iriunwebcam-bin
==> Making package: r8125-dkms 9.011.00-1 (dom 12 mar 2023 16:58:31)
==> Retrieving sources...
==> Making package: iriunwebcam-bin 2.8-1 (dom 12 mar 2023 16:58:31)
==> Retrieving sources...
-> Downloading r8125-9.011.00.tar.bz2...
-> Downloading iriunwebcam-2.8.deb...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0==> Making package: zenpower3-dkms 0.2.0-3 (dom 12 mar 2023 16:58:32)
==> Retrieving sources...
-> Downloading zenpower3-0.2.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0==> Making package: hid-nintendo-nso-dkms 1.2-1 (dom 12 mar 2023 16:58:32)
==> Retrieving sources...
-> Found hid-nintendo.c
-> Found dkms.conf
-> Found hid-ids.h
-> Found Makefile
==> Validating source files with md5sums...
hid-nintendo.c ... Passed
dkms.conf ... Passed
hid-ids.h ... Passed
Makefile ... Passed
100 78 100 78 0 0 172 0 --:--:-- --:--:-- --:--:-- 172
100 98082 100 98082 0 0 115k 0 --:--:-- --:--:-- --:--:-- 115k
-> Found dkms.conf
==> Validating source files with sha256sums...
r8125-9.011.00.tar.bz2 ... Passed
dkms.conf ... Passed
100 14030 100 14030 0 0 20429 0 --:--:-- --:--:-- --:--:-- 20422
-> Found zenpower3.conf
==> Validating source files with sha256sums...
zenpower3-0.2.0.tar.gz ... Passed
zenpower3.conf ... Passed
100 1009k 100 1009k 0 0 585k 0 0:00:01 0:00:01 --:--:-- 891k
==> Validating source files with md5sums...
iriunwebcam-2.8.deb ... Passed
==> Making package: hid-nintendo-nso-dkms 1.2-1 (dom 12 mar 2023 16:58:34)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found hid-nintendo.c
-> Found dkms.conf
-> Found hid-ids.h
-> Found Makefile
==> Validating source files with md5sums...
hid-nintendo.c ... Passed
dkms.conf ... Passed
hid-ids.h ... Passed
Makefile ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Sources are ready.
==> Making package: hid-nintendo-nso-dkms 1.2-1 (dom 12 mar 2023 16:58:35)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "hid-nintendo-nso-dkms"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: hid-nintendo-nso-dkms 1.2-1 (dom 12 mar 2023 16:58:36)
==> Cleaning up...
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) hid-nintendo-nso-dkms-1.2-1
Total Installed Size: 0,12 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#############################################################] 100%
(1/1) checking package integrity [#############################################################] 100%
(1/1) loading package files [#############################################################] 100%
(1/1) checking for file conflicts [#############################################################] 100%
:: Processing package changes...
(1/1) installing hid-nintendo-nso-dkms [#############################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Install DKMS modules
==> dkms install --no-depmod hid-nintendo/1.2 -k 6.2.5-arch1-1
Error! Bad return status for module build on kernel: 6.2.5-arch1-1 (x86_64)
Consult /var/lib/dkms/hid-nintendo/1.2/build/make.log for more information.
==> WARNING: `dkms install --no-depmod hid-nintendo/1.2 -k 6.2.5-arch1-1' exited 10
==> ERROR: Missing 6.2.2-arch2-1 kernel modules tree for module hid-nintendo/1.2.
==> ERROR: Missing 6.2.1-arch1-1 kernel headers for module hid-nintendo/1.2.
==> ERROR: Missing 6.2.2-arch1-1 kernel headers for module hid-nintendo/1.2.
(3/3) Refreshing PackageKit...
==> Making package: r8125-dkms 9.011.00-1 (dom 12 mar 2023 16:58:38)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found r8125-9.011.00.tar.bz2
-> Found dkms.conf
==> Validating source files with sha256sums...
r8125-9.011.00.tar.bz2 ... Passed
dkms.conf ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting r8125-9.011.00.tar.bz2 with bsdtar
==> Sources are ready.
==> Making package: r8125-dkms 9.011.00-1 (dom 12 mar 2023 16:58:39)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "r8125-dkms"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: r8125-dkms 9.011.00-1 (dom 12 mar 2023 16:58:40)
==> Cleaning up...
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) r8125-dkms-9.011.00-1
Total Installed Size: 0,79 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#############################################################] 100%
(1/1) checking package integrity [#############################################################] 100%
(1/1) loading package files [#############################################################] 100%
(1/1) checking for file conflicts [#############################################################] 100%
:: Processing package changes...
(1/1) installing r8125-dkms [#############################################################] 100%
Optional dependencies for r8125-dkms
linux-headers: Build the module for Arch kernel [installed]
linux-lts-headers: Build the module for LTS Arch kernel
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Install DKMS modules
==> dkms install --no-depmod r8125/9.011.00 -k 6.2.5-arch1-1
Error! Bad return status for module build on kernel: 6.2.5-arch1-1 (x86_64)
Consult /var/lib/dkms/r8125/9.011.00/build/make.log for more information.
==> WARNING: `dkms install --no-depmod r8125/9.011.00 -k 6.2.5-arch1-1' exited 10
==> ERROR: Missing 6.2.1-arch1-1 kernel headers for module r8125/9.011.00.
==> ERROR: Missing 6.2.2-arch2-1 kernel modules tree for module r8125/9.011.00.
==> ERROR: Missing 6.2.2-arch1-1 kernel headers for module r8125/9.011.00.
(3/3) Refreshing PackageKit...
==> Making package: zenpower3-dkms 0.2.0-3 (dom 12 mar 2023 16:58:41)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found zenpower3-0.2.0.tar.gz
-> Found zenpower3.conf
==> Validating source files with sha256sums...
zenpower3-0.2.0.tar.gz ... Passed
zenpower3.conf ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting zenpower3-0.2.0.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
==> Making package: zenpower3-dkms 0.2.0-3 (dom 12 mar 2023 16:58:42)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "zenpower3-dkms"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Adding install file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: zenpower3-dkms 0.2.0-3 (dom 12 mar 2023 16:58:43)
==> Cleaning up...
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) zenpower3-dkms-0.2.0-3
Total Installed Size: 0,02 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#############################################################] 100%
(1/1) checking package integrity [#############################################################] 100%
(1/1) loading package files [#############################################################] 100%
(1/1) checking for file conflicts [#############################################################] 100%
:: Processing package changes...
(1/1) installing zenpower3-dkms [#############################################################] 100%
The zenpower kernel module will be available on reboot. To load it now, run "modprobe -r k10temp && modprobe zenpower" as root
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Install DKMS modules
==> dkms install --no-depmod zenpower3/0.2.0 -k 6.2.5-arch1-1
Error! Bad return status for module build on kernel: 6.2.5-arch1-1 (x86_64)
Consult /var/lib/dkms/zenpower3/0.2.0/build/make.log for more information.
==> WARNING: `dkms install --no-depmod zenpower3/0.2.0 -k 6.2.5-arch1-1' exited 10
==> ERROR: Missing 6.2.2-arch1-1 kernel headers for module zenpower3/0.2.0.
==> ERROR: Missing 6.2.2-arch2-1 kernel modules tree for module zenpower3/0.2.0.
==> ERROR: Missing 6.2.1-arch1-1 kernel headers for module zenpower3/0.2.0.
(3/3) Refreshing PackageKit...
==> Making package: iriunwebcam-bin 2.8-1 (dom 12 mar 2023 16:58:44)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found iriunwebcam-2.8.deb
==> Validating source files with md5sums...
iriunwebcam-2.8.deb ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting iriunwebcam-2.8.deb with bsdtar
==> Sources are ready.
==> Making package: iriunwebcam-bin 2.8-1 (dom 12 mar 2023 16:58:45)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "iriunwebcam-bin"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: iriunwebcam-bin 2.8-1 (dom 12 mar 2023 16:58:46)
==> Cleaning up...
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) iriunwebcam-bin-2.8-1
Total Installed Size: 3,57 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#############################################################] 100%
(1/1) checking package integrity [#############################################################] 100%
(1/1) loading package files [#############################################################] 100%
(1/1) checking for file conflicts [#############################################################] 100%
:: Processing package changes...
(1/1) installing iriunwebcam-bin [#############################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Refreshing PackageKit...
(3/3) Updating the desktop file MIME type cache...
the erros at dkms install is the same I pointed few replys ago, missing autoconf.h file.
Offline
Remove hid-nintendo-nso-dkms r8125-dkms zenpower3-dkms v4l2loopback-dkms leaving only virtualbox-host-dkms installed. Then reinstall linux-headers and see if the issue is still present.
Offline
Remove hid-nintendo-nso-dkms r8125-dkms zenpower3-dkms v4l2loopback-dkms leaving only virtualbox-host-dkms installed. Then reinstall linux-headers and see if the issue is still present.
Name : linux-headers
Version : 6.2.5.arch1-1
Description : Headers and scripts for building modules for the Linux kernel
Architecture : x86_64
URL : https://github.com/archlinux/linux/commits/v6.2.5-arch1
Licenses : GPL2
Groups : None
Provides : None
Depends On : pahole
Optional Deps : None
Required By : None
Optional For : dkms
Conflicts With : None
Replaces : None
Installed Size : 158,22 MiB
Packager : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date : sáb 11 mar 2023 11:28:13
Install Date : dom 12 mar 2023 17:21:51
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
linux-headers: 19274 total files, 0 altered files
It seens that it solved the missing files problem. But why and how, exactly? It is still possible to install at least v4l2loopback?
Offline
It seens that it solved the missing files problem. But why and how, exactly? It is still possible to install at least v4l2loopback?
It seens that zenpower and v4l2loopback installed normallly, except by these messages that appeared for both:
==> ERROR: Missing 6.2.2-arch2-1 kernel modules tree for module v4l2loopback/0.12.7.
==> ERROR: Missing 6.2.1-arch1-1 kernel headers for module v4l2loopback/0.12.7.
==> ERROR: Missing 6.2.2-arch1-1 kernel headers for module v4l2loopback/0.12.7.
I will restart the computer to ensure that they are working.
Offline
The problem is explained in the link I gave you earlier, in the AUR comments. Notice you DIDN'T have the problem until you reinstalled the hid-nintendo package.
Offline
The problem is explained in the link I gave you earlier, in the AUR comments. Notice you DIDN'T have the problem until you reinstalled the hid-nintendo package.
Yes. In summary, hid-nintendo-nso-dkms (or hid-nintendo-dkms) brokes linux-headers, and it's problem affects others kernel modules installation; removing hid-nintendo solved the missing files and therefore, solved the other modules installation.
Switch Pro Controller is working as intended, so, it wasn't affected by that change.
Thank you for the guidance.
Offline
For the records (when people google this up in the near future)
Other dkms modules seem to have the same problem, and this happens with kernel 6.2.x for some reason that eludes me.
One that I stumbled upon is ch34x-dkms-git (USB Serial adapter chipsets). And it seems the other ch34x related dkms packages are affected as well.
The same solution here: Erase the affected modules from dkms and then remove these dkms packages from the system. Then reinstall linux-headers (or the equivalent header packages for your kernel).
Offline
I don’t think this is [solved], TBH. Important packages are still affected, such as thinkpad_wmi-dkms and (for Razer hardware users) openrazer-driver-dkms. Uninstalling the DKMS packages and re-installing linux-headers has no effect. (Plus it makes no sense; some wrong paths in the packages and / or in their DKMS configs won’t be magically fixed by just reinstalling linux-headers.)
Offline
thinkpad_wmi saw the last upstream development ~4 years ago (depending on the package), build failures seem unsurprising.
Uninstalling the DKMS packages and re-installing linux-headers has no effect.
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Post the pacman and dkms build logs.
Plus it makes no sense
The OP somehow trashed their linux-headers installation
pacman -Qikk linux-headers
Offline
thinkpad_wmi saw the last upstream development ~4 years ago (depending on the package), build failures seem unsurprising.
Uninstalling the DKMS packages and re-installing linux-headers has no effect.
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Post the pacman and dkms build logs.Plus it makes no sense
The OP somehow trashed their linux-headers installation
pacman -Qikk linux-headers
I have encountered the same issue like OP and I try "sudo pacman -S nvidia-dkms" before "sudo pacman -S linux-headers".Now I am stuck at tty.Is there any method to solve this?
Offline
Offline