package: unpaper Version: 6.1-2 Severity: serious Build log excerpt below. There is a new upstream version, but I'm not sure if that builds cleanly against the new ffmpeg.
ffmpeg version: 7:5.0.1-3 (lbavformat-dev and friends) dpkg-buildpackage ----------------- Command: dpkg-buildpackage --sanitize-env -Pnoudeb -us -uc -B -rfakeroot dpkg-buildpackage: info: source package unpaper dpkg-buildpackage: info: source version 6.1-2+build2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by glinux-build <glinux-t...@google.com> dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 fakeroot debian/rules clean dh clean --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules override_dh_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -rf html dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules build-arch dh build-arch --with autoreconf dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_update_autotools_config -a dh_autoreconf -a configure.ac:9: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:9: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... configure.ac:9: the top level configure.ac:9: installing './compile' dh_auto_configure -a dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use) ./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --libexecdir=\${prefix}/lib/i386-linux-gnu --disable-maintainer-mode --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for library containing sqrt... -lm checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libavformat libavcodec libavutil... yes checking for xsltproc... xsltproc checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_build dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 make[2]: Entering directory '/<<PKGBUILDDIR>>' gcc -DPACKAGE_NAME=\"unpaper\" -DPACKAGE_TARNAME=\"unpaper\" -DPACKAGE_VERSION=\"6.1\" -DPACKAGE_STRING=\"unpaper\ 6.1\" -DPACKAGE_BUGREPORT=\"https://github.com/Flameeyes/unpaper/issues\" -DPACKAGE_URL=\"https://github.com/Flameeyes/unpaper\" -DPACKAGE=\"unpaper\" -DVERSION=\"6.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/i386-linux-gnu -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o unpaper-file.o `test -f 'file.c' || echo './'`file.c file.c: In function ‘loadImage’: file.c:68:22: error: ‘AVStream’ has no member named ‘codec’ 68 | if (s->streams[0]->codec->codec_type != AVMEDIA_TYPE_VIDEO) | ^~ file.c:71:11: warning: implicit declaration of function ‘avcodec_copy_context’; did you mean ‘avcodec_free_context’? [-Wimplicit-function-declaration] 71 | ret = avcodec_copy_context(avctx, s->streams[0]->codec); | ^~~~~~~~~~~~~~~~~~~~ | avcodec_free_context file.c:71:52: error: ‘AVStream’ has no member named ‘codec’ 71 | ret = avcodec_copy_context(avctx, s->streams[0]->codec); | ^~ file.c:77:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | codec = avcodec_find_decoder(avctx->codec_id); | ^ file.c:103:11: warning: implicit declaration of function ‘avcodec_decode_video2’; did you mean ‘avcodec_decode_subtitle2’? [-Wimplicit-function-declaration] 103 | ret = avcodec_decode_video2(avctx, frame, &got_frame, &pkt); | ^~~~~~~~~~~~~~~~~~~~~ | avcodec_decode_subtitle2 file.c: In function ‘saveImage’: file.c:158:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | fmt = av_guess_format("image2", NULL, NULL); | ^ file.c:170:21: error: ‘AVFormatContext’ has no member named ‘filename’ 170 | snprintf(out_ctx->filename, sizeof(out_ctx->filename), "%s", filename); | ^~ file.c:170:47: error: ‘AVFormatContext’ has no member named ‘filename’ 170 | snprintf(out_ctx->filename, sizeof(out_ctx->filename), "%s", filename); | ^~ file.c:197:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 197 | codec = avcodec_find_encoder(output_codec); | ^ file.c:207:25: error: ‘AVStream’ has no member named ‘codec’ 207 | codec_ctx = video_st->codec; | ^~ file.c:232:5: warning: ‘av_init_packet’ is deprecated [-Wdeprecated-declarations] 232 | av_init_packet(&pkt); | ^~~~~~~~~~~~~~ In file included from /usr/include/i386-linux-gnu/libavcodec/avcodec.h:45, from file.c:28: /usr/include/i386-linux-gnu/libavcodec/packet.h:506:6: note: declared here 506 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ file.c:235:11: warning: implicit declaration of function ‘avcodec_encode_video2’; did you mean ‘avcodec_encode_subtitle’? [-Wimplicit-function-declaration] 235 | ret = avcodec_encode_video2(video_st->codec, &pkt, image, &got_packet); | ^~~~~~~~~~~~~~~~~~~~~ | avcodec_encode_subtitle file.c:235:41: error: ‘AVStream’ has no member named ‘codec’ 235 | ret = avcodec_encode_video2(video_st->codec, &pkt, image, &got_packet); | ^~ file.c:228:5: warning: ignoring return value of ‘avformat_write_header’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 228 | avformat_write_header(out_ctx, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:678: unpaper-file.o] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j1 returned exit code 2 make[1]: *** [debian/rules:7: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:4: build-arch] Error 2 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2022-07-29T20:30:57Z