You are not logged in.
Hello,
I try to install Mellanox Ofed package for Archlinux from https://github.com/ixaxaar/mofed-aur/
but installation of dependencies with pacman requires linux-headers-meta.
I have installed linux-headers 6.16.8-arch3-1 and kernel 6.16.8-arch3-1 (result from uname -r), but there is no meta package on archlinux for kernel headers. So what is the problem ? Did anyone faced this installation problem ? Thank you
Offline
Installation of what, exactly? Simply sounds like a bad PKGBUILD somewhere.
Offline
Despite the title of the webpage, they don't use an AUR package but created a script to interact with makepkg & pacman .
The script does look well-written and documented.
Please post the exact command you ran AND its full ouput.
Moderator Note :
Moving to AUR Issues, Discussion & PKGBUILD Requests
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
https://github.com/ixaxaar/mofed-aur/bl … GBUILD#L11
Edit:
Also skipped checksums and an unnecessary install script.
Edit2:
Upstream issue https://github.com/ixaxaar/mofed-aur/issues/1
It also tries to build the module in build() which is wrong for a DKMS package and appears to be incompatible with linux 6.16
Last edited by loqs (2025-09-30 21:13:14)
Offline
Installation of what, exactly? Simply sounds like a bad PKGBUILD somewhere.
You're right #Scimmia, PKGBUILD file includes a dependency to linux-headers-meta, like in /recepies/xpmem/PKGBUILG. So I replace linux-headers-meta by linux-headers and use makepkg instead of shell script.
Thanks you #loqs for the references and links.
Offline
So I replace linux-headers-meta by linux-headers
Does that build for you? Having mlnx-xpmem which is a DKMS package depend on linux-headers but not dkms make no sense to me. DKMS can build for any supported kernel so should not be depending on any specific kernel. It is also incompatible with gcc 15:
/lib/modules/6.16.10-arch1-1/build//include/linux/stddef.h:11:9: error: cannot use keyword 'false' as enumeration constant
11 | false = 0,
| ^~~~~
/lib/modules/6.16.10-arch1-1/build//include/linux/stddef.h:11:9: note: 'false' is a keyword with '-std=c23' onwards
because it is not using the kernel build infrastructure.
Offline
Having mlnx-xpmem which is a DKMS package depend on linux-headers but not dkms make no sense to me
you're right, xpmem depends on dkms also, so I added it. but xpmem build is not working:
configure: error: cannot run kernel module configuration checks
Offline
xpmem build is not working:
configure: error: cannot run kernel module configuration checks
See gcc 15 in my previous post. You should find the same error in config.log. Additionally a DKMS package building anything in build() is wrong as it should be being built by DKMS.
Offline