New comment by iFoundSilentHouse on void-packages repository https://github.com/void-linux/void-packages/pull/49850#issuecomment-2057937876 Comment: 1) add all of dependencies in hostmakedepends 2) Fix patch that makes compiler think it's windows ``` checking platform... checking for cygpath... echo windows ``` The easiest option (it should be enough for void): ``` diff --git a/configure b/configure index 1970ae6..8607443 100755 --- a/configure +++ b/configure @@ -3758,7 +3758,7 @@ if ac_fn_c_try_compile "$LINENO"; then : else - TEA_PLATFORM="windows" + TEA_PLATFORM="unix" # Extract the first word of "cygpath", so it can be a program name with args. set dummy cygpath; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ``` 3) Fix another error: ``` aarch64-linux-gnu-gcc -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -pipe -march=armv8-a -I/usr/aarch64-linux-gnu/usr/include -ffile-prefix-map=/builddir/tcl-Ffidl-0.9=. -pipe -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -L/usr/aarch64-linux-gnu/usr/lib -Wl,--export-dynamic -shared -o libFfidl0.9.so ffidl.o ffidl_test.o /usr/lib/libffi.a -L/usr/lib64 -ltclstub8.6 [cc-wrapper] ignoring -L/usr/lib64 /usr/lib/gcc/aarch64-linux-gnu/13.2.0/../../../../aarch64-linux-gnu/bin/ld: /usr/lib/libffi.a(prep_cif.o): Relocations in generic ELF (EM: 62) /usr/lib/gcc/aarch64-linux-gnu/13.2.0/../../../../aarch64-linux-gnu/bin/ld: /usr/lib/libffi.a(prep_cif.o): Relocations in generic ELF (EM: 62) /usr/lib/gcc/aarch64-linux-gnu/13.2.0/../../../../aarch64-linux-gnu/bin/ld: /usr/lib/libffi.a: error adding symbols: file in wrong format ``` I don't even know now