Opened 6 years ago

Closed 6 years ago

#56484 closed defect (duplicate)

KDENLIVE error: Failed to build mlt: command execution failed

Reported by: dseixas Owned by: ddennedy (Dan Dennedy)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: RJVB (René Bertin)
Port: mlt

Description

Hi,

I'm trying to install kdenlive macport on HighSierra but I get this error:

Failed to build mlt: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mlt/mlt/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port kdenlive failed

The error on the reported file is:

:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mlt/mlt/work/mlt-6.4.1'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mlt/mlt/work/mlt-6.4.1" && /usr/bin/make -j4 -w all CC="/usr/bin/clang" CXX="/usr/bin/clang++" CPP="/usr/bin/cpp" 
:info:build Exit code: 2
:error:build Failed to build mlt: command execution failed
:debug:build Error code: CHILDSTATUS 97430 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mlt/mlt/main.log for details.

Change History (4)

comment:1 Changed 6 years ago by dseixas

after a few tests I got a few downstream errors:

1.- make doesn't have permissions on this directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mlt/mlt/work/mlt-6.4.1/

2.- A deprecation error arises:

make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mlt/mlt/work/mlt-6.4.1/src/modules/avformat'
/usr/bin/clang -I../.. -DARCH_X86_64 -Wall -DPIC   -O2 -pipe    -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -Os -I/opt/local/include -I/opt/local/libexec/qt4/include -I/opt/local/include -DAVDATADIR=\"/opt/local/share/ffmpeg/\"       -DFILTERS -DCODECS -DAVDEVICE -DAVFILTER   -c -o filter_avresample.o filter_avresample.c
/usr/bin/clang -I../.. -DARCH_X86_64 -Wall -DPIC   -O2 -pipe    -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -Os -I/opt/local/include -I/opt/local/libexec/qt4/include -I/opt/local/include -DAVDATADIR=\"/opt/local/share/ffmpeg/\"       -DFILTERS -DCODECS -DAVDEVICE -DAVFILTER   -c -o consumer_avformat.o consumer_avformat.c
filter_avresample.c:55:2: error: use of undeclared identifier 'ReSampleContext'
        ReSampleContext *resample = mlt_properties_get_data( filter_properties, "audio_resample", NULL );
        ^
filter_avresample.c:55:19: error: use of undeclared identifier 'resample'; did you mean 'samples'?
        ReSampleContext *resample = mlt_properties_get_data( filter_properties, "audio_resample", NULL );
                         ^~~~~~~~
                         samples
filter_avresample.c:40:126: note: 'samples' declared here
  ...mlt_frame frame, void **buffer, mlt_audio_format *format, int *frequency, int *channels, int *samples )
                                                                                                   ^
filter_avresample.c:82:8: error: use of undeclared identifier 'resample'
                if ( resample == NULL || *frequency != mlt_properties_get_int( filter_properties, "last_frequency" ) )
                     ^
