Source: openimageio
Version: 2.5.18.0+dfsg-1
Severity: serious
Tags: ftbfs sid forky
Usertags: ffmpeg8.0
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: [email protected]

Dear maintainer,

openimageio FTBFS with ffmpeg 8.0:

[ 51%] Building CXX object 
src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/gif.imageio/gifoutput.cpp.o
cd /build/reproducible-path/openimageio-2.5.18.0+dfsg/build/src/libOpenImageIO 
&& /usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB 
-DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DEMBED_PLUGINS=1 
-DOIIO_FFMPEG_VERSION=\"7.0\" -DOIIO_FREETYPE_VERSION=\"2.13.3\" 
-DOIIO_INTERNAL=1 -DOIIO_OPENEXR_CORE_DEFAULT=1 
-DOIIO_OpenCV_VERSION=\"4.10.0\" -DOIIO_PYTHON_VERSION=\"3.13.11\" 
-DOIIO_QT_VERSION=\"5.15.17\" -DOIIO_TBB_VERSION=\"2022.1.0\" 
-DOIIO_USE_EXR_C_API=1 -DOpenImageIO_EXPORTS -DUSE_DCMTK=1 -DUSE_FFMPEG 
-DUSE_FREETYPE=1 -DUSE_GIF -DUSE_HEIF=1 -DUSE_JPEG_TURBO=1 -DUSE_LIBRAW=1 
-DUSE_OCIO=1 -DUSE_OPENCOLORIO=1 -DUSE_OPENCV=1 -DUSE_OPENJPEG -DUSE_OPENVDB=1 
-DUSE_STD_FILESYSTEM -DUSE_WEBP=1 -D__STDC_CONSTANT_MACROS 
-D__STDC_LIMIT_MACROS -I/usr/include/openjpeg-2.1 -I/OpenEXR 
-I/build/reproducible-path/openimageio-2.5.18.0+dfsg/build/include/OpenImageIO 
-I/build/reproducible-path/openimageio-2.5.18.0+dfsg/build/include 
-I/build/reproducible-path/openimageio-2.5.18.0+dfsg/build/src/include 
-I/build/reproducible-path/openimageio-2.5.18.0+dfsg/src/include -isystem 
/usr/include/opencv4 -isystem /usr/include/Imath -isystem /usr/include/OpenEXR 
-isystem /usr/include/webp -isystem /usr/include/freetype2 -g -O2 
-ffile-prefix-map=/build/reproducible-path/openimageio-2.5.18.0+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-std=c++17 -fPIC -fvisibility=hidden -Wall -Wno-unused-local-typedefs 
-Wno-unused-result -Wno-aligned-new -Wno-noexcept-type -fno-math-errno -MD -MT 
src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/gif.imageio/gifoutput.cpp.o 
-MF CMakeFiles/OpenImageIO.dir/__/gif.imageio/gifoutput.cpp.o.d -o 
CMakeFiles/OpenImageIO.dir/__/gif.imageio/gifoutput.cpp.o -c 
/build/reproducible-path/openimageio-2.5.18.0+dfsg/src/gif.imageio/gifoutput.cpp
/build/reproducible-path/openimageio-2.5.18.0+dfsg/src/ffmpeg.imageio/ffmpeginput.cpp:
 In member function ‘virtual bool OpenImageIO_v2_5::FFmpegInput::close()’:
/build/reproducible-path/openimageio-2.5.18.0+dfsg/src/ffmpeg.imageio/ffmpeginput.cpp:602:9:
 error: ‘avcodec_close’ was not declared in this scope; did you mean 
‘avio_close’?
  602 |         avcodec_close(m_codec_context);
      |         ^~~~~~~~~~~~~
      |         avio_close
make[3]: *** [src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/build.make:936: 
src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/ffmpeg.imageio/ffmpeginput.cpp.o]
 Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory 
'/build/reproducible-path/openimageio-2.5.18.0+dfsg/build'
make[2]: *** [CMakeFiles/Makefile2:2843: 
src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/all] Error 2
make[2]: Leaving directory 
'/build/reproducible-path/openimageio-2.5.18.0+dfsg/build'
make[1]: *** [Makefile:169: all] Error 2
make[1]: Leaving directory 
'/build/reproducible-path/openimageio-2.5.18.0+dfsg/build'
dh_auto_build: error: cd build && make -j6 INSTALL="install 
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:16: binary-arch] Error 25

See
https://buildd.debian.org/status/fetch.php?pkg=openimageio&arch=amd64&ver=2.5.18.0%2Bdfsg-1%2Bb2&stamp=1765670564&raw=0
for more details.

Cheers
-- 
Sebastian Ramacher

Reply via email to