#1004622 dvbcut: FTBFS with ffmpeg 5.0

Package:
src:dvbcut
Source:
dvbcut
Submitter:
Sebastian Ramacher
Date:
2022-06-27 09:51:05 UTC
Severity:
serious
Tags:
#1004622#5
Date:
2022-01-30 21:41:21 UTC
From:
To:
Source: dvbcut
Version: 0.7.3-1
Severity: important
X-Debbugs-Cc: sramacher@debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

dvbcut FTBFS with ffmpeg 5.0 (in experimental):
| g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wcast-align -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIB_SWSCALE=1 -DHAVE_LIB_MAD=1 -DHAVE_LIB_A52=1 -DHAVE_LIB_AO=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_SYS_PARAM_H=1 -DSTDC_HEADERS=1 -DHAVE_AO_AO_H=1 -DHAVE_MAD_H=1 -DHAVE_STDINT_H=1 -DHAVE_A52DEC_A52_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DDVBCUT_VERSION=\"0.7.3-1\" -fPIC -DQT_XML_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtXml -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DDVBCUT_VERSION=\"0.7.3-1\" -fPIC -DQT_XML_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtXml -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -I.  -c -o index.o index.cpp
| In file included from mpgfile.h:34,
|                  from differenceimageprovider.cpp:25:
| stream.h: In member function ‘void stream::allocavcc()’:
| stream.h:58:5: error: ‘avcodec_get_context_defaults3’ was not declared in this scope
|    58 |     avcodec_get_context_defaults3(avcc, NULL);
|       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| make[2]: *** [<builtin>: differenceimageprovider.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| eventlistitem.cpp: In member function ‘QString EventListItem::getstring() const’:
| eventlistitem.cpp:71:35: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
|    71 |   return label + QString().sprintf("<br>%02d:%02d:%02d.%03d<br>%d (%c)",
|       |                  ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|    72 |                            int(pts/(3600*90000)),
|       |                            ~~~~~~~~~~~~~~~~~~~~~~
|    73 |                            int(pts/(60*90000))%60,
|       |                            ~~~~~~~~~~~~~~~~~~~~~~~
|    74 |                            int(pts/90000)%60,
|       |                            ~~~~~~~~~~~~~~~~~~
|    75 |                            int(pts/90)%1000,
|       |                            ~~~~~~~~~~~~~~~~~
|    76 |                            pic,
|       |                            ~~~~
|    77 |                            ((const char *)".IPB....")[pictype&7]);
|       |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qframe.h:44,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:44,
|                  from eventlistitem.cpp:21:
| /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here
|   393 |     QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
|       |              ^~~~~~~
| In file included from mpgfile.h:34,
|                  from imageprovider.cpp:22:
| stream.h: In member function ‘void stream::allocavcc()’:
| stream.h:58:5: error: ‘avcodec_get_context_defaults3’ was not declared in this scope
|    58 |     avcodec_get_context_defaults3(avcc, NULL);
|       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| make[2]: *** [<builtin>: imageprovider.o] Error 1
| In file included from mpgfile.h:34,
|                  from dvbcut.h:35,
|                  from dvbcut.cpp:59:
| stream.h: In member function ‘void stream::allocavcc()’:
| stream.h:58:5: error: ‘avcodec_get_context_defaults3’ was not declared in this scope
|    58 |     avcodec_get_context_defaults3(avcc, NULL);
|       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from dvbcut.cpp:64:
| lavfmuxer.h: In member function ‘virtual bool lavfmuxer::putpacket(int, const void*, int, pts_t, pts_t, uint32_t)’:
| lavfmuxer.h:69:19: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
|    69 |     av_init_packet(&avp);
|       |     ~~~~~~~~~~~~~~^~~~~~
| In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
|                  from stream.h:27,
|                  from mpgfile.h:34,
|                  from dvbcut.h:35,
|                  from dvbcut.cpp:59:
| /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
|   506 | void av_init_packet(AVPacket *pkt);
|       |      ^~~~~~~~~~~~~~
| dvbcut.cpp: In member function ‘virtual void dvbcut::editAutoChapters()’:
| dvbcut.cpp:995:55: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
|   995 |             statusBar()->showMessage(QString().sprintf("%d. Scene change @ %d, DIST=%f\n",chapters+1,inpic,dist));
|       |                                      ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qframe.h:44,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:44,
|                  from dvbcut.cpp:31:
| /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here
|   393 |     QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
|       |              ^~~~~~~
| dvbcut.cpp: In member function ‘virtual void dvbcut::playPlay()’:
| dvbcut.cpp:1329:43: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
|  1329 |   arguments << "-wid" << QString().sprintf("0x%x",int(ui->imagedisplay->winId()));
|       |                          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qframe.h:44,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:44,
|                  from dvbcut.cpp:31:
| /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here
|   393 |     QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
|       |              ^~~~~~~
| dvbcut.cpp:1331:48: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
|  1331 |   arguments << "-geometry" << QString().sprintf("%dx%d+0+0",int(ui->imagedisplay->width()),int(ui->imagedisplay->height()));
|       |                               ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qframe.h:44,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:44,
|                  from dvbcut.cpp:31:
| /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here
|   393 |     QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
|       |              ^~~~~~~
| dvbcut.cpp:1334:45: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
|  1334 |     arguments << "-aid" << QString().sprintf("0x%x", int(mpg->mplayeraudioid(currentaudiotrack)));
|       |                            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qframe.h:44,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:44,
|                  from dvbcut.cpp:31:
| /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here
|   393 |     QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
|       |              ^~~~~~~
| dvbcut.cpp: In member function ‘void dvbcut::open(std::__cxx11::list<std::__cxx11::basic_string<char> >, std::string, std::string)’:
| dvbcut.cpp:2158:21: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
|  2158 |   picfilen=QString::null;
|       |                     ^~~~
| In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qframe.h:44,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:44,
|                  from dvbcut.cpp:31:
| /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:954:23: note: declared here
|   954 |     static const Null null;
|       |                       ^~~~
| dvbcut.cpp:2158:21: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
|  2158 |   picfilen=QString::null;
|       |                     ^~~~
| In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qframe.h:44,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:44,
|                  from dvbcut.cpp:31:
| /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:954:23: note: declared here
|   954 |     static const Null null;
|       |                       ^~~~
| dvbcut.cpp: In member function ‘virtual bool dvbcut::eventFilter(QObject*, QEvent*)’:
| dvbcut.cpp:2334:22: warning: ‘int QWheelEvent::delta() const’ is deprecated: Use angleDelta() [-Wdeprecated-declarations]
|  2334 |     delta = we->delta();
|       |             ~~~~~~~~~^~
| In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QWheelEvent:1,
|                  from dvbcut.cpp:56:
| /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:219:16: note: declared here
|   219 |     inline int delta() const  { return qt4D; }
|       |                ^~~~~
| dvbcut.cpp: In function ‘QString timestr(pts_t)’:
| dvbcut.cpp:2454:27: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
|  2454 |   return QString().sprintf("%02d:%02d:%02d.%03d",
|       |          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
|  2455 |     int(pts/(3600*90000)),
|       |     ~~~~~~~~~~~~~~~~~~~~~~
|  2456 |     int(pts/(60*90000))%60,
|       |     ~~~~~~~~~~~~~~~~~~~~~~~
|  2457 |     int(pts/90000)%60,
|       |     ~~~~~~~~~~~~~~~~~~
|  2458 |     int(pts/90)%1000);
|       |     ~~~~~~~~~~~~~~~~~
| In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qframe.h:44,
|                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qlabel.h:44,
|                  from dvbcut.cpp:31:
| /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here
|   393 |     QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
|       |              ^~~~~~~
| make[2]: *** [<builtin>: dvbcut.o] Error 1
| In file included from mpgfile.h:34,
|                  from index.cpp:37:
| stream.h: In member function ‘void stream::allocavcc()’:
| stream.h:58:5: error: ‘avcodec_get_context_defaults3’ was not declared in this scope
|    58 |     avcodec_get_context_defaults3(avcc, NULL);
|       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| make[2]: *** [<builtin>: index.o] Error 1

Cheers

#1004622#14
Date:
2022-06-27 09:48:52 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
dvbcut, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1004622@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bernhard Übelacker <bernhardu@mailbox.org> (supplier of updated dvbcut package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 26 Jun 2022 19:01:55 +0200
Source: dvbcut
Architecture: source
Version: 0.7.4-1
Distribution: unstable
Urgency: low
Maintainer: Bernhard Übelacker <bernhardu@mailbox.org>
Changed-By: Bernhard Übelacker <bernhardu@mailbox.org>
Closes: 1004622
Changes:
 dvbcut (0.7.4-1) unstable; urgency=low
 .
   * New upstream release 0.7.4.
     - Updated autotools files.
     - Build with ffmpeg 5. (Closes: #1004622)
 .
   [ Debian Janitor ]
   * Wrap long lines in changelog entries: 0.7.3-1.
   * Bump debhelper from old 11 to 12.
   * Set debhelper-compat version in Build-Depends.
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
     Repository-Browse.
 .
   [ Bernhard Übelacker ]
   * Package new release 0.7.4.
Checksums-Sha1:
 2d7233f98afa1d1ec1c36d2e4e3fb901c6fa1b62 2045 dvbcut_0.7.4-1.dsc
 8d8f0afe419e0a269c19e3f96091f287951f8003 194924 dvbcut_0.7.4.orig.tar.gz
 05128e35936a6993e9bdafe72d11b9c88ccf7268 5708 dvbcut_0.7.4-1.debian.tar.xz
 effe1318967d91cfff5ebafed85e46b645b2ffe0 12873 dvbcut_0.7.4-1_source.buildinfo
Checksums-Sha256:
 fa090e1440a28bb4ff87d378dcb90c36d7f6f82ef2e4562a54049545ef18e784 2045 dvbcut_0.7.4-1.dsc
 3573d0cb354627239a32d785e7d7c7155b2e1925350d41b76326baee0ab736b1 194924 dvbcut_0.7.4.orig.tar.gz
 1a8cb4756601117c4dc1170698221f6bd149844a23307678e1af067c274dae5d 5708 dvbcut_0.7.4-1.debian.tar.xz
 8f7b1779719cdd3505d29eeb0115982bacd42e543a4e024e74bcf16b2efdc77e 12873 dvbcut_0.7.4-1_source.buildinfo
Files:
 eb0d5d30471e97f486a6923041fb9db3 2045 graphics optional dvbcut_0.7.4-1.dsc
 b1f2caa641843b55d5e934edd964fdcb 194924 graphics optional dvbcut_0.7.4.orig.tar.gz
 aab9b23426b6646a30a2d14ff7244558 5708 graphics optional dvbcut_0.7.4-1.debian.tar.xz
 935f9f42df6d11129d455015b2543a05 12873 graphics optional dvbcut_0.7.4-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAmK5eb8ACgkQweDZLphv
fH4Nzw//UwMWPY+A0kQmUxs4BkENfngI82+3sf3X6UD/pPZoUMQTzaWb8b/q+6Cg
9VzRpJE/FcAk4z6MuAMnESfI+/ycHm4Zh/KUyHlkl62q2z0l2wAsMJUFVKCoUXAB
q9ZnJt1HHTOBGe+MOwPm7Bq8tpB2jjS0unmqq3S5j4v7XBcDjGSOtxyEiXTkHnq5
bOG6HsSBQaaaDuAdI7DA0yR8SQvev4zGfsuPY0hCAFUxdbgi++6gTi5TD4/Rxzdj
+FXVTiN8ntOJBhz6lHxwyfWA5Vnzaxn+7b9v1YHX3Ek8ufFtVJtWtuTixJLdsbwN
jXhuJ97FGViic4ma47tFHtQINlnm8BdP6vFwWsk/F4kaprUYblzycMUPW6dWU+11
VHJObuTPUNWLe6uUSJSqSRzJWmMegZq39M6dC9q6MLCHvnqozEHzkVujjFnJEaar
U+o7CY7HIeJNfVDi2k47MR6vyOGK1RQQDQoRZ26M8kH0BpUaNQx+RLxsSdAyDDjM
6/zBSLm+fblcOoGMph6p2rYBfE8pPnmWZApue2zoQ3CEgsrhFXXeKfnItTWTuJL7
MFK5YJbCWQW0vB+v12uhvAmgqV3vwa7OKs+0tAwbyPSELnTwhYUN/72LWmuynMi/
jelWnwkOUFsLbRc6cVJCdAP8irIAbM5Oxj0sas3zicT+gPM2lXg=
=H84F
-----END PGP SIGNATURE-----