=> 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 tokyotyrant-1.1.41nb1
gcc -c -I/usr/pkg/include -I/usr/include -I. -I/usr/pkg/include -I/scratch/databases/tokyotyrant/work/.home/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -I/usr/include/lua5.2 -I/usr/local/include/lua5.2 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -I/usr/pkg/include -I/usr/include -I/usr/include -D_TT_PREFIX="\"/usr/pkg\"" -D_TT_INCLUDEDIR="\"/usr/pkg/include\"" -D_TT_LIBDIR="\"/usr/pkg/lib\"" -D_TT_BINDIR="\"/usr/pkg/bin\"" -D_TT_LIBEXECDIR="\"/usr/pkg/libexec\"" -D_TT_APPINC="\"-I/usr/pkg/include\"" -D_TT_APPLIBS="\"-L/usr/pkg/lib -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc \"" -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 ttutil.c
gcc -c -I/usr/pkg/include -I/usr/include -I. -I/usr/pkg/include -I/scratch/databases/tokyotyrant/work/.home/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -I/usr/include/lua5.2 -I/usr/local/include/lua5.2 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -I/usr/pkg/include -I/usr/include -I/usr/include -D_TT_PREFIX="\"/usr/pkg\"" -D_TT_INCLUDEDIR="\"/usr/pkg/include\"" -D_TT_LIBDIR="\"/usr/pkg/lib\"" -D_TT_BINDIR="\"/usr/pkg/bin\"" -D_TT_LIBEXECDIR="\"/usr/pkg/libexec\"" -D_TT_APPINC="\"-I/usr/pkg/include\"" -D_TT_APPLIBS="\"-L/usr/pkg/lib -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc \"" -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 tculog.c
gcc -c -I/usr/pkg/include -I/usr/include -I. -I/usr/pkg/include -I/scratch/databases/tokyotyrant/work/.home/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -I/usr/include/lua5.2 -I/usr/local/include/lua5.2 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -I/usr/pkg/include -I/usr/include -I/usr/include -D_TT_PREFIX="\"/usr/pkg\"" -D_TT_INCLUDEDIR="\"/usr/pkg/include\"" -D_TT_LIBDIR="\"/usr/pkg/lib\"" -D_TT_BINDIR="\"/usr/pkg/bin\"" -D_TT_LIBEXECDIR="\"/usr/pkg/libexec\"" -D_TT_APPINC="\"-I/usr/pkg/include\"" -D_TT_APPLIBS="\"-L/usr/pkg/lib -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc \"" -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 tcrdb.c
gcc -c -I/usr/pkg/include -I/usr/include -I. -I/usr/pkg/include -I/scratch/databases/tokyotyrant/work/.home/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -I/usr/include/lua5.2 -I/usr/local/include/lua5.2 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -I/usr/pkg/include -I/usr/include -I/usr/include -D_TT_PREFIX="\"/usr/pkg\"" -D_TT_INCLUDEDIR="\"/usr/pkg/include\"" -D_TT_LIBDIR="\"/usr/pkg/lib\"" -D_TT_BINDIR="\"/usr/pkg/bin\"" -D_TT_LIBEXECDIR="\"/usr/pkg/libexec\"" -D_TT_APPINC="\"-I/usr/pkg/include\"" -D_TT_APPLIBS="\"-L/usr/pkg/lib -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc \"" -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 myconf.c
myconf.c:69:5: warning: incompatible pointer to integer conversion assigning to '__intptr_t' (aka 'long') from 'void *' [-Wint-conversion]
    EV_SET(&kev, fd, kfilt, kflags, 0, 0, NULL);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/event.h:55:16: note: expanded from macro 'EV_SET'
        (kevp)->udata = (f);                                            \
                      ^ ~~~
myconf.c:74:5: warning: incompatible pointer to integer conversion assigning to '__intptr_t' (aka 'long') from 'void *' [-Wint-conversion]
    EV_SET(&kev, fd, kfilt, EV_DELETE, 0, 0, NULL);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/event.h:55:16: note: expanded from macro 'EV_SET'
        (kevp)->udata = (f);                                            \
                      ^ ~~~