filter_avresample.c:85:4: error: use of undeclared identifier 'resample'
                        resample = av_audio_resample_init( *channels, *channels, output_rate, *frequency,
                        ^
filter_avresample.c:85:15: warning: implicit declaration of function 'av_audio_resample_init' is invalid in C99
      [-Wimplicit-function-declaration]
                        resample = av_audio_resample_init( *channels, *channels, output_rate, *frequency,
                                   ^
filter_avresample.c:89:97: error: use of undeclared identifier 'audio_resample_close'
  ...mlt_properties_set_data( filter_properties, "audio_resample", resample, 0, ( mlt_destructor )audio_resample_close, ...
                                                                                                  ^
filter_avresample.c:89:66: error: use of undeclared identifier 'resample'
                        mlt_properties_set_data( filter_properties, "audio_resample", resample, 0, ( mlt_destructo...
                                                                                      ^
filter_avresample.c:98:10: warning: implicit declaration of function 'audio_resample' is invalid in C99
      [-Wimplicit-function-declaration]
                used = audio_resample( resample, sample_buffer, *buffer, *samples );
                       ^
filter_avresample.c:98:26: error: use of undeclared identifier 'resample'
                used = audio_resample( resample, sample_buffer, *buffer, *samples );
                                       ^
2 warnings and 7 errors generated.
consumer_avformat.c:301:22: warning: 'av_oformat_next' is deprecated [-Wdeprecated-declarations]
                while ( ( format = av_oformat_next( format ) ) )
                                   ^
/opt/local/include/libavformat/avformat.h:2069:1: note: 'av_oformat_next' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:322:21: warning: 'av_codec_next' is deprecated [-Wdeprecated-declarations]
                while ( ( codec = av_codec_next( codec ) ) )
                                  ^
/opt/local/include/libavcodec/avcodec.h:4044:1: note: 'av_codec_next' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:344:21: warning: 'av_codec_next' is deprecated [-Wdeprecated-declarations]
                while ( ( codec = av_codec_next( codec ) ) )
                                  ^
/opt/local/include/libavcodec/avcodec.h:4044:1: note: 'av_codec_next' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
make[2]: *** [filter_avresample.o] Error 1
make[2]: *** Waiting for unfinished jobs....
consumer_avformat.c:562:27: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                AVCodecContext *c = st->codec;
                                        ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:581:16: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
                        c->flags |= CODEC_FLAG_GLOBAL_HEADER;
                                    ^
consumer_avformat.c:607:16: error: use of undeclared identifier 'CODEC_FLAG_QSCALE'
                        c->flags |= CODEC_FLAG_QSCALE;
                                    ^
consumer_avformat.c:637:26: warning: 'codec' is deprecated [-Wdeprecated-declarations]
        AVCodecContext *c = st->codec;
                                ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:673:15: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                        switch(st->codec->codec_id) 
                                   ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:706:16: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
                        c->flags |= CODEC_FLAG_GLOBAL_HEADER;
                                    ^
consumer_avformat.c:719:17: warning: 'codec' is deprecated [-Wdeprecated-declarations]
        if ( st && st->codec )
                       ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:720:22: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                avcodec_close( st->codec );
                                   ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:737:27: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                AVCodecContext *c = st->codec;
                                        ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:837:16: error: use of undeclared identifier 'CODEC_FLAG_QSCALE'
                        c->flags |= CODEC_FLAG_QSCALE;
                                    ^
consumer_avformat.c:854:16: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
                        c->flags |= CODEC_FLAG_GLOBAL_HEADER;
                                    ^
consumer_avformat.c:861:17: error: use of undeclared identifier 'CODEC_FLAG_INTERLACED_DCT'
                                c->flags |= CODEC_FLAG_INTERLACED_DCT;
                                            ^
consumer_avformat.c:863:17: error: use of undeclared identifier 'CODEC_FLAG_INTERLACED_ME'
                                c->flags |= CODEC_FLAG_INTERLACED_ME;
                                            ^
consumer_avformat.c:900:16: error: use of undeclared identifier 'CODEC_FLAG_PASS1'
                        c->flags |= CODEC_FLAG_PASS1;
                                    ^
consumer_avformat.c:902:16: error: use of undeclared identifier 'CODEC_FLAG_PASS2'
                        c->flags |= CODEC_FLAG_PASS2;
                                    ^
consumer_avformat.c:906:56: error: use of undeclared identifier 'CODEC_FLAG_PASS1'
                if ( codec->id != AV_CODEC_ID_H264 && ( c->flags & ( CODEC_FLAG_PASS1 | CODEC_FLAG_PASS2 ) ) )
                                                                     ^
consumer_avformat.c:906:75: error: use of undeclared identifier 'CODEC_FLAG_PASS2'
                if ( codec->id != AV_CODEC_ID_H264 && ( c->flags & ( CODEC_FLAG_PASS1 | CODEC_FLAG_PASS2 ) ) )
                                                                                        ^
consumer_avformat.c:921:20: error: use of undeclared identifier 'CODEC_FLAG_PASS1'
                        if ( c->flags & CODEC_FLAG_PASS1 )
                                        ^
consumer_avformat.c:977:13: warning: 'avpicture_get_size' is deprecated [-Wdeprecated-declarations]
        int size = avpicture_get_size(pix_fmt, width, height);
                   ^
/opt/local/include/libavcodec/avcodec.h:5433:1: note: 'avpicture_get_size' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:986:3: warning: 'avpicture_fill' is deprecated [-Wdeprecated-declarations]
                avpicture_fill( (AVPicture *)picture, picture_buf, pix_fmt, width, height);
                ^
/opt/local/include/libavcodec/avcodec.h:5418:1: note: 'avpicture_fill' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:1005:34: warning: 'codec' is deprecated [-Wdeprecated-declarations]
        AVCodecContext *video_enc = st->codec;
                                        ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:1052:17: warning: 'codec' is deprecated [-Wdeprecated-declarations]
        if ( st && st->codec )
                       ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:1054:18: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                av_freep( &st->codec->stats_in );
                               ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:1055:21: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                avcodec_close(st->codec);
                                  ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:1322:63: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                                const char *pix_fmt_name = av_get_pix_fmt_name( video_st->codec->pix_fmt );
                                                                                          ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:1366:48: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                aud_fmt = get_mlt_audio_format( audio_st[0]->codec->sample_fmt );
                                                             ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:1452:48: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                converted_avframe = alloc_picture( video_st->codec->pix_fmt, width, height );
                                                             ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:1463:37: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                        AVCodecContext *c = audio_st[0]->codec;
                                                         ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:1595:39: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                                                AVCodecContext *codec = stream->codec;
                                                                                ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:1622:18: warning: 'avcodec_encode_audio2' is deprecated [-Wdeprecated-declarations]
                                                        int ret = avcodec_encode_audio2( codec, &pkt, audio_avframe...
                                                                  ^
/opt/local/include/libavcodec/avcodec.h:5346:1: note: 'avcodec_encode_audio2' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:1704:18: warning: 'avcodec_encode_audio2' is deprecated [-Wdeprecated-declarations]
                                                        int ret = avcodec_encode_audio2( codec, &pkt, audio_avframe...
                                                                  ^
/opt/local/include/libavcodec/avcodec.h:5346:1: note: 'avcodec_encode_audio2' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:1743:63: warning: 'codec' is deprecated [-Wdeprecated-declarations]
  ...audio_pts = (double) sample_count[0] * av_q2d( stream->codec->time_base );
                                                            ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:1761:36: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                                        AVCodecContext *c = video_st->codec;
                                                                      ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:1835:31: error: use of undeclared identifier 'AVFMT_RAWPICTURE'
                                        if (oc->oformat->flags & AVFMT_RAWPICTURE) 
                                                                 ^
consumer_avformat.c:1882:13: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations]
                                                ret = avcodec_encode_video2( c, &pkt, converted_avframe, &got_packet );
                                                      ^
/opt/local/include/libavcodec/avcodec.h:5385:1: note: 'avcodec_encode_video2' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:1925:59: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                                        video_pts = (double) frame_count * av_q2d( video_st->codec->time_base );
                                                                                             ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:1972:36: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                if ( audio_st[0] && audio_st[0]->codec->frame_size > 1 ) for (;;)
                                                 ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:1974:37: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                        AVCodecContext *c = audio_st[0]->codec;
                                                         ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:2003:15: warning: 'avcodec_encode_audio2' is deprecated [-Wdeprecated-declarations]
                                int ret = avcodec_encode_audio2( c, &pkt, audio_avframe, &got_packet );
                                          ^
/opt/local/include/libavcodec/avcodec.h:5346:1: note: 'avcodec_encode_audio2' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:2018:16: warning: 'avcodec_encode_audio2' is deprecated [-Wdeprecated-declarations]
                                        int ret = avcodec_encode_audio2( c, &pkt, NULL, &got_packet );
                                                  ^
/opt/local/include/libavcodec/avcodec.h:5346:1: note: 'avcodec_encode_audio2' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:2047:44: error: use of undeclared identifier 'AVFMT_RAWPICTURE'
                if ( video_st && !( oc->oformat->flags & AVFMT_RAWPICTURE ) ) for (;;)
                                                         ^
consumer_avformat.c:2049:34: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                        AVCodecContext *c = video_st->codec;
                                                      ^
/opt/local/include/libavformat/avformat.h:876:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
consumer_avformat.c:2063:14: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations]
                        int ret = avcodec_encode_video2( c, &pkt, NULL, &got_packet );
                                  ^
/opt/local/include/libavcodec/avcodec.h:5385:1: note: 'avcodec_encode_video2' has been explicitly marked deprecated here
attribute_deprecated
^
/opt/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
32 warnings and 14 errors generated.
make[2]: *** [consumer_avformat.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mlt/mlt/work/mlt-6.4.1/src/modules/avformat'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mlt/mlt/work/mlt-6.4.1/src/modules'
make: *** [all] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mlt/mlt/work/mlt-6.4.1'

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Cc: RJVB added
Owner: set to ddennedy
Port: mlt added
Status: newassigned

In the future, please fill in the Port field and Cc the port maintainer(s) (port info --maintainers mlt), if any.

comment:3 Changed 6 years ago by ddennedy (Dan Dennedy)

This is a version conflict between ffmpeg and mlt that has already been reported in #56412 and fixed in #56414 by upgrading mlt to 6.6.0.

Someone needs to commit that as I do not have commit access. Also, soon I will be submitting another update to v6.8.0.

comment:4 Changed 6 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.