===> Building for lua54-rings-1.3.0
clang -pipe -Os -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -Wpointer-arith -pedantic -Iinclude/lua-5.4 -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses  -c -o src/rings.o src/rings.c
clang -pipe -Os -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -Wpointer-arith -pedantic -Iinclude/lua-5.4 -shared  -o src/rings.so src/rings.o
Undefined symbols for architecture x86_64:
  "_luaL_argerror", referenced from:
      _slave_close in rings.o
      _slave_dostring in rings.o
  "_luaL_checklstring", referenced from:
      _dostring in rings.o
  "_luaL_checkudata", referenced from:
      _slave_close in rings.o
      _slave_dostring in rings.o
      _state_tostring in rings.o
  "_luaL_checkversion_", referenced from:
      _luaopen_rings in rings.o
  "_luaL_loadbufferx", referenced from:
      _dostring in rings.o
  "_luaL_newmetatable", referenced from:
      _luaopen_rings in rings.o
  "_luaL_newstate", referenced from:
      _state_new in rings.o
  "_luaL_openlibs", referenced from:
      _state_new in rings.o
  "_luaL_setfuncs", referenced from:
      _luaopen_rings in rings.o
  "_lua_checkstack", referenced from:
      _copy_values in rings.o
  "_lua_close", referenced from:
      _slave_close in rings.o
  "_lua_createtable", referenced from:
      _luaopen_rings in rings.o
      _state_new in rings.o
      _create_cache in rings.o
  "_lua_error", referenced from:
      _state_new in rings.o
  "_lua_getfield", referenced from:
      _state_new in rings.o
  "_lua_getglobal", referenced from:
      _luaopen_rings in rings.o
      _state_new in rings.o
  "_lua_gettable", referenced from:
      _luaopen_rings in rings.o
      _state_new in rings.o
      _master_dostring in rings.o
      _dostring in rings.o
      _slave_close in rings.o
  "_lua_gettop", referenced from:
      _state_new in rings.o
      _dostring in rings.o
  "_lua_newuserdatauv", referenced from:
      _state_new in rings.o
  "_lua_pcallk", referenced from:
      _dostring in rings.o
  "_lua_pushboolean", referenced from:
      _dostring in rings.o
      _copy_values in rings.o
  "_lua_pushcclosure", referenced from:
      _luaopen_rings in rings.o
      _state_new in rings.o
      _copy_values in rings.o
  "_lua_pushfstring", referenced from:
      _state_tostring in rings.o
  "_lua_pushlightuserdata", referenced from:
      _state_new in rings.o
      _dostring in rings.o
      _copy_values in rings.o
      _slave_close in rings.o
      _slave_dostring in rings.o
  "_lua_pushlstring", referenced from:
      _copy_values in rings.o
  "_lua_pushnil", referenced from:
      _copy_values in rings.o
      _slave_close in rings.o
  "_lua_pushnumber", referenced from:
      _copy_values in rings.o
  "_lua_pushstring", referenced from:
      _luaopen_rings in rings.o
      _state_new in rings.o
      _master_dostring in rings.o
      _create_cache in rings.o
      _dostring in rings.o
      _slave_close in rings.o
      _slave_dostring in rings.o
      ...
  "_lua_pushvalue", referenced from:
      _luaopen_rings in rings.o
      _state_new in rings.o
      _dostring in rings.o
  "_lua_rawlen", referenced from:
      _copy_values in rings.o
  "_lua_rotate", referenced from:
      _dostring in rings.o
  "_lua_setglobal", referenced from:
      _luaopen_rings in rings.o
      _state_new in rings.o
  "_lua_setmetatable", referenced from:
      _state_new in rings.o
      _create_cache in rings.o
  "_lua_settable", referenced from:
      _luaopen_rings in rings.o
      _state_new in rings.o
      _create_cache in rings.o
      _dostring in rings.o
      _slave_close in rings.o
      _slave_dostring in rings.o
  "_lua_settop", referenced from:
      _luaopen_rings in rings.o
      _state_new in rings.o
      _master_dostring in rings.o
      _dostring in rings.o
  "_lua_setupvalue", referenced from:
      _dostring in rings.o
  "_lua_toboolean", referenced from:
      _copy_values in rings.o
  "_lua_tocfunction", referenced from:
      _copy_values in rings.o
  "_lua_tolstring", referenced from:
      _dostring in rings.o
      _copy_values in rings.o
  "_lua_tonumberx", referenced from:
      _copy_values in rings.o
  "_lua_touserdata", referenced from:
      _master_dostring in rings.o
      _copy_values in rings.o
  "_lua_type", referenced from:
      _luaopen_rings in rings.o
      _state_new in rings.o
      _dostring in rings.o
      _copy_values in rings.o
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:14: src/rings.so] Error 1
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/devel/lua-rings
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/devel/lua-rings