Bug#812010: belle-sip: FTBFS with GCC 6: self-comparison always evaluates

Martin Michlmayr tbm at hpe.com
Wed Jan 20 04:29:30 UTC 2016


Package: belle-sip
Version: 1.4.1-1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I./grammars -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-error=pragmas -Werror -Wno-error=unknown-pragmas -Wuninitialized -Wdeclaration-after-statement -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fms-extensions -g -c http-message.c  -fPIC -DPIC -o .libs/libbellesip_la-http-message.o
> belle_sip_uri_impl.c: In function 'belle_sip_uri_equals':
> belle_sip_uri_impl.c:304:25: error: self-comparison always evaluates to false [-Werror=tautological-compare]
>   } else if (uri_a->user != uri_a->user) {
>                          ^~

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Pkg-voip-maintainers mailing list