=> Bootstrap dependency digest>=20010302: found digest-20111104 ===> Building for tolua++-1.0.93 cd /Users/kristerw/pbulk/scratch/devel/tolua++/work/tolua++-1.0.93 && /usr/bin/env USETOOLS=no CC=gcc CFLAGS=-pipe\ -O2\ -I/usr/pkg/include\ -I/usr/include CPPFLAGS=-no-cpp-precomp\ -isystem\ /usr/include\ -I/usr/pkg/include\ -I/usr/include CXX=g++ CXXFLAGS=-pipe\ -O2\ -I/usr/pkg/include\ -I/usr/include COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 FFLAGS=-O LANG=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -L/usr/lib LINKER_RPATH_FLAG=-L PATH=/Users/kristerw/pbulk/scratch/devel/tolua++/work/.wrapper/bin:/Users/kristerw/pbulk/scratch/devel/tolua++/work/.buildlink/bin:/Users/kristerw/pbulk/scratch/devel/tolua++/work/.gcc/bin:/Users/kristerw/pbulk/scratch/devel/tolua++/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/pkg/bin:/usr/X11/bin PREFIX=/usr/pkg PKG_SYSCONFDIR=/usr/pkg/etc HOME=/Users/kristerw/pbulk/scratch/devel/tolua++/work/.home CPP=gcc\ -E\ -no-cpp-precomp\ -isystem\ /usr/include LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg NO_WHOLE_ARCHIVE_FLAG=-Wl,--no-whole-archive WHOLE_ARCHIVE_FLAG=-Wl,--whole-archive X11BASE=/usr/X11 X11PREFIX=/usr/pkg PKGMANDIR=man PKGINFODIR=info MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ kristerw\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ kristerw\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ kristerw\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ kristerw\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ kristerw\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ kristerw\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ kristerw\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ kristerw\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ kristerw\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ kristerw\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ kristerw\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ kristerw\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ kristerw\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/Users/kristerw/pbulk/scratch/devel/tolua++/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/Users/kristerw/pbulk/scratch/devel/tolua++/work/.buildlink/lib/pkgconfig:/Users/kristerw/pbulk/scratch/devel/tolua++/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/Users/kristerw/pbulk/scratch/devel/tolua++/work/.pkg-config.log PKG_CONFIG_PATH= WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes VIEWBASE=/usr/pkg /usr/pkg/bin/scons prefix=/usr/pkg SONAME="libtolua++.so.5.1.5" scons: Reading SConscript files ... scons: warning: The Options class is deprecated; use the Variables class instead. File "/Users/kristerw/pbulk/scratch/devel/tolua++/work/tolua++-1.0.93/SConstruct", line 19, in ('********* tolua is ', 'bin/tolua++_bootstrap') scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead. File "/Users/kristerw/pbulk/scratch/devel/tolua++/work/tolua++-1.0.93/src/tests/SCsub", line 2, in 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 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: In function 'tolua_usertype': src/lib/tolua_map.c:398: warning: passing argument 2 of 'tolua_newmetatable' discards qualifiers from pointer target type gcc -o src/lib/tolua_push.o -c -I/usr/pkg/include -O2 -ansi -Iinclude src/lib/tolua_push.c gcc -o src/lib/tolua_to.o -c -I/usr/pkg/include -O2 -ansi -Iinclude src/lib/tolua_to.c ar rc lib/libtolua++.a src/lib/tolua_event.o src/lib/tolua_is.o src/lib/tolua_map.o src/lib/tolua_push.o src/lib/tolua_to.o ranlib lib/libtolua++.a gcc -o bin/tolua++_bootstrap -Wl,-rpath,/usr/pkg/lib src/bin/tolua.o src/bin/toluabind_default.o lib/libtolua++.a -Llib -L/usr/pkg/lib -llua -lm ld: warning: ignoring file /usr/pkg/lib/liblua.dylib, file was built for unsupported file format ( 0xce 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 0 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (x86_64): /usr/pkg/lib/liblua.dylib Undefined symbols for architecture x86_64: "_luaL_error", referenced from: _const_array in libtolua++.a(tolua_map.o) _tolua_error in libtolua++.a(tolua_is.o) "_luaL_loadbuffer", referenced from: _tolua_dobuffer in libtolua++.a(tolua_map.o) "_luaL_newmetatable", referenced from: _tolua_newmetatable in libtolua++.a(tolua_map.o) "_luaL_newstate", referenced from: _main in tolua.o "_luaL_openlibs", referenced from: _main in tolua.o "_lua_call", referenced from: _class_gc_event in libtolua++.a(tolua_event.o) _module_index_event in libtolua++.a(tolua_event.o) _module_newindex_event in libtolua++.a(tolua_event.o) _class_index_event in libtolua++.a(tolua_event.o) _class_newindex_event in libtolua++.a(tolua_event.o) _class_eq_event in libtolua++.a(tolua_event.o) _class_call_event in libtolua++.a(tolua_event.o) ... "_lua_concat", referenced from: _tolua_isusertable in libtolua++.a(tolua_is.o) _tolua_typename in libtolua++.a(tolua_is.o) "_lua_createtable", referenced from: _main in tolua.o _tolua_open in libtolua++.a(tolua_map.o) _tolua_array in libtolua++.a(tolua_map.o) _tolua_variable in libtolua++.a(tolua_map.o) _mapinheritance in libtolua++.a(tolua_map.o) _mapsuper in libtolua++.a(tolua_map.o) _tolua_module in libtolua++.a(tolua_map.o) ... "_lua_error", referenced from: _tolua_bnd_setpeer in libtolua++.a(tolua_map.o) "_lua_gc", referenced from: _tolua_bnd_takeownership in libtolua++.a(tolua_map.o) _tolua_bnd_releaseownership in libtolua++.a(tolua_map.o) "_lua_getfenv", referenced from: _tolua_bnd_getpeer in libtolua++.a(tolua_map.o) _class_index_event in libtolua++.a(tolua_event.o) _storeatubox in libtolua++.a(tolua_event.o) "_lua_getfield", referenced from: _main in tolua.o _mapinheritance in libtolua++.a(tolua_map.o) _mapsuper in libtolua++.a(tolua_map.o) _tolua_cclass in libtolua++.a(tolua_map.o) _tolua_pushusertype in libtolua++.a(tolua_push.o) "_lua_getmetatable", referenced from: _mapinheritance in libtolua++.a(tolua_map.o) _tolua_module in libtolua++.a(tolua_map.o) _tolua_register_gc in libtolua++.a(tolua_map.o) _tolua_bnd_takeownership in libtolua++.a(tolua_map.o) _tolua_bnd_releaseownership in libtolua++.a(tolua_map.o) _class_gc_event in libtolua++.a(tolua_event.o) _module_index_event in libtolua++.a(tolua_event.o) ... "_lua_gettable", referenced from: _module_index_event in libtolua++.a(tolua_event.o) _class_index_event in libtolua++.a(tolua_event.o) _tolua_isusertypearray in libtolua++.a(tolua_is.o) _tolua_isuserdataarray in libtolua++.a(tolua_is.o) _tolua_istablearray in libtolua++.a(tolua_is.o) _tolua_isstringarray in libtolua++.a(tolua_is.o) _tolua_isnumberarray in libtolua++.a(tolua_is.o) ... "_lua_gettop", referenced from: _main in tolua.o _tolua_tolua_open in toluabind_default.o _tolua_open in libtolua++.a(tolua_map.o) _tolua_bnd_type in libtolua++.a(tolua_map.o) _class_gc_event in libtolua++.a(tolua_event.o) _class_call_event in libtolua++.a(tolua_event.o) _tolua_isvalue in libtolua++.a(tolua_is.o) ... "_lua_insert", referenced from: _mapinheritance in libtolua++.a(tolua_map.o) _mapsuper in libtolua++.a(tolua_map.o) _class_index_event in libtolua++.a(tolua_event.o) _class_call_event in libtolua++.a(tolua_event.o) _storeatubox in libtolua++.a(tolua_event.o) _tolua_isusertable in libtolua++.a(tolua_is.o) _tolua_typename in libtolua++.a(tolua_is.o) ... "_lua_iscfunction", referenced from: _module_index_event in libtolua++.a(tolua_event.o) _module_newindex_event in libtolua++.a(tolua_event.o) _class_index_event in libtolua++.a(tolua_event.o) _class_newindex_event in libtolua++.a(tolua_event.o) "_lua_isnumber", referenced from: _class_index_event in libtolua++.a(tolua_event.o) _class_newindex_event in libtolua++.a(tolua_event.o) _tolua_isnumberarray in libtolua++.a(tolua_is.o) _tolua_isnumber in libtolua++.a(tolua_is.o) "_lua_isstring", referenced from: _tolua_isstringarray in libtolua++.a(tolua_is.o) _tolua_isstring in libtolua++.a(tolua_is.o) _tolua_isusertable in libtolua++.a(tolua_is.o) _tolua_typename in libtolua++.a(tolua_is.o) "_lua_isuserdata", referenced from: _tolua_bnd_takeownership in libtolua++.a(tolua_map.o) _tolua_bnd_releaseownership in libtolua++.a(tolua_map.o) _tolua_bnd_setpeer in libtolua++.a(tolua_map.o) _class_eq_event in libtolua++.a(tolua_event.o) _do_operator in libtolua++.a(tolua_event.o) _tolua_isuserdata in libtolua++.a(tolua_is.o) _tolua_isusertypearray in libtolua++.a(tolua_is.o) ... "_lua_newuserdata", referenced from: _tolua_pushusertype in libtolua++.a(tolua_push.o) "_lua_next", referenced from: _mapsuper in libtolua++.a(tolua_map.o) "_lua_objlen", referenced from: _main in tolua.o "_lua_pcall", referenced from: _tolua_dobuffer in libtolua++.a(tolua_map.o) "_lua_pushboolean", referenced from: _tolua_open in libtolua++.a(tolua_map.o) _mapsuper in libtolua++.a(tolua_map.o) _tolua_bnd_takeownership in libtolua++.a(tolua_map.o) _tolua_bnd_releaseownership in libtolua++.a(tolua_map.o) _class_eq_event in libtolua++.a(tolua_event.o) _tolua_pushfieldboolean in libtolua++.a(tolua_push.o) _tolua_pushboolean in libtolua++.a(tolua_push.o) ... "_lua_pushcclosure", referenced from: _tolua_open in libtolua++.a(tolua_map.o) _tolua_array in libtolua++.a(tolua_map.o) _tolua_variable in libtolua++.a(tolua_map.o) _tolua_function in libtolua++.a(tolua_map.o) _tolua_cclass in libtolua++.a(tolua_map.o) _class_gc_event in libtolua++.a(tolua_event.o) _tolua_moduleevents in libtolua++.a(tolua_event.o) ... "_lua_pushlightuserdata", referenced from: _tolua_register_gc in libtolua++.a(tolua_map.o) _tolua_bnd_releaseownership in libtolua++.a(tolua_map.o) _class_gc_event in libtolua++.a(tolua_event.o) _class_index_event in libtolua++.a(tolua_event.o) _tolua_pushuserdata in libtolua++.a(tolua_push.o) _tolua_pushfielduserdata in libtolua++.a(tolua_push.o) _tolua_pushusertype in libtolua++.a(tolua_push.o) ... "_lua_pushlstring", referenced from: _tolua_open in libtolua++.a(tolua_map.o) _mapinheritance in libtolua++.a(tolua_map.o) _class_gc_event in libtolua++.a(tolua_event.o) _tolua_fast_isa in libtolua++.a(tolua_is.o) "_lua_pushnil", referenced from: _mapinheritance in libtolua++.a(tolua_map.o) _mapsuper in libtolua++.a(tolua_map.o) _tolua_bnd_releaseownership in libtolua++.a(tolua_map.o) _tolua_bnd_cast in libtolua++.a(tolua_map.o) _tolua_bnd_getpeer in libtolua++.a(tolua_map.o) _class_gc_event in libtolua++.a(tolua_event.o) _module_index_event in libtolua++.a(tolua_event.o) ... "_lua_pushnumber", referenced from: _tolua_isusertypearray in libtolua++.a(tolua_is.o) _tolua_isuserdataarray in libtolua++.a(tolua_is.o) _tolua_istablearray in libtolua++.a(tolua_is.o) _tolua_isstringarray in libtolua++.a(tolua_is.o) _tolua_isnumberarray in libtolua++.a(tolua_is.o) _tolua_isbooleanarray in libtolua++.a(tolua_is.o) _tolua_pushnumber in libtolua++.a(tolua_push.o) ... "_lua_pushstring", referenced from: _main in tolua.o _tolua_open in libtolua++.a(tolua_map.o) _tolua_beginmodule in libtolua++.a(tolua_map.o) _tolua_bnd_inherit in libtolua++.a(tolua_map.o) _tolua_array in libtolua++.a(tolua_map.o) _tolua_variable in libtolua++.a(tolua_map.o) _tolua_function in libtolua++.a(tolua_map.o) ... "_lua_pushvalue", referenced from: _main in tolua.o _tolua_open in libtolua++.a(tolua_map.o) _tolua_beginmodule in libtolua++.a(tolua_map.o) _tolua_bnd_inherit in libtolua++.a(tolua_map.o) _tolua_array in libtolua++.a(tolua_map.o) _tolua_variable in libtolua++.a(tolua_map.o) _mapsuper in libtolua++.a(tolua_map.o) ... "_lua_rawequal", referenced from: _tolua_bnd_releaseownership in libtolua++.a(tolua_map.o) _tolua_bnd_getpeer in libtolua++.a(tolua_map.o) _class_index_event in libtolua++.a(tolua_event.o) _storeatubox in libtolua++.a(tolua_event.o) _tolua_fast_isa in libtolua++.a(tolua_is.o) "_lua_rawget", referenced from: _tolua_open in libtolua++.a(tolua_map.o) _tolua_beginmodule in libtolua++.a(tolua_map.o) _tolua_array in libtolua++.a(tolua_map.o) _tolua_variable in libtolua++.a(tolua_map.o) _mapinheritance in libtolua++.a(tolua_map.o) _mapsuper in libtolua++.a(tolua_map.o) _tolua_module in libtolua++.a(tolua_map.o) ... "_lua_rawset", referenced from: _tolua_open in libtolua++.a(tolua_map.o) _tolua_bnd_inherit in libtolua++.a(tolua_map.o) _tolua_array in libtolua++.a(tolua_map.o) _tolua_variable in libtolua++.a(tolua_map.o) _tolua_function in libtolua++.a(tolua_map.o) _tolua_constant in libtolua++.a(tolua_map.o) _mapinheritance in libtolua++.a(tolua_map.o) ... "_lua_rawseti", referenced from: _main in tolua.o "_lua_remove", referenced from: _class_index_event in libtolua++.a(tolua_event.o) _class_newindex_event in libtolua++.a(tolua_event.o) _class_eq_event in libtolua++.a(tolua_event.o) _do_operator in libtolua++.a(tolua_event.o) _tolua_pushusertype in libtolua++.a(tolua_push.o) "_lua_replace", referenced from: _push_table_instance in libtolua++.a(tolua_is.o) "_lua_setfenv", referenced from: _tolua_bnd_setpeer in libtolua++.a(tolua_map.o) _storeatubox in libtolua++.a(tolua_event.o) _tolua_pushusertype in libtolua++.a(tolua_push.o) "_lua_setfield", referenced from: _main in tolua.o "_lua_setmetatable", referenced from: _tolua_open in libtolua++.a(tolua_map.o) _tolua_array in libtolua++.a(tolua_map.o) _mapinheritance in libtolua++.a(tolua_map.o) _tolua_module in libtolua++.a(tolua_map.o) _class_index_event in libtolua++.a(tolua_event.o) _tolua_pushusertype in libtolua++.a(tolua_push.o) "_lua_settable", referenced from: _main in tolua.o _tolua_newmetatable in libtolua++.a(tolua_map.o) _storeatubox in libtolua++.a(tolua_event.o) _tolua_pushfieldnumber in libtolua++.a(tolua_push.o) _tolua_pushfieldboolean in libtolua++.a(tolua_push.o) _tolua_pushfieldvalue in libtolua++.a(tolua_push.o) _tolua_pushfieldstring in libtolua++.a(tolua_push.o) ... "_lua_settop", referenced from: _main in tolua.o _tolua_tolua_open in toluabind_default.o _tolua_open in libtolua++.a(tolua_map.o) _tolua_endmodule in libtolua++.a(tolua_map.o) _tolua_array in libtolua++.a(tolua_map.o) _tolua_variable in libtolua++.a(tolua_map.o) _mapinheritance in libtolua++.a(tolua_map.o) ... "_lua_toboolean", referenced from: _tolua_fast_isa in libtolua++.a(tolua_is.o) _tolua_isusertype in libtolua++.a(tolua_is.o) _tolua_pushusertype in libtolua++.a(tolua_push.o) _tolua_getfieldboolean in libtolua++.a(tolua_to.o) _tolua_toboolean in libtolua++.a(tolua_to.o) "_lua_tocfunction", referenced from: _tolua_ismodulemetatable in libtolua++.a(tolua_event.o) "_lua_tolstring", referenced from: _tolua_isusertable in libtolua++.a(tolua_is.o) _tolua_isusertype in libtolua++.a(tolua_is.o) _tolua_typename in libtolua++.a(tolua_is.o) _tolua_tofieldstring in libtolua++.a(tolua_to.o) _tolua_tostring in libtolua++.a(tolua_to.o) "_lua_tonumber", referenced from: _tolua_tonumber in libtolua++.a(tolua_to.o) _tolua_tofieldnumber in libtolua++.a(tolua_to.o) "_lua_touserdata", referenced from: _tolua_register_gc in libtolua++.a(tolua_map.o) _tolua_bnd_releaseownership in libtolua++.a(tolua_map.o) _class_gc_event in libtolua++.a(tolua_event.o) _class_index_event in libtolua++.a(tolua_event.o) _tolua_tofieldusertype in libtolua++.a(tolua_to.o) _tolua_tofielduserdata in libtolua++.a(tolua_to.o) _tolua_tousertype in libtolua++.a(tolua_to.o) ... "_lua_type", referenced from: _tolua_open in libtolua++.a(tolua_map.o) _tolua_array in libtolua++.a(tolua_map.o) _tolua_variable in libtolua++.a(tolua_map.o) _mapinheritance in libtolua++.a(tolua_map.o) _mapsuper in libtolua++.a(tolua_map.o) _tolua_module in libtolua++.a(tolua_map.o) _tolua_register_gc in libtolua++.a(tolua_map.o) ... "_lua_typename", referenced from: _tolua_typename in libtolua++.a(tolua_is.o) ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status scons: *** [bin/tolua++_bootstrap] Error 1 scons: building terminated because of errors. *** Error code 2 Stop. bmake: stopped in /Users/kristerw/pbulk/pkgsrc/devel/tolua++ *** Error code 1 Stop. bmake: stopped in /Users/kristerw/pbulk/pkgsrc/devel/tolua++