[package - head-amd64-default][comms/gsmlib] Failed for gsmlib-1.10_8 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Fri Feb 9 03:35:29 UTC 2018


You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     ports at FreeBSD.org
Last committer: tijl at FreeBSD.org
Ident:          $FreeBSD: head/comms/gsmlib/Makefile 428152 2016-12-08 19:52:19Z tijl $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p461193_s329007/logs/gsmlib-1.10_8.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p461193_s329007
Log:

=>> Building comms/gsmlib
build started at Fri Feb  9 03:34:58 UTC 2018
port directory: /usr/ports/comms/gsmlib
package name: gsmlib-1.10_8
building for: FreeBSD head-amd64-default-job-02 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 amd64
maintained by: ports at FreeBSD.org
Makefile ident:      $FreeBSD: head/comms/gsmlib/Makefile 428152 2016-12-08 19:52:19Z tijl $
Poudriere version: 3.2.4-48-gf881e389
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 02




!!! Jail is newer than host. (Jail: 1200056, Host: 1200054) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200056
UNAME_v=FreeBSD 12.0-CURRENT 1200056
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.2.4-48-gf881e389
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for gsmlib-1.10_8:
     NLS=on: Native Language Support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports at FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-nls --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/comms/gsmlib/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/comms/gsmlib/work  HOME=/wrkdirs/usr/ports/comms/gsmlib/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/comms/gsmlib/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/comms/gsmlib/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/comms/gsmlib/work  HOME=/wrkdirs/usr/ports/comms/gsmlib/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/comms/gsmlib/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT"  LDFLAGS=" -lpthread -L/usr/local/lib -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" NLS="" NO_NLS="@comment " OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/gsmlib"  EXAMPLESDIR="share/examples/gsmlib"  DATADIR="share/gsmlib"  WWWDIR="www/gsmlib"  ETCDIR="etc/gsmlib"
--End PLIST_SUB--

--SUB_LIST--
NLS="" NO_NLS="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/gsmlib DOCSDIR=/usr/local/share/doc/gsmlib EXAMPLESDIR=/usr/local/share/examples/gsmlib  WWWDIR=/usr/local/www/gsmlib ETCDIR=/usr/local/etc/gsmlib
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200056
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=12.0-CURRENT
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>   NOTICE:

The gsmlib port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===========================================================================
=======================<phase: pkg-depends    >============================
===>   gsmlib-1.10_8 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[head-amd64-default-job-02] Installing pkg-1.10.4...
[head-amd64-default-job-02] Extracting pkg-1.10.4: .......... done
===>   gsmlib-1.10_8 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of gsmlib-1.10_8
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The gsmlib port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===> Fetching all distfiles required by gsmlib-1.10_8 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The gsmlib port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===> Fetching all distfiles required by gsmlib-1.10_8 for building
=> SHA256 Checksum OK for gsmlib_1.10.orig.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>   NOTICE:

The gsmlib port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

<snip>
config.status: creating gsmlib/Makefile
config.status: creating tests/Makefile
config.status: creating apps/Makefile
config.status: creating win32/Makefile
config.status: creating doc/Makefile
config.status: creating scripts/Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating ext/Makefile
config.status: creating gsm_config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands
===========================================================================
=======================<phase: build          >============================
===>  Building for gsmlib-1.10_8
gmake[1]: Entering directory '/wrkdirs/usr/ports/comms/gsmlib/work/gsmlib-1.10'
gmake  all-recursive
gmake[2]: Entering directory '/wrkdirs/usr/ports/comms/gsmlib/work/gsmlib-1.10'
Making all in po
gmake[3]: Entering directory '/wrkdirs/usr/ports/comms/gsmlib/work/gsmlib-1.10/po'
PATH=../src:$PATH /usr/local/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[3]: Leaving directory '/wrkdirs/usr/ports/comms/gsmlib/work/gsmlib-1.10/po'
Making all in gsmlib
gmake[3]: Entering directory '/wrkdirs/usr/ports/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/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT  -Wall -O2 -pipe -fstack-protector -fno-strict-aliasing  -c -o gsm_phonebook.lo `test -f 'gsm_phonebook.cc' || echo './'`gsm_phonebook.cc
mkdir .libs
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT -Wall -O2 -pipe -fstack-protector -fno-strict-aliasing -c gsm_phonebook.cc -MT gsm_phonebook.lo -MD -MP -MF .deps/gsm_phonebook.TPlo  -fPIC -DPIC -o .libs/gsm_phonebook.lo
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.
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT -Wall -O2 -pipe -fstack-protector -fno-strict-aliasing -c gsm_phonebook.cc -MT gsm_phonebook.lo -MD -MP -MF .deps/gsm_phonebook.TPlo -o gsm_phonebook.o >/dev/null 2>&1
mv -f .libs/gsm_phonebook.lo gsm_phonebook.lo
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/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT  -Wall -O2 -pipe -fstack-protector -fno-strict-aliasing  -c -o gsm_util.lo `test -f 'gsm_util.cc' || echo './'`gsm_util.cc
rm -f .libs/gsm_util.lo
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT -Wall -O2 -pipe -fstack-protector -fno-strict-aliasing -c gsm_util.cc -MT gsm_util.lo -MD -MP -MF .deps/gsm_util.TPlo  -fPIC -DPIC -o .libs/gsm_util.lo
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:247:9: note: previous definition is here
#define alloca(sz) __builtin_alloca(sz)
        ^
