[Bug 297364] multimedia/mlt7: Fails to build with FFmpeg 9.0

[email protected]
Newsgroups gmane.comp.kde.freebsd
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297364

            Bug ID: 297364
           Summary: multimedia/mlt7: Fails to build with FFmpeg 9.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 297355
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])

Poudriere, 15.1-RELEASE (amd64)

[ 46% 122/250] /usr/bin/cc -Dmltavformat_EXPORTS
-I/wrkdirs/usr/ports/multimedia/mlt7/work/.build/src/modules/avformat
-I/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/framework/..
-I/wrkdirs/usr/ports/multimedia/mlt7/work/.build/src/framework -O2 -pipe
-march=znver4  -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -O2 -pipe -march=znver4  -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing  -DNDEBUG -std=gnu11 -fPIC -ffast-math
-pthread -MD -MT
src/modules/avformat/CMakeFiles/mltavformat.dir/consumer_avformat.c.o -MF
src/modules/avformat/CMakeFiles/mltavformat.dir/consumer_avformat.c.o.d -o
src/modules/avformat/CMakeFiles/mltavformat.dir/consumer_avformat.c.o -c
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/modules/avformat/consumer_avformat.c
FAILED: [code=1]
src/modules/avformat/CMakeFiles/mltavformat.dir/consumer_avformat.c.o 
/usr/bin/cc -Dmltavformat_EXPORTS
-I/wrkdirs/usr/ports/multimedia/mlt7/work/.build/src/modules/avformat
-I/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/framework/..
-I/wrkdirs/usr/ports/multimedia/mlt7/work/.build/src/framework -O2 -pipe
-march=znver4  -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -O2 -pipe -march=znver4  -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing  -DNDEBUG -std=gnu11 -fPIC -ffast-math
-pthread -MD -MT
src/modules/avformat/CMakeFiles/mltavformat.dir/consumer_avformat.c.o -MF
src/modules/avformat/CMakeFiles/mltavformat.dir/consumer_avformat.c.o.d -o
src/modules/avformat/CMakeFiles/mltavformat.dir/consumer_avformat.c.o -c
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/modules/avformat/consumer_avformat.c
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/modules/avformat/consumer_avformat.c:683:27:
error: no member named 'sample_fmts' in 'struct AVCodec'
  683 |     const int *p = codec->sample_fmts;
      |                    ~~~~~  ^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/modules/avformat/consumer_avformat.c:708:21:
