Package: xdmf
Version: 2.1.dfsg.1-13
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-no-match

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
...
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libsrc && /usr/bin/c++   -DLinux 
> -DSWIG_TYPE_TABLE=Xdmf -DXDMF_NO_MPI -DXDMF_USE_BZIP2 -DXDMF_USE_GZIP 
> -DXdmf_EXPORTS -D_HPUX_SOURCE -I/<<PKGBUILDDIR>>/libsrc 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libsrc -I/usr/include/libxml2 
> -I/usr/include/libxml2/libxml2 -I/usr/include/hdf5/serial 
> -I/usr/include/python2.7  -I/usr/include/python2.7 -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2  -fPIC   -o CMakeFiles/Xdmf.dir/XdmfValuesBinary.o -c 
> /<<PKGBUILDDIR>>/libsrc/XdmfValuesBinary.cxx
> In file included from /<<PKGBUILDDIR>>/libsrc/XdmfLightData.h:28:0,
>                  from /<<PKGBUILDDIR>>/libsrc/XdmfElement.h:28,
>                  from /<<PKGBUILDDIR>>/libsrc/XdmfDataItem.h:28,
>                  from /<<PKGBUILDDIR>>/libsrc/XdmfValues.h:29,
>                  from /<<PKGBUILDDIR>>/libsrc/XdmfValuesBinary.h:25,
>                  from /<<PKGBUILDDIR>>/libsrc/XdmfValuesBinary.cxx:21:
> /<<PKGBUILDDIR>>/libsrc/XdmfValuesBinary.cxx: In member function 'virtual 
> XdmfArray* XdmfValuesBinary::Read(XdmfArray*)':
> /<<PKGBUILDDIR>>/libsrc/XdmfValuesBinary.cxx:285:52: error: no match for 
> 'operator<<' (operand types are 'std::basic_ostream<char>' and 
> 'std::ostrstream')
>      XdmfDebug("Opening Binary Data for Reading : " << FullFileName);
>                                                      
> 
> /<<PKGBUILDDIR>>/libsrc/XdmfObject.h:423:73: note: in definition of macro 
> 'XdmfDebug'
>    cerr << "XDMF Debug : " << __FILE__ << " line " << __LINE__ << " ("<< x << 
> ")" << "\n"; \
>                                                                          ^
> 
> /<<PKGBUILDDIR>>/libsrc/XdmfValuesBinary.cxx:285:52: note: candidate: 
> operator<<(int, int) <built-in>
>      XdmfDebug("Opening Binary Data for Reading : " << FullFileName);
>                                                      
> 
> /<<PKGBUILDDIR>>/libsrc/XdmfObject.h:423:73: note: in definition of macro 
> 'XdmfDebug'
>    cerr << "XDMF Debug : " << __FILE__ << " line " << __LINE__ << " ("<< x << 
> ")" << "\n"; \
>                                                                          ^
> 
> /<<PKGBUILDDIR>>/libsrc/XdmfValuesBinary.cxx:285:52: note:   no known 
> conversion for argument 2 from 'std::ostrstream' to 'int'
>      XdmfDebug("Opening Binary Data for Reading : " << FullFileName);
>                                                      
> 
> /<<PKGBUILDDIR>>/libsrc/XdmfObject.h:423:73: note: in definition of macro 
> 'XdmfDebug'
>    cerr << "XDMF Debug : " << __FILE__ << " line " << __LINE__ << " ("<< x << 
> ")" << "\n"; \

Reply via email to