On 2022-03-12 00:14, Matteo F. Vescovi wrote:
The package builds fine only if I disable documentation generation.

I can no longer build the package on experimental neither with -DOCIO_BUILD_DOCS=ON nor with -DOCIO_BUILD_DOCS=OFF with the following:

[ 77%] Building CXX object src/apps/ociolutimage/CMakeFiles/ociolutimage.dir/main.cpp.o cd /home/merkys/opencolorio/debian/cmake/src/apps/ociolutimage && /usr/bin/c++ -I/home/merkys/opencolorio/src/apputils/.. -I/home/merkys/opencolorio/include/OpenColorIO/.. -I/home/merkys/opencolorio/include/OpenColorIO -I/home/merkys/opencolorio/src/OpenColorIO -I/home/merkys/opencolorio/debian/cmake/include/OpenColorIO -isystem /home/merkys/opencolorio/src/utils/.. -g -O2 -ffile-prefix-map=/home/merkys/opencolorio=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fvisibility=hidden -fvisibility-inlines-hidden -DUSE_GCC -Wall -Wextra -Wswitch-enum -std=c++17 -MD -MT src/apps/ociolutimage/CMakeFiles/ociolutimage.dir/main.cpp.o -MF CMakeFiles/ociolutimage.dir/main.cpp.o.d -o CMakeFiles/ociolutimage.dir/main.cpp.o -c /home/merkys/opencolorio/src/apps/ociolutimage/main.cpp
In file included from /usr/include/OpenImageIO/fmath.h:40,
                 from /usr/include/OpenImageIO/hash.h:31,
                 from /usr/include/OpenImageIO/strutil.h:24,
                 from /usr/include/OpenImageIO/typedesc.h:29,
                 from /usr/include/OpenImageIO/attrdelegate.h:13,
                 from /usr/include/OpenImageIO/paramlist.h:17,
                 from /usr/include/OpenImageIO/imageio.h:34,
from /home/merkys/opencolorio/src/apps/ociolutimage/main.cpp:8: /usr/include/OpenImageIO/Imath.h:21:13: fatal error: OpenEXR/ImathColor.h: No such file or directory
   21 | #   include <OpenEXR/ImathColor.h>
      |             ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

libopenexr-dev/3.1.4-1 does not seem to contain the required header.

Andrius

Reply via email to