Let’s see.
The current godot recipe defines the supporter archs like:
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
You was warned that godot wasn’t tested on your current platform, but you removed the question and the exclamation mark in the recipe or enabled the “untested recipes” in haikuporter config file.
Technically from this point you are your only help.
You asked for help, without enough information.
- I suppose your current arch is x86_gcc2h, as this is the only arch where we have g+±x86 currently.
- The recipe correctly defines gcc as requirement. See this line. So it should be OK on non supporter archs too.
- Haikuporter just starts the compiling, but godot have an own build-script, what try to locate the required compiler tools, and it is defined in the source, see the patch here. It seems ok too.
- You haven’t gave us any info how did you started haikuporter. But as you can run g+±x86 in the terminal without any problem, and as godot trying to use the same binary, but still cannot found, however the folder where it needs to be is surely in $PATH. It means, g+±x86 is NOT there, however it should. It means for me, that you started haikuporter like:
haikuporter godot
But it starts to compile godot with the PRIMARY ARCH compiler, what gcc2 for now, and in gcc2 the g++ binary called as “g++”. But godot searching for “g+±x86” so it cannot find it.
You know, haikuporter creates a chroot environment and activates only the defined and required packages in the chroot, NOTHING ELSE will be available in the haikuporter chroot. (HaikuPorter prints a long list about the activated packages, you should actually check it). So, you tried to build godot with PRIMARY ARCH, where is no “g+±x86” but “g++”. The PRIMARY ARCH compiler is GCC2.95.3, what cannot build modern sources like godot.
So, to fix it, you should tell haikuporter, which compiler it needs to use. If you removed the exclamation mark in the line:
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
then put it back. You should delete only the question mark here and in the next line.
If you ready, then you should start haikuporter with SECONDARY ARCH, so use:
haikuporter godot_x86
SETARCH not required in recipes, do not belive to the guys on the IRC.
Have fun, and try to be a bit better with bug reports.
And, actually, this is the official Haiku OS forum, and since HaikuPorts and independent project, you should report bugs with recipes on the HaikuPorts page, because it is irrelevant here.