Package: openimageio
Version: 1.5.23~dfsg0-1
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6

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>>/build/src/libOpenImageIO" && /usr/bin/c++   
> -DBOOST_TEST_DYN_LINK -DEMBED_PLUGINS=1 -DOpenImageIO_EXPORTS -DPTEX_EXPORTS 
> -DUSE_BOOST_ASIO=1 -DUSE_FREETYPE -DUSE_GIF -DUSE_LIBRAW=1 -DUSE_OCIO=1 
> -DUSE_OPENCV -DUSE_WEBP=1 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS 
> -I/usr/include/OpenEXR -I/usr/include/libraw -I"/<<PKGBUILDDIR>>/src/include" 
> -I"/<<PKGBUILDDIR>>/build/include/OpenImageIO" 
> -I"/<<PKGBUILDDIR>>/build/src/libOpenImageIO" -I/usr/include/x86_64-linux-gnu 
> -I/usr/include/freetype2 -I/usr/include/freetype2/freetype2 
> -I/usr/include/freetype2/freetype2/freetype  -g -O2 -fstack-protector-strong 
> -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -fPIC   
> -Wall -Werror -fno-math-errno -Wno-error=unused-local-typedefs 
> -Wno-unused-local-typedefs -UUSE_FIELD3D -o 
> CMakeFiles/OpenImageIO.dir/__/libutil/filter.cpp.o -c 
> "/<<PKGBUILDDIR>>/src/libutil/filter.cpp"
> In file included from 
> /<<PKGBUILDDIR>>/src/include/OpenImageIO/pugiconfig.hpp:41:0,
>                  from /<<PKGBUILDDIR>>/src/include/OpenImageIO/pugixml.hpp:20,
>                  from /<<PKGBUILDDIR>>/src/libOpenImageIO/formatspec.cpp:46:
> /<<PKGBUILDDIR>>/src/include/OpenImageIO/pugixml.cpp: In member function 
> 'void OpenImageIO::v1_5::pugi::xml_document::create()':
> /<<PKGBUILDDIR>>/src/include/OpenImageIO/pugixml.cpp:5143:58: error: 
> placement new constructing an object of type 
> 'OpenImageIO::v1_5::pugi::impl::xml_document_struct' and size '88' in a 
> region of type 'char [1]' and size '1' [-Werror=placement-new]
>    _root = new (page->data) impl::xml_document_struct(page);
>                                                           ^
> 
> In file included from 
> /<<PKGBUILDDIR>>/src/include/OpenImageIO/pugiconfig.hpp:41:0,
>                  from /<<PKGBUILDDIR>>/src/include/OpenImageIO/pugixml.hpp:20,
>                  from /<<PKGBUILDDIR>>/src/libOpenImageIO/xmp.cpp:41:
> /<<PKGBUILDDIR>>/src/include/OpenImageIO/pugixml.cpp: In member function 
> 'void OpenImageIO::v1_5::pugi::xml_document::create()':
> /<<PKGBUILDDIR>>/src/include/OpenImageIO/pugixml.cpp:5143:58: error: 
> placement new constructing an object of type 
> 'OpenImageIO::v1_5::pugi::impl::xml_document_struct' and size '88' in a 
> region of type 'char [1]' and size '1' [-Werror=placement-new]
>    _root = new (page->data) impl::xml_document_struct(page);
>                                                           ^

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

Reply via email to