[Debian GNUstep maintainers] Bug#811928: gnustep-gui: FTBFS with GCC 6: defined but not used
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 03:47:34 UTC 2016
Package: gnustep-gui
Version: 0.24.0-3.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
...
> /usr/share/GNUstep/Makefiles/mkinstalldirs GSSpeechServer.app/.
> gcc GSSpeechEngine.m -c \
> -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fgnu-runtime -std=c99 -g -Werror -fconstant-string-class=NSConstantString -I/usr/local/include/flite -I../../Headers -I../../Headers/Additions -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
> -o obj/GSSpeechServer.obj/GSSpeechEngine.m.o
> In file included from /usr/include/GNUstep/Foundation/Foundation.h:117:0,
> from GSSpeechEngine.h:1,
> from GSSpeechEngine.m:1:
> /usr/include/GNUstep/Foundation/NSTextCheckingResult.h:34:33: error: 'NSTextCheckingTypeRegularExpression' defined but not used [-Werror=unused-const-variable]
> static const NSTextCheckingType NSTextCheckingTypeRegularExpression = 1ULL<<10;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> In file included from /usr/include/GNUstep/Foundation/Foundation.h:106:0,
> from GSSpeechEngine.h:1,
> from GSSpeechEngine.m:1:
> /usr/include/GNUstep/Foundation/NSRegularExpression.h:66:32: error: 'NSMatchingWithoutAnchoringBounds' defined but not used [-Werror=unused-const-variable]
> static const NSMatchingOptions NSMatchingWithoutAnchoringBounds = 1<<4;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> /usr/include/GNUstep/Foundation/NSRegularExpression.h:65:32: error: 'NSMatchingWithTransparentBounds' defined but not used [-Werror=unused-const-variable]
> static const NSMatchingOptions NSMatchingWithTransparentBounds = 1<<3;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> /usr/include/GNUstep/Foundation/NSRegularExpression.h:64:32: error: 'NSMatchingAnchored' defined but not used [-Werror=unused-const-variable]
> static const NSMatchingOptions NSMatchingAnchored = 1<<2;
> ^~~~~~~~~~~~~~~~~~
>
> /usr/include/GNUstep/Foundation/NSRegularExpression.h:63:32: error: 'NSMatchingReportCompletion' defined but not used [-Werror=unused-const-variable]
> static const NSMatchingOptions NSMatchingReportCompletion = 1<<1;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~
>
> /usr/include/GNUstep/Foundation/NSRegularExpression.h:62:32: error: 'NSMatchingReportProgress' defined but not used [-Werror=unused-const-variable]
> static const NSMatchingOptions NSMatchingReportProgress = 1<<0;
> ^~~~~~~~~~~~~~~~~~~~~~~~
>
> /usr/include/GNUstep/Foundation/NSRegularExpression.h:59:30: error: 'NSMatchingInternalError' defined but not used [-Werror=unused-const-variable]
> static const NSMatchingFlags NSMatchingInternalError = 1<<4;
> ^~~~~~~~~~~~~~~~~~~~~~~
>
> /usr/include/GNUstep/Foundation/NSRegularExpression.h:58:30: error: 'NSMatchingRequiredEnd' defined but not used [-Werror=unused-const-variable]
> static const NSMatchingFlags NSMatchingRequiredEnd = 1<<3;
> ^~~~~~~~~~~~~~~~~~~~~
>
> /usr/include/GNUstep/Foundation/NSRegularExpression.h:57:30: error: 'NSMatchingHitEnd' defined but not used [-Werror=unused-const-variable]
> static const NSMatchingFlags NSMatchingHitEnd = 1<<2;
> ^~~~~~~~~~~~~~~~
>
> /usr/include/GNUstep/Foundation/NSRegularExpression.h:56:30: error: 'NSMatchingCompleted' defined but not used [-Werror=unused-const-variable]
> static const NSMatchingFlags NSMatchingCompleted = 1<<1;
> ^~~~~~~~~~~~~~~~~~~
>
> /usr/include/GNUstep/Foundation/NSRegularExpression.h:55:30: error: 'NSMatchingProgress' defined but not used [-Werror=unused-const-variable]
> static const NSMatchingFlags NSMatchingProgress = 1<<0;
> ^~~~~~~~~~~~~~~~~~
>
> /usr/include/GNUstep/Foundation/NSRegularExpression.h:52:3: error: 'NSRegularExpressionUseUnicodeWordBoundaries' defined but not used [-Werror=unused-const-variable]
> NSRegularExpressionUseUnicodeWordBoundaries = 1<<6;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> /usr/include/GNUstep/Foundation/NSRegularExpression.h:50:3: error: 'NSRegularExpressionUseUnixLineSeparators' defined but not used [-Werror=unused-const-variable]
> NSRegularExpressionUseUnixLineSeparators = 1<<5;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> /usr/include/GNUstep/Foundation/NSRegularExpression.h:48:3: error: 'NSRegularExpressionAnchorsMatchLines' defined but not used [-Werror=unused-const-variable]
> NSRegularExpressionAnchorsMatchLines = 1<<4;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> /usr/include/GNUstep/Foundation/NSRegularExpression.h:46:3: error: 'NSRegularExpressionDotMatchesLineSeparators' defined but not used [-Werror=unused-const-variable]
> NSRegularExpressionDotMatchesLineSeparators = 1<<3;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> /usr/include/GNUstep/Foundation/NSRegularExpression.h:44:3: error: 'NSRegularExpressionIgnoreMetacharacters' defined but not used [-Werror=unused-const-variable]
> NSRegularExpressionIgnoreMetacharacters = 1<<2;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> /usr/include/GNUstep/Foundation/NSRegularExpression.h:42:3: error: 'NSRegularExpressionAllowCommentsAndWhitespace' defined but not used [-Werror=unused-const-variable]
> NSRegularExpressionAllowCommentsAndWhitespace = 1<<1;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> /usr/include/GNUstep/Foundation/NSRegularExpression.h:40:3: error: 'NSRegularExpressionCaseInsensitive' defined but not used [-Werror=unused-const-variable]
> NSRegularExpressionCaseInsensitive = 1<<0;
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> cc1obj: all warnings being treated as errors
> /usr/share/GNUstep/Makefiles/rules.make:468: recipe for target 'obj/GSSpeechServer.obj/GSSpeechEngine.m.o' failed
> make[6]: *** [obj/GSSpeechServer.obj/GSSpeechEngine.m.o] Error 1
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the pkg-GNUstep-maintainers
mailing list