[Debian-astro-maintainers] Bug#811918: gnudatalanguage: FTBFS with GCC 6: misc errors

Martin Michlmayr tbm at hpe.com
Wed Jan 20 03:40:17 UTC 2016


Package: gnudatalanguage
Version: 0.9.6v2-1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-invalid-return

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
...
> /<<PKGBUILDDIR>>/src/typedefs.hpp: In member function 'Guard<T>& Guard<T>::operator=(Guard<T>&)':
> /<<PKGBUILDDIR>>/src/typedefs.hpp:238:21: error: return-statement with no value, in function returning 'Guard<T>&' [-fpermissive]
>      if( &r == this) return;
>                      ^~~~~~

-> error

> 
> /usr/include/eigen3/Eigen/src/Core/arch/SSE/Complex.h:442:63: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d {aka __vector(2) double}'
>  template<> struct conj_helper<Packet1cd, Packet2d, false,false>
>                                                                ^
> 
> In file included from /<<PKGBUILDDIR>>/src/datatypes.hpp:32:0,
>                  from /<<PKGBUILDDIR>>/src/arrayindex.hpp:24,
>                  from /<<PKGBUILDDIR>>/src/allix.cpp:19:
> /<<PKGBUILDDIR>>/src/typedefs.hpp: In member function 'Guard<T>& Guard<T>::operator=(Guard<T>&)':
> /<<PKGBUILDDIR>>/src/typedefs.hpp:238:21: error: return-statement with no value, in function returning 'Guard<T>&' [-fpermissive]
>      if( &r == this) return;
>                      ^~~~~~
...
> In file included from /<<PKGBUILDDIR>>/src/datatypes.hpp:499:0,
>                  from /<<PKGBUILDDIR>>/src/dstructdesc.cpp:22:
> /<<PKGBUILDDIR>>/src/specializations.hpp: At global scope:
> /<<PKGBUILDDIR>>/src/specializations.hpp:537:65: error: 'operator>>' is not a template function
>  std::istream& operator>>(std::istream& i, Data_<SpDFloat>& data_);
>                                                                  ^

-> error

> /<<PKGBUILDDIR>>/src/specializations.hpp:539:66: error: 'operator>>' is not a template function
>  std::istream& operator>>(std::istream& i, Data_<SpDDouble>& data_);
>                                                                   ^
> 
> /<<PKGBUILDDIR>>/src/specializations.hpp:541:67: error: 'operator>>' is not a template function
>  std::istream& operator>>(std::istream& i, Data_<SpDComplex>& data_);
>                                                                    ^



More information about the Debian-astro-maintainers mailing list