Opened 12 years ago

Last modified 12 years ago

#36852 closed defect

mlt fails to install (during a port upgrade outdated) — at Version 1

Reported by: gregoire.verlut@… Owned by: dan@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: mlt

Description (last modified by mf2k (Frank Schima))

I ran a port upgrade outdated and it fails for mlt.

The log file states:

:info:build consumer_avformat.c:241:18: error: no member named 'encode' in 'struct AVCodec'; did you mean 'encode2'?
:info:build                         if ( ( codec->encode || codec->encode2 ) && codec->type == CODEC_TYPE_AUDIO )
:info:build                                       ^~~~~~
:info:build                                       encode2
:info:build /opt/local/include/libavcodec/avcodec.h:3189:11: note: 'encode2' declared here
:info:build     int (*encode2)(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame,
:info:build           ^
:info:build consumer_avformat.c:265:17: error: no member named 'encode' in 'struct AVCodec'; did you mean 'encode2'?
:info:build                         if ( (codec->encode || codec->encode2) && codec->type == CODEC_TYPE_VIDEO )
:info:build                                      ^~~~~~
:info:build                                      encode2
:info:build /opt/local/include/libavcodec/avcodec.h:3189:11: note: 'encode2' declared here
:info:build     int (*encode2)(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame,
:info:build           ^

Change History (2)

Changed 12 years ago by gregoire.verlut@…

Attachment: main.log added

log file for port mlt

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: mlt removed
Owner: changed from macports-tickets@… to dan@…
Port: mlt added

In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainer(s).

That's not the right main.log that you attached. clean the port and try again and post the new log for mlt if it fails.

Note: See TracTickets for help on using tickets.