Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2018 07:29:11 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv7-default][comms/gsmlib] Failed for gsmlib-1.10_8 in build
Message-ID:  <201805300729.w4U7TBOd081947@beefy16.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

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@FreeBSD.org
Last committer: tijl@FreeBSD.org
Ident:          $FreeBSD: head/comms/gsmlib/Makefile 428152 2016-12-08 19:52:19Z tijl $
Log URL:        http://beefy16.nyi.freebsd.org/data/head-armv7-default/p470877_s334231/logs/gsmlib-1.10_8.log
Build URL:      http://beefy16.nyi.freebsd.org/build.html?mastername=head-armv7-default&build=p470877_s334231
Log:

=>> Building comms/gsmlib
build started at Wed May 30 07:28:48 UTC 2018
port directory: /usr/ports/comms/gsmlib
package name: gsmlib-1.10_8
building for: FreeBSD head-armv7-default-job-06 12.0-CURRENT FreeBSD 12.0-CURRENT 1200064 arm
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/comms/gsmlib/Makefile 428152 2016-12-08 19:52:19Z tijl $
Poudriere version: 3.2.6-3-g832b198d
Host OSVERSION: 1200062
Jail OSVERSION: 1200064
Job Id: 06




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



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1200064
UNAME_v=FreeBSD 12.0-CURRENT 1200064
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.6-3-g832b198d
MASTERMNT=/usr/local/poudriere/data/.m/head-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-armv7-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
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@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  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fno-strict-aliasing"  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT"  LDFLAGS=" -lpthread -L/usr/local/lib" LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -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---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv7
ARCH=${MACHINE_ARCH}
#### /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 ####
_CCVERSION_9d218390=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=12.0-CURRENT
OSREL=12.0
OSVERSION=1200064
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.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.5_1.txz
[head-armv7-default-job-06] Installing pkg-1.10.5_1...
[head-armv7-default-job-06] Extracting pkg-1.10.5_1: .......... done
===>   gsmlib-1.10_8 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of gsmlib-1.10_8
<snip>
checking how to link with libintl... /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib
configure: creating ./config.status
config.status: creating Makefile
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 /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT  -Wall -O2 -pipe -fno-strict-aliasing  -c -o gsm_phonebook.lo `test -f 'gsm_phonebook.cc' || echo './'`gsm_phonebook.cc
mkdir .libs
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT -Wall -O2 -pipe -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.
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT -Wall -O2 -pipe -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 /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT  -Wall -O2 -pipe -fno-strict-aliasing  -c -o gsm_util.lo `test -f 'gsm_util.cc' || echo './'`gsm_util.cc
rm -f .libs/gsm_util.lo
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT -Wall -O2 -pipe -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]];
                                                                  ^~~~~
2 warnings generated.
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT -Wall -O2 -pipe -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 /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT  -Wall -O2 -pipe -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
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT -Wall -O2 -pipe -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.
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT -Wall -O2 -pipe -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 /nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT  -Wall -O2 -pipe -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
/nxb-bin/usr/bin/c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT -Wall -O2 -pipe -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805300729.w4U7TBOd081947>