Make; kernel build error

hi there,

i am not able to build the kernel from the PKGBUILD :frowning:
the build breaks always with this errors:

make: *** [Makefile:246: /tmp/makepkg/linux/src/linux-6.12.1/tools/bpf/bpftool/bootstrap/main.o] Fehler 1
make: *** [Makefile:246: /tmp/makepkg/linux/src/linux-6.12.1/tools/bpf/bpftool/bootstrap/gen.o] Fehler 1
make: *** [Makefile:246: /tmp/makepkg/linux/src/linux-6.12.1/tools/bpf/bpftool/bootstrap/json_writer.o] Fehler 1

these files are empty, but why?

Please share the full log. It isn’t clear why it’s failing.

it’s a parsing error, i think actually

/home/tom/compile/linux-cachyos-eevdf/PKGBUILD: line 683: `_package-headers': not a valid identifier

from the untouched arch PKGBUILD:

/home/tom/compile/linux/PKGBUILD: line 215: `_package-headers': not a valid identifier

That can’t be right, _package*() shouldn’t matter if it’s failing during the build.

the reason is in makepkg-optimze.conf from makepkg-optimize-mold, but for now i wasn’t able to identify the problem

=> untouched makepkg.confsolves my problem.