[Pkg-phototools-devel] Bug#984276: opencolorio: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:16:14 GMT 2021


Package: src:opencolorio
Version: 1.1.1~dfsg0-7
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/opencolorio_1.1.1~dfsg0-7_unstable_gcc11.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
[ 12%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/FileFormatCC.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/FileFormatCC.cpp.o -c "/<<PKGBUILDDIR>>/src/core/FileFormatCC.cpp"
[ 13%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/FileFormatCCC.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/FileFormatCCC.cpp.o -c "/<<PKGBUILDDIR>>/src/core/FileFormatCCC.cpp"
[ 13%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/FileFormatCDL.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/FileFormatCDL.cpp.o -c "/<<PKGBUILDDIR>>/src/core/FileFormatCDL.cpp"
[ 14%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/FileFormatCSP.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/FileFormatCSP.cpp.o -c "/<<PKGBUILDDIR>>/src/core/FileFormatCSP.cpp"
[ 15%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/FileFormatHDL.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/FileFormatHDL.cpp.o -c "/<<PKGBUILDDIR>>/src/core/FileFormatHDL.cpp"
[ 16%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/FileFormatIridasCube.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/FileFormatIridasCube.cpp.o -c "/<<PKGBUILDDIR>>/src/core/FileFormatIridasCube.cpp"
[ 17%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/FileFormatIridasItx.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/FileFormatIridasItx.cpp.o -c "/<<PKGBUILDDIR>>/src/core/FileFormatIridasItx.cpp"
[ 17%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/FileFormatIridasLook.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/FileFormatIridasLook.cpp.o -c "/<<PKGBUILDDIR>>/src/core/FileFormatIridasLook.cpp"
[ 18%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/FileFormatPandora.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/FileFormatPandora.cpp.o -c "/<<PKGBUILDDIR>>/src/core/FileFormatPandora.cpp"
[ 19%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/FileFormatSpi1D.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/FileFormatSpi1D.cpp.o -c "/<<PKGBUILDDIR>>/src/core/FileFormatSpi1D.cpp"
[ 20%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/FileFormatSpi3D.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/FileFormatSpi3D.cpp.o -c "/<<PKGBUILDDIR>>/src/core/FileFormatSpi3D.cpp"
[ 20%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/FileFormatSpiMtx.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/FileFormatSpiMtx.cpp.o -c "/<<PKGBUILDDIR>>/src/core/FileFormatSpiMtx.cpp"
[ 21%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/FileFormatTruelight.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/FileFormatTruelight.cpp.o -c "/<<PKGBUILDDIR>>/src/core/FileFormatTruelight.cpp"
[ 22%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/FileFormatVF.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/FileFormatVF.cpp.o -c "/<<PKGBUILDDIR>>/src/core/FileFormatVF.cpp"
[ 23%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/FileTransform.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/FileTransform.cpp.o -c "/<<PKGBUILDDIR>>/src/core/FileTransform.cpp"
[ 24%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/GpuShaderDesc.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/GpuShaderDesc.cpp.o -c "/<<PKGBUILDDIR>>/src/core/GpuShaderDesc.cpp"
[ 24%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/GpuShaderUtils.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/GpuShaderUtils.cpp.o -c "/<<PKGBUILDDIR>>/src/core/GpuShaderUtils.cpp"
[ 25%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/GroupTransform.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/GroupTransform.cpp.o -c "/<<PKGBUILDDIR>>/src/core/GroupTransform.cpp"
[ 26%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/HashUtils.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/HashUtils.cpp.o -c "/<<PKGBUILDDIR>>/src/core/HashUtils.cpp"
[ 27%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/ImageDesc.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/ImageDesc.cpp.o -c "/<<PKGBUILDDIR>>/src/core/ImageDesc.cpp"
[ 27%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/ImagePacking.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/ImagePacking.cpp.o -c "/<<PKGBUILDDIR>>/src/core/ImagePacking.cpp"
[ 28%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/LogOps.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/LogOps.cpp.o -c "/<<PKGBUILDDIR>>/src/core/LogOps.cpp"
[ 29%] Building CXX object src/core/CMakeFiles/OpenColorIO.dir/LogTransform.cpp.o
cd "/<<PKGBUILDDIR>>/debian/cmake/src/core" && /usr/bin/c++ -DOpenColorIO_EXPORTS -I"/<<PKGBUILDDIR>>/export" -I"/<<PKGBUILDDIR>>/debian/cmake/export" -I"/<<PKGBUILDDIR>>/ext/oiio/src/include" -I"/<<PKGBUILDDIR>>/debian/cmake/ext/dist/include" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wconversion -Wcast-qual -Wformat=2 -fPIC -DTIXML_USE_STL   -fPIC -fvisibility=hidden -Werror -o CMakeFiles/OpenColorIO.dir/LogTransform.cpp.o -c "/<<PKGBUILDDIR>>/src/core/LogTransform.cpp"
/<<PKGBUILDDIR>>/src/core/ImageDesc.cpp: In function ‘std::ostream& OpenColorIO::v1::operator<<(std::ostream&, const OpenColorIO::v1::ImageDesc&)’:
/<<PKGBUILDDIR>>/src/core/ImageDesc.cpp:60:51: error: ‘this’ pointer is null [-Werror=nonnull]
   60 |             os << "width=" << packedImg->getWidth() << ", ";
      |                                                   ^
/<<PKGBUILDDIR>>/src/core/ImageDesc.cpp:274:10: note: in a call to non-static member function ‘long int OpenColorIO::v1::PackedImageDesc::getWidth() const’
  274 |     long PackedImageDesc::getWidth() const
      |          ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/core/ImageDesc.cpp:61:53: error: ‘this’ pointer is null [-Werror=nonnull]
   61 |             os << "height=" << packedImg->getHeight() << ", ";
      |                                                     ^
/<<PKGBUILDDIR>>/src/core/ImageDesc.cpp:279:10: note: in a call to non-static member function ‘long int OpenColorIO::v1::PackedImageDesc::getHeight() const’
  279 |     long PackedImageDesc::getHeight() const
      |          ^~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [src/core/CMakeFiles/OpenColorIO.dir/build.make:527: src/core/CMakeFiles/OpenColorIO.dir/ImageDesc.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/cmake'
make[2]: *** [CMakeFiles/Makefile2:375: src/core/CMakeFiles/OpenColorIO.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/cmake'
make[1]: *** [Makefile:185: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/debian/cmake'
dh_auto_build: error: cd debian/cmake && make -j4 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-phototools-devel mailing list