Package: librostlab-blast
Version: 1.0.1-5
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-overloaded-ambiguous

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:  g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time 
> -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -c blast-parser-driver.cpp  -fPIC -DPIC -o 
> .libs/librostlab_blast_la-blast-parser-driver.o
> In file included from blast-parser-driver.cpp:19:0:
> rostlab/blast-parser-driver.h:43:26: error: 'enum 
> rostlab::blast::parser::token::yytokentype' is not a class or a namespace
>           void* yyscanner )
>                           ^
> 
> rostlab/blast-parser-driver.h:61:12: note: in expansion of macro 
> 'YY_DECL_FRIEND'
>      friend YY_DECL_FRIEND;
>             ^~~~~~~~~~~~~~
> 
> rostlab/blast-parser-driver.h:43:26: error: ISO C++ forbids declaration of 
> 'yylex' with no type [-fpermissive]
>           void* yyscanner )
>                           ^
> 
> rostlab/blast-parser-driver.h:61:12: note: in expansion of macro 
> 'YY_DECL_FRIEND'
>      friend YY_DECL_FRIEND;
>             ^~~~~~~~~~~~~~
> 
> /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. 
>   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fstack-protector-strong 
> -Wformat -Werror=format-security -c -o 
> librostlab_blast_la-librostlab_blast_la-blast-parser-scanner.lo `test -f 
> 'librostlab_blast_la-blast-parser-scanner.cpp' || echo 
> './'`librostlab_blast_la-blast-parser-scanner.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time 
> -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -c librostlab_blast_la-blast-parser-scanner.cpp  
> -fPIC -DPIC -o 
> .libs/librostlab_blast_la-librostlab_blast_la-blast-parser-scanner.o
> In file included from blast-parser-parser.ypp:54:0:
> rostlab/blast-parser-driver.h:43:26: error: 'enum 
> rostlab::blast::parser::token::yytokentype' is not a class or a namespace
>           void* yyscanner )
>                           ^
> 
> rostlab/blast-parser-driver.h:61:12: note: in expansion of macro 
> 'YY_DECL_FRIEND'
>      friend YY_DECL_FRIEND;
>             ^~~~~~~~~~~~~~
> 
> rostlab/blast-parser-driver.h:43:26: error: ISO C++ forbids declaration of 
> 'yylex' with no type [-fpermissive]
>           void* yyscanner )
>                           ^
> 
> rostlab/blast-parser-driver.h:61:12: note: in expansion of macro 
> 'YY_DECL_FRIEND'
>      friend YY_DECL_FRIEND;
>             ^~~~~~~~~~~~~~
> 
> blast-parser-parser.cpp: In member function 'virtual int 
> rostlab::blast::parser::parse()':
> blast-parser-parser.cpp:630:89: error: call of overloaded 
> 'yylex(rostlab::blast::parser::semantic_type*, 
> rostlab::blast::parser::location_type*, rostlab::blast::parser_driver&, 
> void*&)' is ambiguous
>              yyla.type = yytranslate_ (yylex (&yyla.value, &yyla.location, 
> drv, yyscanner));
>                                                                               
>            ^

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

Reply via email to