Bug#1084313: opencolorio: FTBFS: src/OpenColorIO/Context.cpp:17:10: fatal error: pystring/pystring.h: No such file or directory

Santiago Vila sanvila at debian.org
Mon Oct 7 09:37:29 BST 2024


Package: src:opencolorio
Version: 2.1.3+dfsg-1.1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary -Scmake -Bdebian/cmake --with python3
    dh_update_autotools_config -O-Scmake -O-Bdebian/cmake
    dh_autoreconf -O-Scmake -O-Bdebian/cmake
    debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_CXX_FLAGS="-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" \
	-DCMAKE_CXX_STANDARD=17 \
	-DCMAKE_INSTALL_MESSAGE="ALWAYS" \
	-DCMAKE_SKIP_RPATH=ON \
	-DOCIO_BUILD_NUKE=OFF \
	-DOCIO_BUILD_STATIC=OFF \
	-DOCIO_BUILD_TESTS=OFF \
	-DOCIO_INSTALL_EXT_PACKAGES=NONE \
	-DOCIO_USE_SSE=OFF \
	-Dpystring_INCLUDE_DIR:PATH="/usr/include"
	cd debian/cmake && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_BUILD_TYPE=Release "-DCMAKE_CXX_FLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_MESSAGE=ALWAYS -DCMAKE_SKIP_RPATH=ON -DOCIO_BUILD_NUKE=OFF -DOCIO_BUILD_STATIC=OFF -DOCIO_BUILD_TESTS=OFF -DOCIO_INSTALL_EXT_PACKAGES=NONE -DOCIO_USE_SSE=OFF -Dpystring_INCLUDE_DIR:PATH=/usr/include ../..
-- The CXX compiler identification is GNU 14.2.0
-- The C compiler identification is GNU 14.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test COMPILER_SUPPORTS_CXX17
-- Performing Test COMPILER_SUPPORTS_CXX17 - Success
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so  found components: OpenGL
-- Found GLEW: /usr/include (found version "2.2.0")
-- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so
-- GLVND supported
-- Performing Test HAVE_SSE2
-- Performing Test HAVE_SSE2 - Success
-- Setting SOVERSION to '2.1' as none was specified.
-- Found expat: /usr/include (found suitable version "2.6.3", minimum required is "2.2.8")
-- Found pystring: /usr/include (Required is at least version "1.1.3")
-- Found Imath: /usr/lib/x86_64-linux-gnu/libImath-3_1.so.29.10.0 (found suitable version "3.1.10", minimum required is "3.1.2")
-- Found lcms2: /usr/include (found suitable version "2.14", minimum required is "2.2")
-- Found Python: /usr/bin/python3 (found version "3.12.7") found components: Interpreter Development.Module
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Found pybind11: /usr/include (found suitable version "2.13.6", minimum required is "2.6.1")
-- Found OpenImageIO: /usr/include (found suitable version "2.5.15.0", minimum required is "2.1.9")
-- OpenImageIO includes     = /usr/include
-- OpenImageIO libraries    = /usr/lib/x86_64-linux-gnu/libOpenImageIO.so
-- OpenImageIO library_dirs = /usr/lib/x86_64-linux-gnu
CMake Warning at tests/CMakeLists.txt:24 (message):
   Skipping the library unit tests.


CMake Warning at src/bindings/python/CMakeLists.txt:44 (message):
   Building PyOpenColorIO with OCIO_BUILD_DOCS disabled will result in
   incomplete Python docstrings.


