aports-turbo fails to start on Alpine v3.12
It appears there is an issue with using aports-turbo on a fresh Alpine v3.12 install. When started I get the following error:
[W 2020/06/13 00:46:16] _G.__TURBO_USE_LUASOCKET__ set, using LuaSocket (degraded performance).
luajit: attempt to index a number value
stack traceback:
[C]: in function 'poll'
/usr/share/luajit-2.1.0-beta3/turbo/ioloop.lua:464: in function '_event_poll'
/usr/share/luajit-2.1.0-beta3/turbo/ioloop.lua:443: in function 'start'
./aports.lua:154: in main chunk
[C]: at 0x5631f48fd0b2
I can't quite pin down what is going on exactly, but it works fine on a fresh v3.8 install. I put this down to some sort of change in lua-turbo between the package in v3.8 (lua-turbo 2.1.2-r1) and the package in v3.12 (lua-turbo 2.1.3-r4). I haven't confirmed this, but the behaviour points that way.