=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> 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 imapfilter-2.0.6nb6
--- auth.o ---
--- buffer.o ---
--- cert.o ---
--- core.o ---
--- auth.o ---
gcc -O2 -I/usr/pkg/include -I/usr/include -DMAKEFILE_SHAREDIR='"/usr/pkg/share/imapfilter"' -I/usr/pkg/include -I/usr/include -c auth.c
--- buffer.o ---
gcc -O2 -I/usr/pkg/include -I/usr/include -DMAKEFILE_SHAREDIR='"/usr/pkg/share/imapfilter"' -I/usr/pkg/include -I/usr/include -c buffer.c
--- cert.o ---
gcc -O2 -I/usr/pkg/include -I/usr/include -DMAKEFILE_SHAREDIR='"/usr/pkg/share/imapfilter"' -I/usr/pkg/include -I/usr/include -c cert.c
--- core.o ---
gcc -O2 -I/usr/pkg/include -I/usr/include -DMAKEFILE_SHAREDIR='"/usr/pkg/share/imapfilter"' -I/usr/pkg/include -I/usr/include -c core.c
--- file.o ---
gcc -O2 -I/usr/pkg/include -I/usr/include -DMAKEFILE_SHAREDIR='"/usr/pkg/share/imapfilter"' -I/usr/pkg/include -I/usr/include -c file.c
--- imap.o ---
gcc -O2 -I/usr/pkg/include -I/usr/include -DMAKEFILE_SHAREDIR='"/usr/pkg/share/imapfilter"' -I/usr/pkg/include -I/usr/include -c imap.c
--- imapfilter.o ---
gcc -O2 -I/usr/pkg/include -I/usr/include -DMAKEFILE_SHAREDIR='"/usr/pkg/share/imapfilter"' -I/usr/pkg/include -I/usr/include -c imapfilter.c
--- list.o ---
gcc -O2 -I/usr/pkg/include -I/usr/include -DMAKEFILE_SHAREDIR='"/usr/pkg/share/imapfilter"' -I/usr/pkg/include -I/usr/include -c list.c
--- log.o ---
gcc -O2 -I/usr/pkg/include -I/usr/include -DMAKEFILE_SHAREDIR='"/usr/pkg/share/imapfilter"' -I/usr/pkg/include -I/usr/include -c log.c
--- lua.o ---
gcc -O2 -I/usr/pkg/include -I/usr/include -DMAKEFILE_SHAREDIR='"/usr/pkg/share/imapfilter"' -I/usr/pkg/include -I/usr/include -c lua.c
--- core.o ---
core.c:38:14: error: unknown type name 'luaL_reg'; did you mean 'luaL_Reg'?
static const luaL_reg ifcorelib[] = {
             ^~~~~~~~
             luaL_Reg
/scratch/mail/imapfilter/work/.buildlink/include/lauxlib.h:26:3: note: 'luaL_Reg' declared here
} luaL_Reg;
  ^
core.c:857:6: warning: implicit declaration of function 'lua_strlen' is invalid in C99 [-Wimplicit-function-declaration]
            lua_strlen(lua, 3), lua_tostring(lua, 4), lua_tostring(lua, 5));
            ^
core.c:1040:2: warning: implicit declaration of function 'luaL_openlib' is invalid in C99 [-Wimplicit-function-declaration]
        luaL_openlib(lua, "ifcore", ifcorelib, 0);
        ^
2 warnings and 1 error generated.
*** [core.o] Error code 1

make: stopped in /scratch/mail/imapfilter/work/imapfilter-2.0.6
--- lua.o ---
lua.c:161:20: error: use of undeclared identifier 'LUA_GLOBALSINDEX'
        lua_gettable(lua, LUA_GLOBALSINDEX);
                          ^
lua.c:186:20: error: use of undeclared identifier 'LUA_GLOBALSINDEX'
        lua_gettable(lua, LUA_GLOBALSINDEX);
                          ^
lua.c:211:20: error: use of undeclared identifier 'LUA_GLOBALSINDEX'
        lua_gettable(lua, LUA_GLOBALSINDEX);
                          ^
3 errors generated.
*** [lua.o] Error code 1

make: stopped in /scratch/mail/imapfilter/work/imapfilter-2.0.6
2 errors

make: stopped in /scratch/mail/imapfilter/work/imapfilter-2.0.6
*** Error code 2

Stop.
make: stopped in /data/pkgsrc/mail/imapfilter
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/mail/imapfilter
