[Debian-med-packaging] Bug#1017517: mia FTBFS with openexr 3.1.5

Adrian Bunk bunk at debian.org
Wed Aug 17 11:39:29 BST 2022


Source: mia
Version: 2.4.7-10
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=mia&arch=ppc64el&ver=2.4.7-10%2Bb1&stamp=1660730413&raw=0

...
/<<PKGBUILDDIR>>/addons/openexr/2dimgexr.cc: In member function ‘virtual mia::TIOPlugin<mia::io_2dimage_type>::PData IMAGEIO_2D_EXR::CEXR2DImageIOPlugin::do_load(const std::string&) const’:
/<<PKGBUILDDIR>>/addons/openexr/2dimgexr.cc:67:15: error: ‘Box2i’ was not declared in this scope
   67 |               Box2i dw = file.header().dataWindow();
      |               ^~~~~
/<<PKGBUILDDIR>>/addons/openexr/2dimgexr.cc:68:30: error: ‘dw’ was not declared in this scope
   68 |               C2DBounds size(dw.max.x - dw.min.x + 1, dw.max.y - dw.min.y + 1);
      |                              ^~
/<<PKGBUILDDIR>>/addons/openexr/2dimgexr.cc:72:56: error: invalid use of incomplete type ‘const class Imf_3_1::Header’
   72 |               const ChannelList& channels = file.header().channels();
      |                                             ~~~~~~~~~~~^~
In file included from /usr/include/OpenEXR/ImfOutputFile.h:16,
                 from /<<PKGBUILDDIR>>/addons/openexr/2dimgexr.cc:23:
/usr/include/OpenEXR/ImfForward.h:31:23: note: forward declaration of ‘class Imf_3_1::Header’
   31 | class IMF_EXPORT_TYPE Header;
      |                       ^~~~~~
/<<PKGBUILDDIR>>/addons/openexr/2dimgexr.cc:73:27: error: aggregate ‘Imf_3_1::FrameBuffer frameBuffer’ has incomplete type and cannot be defined
   73 |               FrameBuffer frameBuffer;
      |                           ^~~~~~~~~~~
/<<PKGBUILDDIR>>/addons/openexr/2dimgexr.cc:83:54: error: ‘Slice’ was not declared in this scope
   83 |                             frameBuffer.insert ("Y", Slice(UINT, (char *)(&(*img)(0, 0) - (dx + size.x * dy)),
      |                                                      ^~~~~
/<<PKGBUILDDIR>>/addons/openexr/2dimgexr.cc:91:54: error: ‘Slice’ was not declared in this scope
   91 |                             frameBuffer.insert ("Y", Slice(FLOAT, (char *)(&(*img)(0, 0) - (dx + size.x * dy)),
      |                                                      ^~~~~
/<<PKGBUILDDIR>>/addons/openexr/2dimgexr.cc: In static member function ‘static bool IMAGEIO_2D_EXR::image_writer_exr<T, 1>::apply(const mia::T2DImage<T>&, const std::string&)’:
/<<PKGBUILDDIR>>/addons/openexr/2dimgexr.cc:174:29: error: ‘header’ has incomplete type
  174 |                      Header header (image.get_size().x, image.get_size().y);
      |                             ^~~~~~
/usr/include/OpenEXR/ImfForward.h:31:23: note: forward declaration of ‘class Imf_3_1::Header’
   31 | class IMF_EXPORT_TYPE Header;
      |                       ^~~~~~
/<<PKGBUILDDIR>>/addons/openexr/2dimgexr.cc:177:34: error: ‘frameBuffer’ has incomplete type
  177 |                      FrameBuffer frameBuffer;
      |                                  ^~~~~~~~~~~
/usr/include/OpenEXR/ImfForward.h:75:24: note: forward declaration of ‘class Imf_3_1::FrameBuffer’
   75 | class  IMF_EXPORT_TYPE FrameBuffer;
      |                        ^~~~~~~~~~~
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu'
...


More information about the Debian-med-packaging mailing list