-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DKMS Modules Fail to Build on aarch64 - Missing powerpc Headers #44807
Comments
/usr/src/kernel-headers-6.3.10_1/arch/powerpc is missing on aarch64, but this directory exists on my x86_64 device Device is a pinebookpro. Linux package (mainline kernel) and Linux-headers are installed On my x86_64-glibc machine, trying to produce an aarch64 image using ./mkplatformfs in void-mklive also fails to build the zfs module with the same error. |
example when installing zfs (similar errors with other DKMS modules such as Wireguard)
contents of /lib/modules/6.3.10_1/build/make.log
contents of /var/lib/dkms/zfs/2.1.12/build/make.log
|
As a note, |
I built natively the package linux6.3 on aarch64-musl. I don't get the error related to powerpc files anymore, so it's probably something related to cross-compilation. I still can't build zfs, but I think this is an unrelated problem:
|
Actually the problem does not seem to be cross-compilation. This issue doesn't affect the natively built kernel package just because this one doesn't require the helper tools to be rebuilt. --- /etc/kernel.d/post-install/10-dkms.old
+++ /etc/kernel.d/post-install/10-dkms
@@ -19,9 +19,7 @@
export IGNORE_CC_MISMATCH=1
-if [ ! -f /lib/modules/${VERSION}/build/scripts/basic/fixdep ] || [ ! -f /lib/modules/${VERSION}/build/scripts/mod/modpost ]; then
yes "" | make -j $(nproc) -C /lib/modules/${VERSION}/build prepare0
-fi
# Check available DKMS modules
for _mod_ in /var/lib/dkms/*; do then |
@sgn (you maintain the kernel package). Any idea why this could happen? |
I think my comment on this pull-request is related. |
please test: #46332 |
Getting a very similar Makefile error as the one described in #46152
|
Is this a new report?
Yes
System Info
Void 6.3.10_1 aarch64-musl Unknown uptodate rFF
Package(s) Affected
linux-headers-6.3_1
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No response
Expected behaviour
installing a package that includes a DKMS module (eg. zfs, wireguard) builds the module successfully
Actual behaviour
DKMS Module fails to build. Log files mention missing "arch/powerpc/crypto/Kconfig"
Steps to reproduce
The text was updated successfully, but these errors were encountered: