Manjaro does not create the /usr/src/linux symlink, which should point to the current kernel headers and is required for this package to build properly.
I suspect there is a specific reason for this; in fact, it triggered a memory of a thread that mentioned it sometime recently. I don’t recall the specifics.
If it’s packaging-related @Yochanan might have an idea.
Well, manjaro is not entirely arch. AUR is unsupported, so such problems are not really problems.
That said, there are symlinks there, they are just with kernel numbers. And you can always make another symlink yourself, if that is critical for you.
Manjaro does not create the /usr/src/linux symlink, which should point to the current kernel headers and is required for this package to build properly.
Manjaro has several kernels in the format linuxMajorMinor e.g. linux66 or linux68 and any number of kernels can installed.
To avoid confusion and possible errors when the symlink point to linux68 and booted kernel is linux66 the symlink does not exist.
creating the link would result in the problem i was attempting to solve in that the link would point to the wrong kernel version after a different version was installed
i’m guessing the link would have to be created by a script at log-on in order to automate the process, which is certainly doable, but i wanted to ask what the options are first
This create a symlink to a kernel headers package that you you need to install, e.g.
linux68-headers if your current running kernel is linux68.
The /build subfolder is only created after you installed the kernel header package.
i think what i’ll do instead though, until (if) the package maintainer uses a different method, is dump the header package, use the linuxNN in the build file and check that the symlink matches the running kernel with a log-on script (which will remind me to update the package build script in question on the next kernel update)