gsm_util.cc:106:67: warning: array subscript is of type 'char' [-Wchar-subscripts]
    result[i] = (unsigned char)s[i] > 127 ? NOP : gsmToLatin1Table[s[i]];
                                                                  ^~~~~
gsm_util.cc:106:45: warning: implicit conversion from 'const int' to 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::value_type' (aka 'char') changes value from 172 to -84 [-Wconstant-conversion]
    result[i] = (unsigned char)s[i] > 127 ? NOP : gsmToLatin1Table[s[i]];
              ~                             ^~~
3 warnings generated.
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT -Wall -O2 -pipe -fstack-protector -fno-strict-aliasing -c gsm_util.cc -MT gsm_util.lo -MD -MP -MF .deps/gsm_util.TPlo -o gsm_util.o >/dev/null 2>&1
mv -f .libs/gsm_util.lo gsm_util.lo
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/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT  -Wall -O2 -pipe -fstack-protector -fno-strict-aliasing  -c -o gsm_unix_serial.lo `test -f 'gsm_unix_serial.cc' || echo './'`gsm_unix_serial.cc
rm -f .libs/gsm_unix_serial.lo
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT -Wall -O2 -pipe -fstack-protector -fno-strict-aliasing -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.lo
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
        ^
1 warning generated.
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT -Wall -O2 -pipe -fstack-protector -fno-strict-aliasing -c gsm_unix_serial.cc -MT gsm_unix_serial.lo -MD -MP -MF .deps/gsm_unix_serial.TPlo -o gsm_unix_serial.o >/dev/null 2>&1
mv -f .libs/gsm_unix_serial.lo gsm_unix_serial.lo
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 c++ -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT  -Wall -O2 -pipe -fstack-protector -fno-strict-aliasing  -c -o gsm_me_ta.lo `test -f 'gsm_me_ta.cc' || echo './'`gsm_me_ta.cc
rm -f .libs/gsm_me_ta.lo
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT -Wall -O2 -pipe -fstack-protector -fno-strict-aliasing -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.lo
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_me_ta.cc:20:
./gsmlib/gsm_sysdep.h:28:10: warning: 'alloca' macro redefined [-Wmacro-redefined]
# define alloca __builtin_alloca
         ^
/usr/include/stdlib.h:247:9: note: previous definition is here
#define alloca(sz) __builtin_alloca(sz)
        ^
gsm_me_ta.cc:969: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:969:45: note: insert an explicit cast to silence this issue
        unsigned char udhs[] = {0x00, 0x03, concatenatedMessageId,
                                            ^~~~~~~~~~~~~~~~~~~~~
                                            static_cast<unsigned char>( )
gsm_me_ta.cc:970: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:970:33: note: insert an explicit cast to silence this issue
                                numMessages, ++numMessage};
                                ^~~~~~~~~~~
                                static_cast<unsigned char>( )
gsm_me_ta.cc:1190:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    else
    ^
6 warnings and 2 errors generated.
gmake[3]: *** [Makefile:280: gsm_me_ta.lo] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/comms/gsmlib/work/gsmlib-1.10/gsmlib'
gmake[2]: *** [Makefile:202: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/comms/gsmlib/work/gsmlib-1.10'
gmake[1]: *** [Makefile:146: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/comms/gsmlib/work/gsmlib-1.10'
*** Error code 1

Stop.
make: stopped in /usr/ports/comms/gsmlib


More information about the freebsd-pkg-fallout mailing list