Closed tkchia closed 1 year ago
Hello @davidgiven,
It seems that Lua 5.1 does not support the %g
character class that h/em_table_lib.lua
uses (though Lua 5.2 and above does support it).
Incidentally, the build (mostly) succeeds if I upgrade to Lua 5.2.4 or Lua 5.4.4, though it now crashes further down:
[4051/10116] ACKDIR=.../obj/lang/m2/include/headers -O6
FAILED: .../obj/lang/m2/libm2/lib_cpm/Storage/Storage.o
ACKDIR=.../staging .../staging/bin/ack -mcpm -c.o -o .../obj/lang/m2/libm2/lib_cpm/Storage/Storage.o lang/m2/libm2/Storage.mod -I.../obj/h/emheaders -I.../obj/lang/m2/include/headers -O6
Segmentation fault (core dumped)
[4056/10116] ACKDIR=.../obj/lang/m2/include/headers -O6
ninja: build stopped: subcommand failed.
Thank you!
I've fixed the Lua 5.1 issue in #265. Thanks very much for figuring it out.
Thanks @davidgiven !
Hello @davidgiven,
I am getting a fatal error trying to build ACK on Ubuntu 22.04 LTS with Lua 5.1.5:
The error seems to be caused by the lines
in
h/em_table_lib.lua
while trying to parsein
h/em_table
.Thank you!