Bug#811937: loudmouth: FTBFS with GCC 6: defined but not used

Martin Michlmayr tbm at hpe.com
Wed Jan 20 03:49:55 UTC 2016


Package: loudmouth
Version: 1.5.1-1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-unused-const-variable

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
...
> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -DLM_COMPILATION -DRUNTIME_ENDIAN  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -I/usr/include/p11-kit-1 -Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -Werror -c -o lm-blocking-resolver.lo lm-blocking-resolver.c
> ../doltcompile gcc -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -DLM_COMPILATION -DRUNTIME_ENDIAN  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -I/usr/include/p11-kit-1 -Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -Werror -c -o lm-sha.lo lm-sha.c
> lm-sha.c:79:19: error: 'rcsid' defined but not used [-Werror=unused-const-variable]
>  static const char rcsid[] =
>                    ^~~~~
> 
> cc1: all warnings being treated as errors
> Makefile:668: recipe for target 'lm-sha.lo' failed
> make[4]: *** [lm-sha.lo] Error 1

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



More information about the pkg-gnome-maintainers mailing list