error: no member named 'sample_fmts' in 'struct AVCodec'
  708 |     for (p = codec->sample_fmts; *p != -1; p++) {
      |              ~~~~~  ^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/modules/avformat/consumer_avformat.c:984:40:
error: no member named 'pix_fmts' in 'struct AVCodec'
  984 |                      : codec ? (codec->pix_fmts ? codec->pix_fmts[0] :
AV_PIX_FMT_YUV422P)
      |                                 ~~~~~  ^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/modules/avformat/consumer_avformat.c:984:58:
error: no member named 'pix_fmts' in 'struct AVCodec'
  984 |                      : codec ? (codec->pix_fmts ? codec->pix_fmts[0] :
AV_PIX_FMT_YUV422P)
      |                                                   ~~~~~  ^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/modules/avformat/consumer_avformat.c:1085:12:
warning: 'intra_dc_precision' is deprecated [-Wdeprecated-declarations]
 1085 |         c->intra_dc_precision = mlt_properties_get_int(properties,
"dc") - 8;
      |            ^
/usr/local/include/libavcodec/avcodec.h:985:5: note: 'intra_dc_precision' has
been explicitly marked deprecated here
  985 |     attribute_deprecated
      |     ^
/usr/local/include/libavutil/attributes.h:131:49: note: expanded from macro
'attribute_deprecated'
  131 | #    define attribute_deprecated __attribute__((deprecated))
      |                                                 ^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/modules/avformat/consumer_avformat.c:1202:25:
error: no member named 'pix_fmts' in 'struct AVCodec'
 1202 |     if (codec && codec->pix_fmts) {
      |                  ~~~~~  ^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/modules/avformat/consumer_avformat.c:1203:46:
error: no member named 'pix_fmts' in 'struct AVCodec'
 1203 |         const enum AVPixelFormat *p = codec->pix_fmts;
      |                                       ~~~~~  ^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/modules/avformat/consumer_avformat.c:1209:41:
error: no member named 'pix_fmts' in 'struct AVCodec'
 1209 |             video_enc->pix_fmt = codec->pix_fmts[0];
      |                                  ~~~~~  ^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/modules/avformat/consumer_avformat.c:1346:9:
warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
 1346 |         av_init_packet(&pkt);
      |         ^
/usr/local/include/libavcodec/packet.h:725:1: note: 'av_init_packet' has been
explicitly marked deprecated here
  725 | attribute_deprecated
      | ^
/usr/local/include/libavutil/attributes.h:131:49: note: expanded from macro
'attribute_deprecated'
  131 | #    define attribute_deprecated __attribute__((deprecated))
      |                                                 ^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/modules/avformat/consumer_avformat.c:1515:13:
warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
 1515 |             av_init_packet(&pkt);
      |             ^
/usr/local/include/libavcodec/packet.h:725:1: note: 'av_init_packet' has been
explicitly marked deprecated here
  725 | attribute_deprecated
      | ^
/usr/local/include/libavutil/attributes.h:131:49: note: expanded from macro
'attribute_deprecated'
  131 | #    define attribute_deprecated __attribute__((deprecated))
      |                                                 ^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/modules/avformat/consumer_avformat.c:2044:9:
warning: 'mlt_image_format_planes' is deprecated [-Wdeprecated-declarations]
 2044 |         mlt_image_format_planes(img_fmt,
      |         ^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/framework/../framework/mlt_image.h:83:1:
note: 'mlt_image_format_planes' has been explicitly marked deprecated here
   83 | MLT_DEPRECATED_EXPORT void mlt_image_format_planes(
      | ^
/wrkdirs/usr/ports/multimedia/mlt7/work/.build/src/framework/mlt_export.h:29:44:
note: expanded from macro 'MLT_DEPRECATED_EXPORT'
   29 | #  define MLT_DEPRECATED_EXPORT MLT_EXPORT MLT_DEPRECATED
      |                                            ^
/wrkdirs/usr/ports/multimedia/mlt7/work/.build/src/framework/mlt_export.h:25:42:
note: expanded from macro 'MLT_DEPRECATED'
   25 | #  define MLT_DEPRECATED __attribute__ ((__deprecated__))
      |                                          ^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/modules/avformat/consumer_avformat.c:2198:9:
warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
 2198 |         av_init_packet(&pkt);
      |         ^
/usr/local/include/libavcodec/packet.h:725:1: note: 'av_init_packet' has been
explicitly marked deprecated here
  725 | attribute_deprecated
      | ^
/usr/local/include/libavutil/attributes.h:131:49: note: expanded from macro
'attribute_deprecated'
  131 | #    define attribute_deprecated __attribute__((deprecated))
      |                                                 ^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.38.0/src/modules/avformat/consumer_avformat.c:2897:17:
warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
 2897 |                 av_init_packet(&pkt);
      |                 ^
/usr/local/include/libavcodec/packet.h:725:1: note: 'av_init_packet' has been
explicitly marked deprecated here
  725 | attribute_deprecated
      | ^
/usr/local/include/libavutil/attributes.h:131:49: note: expanded from macro
'attribute_deprecated'
  131 | #    define attribute_deprecated __attribute__((deprecated))
      |                                                 ^
6 warnings and 7 errors generated.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297355
[Bug 297355] multimedia/ffmpeg: Update to 9.0
-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.