firoorg / firo

The privacy-focused cryptocurrency
https://firo.org
MIT License
720 stars 354 forks source link

Failed to build "depends" on FreeBSD #1213

Closed DNS closed 1 year ago

DNS commented 2 years ago

I want to build firod binary for running masternodes but encountered error when building it.

Failed to build "depends" on FreeBSD when using make and gmake.

Software version:

Using make:

root@:~ # cd firo-0.14.11.2
root@:~/firo-0.14.11.2 # cd depends/
root@:~/firo-0.14.11.2/depends # make
make: "/root/firo-0.14.11.2/depends/Makefile" line 58: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 60: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 62: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 64: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 66: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 80: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 82: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 91: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 93: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 96: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 98: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 112: Could not find hosts/.mk
make: "/root/firo-0.14.11.2/depends/hosts/default.mk" line 1: Invalid line type
make: "/root/firo-0.14.11.2/depends/hosts/default.mk" line 3: Invalid line type
make: "/root/firo-0.14.11.2/depends/hosts/default.mk" line 15: Invalid line type
make: "/root/firo-0.14.11.2/depends/hosts/default.mk" line 16: Invalid line type
make: "/root/firo-0.14.11.2/depends/hosts/default.mk" line 23: Invalid line type
make: "/root/firo-0.14.11.2/depends/hosts/default.mk" line 27: Invalid line type
make: "/root/firo-0.14.11.2/depends/hosts/default.mk" line 29: Invalid line type
make: "/root/firo-0.14.11.2/depends/hosts/default.mk" line 31: Invalid line type
make: "/root/firo-0.14.11.2/depends/hosts/default.mk" line 36: Invalid line type
make: "/root/firo-0.14.11.2/depends/hosts/default.mk" line 38: Invalid line type
make: "/root/firo-0.14.11.2/depends/hosts/default.mk" line 39: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 114: Could not find builders/.mk
make: "/root/firo-0.14.11.2/depends/builders/default.mk" line 10: Invalid line type
make: "/root/firo-0.14.11.2/depends/builders/default.mk" line 14: Invalid line type
make: "/root/firo-0.14.11.2/depends/builders/default.mk" line 15: Invalid line type
make: "/root/firo-0.14.11.2/depends/builders/default.mk" line 16: Invalid line type
make: "/root/firo-0.14.11.2/depends/builders/default.mk" line 19: Invalid line type
make: "/root/firo-0.14.11.2/depends/builders/default.mk" line 20: Invalid line type
make: "/root/firo-0.14.11.2/depends/packages/packages.mk" line 23: Invalid line type
make: "/root/firo-0.14.11.2/depends/packages/packages.mk" line 26: Invalid line type
make: "/root/firo-0.14.11.2/depends/packages/packages.mk" line 28: Invalid line type
make: "/root/firo-0.14.11.2/depends/packages/packages.mk" line 30: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 161: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 163: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 165: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 167: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 169: Invalid line type
make: "/root/firo-0.14.11.2/depends/Makefile" line 172: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 1: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 22: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 24: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 25: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 26: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 28: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 29: Error in archive specification: ""
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 35: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 37: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 38: Error in archive specification: ""
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 42: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 44: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 45: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 46: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 47: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 49: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 50: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 51: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 52: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 53: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 54: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 97: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 101: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 102: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 151: Error in archive specification: ""
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 153: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 154: Error in archive specification: ""
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 156: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 157: Error in archive specification: ""
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 159: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 160: Error in archive specification: ""
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 162: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 163: Error in archive specification: ""
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 165: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 166: Error in archive specification: ""
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 168: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 169: Error in archive specification: ""
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 171: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 179: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 181: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 182: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 186: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 187: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 188: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 190: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 244: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 248: Invalid line type
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 249: Unclosed variable "foreach stage,fetched extracted preprocessed configured built staged postprocessed cached cached_checksum,"
make: "/root/firo-0.14.11.2/depends/funcs.mk" line 249: Invalid line type
Variable _ is recursive.
        in /root/firo-0.14.11.2/depends/funcs.mk:250
        in /root/firo-0.14.11.2/depends/Makefile:181

make: stopped in /root/firo-0.14.11.2/depends
root@:~/firo-0.14.11.2/depends #

Using gmake:

root@:~/firo-0.14.11.2/depends # gmake
config.sub: missing argument
Try `config.sub --help' for more information.
./gen_id: line 74: -: command not found
./gen_id: line 74: -: command not found
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Makefile: not found
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
/bin/sh: Syntax error: "|" unexpected
gmake: config.site.in: No such file or directory
/bin/sh: Syntax error: "|" unexpected
gmake: config.site.in: No such file or directory
/bin/sh: Syntax error: "|" unexpected
Makefile:114: builders/freebsd13.1.mk: No such file or directory
gmake: *** No rule to make target 'builders/freebsd13.1.mk'.  Stop.
root@:~/firo-0.14.11.2/depends #
justanwar commented 1 year ago

I do not think it is possible to build depends on FreeBSD.

jTd7bPLFb commented 11 months ago

have the same issue. Firo does not build on freebsd. Dash, for example, has no issues building of freebsd... so maybe Firo should 'look over the fence' to implement necessary changes...

Reason for FreeBSD - jails and general 'not like' linux...