-- Configuring done (1.1s)
-- Generating done (0.1s)
CMake Warning:
   Manually-specified variables were not used by the project:

     CMAKE_EXPORT_NO_PACKAGE_REGISTRY
     FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /<<PKGBUILDDIR>>/debian/cmake
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_auto_build -O-Scmake -O-Bdebian/cmake
	cd debian/cmake && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/debian/cmake'
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/debian/cmake --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/debian/cmake/CMakeFiles /<<PKGBUILDDIR>>/debian/cmake//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/debian/cmake'
make  -f src/OpenColorIO/CMakeFiles/OpenColorIO.dir/build.make src/OpenColorIO/CMakeFiles/OpenColorIO.dir/depend
make  -f src/apputils/CMakeFiles/apputils.dir/build.make src/apputils/CMakeFiles/apputils.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/debian/cmake'
cd /<<PKGBUILDDIR>>/debian/cmake && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src/apputils /<<PKGBUILDDIR>>/debian/cmake /<<PKGBUILDDIR>>/debian/cmake/src/apputils /<<PKGBUILDDIR>>/debian/cmake/src/apputils/CMakeFiles/apputils.dir/DependInfo.cmake "--color="
make[3]: Entering directory '/<<PKGBUILDDIR>>/debian/cmake'
cd /<<PKGBUILDDIR>>/debian/cmake && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src/OpenColorIO /<<PKGBUILDDIR>>/debian/cmake /<<PKGBUILDDIR>>/debian/cmake/src/OpenColorIO /<<PKGBUILDDIR>>/debian/cmake/src/OpenColorIO/CMakeFiles/OpenColorIO.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/cmake'
make  -f src/apputils/CMakeFiles/apputils.dir/build.make src/apputils/CMakeFiles/apputils.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/debian/cmake'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/cmake'
make  -f src/OpenColorIO/CMakeFiles/OpenColorIO.dir/build.make src/OpenColorIO/CMakeFiles/OpenColorIO.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/debian/cmake'
[  0%] Building CXX object src/apputils/CMakeFiles/apputils.dir/argparse.cpp.o
cd /<<PKGBUILDDIR>>/debian/cmake/src/apputils && /usr/bin/c++  -I/<<PKGBUILDDIR>>/src/apputils/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden  -DUSE_GCC -Wall -Wextra -Wswitch-enum -MD -MT src/apputils/CMakeFiles/apputils.dir/argparse.cpp.o -MF CMakeFiles/apputils.dir/argparse.cpp.o.d -o CMakeFiles/apputils.dir/argparse.cpp.o -c /<<PKGBUILDDIR>>/src/apputils/argparse.cpp
[  0%] Building CXX object src/OpenColorIO/CMakeFiles/OpenColorIO.dir/apphelpers/CategoryHelpers.cpp.o
cd /<<PKGBUILDDIR>>/debian/cmake/src/OpenColorIO && /usr/bin/c++ -DOpenColorIO_EXPORTS -I/<<PKGBUILDDIR>>/include/OpenColorIO/.. -I/<<PKGBUILDDIR>>/include/OpenColorIO -I/<<PKGBUILDDIR>>/src/OpenColorIO -I/<<PKGBUILDDIR>>/debian/cmake/include/OpenColorIO -isystem /<<PKGBUILDDIR>>/debian/cmake/src/utils/.. -isystem /usr/include/Imath -isystem /<<PKGBUILDDIR>>/ext/sampleicc/src/include -isystem /<<PKGBUILDDIR>>/src/utils/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden  -DUSE_GCC -Wall -Wextra -Wswitch-enum -MD -MT src/OpenColorIO/CMakeFiles/OpenColorIO.dir/apphelpers/CategoryHelpers.cpp.o -MF CMakeFiles/OpenColorIO.dir/apphelpers/CategoryHelpers.cpp.o.d -o CMakeFiles/OpenColorIO.dir/apphelpers/CategoryHelpers.cpp.o -c /<<PKGBUILDDIR>>/src/OpenColorIO/apphelpers/CategoryHelpers.cpp
[  0%] Building CXX object src/apputils/CMakeFiles/apputils.dir/strutil.cpp.o
cd /<<PKGBUILDDIR>>/debian/cmake/src/apputils && /usr/bin/c++  -I/<<PKGBUILDDIR>>/src/apputils/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden  -DUSE_GCC -Wall -Wextra -Wswitch-enum -MD -MT src/apputils/CMakeFiles/apputils.dir/strutil.cpp.o -MF CMakeFiles/apputils.dir/strutil.cpp.o.d -o CMakeFiles/apputils.dir/strutil.cpp.o -c /<<PKGBUILDDIR>>/src/apputils/strutil.cpp
[  1%] Linking CXX static library libapputils.a
cd /<<PKGBUILDDIR>>/debian/cmake/src/apputils && /usr/bin/cmake -P CMakeFiles/apputils.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/debian/cmake/src/apputils && /usr/bin/cmake -E cmake_link_script CMakeFiles/apputils.dir/link.txt --verbose=1
/usr/bin/ar qc libapputils.a CMakeFiles/apputils.dir/argparse.cpp.o CMakeFiles/apputils.dir/strutil.cpp.o
/usr/bin/ranlib libapputils.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/cmake'
[  1%] Built target apputils
[  1%] Building CXX object src/OpenColorIO/CMakeFiles/OpenColorIO.dir/apphelpers/ColorSpaceHelpers.cpp.o
cd /<<PKGBUILDDIR>>/debian/cmake/src/OpenColorIO && /usr/bin/c++ -DOpenColorIO_EXPORTS -I/<<PKGBUILDDIR>>/include/OpenColorIO/.. -I/<<PKGBUILDDIR>>/include/OpenColorIO -I/<<PKGBUILDDIR>>/src/OpenColorIO -I/<<PKGBUILDDIR>>/debian/cmake/include/OpenColorIO -isystem /<<PKGBUILDDIR>>/debian/cmake/src/utils/.. -isystem /usr/include/Imath -isystem /<<PKGBUILDDIR>>/ext/sampleicc/src/include -isystem /<<PKGBUILDDIR>>/src/utils/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden  -DUSE_GCC -Wall -Wextra -Wswitch-enum -MD -MT src/OpenColorIO/CMakeFiles/OpenColorIO.dir/apphelpers/ColorSpaceHelpers.cpp.o -MF CMakeFiles/OpenColorIO.dir/apphelpers/ColorSpaceHelpers.cpp.o.d -o CMakeFiles/OpenColorIO.dir/apphelpers/ColorSpaceHelpers.cpp.o -c /<<PKGBUILDDIR>>/src/OpenColorIO/apphelpers/ColorSpaceHelpers.cpp
[  2%] Building CXX object src/OpenColorIO/CMakeFiles/OpenColorIO.dir/apphelpers/DisplayViewHelpers.cpp.o
cd /<<PKGBUILDDIR>>/debian/cmake/src/OpenColorIO && /usr/bin/c++ -DOpenColorIO_EXPORTS -I/<<PKGBUILDDIR>>/include/OpenColorIO/.. -I/<<PKGBUILDDIR>>/include/OpenColorIO -I/<<PKGBUILDDIR>>/src/OpenColorIO -I/<<PKGBUILDDIR>>/debian/cmake/include/OpenColorIO -isystem /<<PKGBUILDDIR>>/debian/cmake/src/utils/.. -isystem /usr/include/Imath -isystem /<<PKGBUILDDIR>>/ext/sampleicc/src/include -isystem /<<PKGBUILDDIR>>/src/utils/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden  -DUSE_GCC -Wall -Wextra -Wswitch-enum -MD -MT src/OpenColorIO/CMakeFiles/OpenColorIO.dir/apphelpers/DisplayViewHelpers.cpp.o -MF CMakeFiles/OpenColorIO.dir/apphelpers/DisplayViewHelpers.cpp.o.d -o CMakeFiles/OpenColorIO.dir/apphelpers/DisplayViewHelpers.cpp.o -c /<<PKGBUILDDIR>>/src/OpenColorIO/apphelpers/DisplayViewHelpers.cpp
[  2%] Building CXX object src/OpenColorIO/CMakeFiles/OpenColorIO.dir/apphelpers/LegacyViewingPipeline.cpp.o
cd /<<PKGBUILDDIR>>/debian/cmake/src/OpenColorIO && /usr/bin/c++ -DOpenColorIO_EXPORTS -I/<<PKGBUILDDIR>>/include/OpenColorIO/.. -I/<<PKGBUILDDIR>>/include/OpenColorIO -I/<<PKGBUILDDIR>>/src/OpenColorIO -I/<<PKGBUILDDIR>>/debian/cmake/include/OpenColorIO -isystem /<<PKGBUILDDIR>>/debian/cmake/src/utils/.. -isystem /usr/include/Imath -isystem /<<PKGBUILDDIR>>/ext/sampleicc/src/include -isystem /<<PKGBUILDDIR>>/src/utils/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden  -DUSE_GCC -Wall -Wextra -Wswitch-enum -MD -MT src/OpenColorIO/CMakeFiles/OpenColorIO.dir/apphelpers/LegacyViewingPipeline.cpp.o -MF CMakeFiles/OpenColorIO.dir/apphelpers/LegacyViewingPipeline.cpp.o.d -o CMakeFiles/OpenColorIO.dir/apphelpers/LegacyViewingPipeline.cpp.o -c /<<PKGBUILDDIR>>/src/OpenColorIO/apphelpers/LegacyViewingPipeline.cpp
[  3%] Building CXX object src/OpenColorIO/CMakeFiles/OpenColorIO.dir/apphelpers/MixingHelpers.cpp.o
cd /<<PKGBUILDDIR>>/debian/cmake/src/OpenColorIO && /usr/bin/c++ -DOpenColorIO_EXPORTS -I/<<PKGBUILDDIR>>/include/OpenColorIO/.. -I/<<PKGBUILDDIR>>/include/OpenColorIO -I/<<PKGBUILDDIR>>/src/OpenColorIO -I/<<PKGBUILDDIR>>/debian/cmake/include/OpenColorIO -isystem /<<PKGBUILDDIR>>/debian/cmake/src/utils/.. -isystem /usr/include/Imath -isystem /<<PKGBUILDDIR>>/ext/sampleicc/src/include -isystem /<<PKGBUILDDIR>>/src/utils/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden  -DUSE_GCC -Wall -Wextra -Wswitch-enum -MD -MT src/OpenColorIO/CMakeFiles/OpenColorIO.dir/apphelpers/MixingHelpers.cpp.o -MF CMakeFiles/OpenColorIO.dir/apphelpers/MixingHelpers.cpp.o.d -o CMakeFiles/OpenColorIO.dir/apphelpers/MixingHelpers.cpp.o -c /<<PKGBUILDDIR>>/src/OpenColorIO/apphelpers/MixingHelpers.cpp
[  3%] Building CXX object src/OpenColorIO/CMakeFiles/OpenColorIO.dir/Baker.cpp.o
cd /<<PKGBUILDDIR>>/debian/cmake/src/OpenColorIO && /usr/bin/c++ -DOpenColorIO_EXPORTS -I/<<PKGBUILDDIR>>/include/OpenColorIO/.. -I/<<PKGBUILDDIR>>/include/OpenColorIO -I/<<PKGBUILDDIR>>/src/OpenColorIO -I/<<PKGBUILDDIR>>/debian/cmake/include/OpenColorIO -isystem /<<PKGBUILDDIR>>/debian/cmake/src/utils/.. -isystem /usr/include/Imath -isystem /<<PKGBUILDDIR>>/ext/sampleicc/src/include -isystem /<<PKGBUILDDIR>>/src/utils/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden  -DUSE_GCC -Wall -Wextra -Wswitch-enum -MD -MT src/OpenColorIO/CMakeFiles/OpenColorIO.dir/Baker.cpp.o -MF CMakeFiles/OpenColorIO.dir/Baker.cpp.o.d -o CMakeFiles/OpenColorIO.dir/Baker.cpp.o -c /<<PKGBUILDDIR>>/src/OpenColorIO/Baker.cpp
[  3%] Building CXX object src/OpenColorIO/CMakeFiles/OpenColorIO.dir/BitDepthUtils.cpp.o
cd /<<PKGBUILDDIR>>/debian/cmake/src/OpenColorIO && /usr/bin/c++ -DOpenColorIO_EXPORTS -I/<<PKGBUILDDIR>>/include/OpenColorIO/.. -I/<<PKGBUILDDIR>>/include/OpenColorIO -I/<<PKGBUILDDIR>>/src/OpenColorIO -I/<<PKGBUILDDIR>>/debian/cmake/include/OpenColorIO -isystem /<<PKGBUILDDIR>>/debian/cmake/src/utils/.. -isystem /usr/include/Imath -isystem /<<PKGBUILDDIR>>/ext/sampleicc/src/include -isystem /<<PKGBUILDDIR>>/src/utils/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden  -DUSE_GCC -Wall -Wextra -Wswitch-enum -MD -MT src/OpenColorIO/CMakeFiles/OpenColorIO.dir/BitDepthUtils.cpp.o -MF CMakeFiles/OpenColorIO.dir/BitDepthUtils.cpp.o.d -o CMakeFiles/OpenColorIO.dir/BitDepthUtils.cpp.o -c /<<PKGBUILDDIR>>/src/OpenColorIO/BitDepthUtils.cpp
[  4%] Building CXX object src/OpenColorIO/CMakeFiles/OpenColorIO.dir/Caching.cpp.o
cd /<<PKGBUILDDIR>>/debian/cmake/src/OpenColorIO && /usr/bin/c++ -DOpenColorIO_EXPORTS -I/<<PKGBUILDDIR>>/include/OpenColorIO/.. -I/<<PKGBUILDDIR>>/include/OpenColorIO -I/<<PKGBUILDDIR>>/src/OpenColorIO -I/<<PKGBUILDDIR>>/debian/cmake/include/OpenColorIO -isystem /<<PKGBUILDDIR>>/debian/cmake/src/utils/.. -isystem /usr/include/Imath -isystem /<<PKGBUILDDIR>>/ext/sampleicc/src/include -isystem /<<PKGBUILDDIR>>/src/utils/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden  -DUSE_GCC -Wall -Wextra -Wswitch-enum -MD -MT src/OpenColorIO/CMakeFiles/OpenColorIO.dir/Caching.cpp.o -MF CMakeFiles/OpenColorIO.dir/Caching.cpp.o.d -o CMakeFiles/OpenColorIO.dir/Caching.cpp.o -c /<<PKGBUILDDIR>>/src/OpenColorIO/Caching.cpp
[  4%] Building CXX object src/OpenColorIO/CMakeFiles/OpenColorIO.dir/ColorSpace.cpp.o
cd /<<PKGBUILDDIR>>/debian/cmake/src/OpenColorIO && /usr/bin/c++ -DOpenColorIO_EXPORTS -I/<<PKGBUILDDIR>>/include/OpenColorIO/.. -I/<<PKGBUILDDIR>>/include/OpenColorIO -I/<<PKGBUILDDIR>>/src/OpenColorIO -I/<<PKGBUILDDIR>>/debian/cmake/include/OpenColorIO -isystem /<<PKGBUILDDIR>>/debian/cmake/src/utils/.. -isystem /usr/include/Imath -isystem /<<PKGBUILDDIR>>/ext/sampleicc/src/include -isystem /<<PKGBUILDDIR>>/src/utils/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden  -DUSE_GCC -Wall -Wextra -Wswitch-enum -MD -MT src/OpenColorIO/CMakeFiles/OpenColorIO.dir/ColorSpace.cpp.o -MF CMakeFiles/OpenColorIO.dir/ColorSpace.cpp.o.d -o CMakeFiles/OpenColorIO.dir/ColorSpace.cpp.o -c /<<PKGBUILDDIR>>/src/OpenColorIO/ColorSpace.cpp
[  5%] Building CXX object src/OpenColorIO/CMakeFiles/OpenColorIO.dir/ColorSpaceSet.cpp.o
cd /<<PKGBUILDDIR>>/debian/cmake/src/OpenColorIO && /usr/bin/c++ -DOpenColorIO_EXPORTS -I/<<PKGBUILDDIR>>/include/OpenColorIO/.. -I/<<PKGBUILDDIR>>/include/OpenColorIO -I/<<PKGBUILDDIR>>/src/OpenColorIO -I/<<PKGBUILDDIR>>/debian/cmake/include/OpenColorIO -isystem /<<PKGBUILDDIR>>/debian/cmake/src/utils/.. -isystem /usr/include/Imath -isystem /<<PKGBUILDDIR>>/ext/sampleicc/src/include -isystem /<<PKGBUILDDIR>>/src/utils/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden  -DUSE_GCC -Wall -Wextra -Wswitch-enum -MD -MT src/OpenColorIO/CMakeFiles/OpenColorIO.dir/ColorSpaceSet.cpp.o -MF CMakeFiles/OpenColorIO.dir/ColorSpaceSet.cpp.o.d -o CMakeFiles/OpenColorIO.dir/ColorSpaceSet.cpp.o -c /<<PKGBUILDDIR>>/src/OpenColorIO/ColorSpaceSet.cpp
[  5%] Building CXX object src/OpenColorIO/CMakeFiles/OpenColorIO.dir/Config.cpp.o
cd /<<PKGBUILDDIR>>/debian/cmake/src/OpenColorIO && /usr/bin/c++ -DOpenColorIO_EXPORTS -I/<<PKGBUILDDIR>>/include/OpenColorIO/.. -I/<<PKGBUILDDIR>>/include/OpenColorIO -I/<<PKGBUILDDIR>>/src/OpenColorIO -I/<<PKGBUILDDIR>>/debian/cmake/include/OpenColorIO -isystem /<<PKGBUILDDIR>>/debian/cmake/src/utils/.. -isystem /usr/include/Imath -isystem /<<PKGBUILDDIR>>/ext/sampleicc/src/include -isystem /<<PKGBUILDDIR>>/src/utils/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden  -DUSE_GCC -Wall -Wextra -Wswitch-enum -MD -MT src/OpenColorIO/CMakeFiles/OpenColorIO.dir/Config.cpp.o -MF CMakeFiles/OpenColorIO.dir/Config.cpp.o.d -o CMakeFiles/OpenColorIO.dir/Config.cpp.o -c /<<PKGBUILDDIR>>/src/OpenColorIO/Config.cpp
[  5%] Building CXX object src/OpenColorIO/CMakeFiles/OpenColorIO.dir/Context.cpp.o
cd /<<PKGBUILDDIR>>/debian/cmake/src/OpenColorIO && /usr/bin/c++ -DOpenColorIO_EXPORTS -I/<<PKGBUILDDIR>>/include/OpenColorIO/.. -I/<<PKGBUILDDIR>>/include/OpenColorIO -I/<<PKGBUILDDIR>>/src/OpenColorIO -I/<<PKGBUILDDIR>>/debian/cmake/include/OpenColorIO -isystem /<<PKGBUILDDIR>>/debian/cmake/src/utils/.. -isystem /usr/include/Imath -isystem /<<PKGBUILDDIR>>/ext/sampleicc/src/include -isystem /<<PKGBUILDDIR>>/src/utils/.. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden  -DUSE_GCC -Wall -Wextra -Wswitch-enum -MD -MT src/OpenColorIO/CMakeFiles/OpenColorIO.dir/Context.cpp.o -MF CMakeFiles/OpenColorIO.dir/Context.cpp.o.d -o CMakeFiles/OpenColorIO.dir/Context.cpp.o -c /<<PKGBUILDDIR>>/src/OpenColorIO/Context.cpp
/<<PKGBUILDDIR>>/src/OpenColorIO/Context.cpp:17:10: fatal error: pystring/pystring.h: No such file or directory
    17 | #include "pystring/pystring.h"
       |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [src/OpenColorIO/CMakeFiles/OpenColorIO.dir/build.make:233: src/OpenColorIO/CMakeFiles/OpenColorIO.dir/Context.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/<<PKGBUILDDIR>>/src/OpenColorIO/Config.cpp: In member function ‘const OpenColorIO_v2_1::View* OpenColorIO_v2_1::Config::Impl::getView(const char*, const char*) const’:
/<<PKGBUILDDIR>>/src/OpenColorIO/Config.cpp:786:22: warning: possibly dangling reference to a temporary [-Wdangling-reference]
   786 |         const auto & viewIt = FindView(views, view);
       |                      ^~~~~~
/<<PKGBUILDDIR>>/src/OpenColorIO/Config.cpp:786:39: note: the temporary was destroyed at the end of the full expression ‘OpenColorIO_v2_1::FindView((* & views), std::__cxx11::basic_string<char>(view, std::allocator<char>()))’
   786 |         const auto & viewIt = FindView(views, view);
       |                               ~~~~~~~~^~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/cmake'
make[2]: *** [CMakeFiles/Makefile2:1622: src/OpenColorIO/CMakeFiles/OpenColorIO.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/cmake'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/debian/cmake'
dh_auto_build: error: cd debian/cmake && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.


More information about the Pkg-phototools-devel mailing list