[Debian-med-packaging] Bug#811992: librostlab-blast: FTBFS with GCC 6: misc errors

Andreas Tille andreas at an3as.eu
Tue Apr 26 13:02:25 UTC 2016


Hi,

I'm forwarding this issue upstream.  Anybody who might be able to fix
this?

Kind regards

      Andreas.

On Tue, Jan 19, 2016 at 08:18:52PM -0800, Martin Michlmayr wrote:
> Package: librostlab-blast
> Version: 1.0.1-5
> Severity: important
> User: debian-gcc at lists.debian.org
> 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
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging
> 

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list