=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for gsmlib-1.10nb3
/usr/bin/make  all-recursive
make[1]: Entering directory `/tmp/pkgsrc/comms/gsmlib/work/gsmlib-1.10'
Making all in po
make[2]: Entering directory `/tmp/pkgsrc/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: couldn't open file ../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
make[2]: Leaving directory `/tmp/pkgsrc/comms/gsmlib/work/gsmlib-1.10/po'
Making all in gsmlib
make[2]: Entering directory `/tmp/pkgsrc/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 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include  -Wall -D_REENTRANT -O3 -pipe -fstack-protector -Wno-format -fno-builtin -pthread -I/usr/include -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 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include  -Wall -D_REENTRANT -O3 -pipe -fstack-protector -Wno-format -fno-builtin -pthread -I/usr/include -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 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include  -Wall -D_REENTRANT -O3 -pipe -fstack-protector -Wno-format -fno-builtin -pthread -I/usr/include -c -o gsm_unix_serial.lo `test -f 'gsm_unix_serial.cc' || echo './'`gsm_unix_serial.cc
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 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include  -Wall -D_REENTRANT -O3 -pipe -fstack-protector -Wno-format -fno-builtin -pthread -I/usr/include -c -o gsm_me_ta.lo `test -f 'gsm_me_ta.cc' || echo './'`gsm_me_ta.cc
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 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include  -Wall -D_REENTRANT -O3 -pipe -fstack-protector -Wno-format -fno-builtin -pthread -I/usr/include -c -o gsm_at.lo `test -f 'gsm_at.cc' || echo './'`gsm_at.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wall -D_REENTRANT -O3 -pipe -fstack-protector -Wno-format -fno-builtin -pthread -c gsm_me_ta.cc -MT gsm_me_ta.lo -MD -MP -MF .deps/gsm_me_ta.TPlo  -fPIC -DPIC -o .libs/gsm_me_ta.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wall -D_REENTRANT -O3 -pipe -fstack-protector -Wno-format -fno-builtin -pthread -c gsm_phonebook.cc -MT gsm_phonebook.lo -MD -MP -MF .deps/gsm_phonebook.TPlo  -fPIC -DPIC -o .libs/gsm_phonebook.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wall -D_REENTRANT -O3 -pipe -fstack-protector -Wno-format -fno-builtin -pthread -c gsm_at.cc -MT gsm_at.lo -MD -MP -MF .deps/gsm_at.TPlo  -fPIC -DPIC -o .libs/gsm_at.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wall -D_REENTRANT -O3 -pipe -fstack-protector -Wno-format -fno-builtin -pthread -c gsm_util.cc -MT gsm_util.lo -MD -MP -MF .deps/gsm_util.TPlo  -fPIC -DPIC -o .libs/gsm_util.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wall -D_REENTRANT -O3 -pipe -fstack-protector -Wno-format -fno-builtin -pthread -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 /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward/strstream:47:0,
                 from gsm_util.cc:23:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward/strstream:47:0,
                 from gsm_at.cc:23:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward/strstream:47:0,
                 from gsm_phonebook.cc:21:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
gsm_util.cc:35:0: warning: "__USE_GNU" redefined
/usr/include/features.h:304:0: note: this is the location of the previous definition
gsm_util.cc:36:0: warning: "_GNU_SOURCE" redefined
<command-line>:0:0: note: this is the location of the previous definition
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward/strstream:47:0,
                 from gsm_unix_serial.cc:22:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
In file included from ../gsmlib/gsm_sms.h:17:0,
                 from ../gsmlib/gsm_event.h:16,
                 from ../gsmlib/gsm_me_ta.h:18,
                 from gsm_me_ta.cc:18:
../gsmlib/gsm_sms_codec.h: In member function 'bool gsmlib::DataCodingScheme::compressed() const':
../gsmlib/gsm_sms_codec.h:128:62: warning: suggest parentheses around comparison in operand of '&'
../gsmlib/gsm_sms_codec.h: In member function 'bool gsmlib::DataCodingScheme::messageWaitingIndication() const':
../gsmlib/gsm_sms_codec.h:133:10: warning: suggest parentheses around comparison in operand of '&'
In file included from ../gsmlib/gsm_map_key.h:17:0,
                 from ../gsmlib/gsm_sorted_phonebook_base.h:20,
                 from ../gsmlib/gsm_phonebook.h:16,
                 from gsm_phonebook.cc:18:
