Error building for Arm64
Seems to be an issue with configuration detection, Arm64, Debian Bullseye
#0 94.35 configure: error: cannot guess build type; you must specify one
#0 94.59 configure: error: ./configure failed for ctypes/libffi
More Details Below...
#0 93.00 configure: creating cache /sbbs/repo/3rdp/src/mozjs/js-1.8.5/js/src/ctypes/libffi/config.cache
#0 93.17 checking build system type... ./config.guess: unable to guess system type
#0 94.31
#0 94.31 This script, last modified 2009-11-19, has failed to recognize
#0 94.31 the operating system you are using. It is advised that you
#0 94.31 download the most up to date version of the config scripts from
#0 94.31
#0 94.31 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
#0 94.31 and
#0 94.31 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
#0 94.31
#0 94.31 If the version you run (./config.guess) is already up to date, please
#0 94.31 send the following data and any information you think might be
#0 94.31 pertinent to <config-patches@gnu.org> in order to provide the needed
#0 94.31 information to handle your system.
#0 94.31
#0 94.31 config.guess timestamp = 2009-11-19
#0 94.31
#0 94.31 uname -m = aarch64
#0 94.31 uname -r = 5.15.0-46-generic
#0 94.31 uname -s = Linux
#0 94.31 uname -v = #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022
#0 94.31
#0 94.31 /usr/bin/uname -p =
#0 94.31 /bin/uname -X =
#0 94.31
#0 94.31 hostinfo =
#0 94.31 /bin/universe =
#0 94.31 /usr/bin/arch -k =
#0 94.31 /bin/arch =
#0 94.31 /usr/bin/oslevel =
#0 94.31 /usr/convex/getsysinfo =
#0 94.31
#0 94.31 UNAME_MACHINE = aarch64
#0 94.31 UNAME_RELEASE = 5.15.0-46-generic
#0 94.31 UNAME_SYSTEM = Linux
#0 94.31 UNAME_VERSION = #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022
#0 94.35 configure: error: cannot guess build type; you must specify one
#0 94.59 configure: error: ./configure failed for ctypes/libffi
#0 94.59 make[2]: *** [GNUmakefile:77: ../build/../../src/../3rdp/gcc.linux.aarch64.release/mozjs/lib/libmozjs185-1.0.a] Error 1
#0 94.59 make[2]: Leaving directory '/sbbs/repo/3rdp/build'
#0 94.59 make[1]: *** [/sbbs/repo/src/sbbs3/../build/Common.gmake:524: js] Error 2
#0 94.59 make[1]: Leaving directory '/sbbs/repo/src/sbbs3'
#0 94.60 make: *** [GNUmakefile:152: sbbs3] Error 2