Package: unar
Version: 1.9.1-1
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-unknown-type-name

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
...
> gcc -std=gnu99 -O2 -Wno-import -Wno-multichar -g -D_FILE_OFFSET_BITS=64 
> -isystem /usr/include/GNUstep -DGNUSTEP -DGNU_RUNTIME=1 
> -D_NATIVE_OBJC_EXCEPTIONS -fgnu-runtime -fexceptions -fobjc-exceptions 
> -fconstant-string-class=NSConstantString -g -O2 -fstack-protector-strong 
> -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MMD 
> -MFBuild/XADARCCrushHandle.d -MTBuild/XADARCCrushHandle.o -c 
> XADARCCrushHandle.m -o Build/XADARCCrushHandle.o
> XADArchiveParserDescriptions.m: In function 'XADHumanReadableList':
> XADArchiveParserDescriptions.m:447:2: error: unknown type name 
> 'NSMutableString'
>   NSMutableString *string=[NSMutableString string];
>   ^~~~~~~~~~~~~~~
> 
> XADArchiveParserDescriptions.m:447:2: note: use 'struct' keyword to refer to 
> the type
> XADArchiveParserDescriptions.m:447:26: warning: initialization from 
> incompatible pointer type [-Wincompatible-pointer-types]
>   NSMutableString *string=[NSMutableString string];
>                           ^
> 
> XADArchiveParserDescriptions.m:454:3: warning: invalid receiver type 'int *'
>    [string appendString:label];
>    ^
> 
> XADArchiveParserDescriptions.m:455:3: warning: invalid receiver type 'int *'
>    [string appendString:@": "];
>    ^
> 
> XADArchiveParserDescriptions.m:457:3: warning: invalid receiver type 'int *'
>    for(int i=len;i<maxlen;i++) [string appendString:@" "];
>    ^~~
> 
> XADArchiveParserDescriptions.m:459:3: warning: invalid receiver type 'int *'
>    [string appendString:XADIndentTextWithSpaces(value,maxlen+2)];
>    ^
> 
> XADArchiveParserDescriptions.m:461:3: warning: invalid receiver type 'int *'
>    if(i!=count-1) [string appendString:@"\n"];
>    ^~
> 
> XADArchiveParserDescriptions.m:464:9: warning: return from incompatible 
> pointer type [-Wincompatible-pointer-types]
>   return string;
>          ^~~~~~
> 
> XAD7ZipParser.m: In function '-[XAD7ZipParser parseWithSeparateMacForks]':
> XAD7ZipParser.m:182:2: error: unknown type name 'NSDictionary'
>   NSDictionary *additionalstreams=nil;
>   ^~~~~~~~~~~~
> 
> XAD7ZipParser.m:182:2: note: use 'struct' keyword to refer to the type
> XAD7ZipParser.m:182:34: warning: initialization from incompatible pointer 
> type [-Wincompatible-pointer-types]
>   NSDictionary *additionalstreams=nil;
>                                   ^~~
> 
> XAD7ZipParser.m:202:22: warning: assignment from incompatible pointer type 
> [-Wincompatible-pointer-types]
>      additionalstreams=[self parseStreamsForHandle:fh];

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

Reply via email to