Bug#984331: sipxtapi: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:17:19 GMT 2021


Package: src:sipxtapi
Version: 3.3.0~test18+dfsg.1-0.1
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/sipxtapi_3.3.0~test18+dfsg.1-0.1_unstable_gcc11.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
  762 |         if((toTag.compareTo(mLocalTag, UtlString::ignoreCase) == 0 ||
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  763 |             toTag.isNull() || mLocalTag.isNull()) &&
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
  764 |            fromTag.compareTo(mRemoteTag, UtlString::ignoreCase) == 0 ||
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipConfigServerAgent.cpp -o libsipXtack_la-SipConfigServerAgent.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipDialogEvent.cpp -o libsipXtack_la-SipDialogEvent.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipDialog.cpp -o libsipXtack_la-SipDialog.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include  -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH='"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs"'  -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith   -c -o libsipXtack_la-SipDialogMgr.lo `test -f 'net/SipDialogMgr.cpp' || echo './'`net/SipDialogMgr.cpp
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include  -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH='"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs"'  -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith   -c -o libsipXtack_la-SipDialogMonitor.lo `test -f 'net/SipDialogMonitor.cpp' || echo './'`net/SipDialogMonitor.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipDialogMgr.cpp  -fPIC -DPIC -o .libs/libsipXtack_la-SipDialogMgr.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipDialogMonitor.cpp  -fPIC -DPIC -o .libs/libsipXtack_la-SipDialogMonitor.o
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include  -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH='"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs"'  -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith   -c -o libsipXtack_la-SipLine.lo `test -f 'net/SipLine.cpp' || echo './'`net/SipLine.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipLine.cpp  -fPIC -DPIC -o .libs/libsipXtack_la-SipLine.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipDialogMgr.cpp -o libsipXtack_la-SipDialogMgr.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipLine.cpp -o libsipXtack_la-SipLine.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include  -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH='"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs"'  -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith   -c -o libsipXtack_la-SipLineCredentials.lo `test -f 'net/SipLineCredentials.cpp' || echo './'`net/SipLineCredentials.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipDialogMonitor.cpp -o libsipXtack_la-SipDialogMonitor.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipLineCredentials.cpp  -fPIC -DPIC -o .libs/libsipXtack_la-SipLineCredentials.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipLineCredentials.cpp -o libsipXtack_la-SipLineCredentials.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include  -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH='"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs"'  -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith   -c -o libsipXtack_la-SipLineEvent.lo `test -f 'net/SipLineEvent.cpp' || echo './'`net/SipLineEvent.cpp
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include  -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH='"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs"'  -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith   -c -o libsipXtack_la-SipLineList.lo `test -f 'net/SipLineList.cpp' || echo './'`net/SipLineList.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipLineEvent.cpp  -fPIC -DPIC -o .libs/libsipXtack_la-SipLineEvent.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipLineList.cpp  -fPIC -DPIC -o .libs/libsipXtack_la-SipLineList.o
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include  -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH='"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs"'  -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith   -c -o libsipXtack_la-SipLineMgr.lo `test -f 'net/SipLineMgr.cpp' || echo './'`net/SipLineMgr.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipLineMgr.cpp  -fPIC -DPIC -o .libs/libsipXtack_la-SipLineMgr.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipLineList.cpp -o libsipXtack_la-SipLineList.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include  -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH='"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs"'  -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith   -c -o libsipXtack_la-SipMessage.lo `test -f 'net/SipMessage.cpp' || echo './'`net/SipMessage.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipLineEvent.cpp -o libsipXtack_la-SipLineEvent.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipMessage.cpp  -fPIC -DPIC -o .libs/libsipXtack_la-SipMessage.o
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include  -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH='"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs"'  -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith   -c -o libsipXtack_la-SipMessageEvent.lo `test -f 'net/SipMessageEvent.cpp' || echo './'`net/SipMessageEvent.cpp
net/SipMessage.cpp:2516:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
 2516 |                     "SipMessage::setWarningField value too large (max %"PRIuPTR") host '%s' text '%s'",
      |                     ^
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipMessageEvent.cpp  -fPIC -DPIC -o .libs/libsipXtack_la-SipMessageEvent.o
net/SipMessage.cpp: In member function ‘void SipMessage::setReceivedViaParams(const UtlString&, int)’:
net/SipMessage.cpp:2289:8: warning: variable ‘tempLastPort’ set but not used [-Wunused-but-set-variable]
 2289 |    int tempLastPort = lastPort;
      |        ^~~~~~~~~~~~
net/SipMessage.cpp: In member function ‘void SipMessage::addLastRouteUri(const char*)’:
net/SipMessage.cpp:3809:33: error: ordered comparison of pointer with integer zero (‘const char*’ and ‘int’)
 3809 |         if(strstr(routeUri,"<") <= 0)
      |            ~~~~~~~~~~~~~~~~~~~~~^~~~
net/SipMessage.cpp:3815:34: error: ordered comparison of pointer with integer zero (‘const char*’ and ‘int’)
 3815 |         if(strstr(routeUri, ">") <= 0)
      |            ~~~~~~~~~~~~~~~~~~~~~~^~~~
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include  -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH='"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs"'  -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith   -c -o libsipXtack_la-SipMessageList.lo `test -f 'net/SipMessageList.cpp' || echo './'`net/SipMessageList.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipMessageEvent.cpp -o libsipXtack_la-SipMessageEvent.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipMessageList.cpp  -fPIC -DPIC -o .libs/libsipXtack_la-SipMessageList.o
make[7]: *** [Makefile:1367: libsipXtack_la-SipMessage.lo] Error 1
make[7]: *** Waiting for unfinished jobs....
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipMessageList.cpp -o libsipXtack_la-SipMessageList.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXtackLib/include -I../../sipXtackLib/include -I../../sipXsdpLib/include -I../../sipXportLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_LOGDIR=\"/var/log/sipxpbx\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c net/SipLineMgr.cpp -o libsipXtack_la-SipLineMgr.o >/dev/null 2>&1
make[7]: Leaving directory '/<<PKGBUILDDIR>>/sipXtackLib/src'
make[6]: *** [Makefile:1697: all-recursive] Error 1
make[6]: Leaving directory '/<<PKGBUILDDIR>>/sipXtackLib/src'
make[5]: *** [Makefile:563: all-recursive] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/sipXtackLib'
make[4]: *** [Makefile:516: all] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/sipXtackLib'
make[3]: *** [Makefile:602: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:531: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:30: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-voip-maintainers mailing list