2 warnings generated.
gcc -c -I/usr/pkg/include -I/usr/include -I. -I/usr/pkg/include -I/scratch/databases/tokyotyrant/work/.home/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -I/usr/include/lua5.2 -I/usr/local/include/lua5.2 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -I/usr/pkg/include -I/usr/include -I/usr/include -D_TT_PREFIX="\"/usr/pkg\"" -D_TT_INCLUDEDIR="\"/usr/pkg/include\"" -D_TT_LIBDIR="\"/usr/pkg/lib\"" -D_TT_BINDIR="\"/usr/pkg/bin\"" -D_TT_LIBEXECDIR="\"/usr/pkg/libexec\"" -D_TT_APPINC="\"-I/usr/pkg/include\"" -D_TT_APPLIBS="\"-L/usr/pkg/lib -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc \"" -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 ttskelmock.c
gcc -c -I/usr/pkg/include -I/usr/include -I. -I/usr/pkg/include -I/scratch/databases/tokyotyrant/work/.home/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -I/usr/include/lua5.2 -I/usr/local/include/lua5.2 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -I/usr/pkg/include -I/usr/include -I/usr/include -D_TT_PREFIX="\"/usr/pkg\"" -D_TT_INCLUDEDIR="\"/usr/pkg/include\"" -D_TT_LIBDIR="\"/usr/pkg/lib\"" -D_TT_BINDIR="\"/usr/pkg/bin\"" -D_TT_LIBEXECDIR="\"/usr/pkg/libexec\"" -D_TT_APPINC="\"-I/usr/pkg/include\"" -D_TT_APPLIBS="\"-L/usr/pkg/lib -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc \"" -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 ttskeldir.c
gcc -c -I/usr/pkg/include -I/usr/include -I. -I/usr/pkg/include -I/scratch/databases/tokyotyrant/work/.home/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -I/usr/include/lua5.2 -I/usr/local/include/lua5.2 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -I/usr/pkg/include -I/usr/include -I/usr/include -D_TT_PREFIX="\"/usr/pkg\"" -D_TT_INCLUDEDIR="\"/usr/pkg/include\"" -D_TT_LIBDIR="\"/usr/pkg/lib\"" -D_TT_BINDIR="\"/usr/pkg/bin\"" -D_TT_LIBEXECDIR="\"/usr/pkg/libexec\"" -D_TT_APPINC="\"-I/usr/pkg/include\"" -D_TT_APPLIBS="\"-L/usr/pkg/lib -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc \"" -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 ttskelproxy.c
gcc -c -I/usr/pkg/include -I/usr/include -I. -I/usr/pkg/include -I/scratch/databases/tokyotyrant/work/.home/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -I/usr/include/lua5.2 -I/usr/local/include/lua5.2 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -I/usr/pkg/include -I/usr/include -I/usr/include -D_TT_PREFIX="\"/usr/pkg\"" -D_TT_INCLUDEDIR="\"/usr/pkg/include\"" -D_TT_LIBDIR="\"/usr/pkg/lib\"" -D_TT_BINDIR="\"/usr/pkg/bin\"" -D_TT_LIBEXECDIR="\"/usr/pkg/libexec\"" -D_TT_APPINC="\"-I/usr/pkg/include\"" -D_TT_APPLIBS="\"-L/usr/pkg/lib -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc \"" -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 ttskelnull.c
gcc -c -I/usr/pkg/include -I/usr/include -I. -I/usr/pkg/include -I/scratch/databases/tokyotyrant/work/.home/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -I/usr/include/lua5.2 -I/usr/local/include/lua5.2 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -I/usr/pkg/include -I/usr/include -I/usr/include -D_TT_PREFIX="\"/usr/pkg\"" -D_TT_INCLUDEDIR="\"/usr/pkg/include\"" -D_TT_LIBDIR="\"/usr/pkg/lib\"" -D_TT_BINDIR="\"/usr/pkg/bin\"" -D_TT_LIBEXECDIR="\"/usr/pkg/libexec\"" -D_TT_APPINC="\"-I/usr/pkg/include\"" -D_TT_APPLIBS="\"-L/usr/pkg/lib -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc \"" -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 ttserver.c
gcc -c -I/usr/pkg/include -I/usr/include -I. -I/usr/pkg/include -I/scratch/databases/tokyotyrant/work/.home/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -I/usr/include/lua5.2 -I/usr/local/include/lua5.2 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -I/usr/pkg/include -I/usr/include -I/usr/include -D_TT_PREFIX="\"/usr/pkg\"" -D_TT_INCLUDEDIR="\"/usr/pkg/include\"" -D_TT_LIBDIR="\"/usr/pkg/lib\"" -D_TT_BINDIR="\"/usr/pkg/bin\"" -D_TT_LIBEXECDIR="\"/usr/pkg/libexec\"" -D_TT_APPINC="\"-I/usr/pkg/include\"" -D_TT_APPLIBS="\"-L/usr/pkg/lib -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc \"" -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 scrext.c
gcc -c -I/usr/pkg/include -I/usr/include -I. -I/usr/pkg/include -I/scratch/databases/tokyotyrant/work/.home/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -I/usr/include/lua5.2 -I/usr/local/include/lua5.2 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -I/usr/pkg/include -I/usr/include -I/usr/include -D_TT_PREFIX="\"/usr/pkg\"" -D_TT_INCLUDEDIR="\"/usr/pkg/include\"" -D_TT_LIBDIR="\"/usr/pkg/lib\"" -D_TT_BINDIR="\"/usr/pkg/bin\"" -D_TT_LIBEXECDIR="\"/usr/pkg/libexec\"" -D_TT_APPINC="\"-I/usr/pkg/include\"" -D_TT_APPLIBS="\"-L/usr/pkg/lib -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc \"" -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 ttulmgr.c
gcc -c -I/usr/pkg/include -I/usr/include -I. -I/usr/pkg/include -I/scratch/databases/tokyotyrant/work/.home/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -I/usr/include/lua5.2 -I/usr/local/include/lua5.2 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -I/usr/pkg/include -I/usr/include -I/usr/include -D_TT_PREFIX="\"/usr/pkg\"" -D_TT_INCLUDEDIR="\"/usr/pkg/include\"" -D_TT_LIBDIR="\"/usr/pkg/lib\"" -D_TT_BINDIR="\"/usr/pkg/bin\"" -D_TT_LIBEXECDIR="\"/usr/pkg/libexec\"" -D_TT_APPINC="\"-I/usr/pkg/include\"" -D_TT_APPLIBS="\"-L/usr/pkg/lib -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc \"" -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 ttultest.c
gcc -c -I/usr/pkg/include -I/usr/include -I. -I/usr/pkg/include -I/scratch/databases/tokyotyrant/work/.home/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -I/usr/include/lua5.2 -I/usr/local/include/lua5.2 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -I/usr/pkg/include -I/usr/include -I/usr/include -D_TT_PREFIX="\"/usr/pkg\"" -D_TT_INCLUDEDIR="\"/usr/pkg/include\"" -D_TT_LIBDIR="\"/usr/pkg/lib\"" -D_TT_BINDIR="\"/usr/pkg/bin\"" -D_TT_LIBEXECDIR="\"/usr/pkg/libexec\"" -D_TT_APPINC="\"-I/usr/pkg/include\"" -D_TT_APPLIBS="\"-L/usr/pkg/lib -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc \"" -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 tcrtest.c
scrext.c:392:10: warning: implicit declaration of function 'lua_objlen' is invalid in C99 [-Wimplicit-function-declaration]
      if(lua_objlen(lua, 1) > 0){
         ^
gcc -c -I/usr/pkg/include -I/usr/include -I. -I/usr/pkg/include -I/scratch/databases/tokyotyrant/work/.home/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -I/usr/include/lua5.2 -I/usr/local/include/lua5.2 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -I/usr/pkg/include -I/usr/include -I/usr/include -D_TT_PREFIX="\"/usr/pkg\"" -D_TT_INCLUDEDIR="\"/usr/pkg/include\"" -D_TT_LIBDIR="\"/usr/pkg/lib\"" -D_TT_BINDIR="\"/usr/pkg/bin\"" -D_TT_LIBEXECDIR="\"/usr/pkg/libexec\"" -D_TT_APPINC="\"-I/usr/pkg/include\"" -D_TT_APPLIBS="\"-L/usr/pkg/lib -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc \"" -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 tcrmttest.c
1 warning generated.
gcc -c -I/usr/pkg/include -I/usr/include -I. -I/usr/pkg/include -I/scratch/databases/tokyotyrant/work/.home/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -I/usr/include/lua5.2 -I/usr/local/include/lua5.2 -I/usr/include/lua -I/usr/local/include/lua -D_MYLUA -I/usr/pkg/include -I/usr/include -I/usr/include -D_TT_PREFIX="\"/usr/pkg\"" -D_TT_INCLUDEDIR="\"/usr/pkg/include\"" -D_TT_LIBDIR="\"/usr/pkg/lib\"" -D_TT_BINDIR="\"/usr/pkg/bin\"" -D_TT_LIBEXECDIR="\"/usr/pkg/libexec\"" -D_TT_APPINC="\"-I/usr/pkg/include\"" -D_TT_APPLIBS="\"-L/usr/pkg/lib -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc \"" -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 tcrmgr.c
ar rv libtokyotyrant.a ttutil.o tculog.o tcrdb.o myconf.o
ar: creating libtokyotyrant.a
a - ttutil.o
a - tculog.o
a - tcrdb.o
a - myconf.o
if uname -a | egrep -i 'SunOS' > /dev/null ; \
  then \
    gcc -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 -shared -Wl,-G,-h,libtokyotyrant.so.3 -o libtokyotyrant.so.3.24.0 \
      ttutil.o tculog.o tcrdb.o myconf.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L. -L/usr/pkg/lib -L/scratch/databases/tokyotyrant/work/.home/lib -L/usr/local/lib -L/usr/include/lua5.2 -L/usr/local/include/lua5.2 -L/usr/include/lua -L/usr/local/include/lua -L/usr/pkg/lib -L/usr/lib -L/usr/lib -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc  ; \
  else \
    gcc -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 -shared -Wl,-soname,libtokyotyrant.so.3 -o libtokyotyrant.so.3.24.0 \
      ttutil.o tculog.o tcrdb.o myconf.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L. -L/usr/pkg/lib -L/scratch/databases/tokyotyrant/work/.home/lib -L/usr/local/lib -L/usr/include/lua5.2 -L/usr/local/include/lua5.2 -L/usr/include/lua -L/usr/local/include/lua -L/usr/pkg/lib -L/usr/lib -L/usr/lib -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc  ; \
  fi
gcc -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 -shared -o ttskelmock.so ttskelmock.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L. -L/usr/pkg/lib -L/scratch/databases/tokyotyrant/work/.home/lib -L/usr/local/lib -L/usr/include/lua5.2 -L/usr/local/include/lua5.2 -L/usr/include/lua -L/usr/local/include/lua -L/usr/pkg/lib -L/usr/lib -L/usr/lib -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc 
gcc -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 -shared -o ttskeldir.so ttskeldir.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L. -L/usr/pkg/lib -L/scratch/databases/tokyotyrant/work/.home/lib -L/usr/local/lib -L/usr/include/lua5.2 -L/usr/local/include/lua5.2 -L/usr/include/lua -L/usr/local/include/lua -L/usr/pkg/lib -L/usr/lib -L/usr/lib -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc 
gcc -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 -shared -o ttskelproxy.so ttskelproxy.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L. -L/usr/pkg/lib -L/scratch/databases/tokyotyrant/work/.home/lib -L/usr/local/lib -L/usr/include/lua5.2 -L/usr/local/include/lua5.2 -L/usr/include/lua -L/usr/local/include/lua -L/usr/pkg/lib -L/usr/lib -L/usr/lib -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc 
gcc -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 -shared -o ttskelnull.so ttskelnull.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L. -L/usr/pkg/lib -L/scratch/databases/tokyotyrant/work/.home/lib -L/usr/local/lib -L/usr/include/lua5.2 -L/usr/local/include/lua5.2 -L/usr/include/lua -L/usr/local/include/lua -L/usr/pkg/lib -L/usr/lib -L/usr/lib -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc 
ln -f -s libtokyotyrant.so.3.24.0 libtokyotyrant.so.3
ln -f -s libtokyotyrant.so.3.24.0 libtokyotyrant.so
LD_RUN_PATH=/lib:/usr/lib:/usr/pkg/lib:/scratch/databases/tokyotyrant/work/.home/lib:/usr/local/lib:/usr/pkg/lib:/usr/pkg/lib:/usr/lib:/usr/lib:. gcc -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 -o ttserver ttserver.o scrext.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L. -L/usr/pkg/lib -L/scratch/databases/tokyotyrant/work/.home/lib -L/usr/local/lib -L/usr/include/lua5.2 -L/usr/local/include/lua5.2 -L/usr/include/lua -L/usr/local/include/lua -L/usr/pkg/lib -L/usr/lib -L/usr/lib  -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc 
LD_RUN_PATH=/lib:/usr/lib:/usr/pkg/lib:/scratch/databases/tokyotyrant/work/.home/lib:/usr/local/lib:/usr/pkg/lib:/usr/pkg/lib:/usr/lib:/usr/lib:. gcc -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 -o ttulmgr ttulmgr.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L. -L/usr/pkg/lib -L/scratch/databases/tokyotyrant/work/.home/lib -L/usr/local/lib -L/usr/include/lua5.2 -L/usr/local/include/lua5.2 -L/usr/include/lua -L/usr/local/include/lua -L/usr/pkg/lib -L/usr/lib -L/usr/lib  -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc 
LD_RUN_PATH=/lib:/usr/lib:/usr/pkg/lib:/scratch/databases/tokyotyrant/work/.home/lib:/usr/local/lib:/usr/pkg/lib:/usr/pkg/lib:/usr/lib:/usr/lib:. gcc -O2 -pthread -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/pkg/include -I/usr/include -std=c99 -Wall -fPIC -fsigned-char -O2 -o ttultest ttultest.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L. -L/usr/pkg/lib -L/scratch/databases/tokyotyrant/work/.home/lib -L/usr/local/lib -L/usr/include/lua5.2 -L/usr/local/include/lua5.2 -L/usr/include/lua -L/usr/local/include/lua -L/usr/pkg/lib -L/usr/lib -L/usr/lib  -ltokyotyrant -llua -ltokyocabinet -lbz2 -lz -lresolv -lrt  -lm -lc 
scrext.o: In function `serv_misc':
scrext.c:(.text+0x1638): undefined reference to `lua_objlen'
scrext.o: In function `serv_mapreduce':
scrext.c:(.text+0x19b0): undefined reference to `lua_objlen'
scrext.o: In function `serv_pack':
scrext.c:(.text+0x256c): undefined reference to `lua_objlen'
scrext.o: In function `serv_ucs':
scrext.c:(.text+0x3d26): undefined reference to `lua_objlen'
scrext.o: In function `serv_isect':
scrext.c:(.text+0x3fab): undefined reference to `lua_objlen'
scrext.o:scrext.c:(.text+0x404c): more undefined references to `lua_objlen' follow
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [ttserver] Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 2

Stop.
make: stopped in /data/pkgsrc/databases/tokyotyrant
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/databases/tokyotyrant
