I can’t replicate here using a clean chroot (i.e. it builds OK for me using makechrootpkg), so either it’s an issue with using yay and picking up something else that’s installed (e.g. a different software version) or you’re running out of disk space or RAM during compilation.
Hmm… makepkg is pretty reliable (why did I think you used yay? Maybe I was reading another thread at the same time…).
But, it can still end up picking up the wrong set of libraries (or wrong Java version) from your system, so if you want to, trying makechrootpkg could be interesting.
thanks
there was indeed a mention of yay -Ss
but only after my first post where I used makepkg -si
ok I have installed it now as I show in the above post
thank you for your help