I'm posting updated patches here as a work-in-progress, in case anyone else is interested. The patches are not yet ready to be applied. The package definitions are pretty much complete (I believe), however the regression tests for luajit-cqueues are failing for me on both aarch64 and x86_64. On aarch64, the test for issue #71 (only) fails with 71-empty-cqueue: ....... 71-empty-cqueue: testing issue 71A 71-empty-cqueue: 71A OK 71-empty-cqueue: testing 71B 71-empty-cqueue: setting alert on inner loop 71-empty-cqueue: stepping inner loop 71-empty-cqueue: polling inner loop 71-empty-cqueue: stepping inner loop 71-empty-cqueue: timeout before inner loop test completed This test, along with the rest of the suite, passes fine if the stock Lua 5.1 interpreter is used instead, which suggests a possible regression in LuaJIT. (Building LuaJIT from the latest revision in its source repository leads to the same error.) On x86_64, that test passes but a different one fails: 141-segfault-on-accept: OK PANIC: unprotected error in call to Lua API (attempt to call a thread value) I've written to the authors of cqueues regarding the first issue but have not received a response. I may try following up with LuaJIT's author as a next step; a bit of analysis might reveal why these tests are failing but my interest here is in getting a DNS server up and running, not in learning Lua or diving into the internals of a compiler. Perhaps someone more familiar with these libraries, language and tools could help? -- Simon South ssouth@simonsouth.net