That should never been the solution. If one of our extramodules is broken it needs to be reported to us. Based on the last CI build that 1.2.2-2 should work for 5.15.11-1 kernel: Release 5.15.11-1 · manjaro-kernels/linux515 · GitHub
But based on the logs there is some issue:
validating keys:
gpg: directory '/build/.gnupg' created
gpg: keybox '/build/.gnupg/pubring.kbx' created
==> Making package: linux515-acpi_call 1.2.2-2 (Wed 22 Dec 2021 12:19:12 PM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading acpi_call-1.2.2.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
100 141 100 141 0 0 660 0 --:--:-- --:--:-- --:--:-- 661
100 12403 0 12403 0 0 27404 0 --:--:-- --:--:-- --:--:-- 27404
==> Validating source files with sha256sums...
acpi_call-1.2.2.tar.gz ... Passed
==> Extracting sources...
-> Extracting acpi_call-1.2.2.tar.gz with bsdtar
==> Starting build()...
make -C /lib/modules/5.11.0-1022-azure/build M=/build/linux515-acpi_call/src/acpi_call-1.2.2 modules
make[1]: *** /lib/modules/5.11.0-1022-azure/build: No such file or directory. Stop.
make: *** [Makefile:8: default] Error 2
==> ERROR: A failure occurred in build().
Aborting...