=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for lua-expat-1.2.0
gcc -O2 -fPIC -I/usr/include -I/usr/pkg/include -O2 -I/usr/pkg/include -I../compat/src -I/usr/include -I/usr/include -I/usr/pkg/include  -c -o src/lxplib.o src/lxplib.c
src/lxplib.c:69:3: warning: implicit declaration of function 'lua_unref' is invalid in C99 [-Wimplicit-function-declaration]
  lua_unref(L, xpu->tableref);
  ^
src/lxplib.c:228:3: warning: implicit declaration of function 'lua_getref' is invalid in C99 [-Wimplicit-function-declaration]
  lua_getref(L, xpu->tableref);  /* child uses the same table of its father */
  ^
src/lxplib.c:520:39: error: array has incomplete element type 'const struct luaL_reg'
static const struct luaL_reg lxp_meths[] = {
                                      ^
src/lxplib.c:520:21: note: forward declaration of 'struct luaL_reg'
static const struct luaL_reg lxp_meths[] = {
                    ^
src/lxplib.c:533:39: error: array has incomplete element type 'const struct luaL_reg'
static const struct luaL_reg lxp_funcs[] = {
                                      ^
src/lxplib.c:520:21: note: forward declaration of 'struct luaL_reg'
static const struct luaL_reg lxp_meths[] = {
                    ^
src/lxplib.c:560:3: warning: implicit declaration of function 'luaL_openlib' is invalid in C99 [-Wimplicit-function-declaration]
  luaL_openlib (L, NULL, lxp_meths, 0);
  ^
3 warnings and 2 errors generated.
gmake: *** [src/lxplib.o] Error 1
*** Error code 2

Stop.
make: stopped in /data/pkgsrc/textproc/lua-expat
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/textproc/lua-expat
