=> Bootstrap dependency digest>=20010302: found digest-20111104 ===> Building for lua-tokyocabinet-1.9 gcc -c -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -D_REENTRANT -I. -I/usr/pkg/include -L/Users/kristerw/pbulk/scratch/databases/lua-tokyocabinet/work/.home/include -L/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -I/usr/include/lua5.1 -I/usr/local/include/lua5.1 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -pipe -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -std=c99 -Wall -fPIC -fsigned-char tokyocabinet.c tokyocabinet.c:71:1: warning: "HTONS" redefined In file included from /usr/include/i386/endian.h:99, from /usr/include/machine/endian.h:35, from /usr/include/sys/wait.h:193, from /usr/include/stdlib.h:65, from /Users/kristerw/pbulk/scratch/databases/lua-tokyocabinet/work/.buildlink/include/tcutil.h:30, from tokyocabinet.c:21: /usr/include/sys/_endian.h:136:1: warning: this is the location of the previous definition tokyocabinet.c:72:1: warning: "HTONL" redefined /usr/include/sys/_endian.h:135:1: warning: this is the location of the previous definition tokyocabinet.c:74:1: warning: "NTOHS" redefined /usr/include/sys/_endian.h:134:1: warning: this is the location of the previous definition tokyocabinet.c:75:1: warning: "NTOHL" redefined /usr/include/sys/_endian.h:133:1: warning: this is the location of the previous definition gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -D_REENTRANT -std=c99 -Wall -fPIC -fsigned-char -dynamiclib -o tokyocabinet.dylib tokyocabinet.o -L/usr/pkg/lib -L/usr/lib -L. -L/usr/pkg/lib -L/Users/kristerw/pbulk/scratch/databases/lua-tokyocabinet/work/.home/lib -L/usr/local/lib -L/usr/include/lua5.1 -L/usr/local/include/lua5.1 -L/usr/include/lua -L/usr/local/include/lua -ltokyocabinet -lbz2 -lz -lpthread -lm -lc -lpthread ld: warning: directory not found for option '-L/Users/kristerw/pbulk/scratch/databases/lua-tokyocabinet/work/.home/lib' Undefined symbols for architecture i386: "_lua_createtable", referenced from: _luaopen_tokyocabinet in tokyocabinet.o _util_tablenew in tokyocabinet.o _util_pack in tokyocabinet.o _util_unpack in tokyocabinet.o _util_split in tokyocabinet.o _util_ucs in tokyocabinet.o _util_isect in tokyocabinet.o ... "_lua_error", referenced from: _util_pack in tokyocabinet.o _util_unpack in tokyocabinet.o _util_split in tokyocabinet.o _util_codec in tokyocabinet.o _util_hash in tokyocabinet.o _util_bit in tokyocabinet.o _util_strstr in tokyocabinet.o ... "_lua_getfield", referenced from: _luaopen_tokyocabinet in tokyocabinet.o _bdbcur_new in tokyocabinet.o _tdbqry_new in tokyocabinet.o _hdb_errmsg in tokyocabinet.o _hdb_ecode in tokyocabinet.o _hdb_tune in tokyocabinet.o _hdb_setcache in tokyocabinet.o ... "_lua_gettop", referenced from: _util_tablenew in tokyocabinet.o _util_pack in tokyocabinet.o _util_unpack in tokyocabinet.o _util_split in tokyocabinet.o _util_codec in tokyocabinet.o _util_hash in tokyocabinet.o _util_bit in tokyocabinet.o ... "_lua_isnumber", referenced from: _util_sleep in tokyocabinet.o _hdb_fwmkeys in tokyocabinet.o _bdb_fwmkeys in tokyocabinet.o _tdb_fwmkeys in tokyocabinet.o _adb_fwmkeys in tokyocabinet.o "_lua_isstring", referenced from: _bdb_setcmpfunc in tokyocabinet.o "_lua_isuserdata", referenced from: _hdb_del in tokyocabinet.o _bdb_del in tokyocabinet.o _bdbcur_del in tokyocabinet.o _fdb_del in tokyocabinet.o _tdb_del in tokyocabinet.o _tdbqry_del in tokyocabinet.o _adb_del in tokyocabinet.o ... "_lua_newuserdata", referenced from: _hdb_new in tokyocabinet.o _bdb_new in tokyocabinet.o _bdbcur_new in tokyocabinet.o _fdb_new in tokyocabinet.o _tdb_new in tokyocabinet.o _tdbqry_new in tokyocabinet.o _adb_new in tokyocabinet.o ... "_lua_next", referenced from: _tabletotcmap in tokyocabinet.o _tdbqry_procrec in tokyocabinet.o "_lua_objlen", referenced from: _util_pack in tokyocabinet.o _util_ucs in tokyocabinet.o _util_isect in tokyocabinet.o _util_union in tokyocabinet.o _bdb_putlist in tokyocabinet.o _tdbqry_metasearch in tokyocabinet.o "_lua_pcall", referenced from: _util_iterrec in tokyocabinet.o _util_cmpobj in tokyocabinet.o _tdbqry_procrec in tokyocabinet.o "_lua_pushboolean", referenced from: _util_regex in tokyocabinet.o _util_sleep in tokyocabinet.o _util_stat in tokyocabinet.o _util_remove in tokyocabinet.o _util_mkdir in tokyocabinet.o _util_chdir in tokyocabinet.o _hdb_tune in tokyocabinet.o ... "_lua_pushcclosure", referenced from: _luaopen_tokyocabinet in tokyocabinet.o _hdb_new in tokyocabinet.o _bdb_new in tokyocabinet.o _bdbcur_new in tokyocabinet.o _fdb_new in tokyocabinet.o _tdb_new in tokyocabinet.o _tdbqry_new in tokyocabinet.o ... "_lua_pushinteger", referenced from: _util_strstr in tokyocabinet.o _util_ucs in tokyocabinet.o "_lua_pushlstring", referenced from: _util_pack in tokyocabinet.o _util_split in tokyocabinet.o _util_codec in tokyocabinet.o _util_hash in tokyocabinet.o _util_isect in tokyocabinet.o _util_union in tokyocabinet.o _tclisttotable in tokyocabinet.o ... "_lua_pushnil", referenced from: _util_codec in tokyocabinet.o _util_hash in tokyocabinet.o _util_stat in tokyocabinet.o _hdb_get in tokyocabinet.o _hdb_iternext in tokyocabinet.o _hdb_addint in tokyocabinet.o _hdb_adddouble in tokyocabinet.o ... "_lua_pushnumber", referenced from: _util_pack in tokyocabinet.o _util_unpack in tokyocabinet.o _util_hash in tokyocabinet.o _util_bit in tokyocabinet.o _util_dist in tokyocabinet.o _util_time in tokyocabinet.o _util_stat in tokyocabinet.o ... "_lua_pushstring", referenced from: _luaopen_tokyocabinet in tokyocabinet.o _util_pack in tokyocabinet.o _util_unpack in tokyocabinet.o _util_split in tokyocabinet.o _util_codec in tokyocabinet.o _util_hash in tokyocabinet.o _util_bit in tokyocabinet.o ... "_lua_pushvalue", referenced from: _util_pack in tokyocabinet.o _bdbcur_new in tokyocabinet.o _tdbqry_new in tokyocabinet.o _hdb_foreach in tokyocabinet.o _hdb_pairs in tokyocabinet.o _fdb_pairs in tokyocabinet.o _tdb_pairs in tokyocabinet.o ... "_lua_rawgeti", referenced from: _util_pack in tokyocabinet.o _util_ucs in tokyocabinet.o _util_isect in tokyocabinet.o _util_union in tokyocabinet.o _bdb_putlist in tokyocabinet.o _tdbqry_metasearch in tokyocabinet.o "_lua_rawseti", referenced from: _util_pack in tokyocabinet.o _util_unpack in tokyocabinet.o _util_split in tokyocabinet.o _util_ucs in tokyocabinet.o _util_isect in tokyocabinet.o _util_union in tokyocabinet.o _tclisttotable in tokyocabinet.o ... "_lua_remove", referenced from: _util_isect in tokyocabinet.o _util_union in tokyocabinet.o "_lua_replace", referenced from: _util_pack in tokyocabinet.o _util_unpack in tokyocabinet.o _util_split in tokyocabinet.o "_lua_setfield", referenced from: _luaopen_tokyocabinet in tokyocabinet.o _util_stat in tokyocabinet.o _hdb_new in tokyocabinet.o _bdb_new in tokyocabinet.o _bdbcur_new in tokyocabinet.o _fdb_new in tokyocabinet.o _tdb_new in tokyocabinet.o ... "_lua_setmetatable", referenced from: _hdb_new in tokyocabinet.o _bdb_new in tokyocabinet.o _bdbcur_new in tokyocabinet.o _fdb_new in tokyocabinet.o _tdb_new in tokyocabinet.o _tdbqry_new in tokyocabinet.o _adb_new in tokyocabinet.o ... "_lua_settop", referenced from: _luaopen_tokyocabinet in tokyocabinet.o _util_tablenew in tokyocabinet.o _util_pack in tokyocabinet.o _util_unpack in tokyocabinet.o _util_split in tokyocabinet.o _util_codec in tokyocabinet.o _util_hash in tokyocabinet.o ... "_lua_toboolean", referenced from: _util_dist in tokyocabinet.o _util_iterrec in tokyocabinet.o _bdb_range in tokyocabinet.o "_lua_tointeger", referenced from: _util_tablenew in tokyocabinet.o _util_ucs in tokyocabinet.o _hdb_errmsg in tokyocabinet.o _hdb_tune in tokyocabinet.o _hdb_open in tokyocabinet.o _hdb_optimize in tokyocabinet.o _util_cmpobj in tokyocabinet.o ... "_lua_tolstring", referenced from: _util_pack in tokyocabinet.o _util_unpack in tokyocabinet.o _util_split in tokyocabinet.o _util_codec in tokyocabinet.o _util_hash in tokyocabinet.o _util_bit in tokyocabinet.o _util_strstr in tokyocabinet.o ... "_lua_tonumber", referenced from: _util_pack in tokyocabinet.o _util_bit in tokyocabinet.o _util_sleep in tokyocabinet.o _hdb_tune in tokyocabinet.o _hdb_setcache in tokyocabinet.o _hdb_setxmsiz in tokyocabinet.o _hdb_setdfunit in tokyocabinet.o ... "_lua_touserdata", referenced from: _bdbcur_new in tokyocabinet.o _tdbqry_new in tokyocabinet.o _hdb_del in tokyocabinet.o _hdb_errmsg in tokyocabinet.o _hdb_ecode in tokyocabinet.o _hdb_tune in tokyocabinet.o _hdb_setcache in tokyocabinet.o ... "_lua_type", referenced from: _util_pack in tokyocabinet.o _util_ucs in tokyocabinet.o _util_isect in tokyocabinet.o _util_union in tokyocabinet.o _hdb_errmsg in tokyocabinet.o _hdb_ecode in tokyocabinet.o _hdb_tune in tokyocabinet.o ... ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status *** Error code 1 Stop. bmake: stopped in /Users/kristerw/pbulk/scratch/databases/lua-tokyocabinet/work/tokyocabinet-lua-1.9 *** Error code 1 Stop. bmake: stopped in /Users/kristerw/pbulk/pkgsrc/databases/lua-tokyocabinet *** Error code 1 Stop. bmake: stopped in /Users/kristerw/pbulk/pkgsrc/databases/lua-tokyocabinet