Patch compile failure on Arch Linux

Hello, apologies if this has been covered elsewhere. I am on a fresh Arch linux install, having difficulties getting patches to compile (using both axolotl legacy mode with axoloti cores and in ksoloti mode with a gills). I get the following:

Compiling patch...
make: arm-none-eabi-g++: No such file or directory
make: *** [Makefile.patch:54: /.../ksoloti/build/xpatch.h.gch] Error 127
Shell task failed, exit value: 2
Patch compilation failed

I have arm-none-eabi-g++ installed (in /usr/bin), and I seem to be able to run it in my shell. I imagine there is some other software I’m missing. I tried to install base-devel (what a google search indicates is the Arch equivalent of build-essential), but no dice. Any ideas on what I’m missing? Thanks!

Hi never mind I think I fixed it! I had to install lib32-ncurses (which involved uncommenting multilib lines in /etc/pacman.conf). I should have paid more attention when the Debian install instructions mentioned those extra libraries!

Thanks for reporting, it is good to know the Patcher (still) works on Arch and that this ncurses package is required there too! By the way the Patcher uses its own bundled arm-none-eabi package to make sure compilation and memory usage is consistent.

Background: The Patcher did not find to the packaged files before because ncurses is required resolve the relative path to them (?)

1 Like

Ah gotcha. I did notice the bin folders in the patcher download, but couldn’t quite follow how the patch building scripts worked. It was strange because the patcher worked fine on another arch machine I was running (I guess I had already installed ncurses for some other purpose on that computer).