../gsmlib/gsm_sms_codec.h: In member function 'bool gsmlib::DataCodingScheme::compressed() const':
../gsmlib/gsm_sms_codec.h:128:62: warning: suggest parentheses around comparison in operand of '&'
../gsmlib/gsm_sms_codec.h: In member function 'bool gsmlib::DataCodingScheme::messageWaitingIndication() const':
../gsmlib/gsm_sms_codec.h:133:10: warning: suggest parentheses around comparison in operand of '&'
In file included from ../gsmlib/gsm_sms.h:17:0,
                 from ../gsmlib/gsm_event.h:16,
                 from gsm_at.cc:20:
../gsmlib/gsm_sms_codec.h: In member function 'bool gsmlib::DataCodingScheme::compressed() const':
../gsmlib/gsm_sms_codec.h:128:62: warning: suggest parentheses around comparison in operand of '&'
../gsmlib/gsm_sms_codec.h: In member function 'bool gsmlib::DataCodingScheme::messageWaitingIndication() const':
../gsmlib/gsm_sms_codec.h:133:10: warning: suggest parentheses around comparison in operand of '&'
gsm_util.cc: In function 'std::string gsmlib::gsmToLatin1(std::string)':
gsm_util.cc:106:72: warning: array subscript has type 'char'
gsm_util.cc: In copy constructor 'gsmlib::NoCopy::NoCopy(gsmlib::NoCopy&)':
gsm_util.cc:262:9: error: 'abort' was not declared in this scope
gsm_util.cc: In member function 'gsmlib::NoCopy& gsmlib::NoCopy::operator=(gsmlib::NoCopy&)':
gsm_util.cc:268:9: error: 'abort' was not declared in this scope
gsm_util.cc:269:1: warning: no return statement in function returning non-void
gsm_util.cc: In function 'int gsmlib::debugLevel()':
gsm_util.cc:320:34: error: 'getenv' was not declared in this scope
make[2]: *** [gsm_util.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
gsm_unix_serial.cc: In member function 'void gsmlib::UnixSerialPort::throwModemException(std::string)':
gsm_unix_serial.cc:89:65: error: 'strerror' was not declared in this scope
make[2]: *** [gsm_unix_serial.lo] Error 1
gsm_me_ta.cc: In member function 'void gsmlib::MeTa::init()':
gsm_me_ta.cc:58:32: error: 'getenv' was not declared in this scope
gsm_me_ta.cc:67:38: error: 'getenv' was not declared in this scope
gsm_at.cc: In member function 'std::string gsmlib::GsmAt::chat(std::string, std::string, std::string&, bool, bool, bool)':
gsm_at.cc:116:6: warning: suggest explicit braces to avoid ambiguous 'else'
gsm_at.cc:121:6: warning: suggest explicit braces to avoid ambiguous 'else'
gsm_at.cc: In member function 'std::vector<std::basic_string<char> > gsmlib::GsmAt::chatv(std::string, std::string, bool)':
gsm_at.cc:206:6: warning: suggest explicit braces to avoid ambiguous 'else'
gsm_at.cc:211:6: warning: suggest explicit braces to avoid ambiguous 'else'
gsm_phonebook.cc: In member function 'gsmlib::PhonebookEntry* gsmlib::Phonebook::insert(std::string, std::string, int)':
gsm_phonebook.cc:283:8: warning: suggest explicit braces to avoid ambiguous 'else'
gsm_phonebook.cc: In member function 'gsmlib::PhonebookEntry* gsmlib::Phonebook::find(std::string)':
gsm_phonebook.cc:562:8: warning: suggest explicit braces to avoid ambiguous 'else'
gsm_me_ta.cc: In member function 'void gsmlib::MeTa::setSMSRoutingToTA(bool, bool, bool, bool)':
gsm_me_ta.cc:1187:6: warning: suggest explicit braces to avoid ambiguous 'else'
make[2]: *** [gsm_me_ta.lo] Error 1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wall -D_REENTRANT -O3 -pipe -fstack-protector -Wno-format -fno-builtin -pthread -c gsm_phonebook.cc -MT gsm_phonebook.lo -MD -MP -MF .deps/gsm_phonebook.TPlo -o gsm_phonebook.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wall -D_REENTRANT -O3 -pipe -fstack-protector -Wno-format -fno-builtin -pthread -c gsm_at.cc -MT gsm_at.lo -MD -MP -MF .deps/gsm_at.TPlo -o gsm_at.o >/dev/null 2>&1
make[2]: Leaving directory `/tmp/pkgsrc/comms/gsmlib/work/gsmlib-1.10/gsmlib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pkgsrc/comms/gsmlib/work/gsmlib-1.10'
make: *** [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