=> 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 tolua++-1.0.93nb1
cd /scratch/devel/tolua++/work/tolua++-1.0.93 && /usr/bin/env USETOOLS=no CC=gcc CFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include CPPFLAGS=-I/usr/pkg/include\ -I/usr/include CXX=c++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=g77 FC=g77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/scratch/devel/tolua++/work/.wrapper/bin:/scratch/devel/tolua++/work/.buildlink/bin:/scratch/devel/tolua++/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 PKG_SYSCONFDIR=/usr/pkg/etc HOME=/scratch/devel/tolua++/work/.home CPP=cpp LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg NO_WHOLE_ARCHIVE_FLAG=-Wl,--no-whole-archive WHOLE_ARCHIVE_FLAG=-Wl,--whole-archive X11BASE=/usr/pkg X11PREFIX=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulkXXX\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulkXXX\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulkXXX\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/scratch/devel/tolua++/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/scratch/devel/tolua++/work/.buildlink/lib/pkgconfig:/scratch/devel/tolua++/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/scratch/devel/tolua++/work/.pkg-config.log PKG_CONFIG_PATH= NOGCCERROR=yes WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes VIEWBASE=/usr/pkg /usr/pkg/bin/scons prefix=/usr/pkg SONAME="libtolua++.so.5.2.2"
scons: Reading SConscript files ...

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/scratch/devel/tolua++/work/tolua++-1.0.93/SConstruct", line 19, in <module>
('********* tolua is ', 'bin/tolua++_bootstrap')

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/scratch/devel/tolua++/work/tolua++-1.0.93/src/tests/SCsub", line 2, in <module>
scons: done reading SConscript files.
scons: Building targets ...
gcc -o src/bin/tolua.o -c -I/usr/pkg/include -O2 -ansi -Iinclude src/bin/tolua.c
gcc -o src/bin/toluabind_default.o -c -I/usr/pkg/include -O2 -ansi -Iinclude src/bin/toluabind_default.c
gcc -o src/lib/tolua_event.o -c -I/usr/pkg/include -O2 -ansi -Iinclude src/lib/tolua_event.c
gcc -o src/lib/tolua_is.o -c -I/usr/pkg/include -O2 -ansi -Iinclude src/lib/tolua_is.c
src/lib/tolua_is.c:119:58: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
static  int lua_isusertable (lua_State* L, int lo, const const char* type)
                                                         ^~~~~~
1 warning generated.
gcc -o src/lib/tolua_map.o -c -I/usr/pkg/include -O2 -ansi -Iinclude src/lib/tolua_map.c
src/lib/tolua_map.c:398:58: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 if (tolua_newmetatable(L,ctype) && tolua_newmetatable(L,type))
                                                         ^~~~
src/lib/tolua_map.c:28:52: note: passing argument to parameter 'name' here
static int tolua_newmetatable (lua_State* L, char* name)
                                                   ^
src/lib/tolua_map.c:414:19: error: use of undeclared identifier 'LUA_GLOBALSINDEX'
         lua_pushvalue(L,LUA_GLOBALSINDEX);
                         ^
src/lib/tolua_map.c:448:19: error: use of undeclared identifier 'LUA_GLOBALSINDEX'
                lua_pushvalue(L,LUA_GLOBALSINDEX);
                                ^
1 warning and 2 errors generated.
scons: *** [src/lib/tolua_map.o] Error 1
scons: building terminated because of errors.
*** Error code 2

Stop.
make: stopped in /data/pkgsrc/devel/tolua++
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/devel/tolua++
