Martin Michlmayr
2016-Jan-20 03:49 UTC
[Pkg-xen-devel] Bug#811936: blktap: FTBFS with GCC 6: defined but not used
Package: blktap Version: 2.0.90-4 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...> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_GNU_SOURCE -I../../include -I../../lvm -I../../part -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT atomicio.lo -MD -MP -MF .deps/atomicio.Tpo -c atomicio.c -fPIC -DPIC -o .libs/atomicio.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_GNU_SOURCE -I../../include -I../../lvm -I../../part -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT lvm-util.lo -MD -MP -MF .deps/lvm-util.Tpo -c ../../lvm/lvm-util.c -fPIC -DPIC -o .libs/lvm-util.o > In file included from ../../include/libvhd.h:39:0, > from vhd-util-revert.c:41: > ../../include/vhd.h:167:19: error: 'VHD_BATMAP_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char VHD_BATMAP_COOKIE[9] = "tdbatmap"; > ^~~~~~~~~~~~~~~~~ > > ../../include/vhd.h:148:19: error: 'DD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char DD_COOKIE[9] = "cxsparse"; > ^~~~~~~~~ > > ../../include/vhd.h:70:19: error: 'HD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char HD_COOKIE[9] = "conectix"; > ^~~~~~~~~ > > In file included from ../../include/libvhd.h:39:0, > from vhd-util-create.c:40: > ../../include/vhd.h:167:19: error: 'VHD_BATMAP_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char VHD_BATMAP_COOKIE[9] = "tdbatmap"; > ^~~~~~~~~~~~~~~~~ > > ../../include/vhd.h:148:19: error: 'DD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char DD_COOKIE[9] = "cxsparse"; > ^~~~~~~~~ > > ../../include/vhd.h:70:19: error: 'HD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char HD_COOKIE[9] = "conectix"; > ^~~~~~~~~ > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_GNU_SOURCE -I../../include -I../../lvm -I../../part -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Werror -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT atomicio.lo -MD -MP -MF .deps/atomicio.Tpo -c atomicio.c -fPIC -DPIC -o atomicio.o >/dev/null 2>&1 > In file included from ../../include/libvhd.h:39:0, > from vhd-util-fill.c:41: > ../../include/vhd.h:167:19: error: 'VHD_BATMAP_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char VHD_BATMAP_COOKIE[9] = "tdbatmap"; > ^~~~~~~~~~~~~~~~~ > > ../../include/vhd.h:148:19: error: 'DD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char DD_COOKIE[9] = "cxsparse"; > ^~~~~~~~~ > > ../../include/vhd.h:70:19: error: 'HD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char HD_COOKIE[9] = "conectix"; > ^~~~~~~~~ > > In file included from ../../include/libvhd.h:39:0, > from vhd-util-query.c:41: > ../../include/vhd.h:167:19: error: 'VHD_BATMAP_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char VHD_BATMAP_COOKIE[9] = "tdbatmap"; > ^~~~~~~~~~~~~~~~~ > > ../../include/vhd.h:148:19: error: 'DD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char DD_COOKIE[9] = "cxsparse"; > ^~~~~~~~~ > > ../../include/vhd.h:70:19: error: 'HD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char HD_COOKIE[9] = "conectix"; > ^~~~~~~~~ > > In file included from ../../include/libvhd.h:39:0, > from vhd-util-repair.c:41: > ../../include/vhd.h:167:19: error: 'VHD_BATMAP_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char VHD_BATMAP_COOKIE[9] = "tdbatmap"; > ^~~~~~~~~~~~~~~~~ > > ../../include/vhd.h:148:19: error: 'DD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char DD_COOKIE[9] = "cxsparse"; > ^~~~~~~~~ > > ../../include/vhd.h:70:19: error: 'HD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char HD_COOKIE[9] = "conectix"; > ^~~~~~~~~ > > In file included from ../../include/libvhd.h:39:0, > from vhd-util-modify.c:41: > ../../include/vhd.h:167:19: error: 'VHD_BATMAP_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char VHD_BATMAP_COOKIE[9] = "tdbatmap"; > ^~~~~~~~~~~~~~~~~ > > ../../include/vhd.h:148:19: error: 'DD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char DD_COOKIE[9] = "cxsparse"; > ^~~~~~~~~ > > ../../include/vhd.h:70:19: error: 'HD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char HD_COOKIE[9] = "conectix"; > ^~~~~~~~~ > > In file included from ../../include/libvhd.h:39:0, > from vhd-util-set-field.c:41: > ../../include/vhd.h:167:19: error: 'VHD_BATMAP_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char VHD_BATMAP_COOKIE[9] = "tdbatmap"; > ^~~~~~~~~~~~~~~~~ > > ../../include/vhd.h:148:19: error: 'DD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char DD_COOKIE[9] = "cxsparse"; > ^~~~~~~~~ > > ../../include/vhd.h:70:19: error: 'HD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char HD_COOKIE[9] = "conectix"; > ^~~~~~~~~ > > In file included from ../../include/libvhd.h:39:0, > from vhd-util-snapshot.c:42: > ../../include/vhd.h:167:19: error: 'VHD_BATMAP_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char VHD_BATMAP_COOKIE[9] = "tdbatmap"; > ^~~~~~~~~~~~~~~~~ > > ../../include/vhd.h:148:19: error: 'DD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char DD_COOKIE[9] = "cxsparse"; > ^~~~~~~~~ > > ../../include/vhd.h:70:19: error: 'HD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char HD_COOKIE[9] = "conectix"; > ^~~~~~~~~ > > In file included from ../../include/libvhd.h:39:0, > from vhd-util-coalesce.c:42: > ../../include/vhd.h:167:19: error: 'VHD_BATMAP_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char VHD_BATMAP_COOKIE[9] = "tdbatmap"; > ^~~~~~~~~~~~~~~~~ > > ../../include/vhd.h:148:19: error: 'DD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char DD_COOKIE[9] = "cxsparse"; > ^~~~~~~~~ > > ../../include/vhd.h:70:19: error: 'HD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char HD_COOKIE[9] = "conectix"; > ^~~~~~~~~ > > In file included from ../../include/libvhd.h:39:0, > from vhd-util-read.c:42: > ../../include/vhd.h:167:19: error: 'VHD_BATMAP_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char VHD_BATMAP_COOKIE[9] = "tdbatmap"; > ^~~~~~~~~~~~~~~~~ > > ../../include/vhd.h:148:19: error: 'DD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char DD_COOKIE[9] = "cxsparse"; > ^~~~~~~~~ > > ../../include/vhd.h:70:19: error: 'HD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char HD_COOKIE[9] = "conectix"; > ^~~~~~~~~ > > In file included from ../../include/libvhd.h:39:0, > from ../../include/libvhd-journal.h:34, > from vhd-util-resize.c:45: > ../../include/vhd.h:167:19: error: 'VHD_BATMAP_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char VHD_BATMAP_COOKIE[9] = "tdbatmap"; > ^~~~~~~~~~~~~~~~~ > > ../../include/vhd.h:148:19: error: 'DD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char DD_COOKIE[9] = "cxsparse"; > ^~~~~~~~~ > > ../../include/vhd.h:70:19: error: 'HD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char HD_COOKIE[9] = "conectix"; > ^~~~~~~~~ > > cc1: all warnings being treated as errors > In file included from ../../include/libvhd.h:39:0, > from libvhd-index.c:46: > ../../include/vhd.h:167:19: error: 'VHD_BATMAP_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char VHD_BATMAP_COOKIE[9] = "tdbatmap"; > ^~~~~~~~~~~~~~~~~ > > ../../include/vhd.h:148:19: error: 'DD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char DD_COOKIE[9] = "cxsparse"; > ^~~~~~~~~ > > ../../include/vhd.h:70:19: error: 'HD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char HD_COOKIE[9] = "conectix"; > ^~~~~~~~~ > > In file included from ../../include/libvhd.h:39:0, > from ../../include/libvhd-journal.h:34, > from libvhd-journal.c:43: > ../../include/vhd.h:167:19: error: 'VHD_BATMAP_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char VHD_BATMAP_COOKIE[9] = "tdbatmap"; > ^~~~~~~~~~~~~~~~~ > > ../../include/vhd.h:148:19: error: 'DD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char DD_COOKIE[9] = "cxsparse"; > ^~~~~~~~~ > > cc1: all warnings being treated as errors > cc1: all warnings being treated as errors > Makefile:511: recipe for target 'vhd-util-revert.lo' failed > make[6]: *** [vhd-util-revert.lo] Error 1 > make[6]: *** Waiting for unfinished jobs.... > Makefile:511: recipe for target 'vhd-util-create.lo' failed > make[6]: *** [vhd-util-create.lo] Error 1 > Makefile:511: recipe for target 'vhd-util-repair.lo' failed > make[6]: *** [vhd-util-repair.lo] Error 1 > In file included from ../../include/libvhd.h:39:0, > from vhd-util-scan.c:50: > ../../include/vhd.h:167:19: error: 'VHD_BATMAP_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char VHD_BATMAP_COOKIE[9] = "tdbatmap"; > ^~~~~~~~~~~~~~~~~ > > ../../include/vhd.h:148:19: error: 'DD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char DD_COOKIE[9] = "cxsparse"; > ^~~~~~~~~ > > ../../include/vhd.h:70:19: error: 'HD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char HD_COOKIE[9] = "conectix"; > ^~~~~~~~~ > > cc1: all warnings being treated as errors > Makefile:511: recipe for target 'vhd-util-fill.lo' failed > make[6]: *** [vhd-util-fill.lo] Error 1 > In file included from ../../include/libvhd.h:39:0, > from libvhdio.c:73: > ../../include/vhd.h:167:19: error: 'VHD_BATMAP_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char VHD_BATMAP_COOKIE[9] = "tdbatmap"; > ^~~~~~~~~~~~~~~~~ > > ../../include/vhd.h:148:19: error: 'DD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char DD_COOKIE[9] = "cxsparse"; > ^~~~~~~~~ > > ../../include/vhd.h:70:19: error: 'HD_COOKIE' defined but not used [-Werror=unused-const-variable] > static const char HD_COOKIE[9] = "conectix"; > ^~~~~~~~~ > > cc1: all warnings being treated as errors-- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise
Debian Bug Tracking System
2016-Mar-03 01:24 UTC
[Pkg-xen-devel] Bug#811936: marked as done (blktap: FTBFS with GCC 6: defined but not used)
Your message dated Wed, 2 Mar 2016 17:21:50 -0800 with message-id <20160303012150.GA9330 at jirafa.cyrius.com> and subject line Re: Bug#811936: blktap: FTBFS with GCC 6: defined but not used has caused the Debian Bug report #811936, regarding blktap: FTBFS with GCC 6: defined but not used to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 811936: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811936 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Martin Michlmayr <tbm at hpe.com> Subject: blktap: FTBFS with GCC 6: defined but not used Date: Tue, 19 Jan 2016 19:49:42 -0800 Size: 14411 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20160303/8098c3b0/attachment-0002.mht> -------------- next part -------------- An embedded message was scrubbed... From: Martin Michlmayr <tbm at hpe.com> Subject: Re: Bug#811936: blktap: FTBFS with GCC 6: defined but not used Date: Wed, 2 Mar 2016 17:21:50 -0800 Size: 2515 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20160303/8098c3b0/attachment-0003.mht>