=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for kyotocabinet-1.2.76nb1 c++ -c -I/usr/include -D_REENTRANT -I/usr/pkg/include -I. -I/usr/pkg/include -DNDEBUG -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D__EXTENSIONS__ -D_MYZLIB -D_KC_PREFIX="\"/usr/pkg\"" -D_KC_INCLUDEDIR="\"/usr/pkg/include\"" -D_KC_LIBDIR="\"/usr/pkg/lib\"" -D_KC_BINDIR="\"/usr/pkg/bin\"" -D_KC_LIBEXECDIR="\"/usr/pkg/libexec\"" -D_KC_APPINC="\"-I/usr/pkg/include\"" -D_KC_APPLIBS="\"-L/usr/pkg/lib -lkyotocabinet -lz -lstdc++ -lpthread -lm -lc -lpthread\"" -O2 -march=i586 -I/usr/include -D_REENTRANT -I/usr/pkg/include -Wall -fPIC -fsigned-char -g0 -Wno-unused-but-set-variable -Wno-unused-but-set-parameter kcutil.cc warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option] warning: unknown warning option '-Wno-unused-but-set-parameter'; did you mean '-Wno-unused-parameter'? [-Wunknown-warning-option] In file included from kcutil.cc:17: In file included from ./myconf.h:217: /usr/pkgsrc/work/databases/kyotocabinet/work/.buildlink/include/pthread.h:544:9: warning: 'sched_yield' macro redefined [-Wmacro-redefined] #define sched_yield pthread_yield_np ^ /usr/include/sched.h:59:9: note: previous definition is here #define sched_yield __libc_thr_yield ^ 3 warnings generated. c++ -c -I/usr/include -D_REENTRANT -I/usr/pkg/include -I. -I/usr/pkg/include -DNDEBUG -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D__EXTENSIONS__ -D_MYZLIB -D_KC_PREFIX="\"/usr/pkg\"" -D_KC_INCLUDEDIR="\"/usr/pkg/include\"" -D_KC_LIBDIR="\"/usr/pkg/lib\"" -D_KC_BINDIR="\"/usr/pkg/bin\"" -D_KC_LIBEXECDIR="\"/usr/pkg/libexec\"" -D_KC_APPINC="\"-I/usr/pkg/include\"" -D_KC_APPLIBS="\"-L/usr/pkg/lib -lkyotocabinet -lz -lstdc++ -lpthread -lm -lc -lpthread\"" -O2 -march=i586 -I/usr/include -D_REENTRANT -I/usr/pkg/include -Wall -fPIC -fsigned-char -g0 -Wno-unused-but-set-variable -Wno-unused-but-set-parameter kcthread.cc warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option] warning: unknown warning option '-Wno-unused-but-set-parameter'; did you mean '-Wno-unused-parameter'? [-Wunknown-warning-option] In file included from kcthread.cc:17: In file included from ./myconf.h:217: /usr/pkgsrc/work/databases/kyotocabinet/work/.buildlink/include/pthread.h:544:9: warning: 'sched_yield' macro redefined [-Wmacro-redefined] #define sched_yield pthread_yield_np ^ /usr/include/sched.h:59:9: note: previous definition is here #define sched_yield __libc_thr_yield ^ kcthread.cc:217:14: error: out-of-line definition of '__pthread_sleep' does not match any declaration in 'kyotocabinet::Thread' bool Thread::sleep(double sec) { ^~~~~ /usr/pkgsrc/work/databases/kyotocabinet/work/.buildlink/include/pthread.h:518:20: note: expanded from macro 'sleep' #define sleep __pthread_sleep ^~~~~~~~~~~~~~~ kcthread.cc:439:21: error: no member named 'pthread_mutex_timedlock' in the global namespace int32_t ecode = ::pthread_mutex_timedlock(mutex, &ts); ~~^ kcthread.cc:628:5: error: no type named 'pthread_spinlock_t' in the global namespace; did you mean 'pthread_rwlock_t'? ::pthread_spinlock_t* spin = new ::pthread_spinlock_t; ~~^~~~~~~~~~~~~~~~~~ pthread_rwlock_t /usr/pkgsrc/work/databases/kyotocabinet/work/.buildlink/include/pthread.h:294:42: note: 'pthread_rwlock_t' declared here typedef struct pthread_rwlock_st *pthread_rwlock_t; ^ kcthread.cc:628:38: error: no type named 'pthread_spinlock_t' in the global namespace; did you mean 'pthread_rwlock_t'? ::pthread_spinlock_t* spin = new ::pthread_spinlock_t; ~~^~~~~~~~~~~~~~~~~~ pthread_rwlock_t /usr/pkgsrc/work/databases/kyotocabinet/work/.buildlink/include/pthread.h:294:42: note: 'pthread_rwlock_t' declared here typedef struct pthread_rwlock_st *pthread_rwlock_t; ^ kcthread.cc:629:9: error: no member named 'pthread_spin_init' in the global namespace; did you mean 'pthread_rwlock_init'? if (::pthread_spin_init(spin, PTHREAD_PROCESS_PRIVATE) != 0) ~~^~~~~~~~~~~~~~~~~ pthread_rwlock_init /usr/pkgsrc/work/databases/kyotocabinet/work/.buildlink/include/pthread.h:412:18: note: 'pthread_rwlock_init' declared here extern int pthread_rwlock_init(pthread_rwlock_t *, const pthread_rwlockattr_t *); ^ kcthread.cc:646:5: error: no type named 'pthread_spinlock_t' in the global namespace; did you mean 'pthread_rwlock_t'? ::pthread_spinlock_t* spin = (::pthread_spinlock_t*)opq_; ~~^~~~~~~~~~~~~~~~~~ pthread_rwlock_t /usr/pkgsrc/work/databases/kyotocabinet/work/.buildlink/include/pthread.h:294:42: note: 'pthread_rwlock_t' declared here typedef struct pthread_rwlock_st *pthread_rwlock_t; ^ kcthread.cc:646:54: error: expected expression ::pthread_spinlock_t* spin = (::pthread_spinlock_t*)opq_; ^ kcthread.cc:646:35: error: no member named 'pthread_spinlock_t' in the global namespace ::pthread_spinlock_t* spin = (::pthread_spinlock_t*)opq_; ~~^ kcthread.cc:647:5: error: no type named 'pthread_spin_destroy' in the global namespace ::pthread_spin_destroy(spin); ~~^ kcthread.cc:681:5: error: no type named 'pthread_spinlock_t' in the global namespace; did you mean 'pthread_rwlock_t'? ::pthread_spinlock_t* spin = (::pthread_spinlock_t*)opq_; ~~^~~~~~~~~~~~~~~~~~ pthread_rwlock_t /usr/pkgsrc/work/databases/kyotocabinet/work/.buildlink/include/pthread.h:294:42: note: 'pthread_rwlock_t' declared here typedef struct pthread_rwlock_st *pthread_rwlock_t; ^ kcthread.cc:681:54: error: expected expression ::pthread_spinlock_t* spin = (::pthread_spinlock_t*)opq_; ^ kcthread.cc:681:35: error: no member named 'pthread_spinlock_t' in the global namespace ::pthread_spinlock_t* spin = (::pthread_spinlock_t*)opq_; ~~^ kcthread.cc:682:9: error: no member named 'pthread_spin_lock' in the global namespace if (::pthread_spin_lock(spin) != 0) throw std::runtime_error("pthread_spin_lock"); ~~^ kcthread.cc:699:5: error: no type named 'pthread_spinlock_t' in the global namespace; did you mean 'pthread_rwlock_t'? ::pthread_spinlock_t* spin = (::pthread_spinlock_t*)opq_; ~~^~~~~~~~~~~~~~~~~~ pthread_rwlock_t /usr/pkgsrc/work/databases/kyotocabinet/work/.buildlink/include/pthread.h:294:42: note: 'pthread_rwlock_t' declared here typedef struct pthread_rwlock_st *pthread_rwlock_t; ^ kcthread.cc:699:54: error: expected expression ::pthread_spinlock_t* spin = (::pthread_spinlock_t*)opq_; ^ kcthread.cc:699:35: error: no member named 'pthread_spinlock_t' in the global namespace ::pthread_spinlock_t* spin = (::pthread_spinlock_t*)opq_; ~~^ kcthread.cc:700:21: error: no member named 'pthread_spin_trylock' in the global namespace int32_t ecode = ::pthread_spin_trylock(spin); ~~^ kcthread.cc:720:5: error: no type named 'pthread_spinlock_t' in the global namespace; did you mean 'pthread_rwlock_t'? ::pthread_spinlock_t* spin = (::pthread_spinlock_t*)opq_; ~~^~~~~~~~~~~~~~~~~~ pthread_rwlock_t /usr/pkgsrc/work/databases/kyotocabinet/work/.buildlink/include/pthread.h:294:42: note: 'pthread_rwlock_t' declared here typedef struct pthread_rwlock_st *pthread_rwlock_t; ^ kcthread.cc:720:54: error: expected expression ::pthread_spinlock_t* spin = (::pthread_spinlock_t*)opq_; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 3 warnings and 20 errors generated. Makefile:76: recipe for target 'kcthread.o' failed gmake: *** [kcthread.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/databases/kyotocabinet *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/databases/kyotocabinet