[Pkg-phototools-devel] Bug#811869: enblend-enfuse: FTBFS with GCC 6: no matching function for call to
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 02:51:05 UTC 2016
Package: enblend-enfuse
Version: 4.1.4+dfsg-4
Severity: important
User: debian-gcc at lists.debian.org
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
...
> In file included from ../../src/assemble.h:43:0,
> from ../../src/enblend.h:43,
> from ../../src/enblend.cc:181:
> ../../include/vigra_ext/impexalpha.hxx: In instantiation of 'void vigra_ext::detail::importImageAlpha(const vigra::ImageImportInfo&, ImageIterator, ImageAccessor, AlphaIterator, AlphaAccessor, vigra::VigraFalseType) [with ImageIterator = vigra::BasicImageIterator<vigra::RGBValue<unsigned char>, vigra::RGBValue<unsigned char>**>; ImageAccessor = vigra::RGBAccessor<vigra::RGBValue<unsigned char> >; AlphaIterator = vigra::BasicImageIterator<unsigned char, unsigned char**>; AlphaAccessor = vigra_ext::WriteFunctorAccessor<vigra::Threshold<unsigned char, unsigned char>, vigra::StandardValueAccessor<unsigned char> >]':
> ../../include/vigra_ext/impexalpha.hxx:310:33: required from 'void vigra_ext::importImageAlpha(const vigra::ImageImportInfo&, ImageIterator, ImageAccessor, AlphaIterator, AlphaAccessor) [with ImageIterator = vigra::BasicImageIterator<vigra::RGBValue<unsigned char>, vigra::RGBValue<unsigned char>**>; ImageAccessor = vigra::RGBAccessor<vigra::RGBValue<unsigned char> >; AlphaIterator = vigra::BasicImageIterator<unsigned char, unsigned char**>; AlphaAccessor = vigra_ext::WriteFunctorAccessor<vigra::Threshold<unsigned char, unsigned char>, vigra::StandardValueAccessor<unsigned char> >]'
> ../../include/vigra_ext/impexalpha.hxx:324:25: required from 'void vigra_ext::importImageAlpha(const vigra::ImageImportInfo&, const std::pair<_T1, _T2>&, const std::pair<MaskImageIterator, MaskAccessor>&) [with ImageIterator = vigra::BasicImageIterator<vigra::RGBValue<unsigned char>, vigra::RGBValue<unsigned char>**>; ImageAccessor = vigra::RGBAccessor<vigra::RGBValue<unsigned char> >; AlphaIterator = vigra::BasicImageIterator<unsigned char, unsigned char**>; AlphaAccessor = vigra_ext::WriteFunctorAccessor<vigra::Threshold<unsigned char, unsigned char>, vigra::StandardValueAccessor<unsigned char> >]'
> ../../src/assemble.h:211:36: required from 'void enblend::import(const vigra::ImageImportInfo&, const std::pair<_T1, _T2>&, const std::pair<MaskImageIterator, MaskAccessor>&) [with DestIterator = vigra::BasicImageIterator<vigra::RGBValue<unsigned char>, vigra::RGBValue<unsigned char>**>; DestAccessor = vigra::RGBAccessor<vigra::RGBValue<unsigned char> >; AlphaIterator = vigra::BasicImageIterator<unsigned char, unsigned char**>; AlphaAccessor = vigra::StandardValueAccessor<unsigned char>]'
> ../../src/assemble.h:280:11: required from 'std::pair<ImageType*, AlphaType*> enblend::assemble(std::__cxx11::list<vigra::ImageImportInfo*>&, vigra::Rect2D&, vigra::Rect2D&) [with ImageType = vigra::BasicImage<vigra::RGBValue<unsigned char> >; AlphaType = vigra::BasicImage<unsigned char>]'
> ../../src/enblend.h:84:39: required from 'void enblend::enblendMain(const FileNameList&, const std::__cxx11::list<vigra::ImageImportInfo*>&, vigra::ImageExportInfo&, vigra::Rect2D&) [with ImagePixelType = vigra::RGBValue<unsigned char>; enblend::FileNameList = std::__cxx11::list<std::__cxx11::basic_string<char> >]'
> ../../src/enblend.cc:2374:160: required from here
> ../../include/vigra_ext/impexalpha.hxx:252:78: error: no matching function for call to 'std::auto_ptr<vigra::Decoder>::auto_ptr(std::unique_ptr<vigra::Decoder>)'
> std::auto_ptr<vigra::Decoder> decoder(vigra::decoder(import_info));
> ^
>
> In file included from /usr/include/c++/6/memory:85:0,
> from /usr/include/vigra/imageinfo.hxx:51,
> from ../../src/layer_selection/layer_selection.h:28,
> from ../../src/enblend.cc:76:
> /usr/include/c++/6/backward/auto_ptr.h:260:7: note: candidate: std::auto_ptr< <template-parameter-1-1> >::auto_ptr(std::auto_ptr_ref<_Tp>) [with _Tp = vigra::Decoder]
> auto_ptr(auto_ptr_ref<element_type> __ref) throw()
> ^~~~~~~~
>
> /usr/include/c++/6/backward/auto_ptr.h:260:7: note: no known conversion for argument 1 from 'std::unique_ptr<vigra::Decoder>' to 'std::auto_ptr_ref<vigra::Decoder>'
> /usr/include/c++/6/backward/auto_ptr.h:125:9: note: candidate: template<class _Tp1> std::auto_ptr< <template-parameter-1-1> >::auto_ptr(std::auto_ptr<_Up>&)
> auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { }
> ^~~~~~~~
>
> /usr/include/c++/6/backward/auto_ptr.h:125:9: note: template argument deduction/substitution failed:
> In file included from ../../src/assemble.h:43:0,
> from ../../src/enblend.h:43,
> from ../../src/enblend.cc:181:
> ../../include/vigra_ext/impexalpha.hxx:252:78: note: 'std::unique_ptr<vigra::Decoder>' is not derived from 'std::auto_ptr<_Up>'
> std::auto_ptr<vigra::Decoder> decoder(vigra::decoder(import_info));
> ^
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the Pkg-phototools-devel
mailing list