=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for gsmlib-1.10nb3 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/var/pkgsrc/work/comms/gsmlib/work/gsmlib-1.10' Making all in po gmake[2]: Entering directory '/var/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 '/var/pkgsrc/work/comms/gsmlib/work/gsmlib-1.10/po' Making all in gsmlib gmake[2]: Entering directory '/var/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 clang++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/pkg/include -I/usr/include -D_THREAD_SAFE -Wall -O2 -pthread -I/usr/pkg/include -I/usr/include -D_THREAD_SAFE -c -o gsm_phonebook.lo `test -f 'gsm_phonebook.cc' || echo './'`gsm_phonebook.cc 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 clang++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/pkg/include -I/usr/include -D_THREAD_SAFE -Wall -O2 -pthread -I/usr/pkg/include -I/usr/include -D_THREAD_SAFE -c -o gsm_util.lo `test -f 'gsm_util.cc' || echo './'`gsm_util.cc 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 clang++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/pkg/include -I/usr/include -D_THREAD_SAFE -Wall -O2 -pthread -I/usr/pkg/include -I/usr/include -D_THREAD_SAFE -c -o gsm_unix_serial.lo `test -f 'gsm_unix_serial.cc' || echo './'`gsm_unix_serial.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/var/pkgsrc/work/comms/gsmlib/work/.buildlink/include -D_THREAD_SAFE -Wall -O2 -pthread -D_THREAD_SAFE -MT gsm_util.lo -MD -MP -MF .deps/gsm_util.TPlo.7139 -c gsm_util.cc -fPIC -DPIC -o .libs/gsm_util.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/var/pkgsrc/work/comms/gsmlib/work/.buildlink/include -D_THREAD_SAFE -Wall -O2 -pthread -D_THREAD_SAFE -MT gsm_phonebook.lo -MD -MP -MF .deps/gsm_phonebook.TPlo.7138 -c gsm_phonebook.cc -fPIC -DPIC -o .libs/gsm_phonebook.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/var/pkgsrc/work/comms/gsmlib/work/.buildlink/include -D_THREAD_SAFE -Wall -O2 -pthread -D_THREAD_SAFE -MT gsm_unix_serial.lo -MD -MP -MF .deps/gsm_unix_serial.TPlo.7140 -c gsm_unix_serial.cc -fPIC -DPIC -o .libs/gsm_unix_serial.o In file included from gsm_util.cc:18: ../gsmlib/gsm_sysdep.h:28:10: warning: 'alloca' macro redefined [-Wmacro-redefined] # define alloca __builtin_alloca ^ /usr/include/stdlib.h:251:9: note: previous definition is here #define alloca(sz) __builtin_alloca(sz) ^ 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_util.cc:107:67: warning: array subscript is of type 'char' [-Wchar-subscripts] result[i] = (unsigned char)s[i] > 127 ? NOP : gsmToLatin1Table[s[i]]; ^~~~~ gsm_util.cc:107:45: warning: implicit conversion from 'const int' to 'std::__1::basic_string, std::__1::allocator >::value_type' (aka 'char') changes value from 172 to -84 [-Wconstant-conversion] result[i] = (unsigned char)s[i] > 127 ? NOP : gsmToLatin1Table[s[i]]; ~ ^~~ In file included from gsm_unix_serial.cc:17: ../gsmlib/gsm_unix_serial.h:31:9: warning: private field '_debug' is not used [-Wunused-private-field] int _debug; // debug level (set by environment variable ^ 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 ^ 3 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/var/pkgsrc/work/comms/gsmlib/work/.buildlink/include -D_THREAD_SAFE -Wall -O2 -pthread -D_THREAD_SAFE -MT gsm_util.lo -MD -MP -MF .deps/gsm_util.TPlo.7139 -c gsm_util.cc -o gsm_util.o >/dev/null 2>&1 1 warning generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/var/pkgsrc/work/comms/gsmlib/work/.buildlink/include -D_THREAD_SAFE -Wall -O2 -pthread -D_THREAD_SAFE -MT gsm_unix_serial.lo -MD -MP -MF .deps/gsm_unix_serial.TPlo.7140 -c gsm_unix_serial.cc -o gsm_unix_serial.o >/dev/null 2>&1 6 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/var/pkgsrc/work/comms/gsmlib/work/.buildlink/include -D_THREAD_SAFE -Wall -O2 -pthread -D_THREAD_SAFE -MT gsm_phonebook.lo -MD -MP -MF .deps/gsm_phonebook.TPlo.7138 -c gsm_phonebook.cc -o gsm_phonebook.o >/dev/null 2>&1 source='gsm_me_ta.cc' object='gsm_me_ta.lo' libtool=yes \ depfile='.deps/gsm_me_ta.Plo' tmpdepfile='.deps/gsm_me_ta.TPlo' \ depmode=gcc3 /bin/sh ../scripts/depcomp \ /bin/sh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/pkg/include -I/usr/include -D_THREAD_SAFE -Wall -O2 -pthread -I/usr/pkg/include -I/usr/include -D_THREAD_SAFE -c -o gsm_me_ta.lo `test -f 'gsm_me_ta.cc' || echo './'`gsm_me_ta.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/var/pkgsrc/work/comms/gsmlib/work/.buildlink/include -D_THREAD_SAFE -Wall -O2 -pthread -D_THREAD_SAFE -MT gsm_me_ta.lo -MD -MP -MF .deps/gsm_me_ta.TPlo.7249 -c gsm_me_ta.cc -fPIC -DPIC -o .libs/gsm_me_ta.o source='gsm_at.cc' object='gsm_at.lo' libtool=yes \ depfile='.deps/gsm_at.Plo' tmpdepfile='.deps/gsm_at.TPlo' \ depmode=gcc3 /bin/sh ../scripts/depcomp \ /bin/sh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/pkg/include -I/usr/include -D_THREAD_SAFE -Wall -O2 -pthread -I/usr/pkg/include -I/usr/include -D_THREAD_SAFE -c -o gsm_at.lo `test -f 'gsm_at.cc' || echo './'`gsm_at.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/var/pkgsrc/work/comms/gsmlib/work/.buildlink/include -D_THREAD_SAFE -Wall -O2 -pthread -D_THREAD_SAFE -MT gsm_at.lo -MD -MP -MF .deps/gsm_at.TPlo.7284 -c gsm_at.cc -fPIC -DPIC -o .libs/gsm_at.o In file included from gsm_me_ta.cc:18: In file included from ../gsmlib/gsm_me_ta.h:18: In file included from ../gsmlib/gsm_event.h:16: In file included from ../gsmlib/gsm_sms.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 == ^ ( ) In file included from gsm_at.cc:20: In file included from ../gsmlib/gsm_event.h:16: In file included from ../gsmlib/gsm_sms.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 == ^ ( ) In file included from gsm_me_ta.cc:20: ../gsmlib/gsm_sysdep.h:28:10: warning: 'alloca' macro redefined [-Wmacro-redefined] # define alloca __builtin_alloca ^ /usr/include/stdlib.h:251:9: note: previous definition is here #define alloca(sz) __builtin_alloca(sz) ^ gsm_me_ta.ccgsm_at.cc:119:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ gsm_at.cc:124:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ gsm_at.cc:209:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ gsm_at.cc:214:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ :970:45: error: non-constant-expression cannot be narrowed from type 'int' to 'unsigned char' in initializer list [-Wc++11-narrowing] unsigned char udhs[] = {0x00, 0x03, concatenatedMessageId, ^~~~~~~~~~~~~~~~~~~~~ gsm_me_ta.cc:970:45: note: insert an explicit cast to silence this issue unsigned char udhs[] = {0x00, 0x03, concatenatedMessageId, ^~~~~~~~~~~~~~~~~~~~~ static_cast( ) gsm_me_ta.cc:971:33: error: non-constant-expression cannot be narrowed from type 'int' to 'unsigned char' in initializer list [-Wc++11-narrowing] numMessages, ++numMessage}; ^~~~~~~~~~~ gsm_me_ta.cc:971:33: note: insert an explicit cast to silence this issue numMessages, ++numMessage}; ^~~~~~~~~~~ static_cast( ) gsm_me_ta.cc:1191:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ source='gsm_error.cc' object='gsm_error.lo' libtool=yes \ depfile='.deps/gsm_error.Plo' tmpdepfile='.deps/gsm_error.TPlo' \ depmode=gcc3 /bin/sh ../scripts/depcomp \ /bin/sh ../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/pkg/include -I/usr/include -D_THREAD_SAFE -Wall -O2 -pthread -I/usr/pkg/include -I/usr/include -D_THREAD_SAFE -c -o gsm_error.lo `test -f 'gsm_error.cc' || echo './'`gsm_error.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/var/pkgsrc/work/comms/gsmlib/work/.buildlink/include -D_THREAD_SAFE -Wall -O2 -pthread -D_THREAD_SAFE -MT gsm_error.lo -MD -MP -MF .deps/gsm_error.TPlo.7319 -c gsm_error.cc -fPIC -DPIC -o .libs/gsm_error.o 6 warnings and 2 errors generated. Makefile:280: recipe for target 'gsm_me_ta.lo' failed gmake[2]: *** [gsm_me_ta.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... 8 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/var/pkgsrc/work/comms/gsmlib/work/.buildlink/include -D_THREAD_SAFE -Wall -O2 -pthread -D_THREAD_SAFE -MT gsm_at.lo -MD -MP -MF .deps/gsm_at.TPlo.7284 -c gsm_at.cc -o gsm_at.o >/dev/null 2>&1 libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I/var/pkgsrc/work/comms/gsmlib/work/.buildlink/include -D_THREAD_SAFE -Wall -O2 -pthread -D_THREAD_SAFE -MT gsm_error.lo -MD -MP -MF .deps/gsm_error.TPlo.7319 -c gsm_error.cc -o gsm_error.o >/dev/null 2>&1 gmake[2]: Leaving directory '/var/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 '/var/pkgsrc/work/comms/gsmlib/work/gsmlib-1.10' Makefile:146: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/comms/gsmlib *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/comms/gsmlib