=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for gsmlib-1.10nb3 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/usr/pkgsrc/work/comms/gsmlib/work/gsmlib-1.10' Making all in po gmake[2]: Entering directory '/usr/pkgsrc/work/comms/gsmlib/work/gsmlib-1.10/po' PATH=../src:$PATH /usr/pkg/bin/xgettext --default-domain=gsmlib --directory=.. \ --add-comments --keyword=_ --keyword=N_ \ --files-from=./POTFILES.in \ && test ! -f gsmlib.po \ || ( rm -f ./gsmlib.pot \ && mv gsmlib.po ./gsmlib.pot ) rm -f cat-id-tbl.tmp sed -f ../intl/po2tbl.sed ./gsmlib.pot \ | sed -e "s/@PACKAGE NAME@/gsmlib/" > cat-id-tbl.tmp sed: ../intl/po2tbl.sed: No such file or directory if cmp -s cat-id-tbl.tmp ./cat-id-tbl.c; then \ rm cat-id-tbl.tmp; \ else \ echo cat-id-tbl.c changed; \ rm -f ./cat-id-tbl.c; \ mv cat-id-tbl.tmp ./cat-id-tbl.c; \ fi cat-id-tbl.c changed cd . && rm -f stamp-cat-id && echo timestamp > stamp-cat-id gmake[2]: Leaving directory '/usr/pkgsrc/work/comms/gsmlib/work/gsmlib-1.10/po' Making all in gsmlib gmake[2]: Entering directory '/usr/pkgsrc/work/comms/gsmlib/work/gsmlib-1.10/gsmlib' source='gsm_phonebook.cc' object='gsm_phonebook.lo' libtool=yes \ depfile='.deps/gsm_phonebook.Plo' tmpdepfile='.deps/gsm_phonebook.TPlo' \ depmode=gcc3 /bin/sh ../scripts/depcomp \ /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/pkg/include -I/usr/include -D_REENTRANT -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -D_REENTRANT -c -o gsm_phonebook.lo `test -f 'gsm_phonebook.cc' || echo './'`gsm_phonebook.cc libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include -D_REENTRANT -Wall -O2 -march=i586 -c gsm_phonebook.cc -MT gsm_phonebook.lo -MD -MP -MF .deps/gsm_phonebook.TPlo -fPIC -DPIC -o .libs/gsm_phonebook.o In file included from gsm_phonebook.cc:18: In file included from ../gsmlib/gsm_phonebook.h:16: In file included from ../gsmlib/gsm_sorted_phonebook_base.h:20: In file included from ../gsmlib/gsm_map_key.h:17: ../gsmlib/gsm_sms_codec.h:128:59: warning: self-comparison always evaluates to true [-Wtautological-compare] bool compressed() const {return _dcs & DCS_COMPRESSED == DCS_COMPRESSED;} ^ ../gsmlib/gsm_sms_codec.h:128:42: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] bool compressed() const {return _dcs & DCS_COMPRESSED == DCS_COMPRESSED;} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gsmlib/gsm_sms_codec.h:128:42: note: place parentheses around the '==' expression to silence this warning bool compressed() const {return _dcs & DCS_COMPRESSED == DCS_COMPRESSED;} ^ ( ) ../gsmlib/gsm_sms_codec.h:128:42: note: place parentheses around the & expression to evaluate it first bool compressed() const {return _dcs & DCS_COMPRESSED == DCS_COMPRESSED;} ^ ( ) ../gsmlib/gsm_sms_codec.h:132:53: warning: self-comparison always evaluates to true [-Wtautological-compare] {return _dcs & DCS_MESSAGE_WAITING_INDICATION == ^ ../gsmlib/gsm_sms_codec.h:132:20: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] {return _dcs & DCS_MESSAGE_WAITING_INDICATION == ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gsmlib/gsm_sms_codec.h:132:20: note: place parentheses around the '==' expression to silence this warning {return _dcs & DCS_MESSAGE_WAITING_INDICATION == ^ ../gsmlib/gsm_sms_codec.h:132:20: note: place parentheses around the & expression to evaluate it first {return _dcs & DCS_MESSAGE_WAITING_INDICATION == ^ ( ) gsm_phonebook.cc:290:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ gsm_phonebook.cc:572:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 6 warnings generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include -D_REENTRANT -Wall -O2 -march=i586 -c gsm_phonebook.cc -MT gsm_phonebook.lo -MD -MP -MF .deps/gsm_phonebook.TPlo -o gsm_phonebook.o >/dev/null 2>&1 source='gsm_util.cc' object='gsm_util.lo' libtool=yes \ depfile='.deps/gsm_util.Plo' tmpdepfile='.deps/gsm_util.TPlo' \ depmode=gcc3 /bin/sh ../scripts/depcomp \ /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/pkg/include -I/usr/include -D_REENTRANT -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -D_REENTRANT -c -o gsm_util.lo `test -f 'gsm_util.cc' || echo './'`gsm_util.cc libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include -D_REENTRANT -Wall -O2 -march=i586 -c gsm_util.cc -MT gsm_util.lo -MD -MP -MF .deps/gsm_util.TPlo -fPIC -DPIC -o .libs/gsm_util.o gsm_util.cc:107:67: warning: array subscript is of type 'char' [-Wchar-subscripts] result[i] = (unsigned char)s[i] > 127 ? NOP : gsmToLatin1Table[s[i]]; ^~~~~ 1 warning generated. libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include -D_REENTRANT -Wall -O2 -march=i586 -c gsm_util.cc -MT gsm_util.lo -MD -MP -MF .deps/gsm_util.TPlo -o gsm_util.o >/dev/null 2>&1 source='gsm_unix_serial.cc' object='gsm_unix_serial.lo' libtool=yes \ depfile='.deps/gsm_unix_serial.Plo' tmpdepfile='.deps/gsm_unix_serial.TPlo' \ depmode=gcc3 /bin/sh ../scripts/depcomp \ /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/pkg/include -I/usr/include -D_REENTRANT -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -D_REENTRANT -c -o gsm_unix_serial.lo `test -f 'gsm_unix_serial.cc' || echo './'`gsm_unix_serial.cc libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include -D_REENTRANT -Wall -O2 -march=i586 -c gsm_unix_serial.cc -MT gsm_unix_serial.lo -MD -MP -MF .deps/gsm_unix_serial.TPlo -fPIC -DPIC -o .libs/gsm_unix_serial.o In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:285:42: error: typedef redefinition with different types ('struct pthread_st *' vs 'mthread_thread_t' (aka 'int')) typedef struct pthread_st *pthread_t; ^ /usr/include/minix/mthread.h:147:26: note: previous definition is here typedef mthread_thread_t pthread_t; ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:286:42: error: typedef redefinition with different types ('struct pthread_attr_st *' vs 'mthread_attr_t' (aka '__mthread_attr *')) typedef struct pthread_attr_st *pthread_attr_t; ^ /usr/include/minix/mthread.h:154:24: note: previous definition is here typedef mthread_attr_t pthread_attr_t; ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:289:42: error: typedef redefinition with different types ('int' vs 'mthread_mutexattr_t' (aka 'void *')) typedef int pthread_mutexattr_t; ^ /usr/include/minix/mthread.h:153:29: note: previous definition is here typedef mthread_mutexattr_t pthread_mutexattr_t; ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:290:42: error: typedef redefinition with different types ('struct pthread_mutex_st *' vs 'mthread_mutex_t' (aka '__mthread_mutex *')) typedef struct pthread_mutex_st *pthread_mutex_t; ^ /usr/include/minix/mthread.h:151:25: note: previous definition is here typedef mthread_mutex_t pthread_mutex_t; ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:291:42: error: typedef redefinition with different types ('int' vs 'mthread_condattr_t' (aka 'void *')) typedef int pthread_condattr_t; ^ /usr/include/minix/mthread.h:152:28: note: previous definition is here typedef mthread_condattr_t pthread_condattr_t; ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:292:42: error: typedef redefinition with different types ('struct pthread_cond_st *' vs 'mthread_cond_t' (aka '__mthread_cond *')) typedef struct pthread_cond_st *pthread_cond_t; ^ /usr/include/minix/mthread.h:150:24: note: previous definition is here typedef mthread_cond_t pthread_cond_t; ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:293:42: error: typedef redefinition with different types ('int' vs 'void *') typedef int pthread_rwlockattr_t; ^ /usr/include/minix/mthread.h:159:15: note: previous definition is here typedef void *pthread_rwlockattr_t; ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:294:42: error: typedef redefinition with different types ('struct pthread_rwlock_st *' vs 'mthread_rwlock_t') typedef struct pthread_rwlock_st *pthread_rwlock_t; ^ /usr/include/minix/mthread.h:156:26: note: previous definition is here typedef mthread_rwlock_t pthread_rwlock_t; ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:334:18: error: conflicting types for 'pthread_attr_getstacksize' extern int pthread_attr_getstacksize(const pthread_attr_t *, size_t *); ^ /usr/include/minix/mthread.h:182:5: note: previous declaration is here int pthread_attr_getstacksize(pthread_attr_t *tattr, size_t *stacksize); ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:338:18: error: conflicting types for 'pthread_attr_getdetachstate' extern int pthread_attr_getdetachstate(const pthread_attr_t *, int *); ^ /usr/include/minix/mthread.h:178:5: note: previous declaration is here int pthread_attr_getdetachstate(pthread_attr_t *tattr, int ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:347:18: error: conflicting types for 'pthread_create' extern int pthread_create(pthread_t *, const pthread_attr_t *, void *(*)(void *), void *); ^ /usr/include/minix/mthread.h:167:5: note: previous declaration is here int pthread_create(pthread_t *thread, pthread_attr_t *tattr, void ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:366:18: error: conflicting types for 'pthread_setspecific' extern int pthread_setspecific(pthread_key_t, const void *); ^ /usr/include/minix/mthread.h:200:5: note: previous declaration is here int pthread_setspecific(pthread_key_t key, void *value); ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:385:18: error: expected unqualified-id extern int pthread_mutexattr_init(pthread_mutexattr_t *); ^ /usr/include/minix/mthread.h:231:36: note: expanded from macro 'pthread_mutexattr_init' #define pthread_mutexattr_init(u) (0) ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:385:18: error: expected ')' /usr/include/minix/mthread.h:231:36: note: expanded from macro 'pthread_mutexattr_init' #define pthread_mutexattr_init(u) (0) ^ /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:385:18: note: to match this '(' /usr/include/minix/mthread.h:231:35: note: expanded from macro 'pthread_mutexattr_init' #define pthread_mutexattr_init(u) (0) ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:386:18: error: expected unqualified-id extern int pthread_mutexattr_destroy(pthread_mutexattr_t *); ^ /usr/include/minix/mthread.h:232:39: note: expanded from macro 'pthread_mutexattr_destroy' #define pthread_mutexattr_destroy(u) (0) ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:386:18: error: expected ')' /usr/include/minix/mthread.h:232:39: note: expanded from macro 'pthread_mutexattr_destroy' #define pthread_mutexattr_destroy(u) (0) ^ /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:386:18: note: to match this '(' /usr/include/minix/mthread.h:232:38: note: expanded from macro 'pthread_mutexattr_destroy' #define pthread_mutexattr_destroy(u) (0) ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:393:18: error: expected unqualified-id extern int pthread_mutexattr_settype(pthread_mutexattr_t *, int); ^ /usr/include/minix/mthread.h:235:42: note: expanded from macro 'pthread_mutexattr_settype' #define pthread_mutexattr_settype(x, y) (EINVAL) ^ /usr/include/sys/errno.h:64:24: note: expanded from macro 'EINVAL' #define EINVAL (_SIGN 22 ) /* Invalid argument */ ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:393:18: error: expected ')' /usr/include/minix/mthread.h:235:42: note: expanded from macro 'pthread_mutexattr_settype' #define pthread_mutexattr_settype(x, y) (EINVAL) ^ /usr/include/sys/errno.h:64:24: note: expanded from macro 'EINVAL' #define EINVAL (_SIGN 22 ) /* Invalid argument */ ^ /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:393:18: note: to match this '(' /usr/include/minix/mthread.h:235:42: note: expanded from macro 'pthread_mutexattr_settype' #define pthread_mutexattr_settype(x, y) (EINVAL) ^ /usr/include/sys/errno.h:64:17: note: expanded from macro 'EINVAL' #define EINVAL (_SIGN 22 ) /* Invalid argument */ ^ In file included from gsm_unix_serial.cc:28: /usr/pkgsrc/work/comms/gsmlib/work/.buildlink/include/pthread.h:397:18: error: conflicting types for 'pthread_mutex_init' extern int pthread_mutex_init(pthread_mutex_t *, const pthread_mutexattr_t *); ^ /usr/include/minix/mthread.h:204:5: note: previous declaration is here int pthread_mutex_init(pthread_mutex_t *mutex, pthread_mutexattr_t ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. Makefile:280: recipe for target 'gsm_unix_serial.lo' failed gmake[2]: *** [gsm_unix_serial.lo] Error 1 gmake[2]: Leaving directory '/usr/pkgsrc/work/comms/gsmlib/work/gsmlib-1.10/gsmlib' Makefile:202: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory '/usr/pkgsrc/work/comms/gsmlib/work/gsmlib-1.10' Makefile:146: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/comms/gsmlib *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/comms/gsmlib