[MacPorts] #36852: mlt fails to install (during a port upgrade outdated)

MacPorts noreply at macports.org
Thu Nov 1 16:00:29 PDT 2012


#36852: mlt fails to install (during a port upgrade outdated)
--------------------------------+-------------------
  Reporter:  gregoire.verlut@…  |      Owner:  dan@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.1.2
Resolution:                     |   Keywords:
      Port:  mlt                |
--------------------------------+-------------------
Changes (by macsforever2000@…):

 * keywords:  mlt =>
 * owner:  macports-tickets@… => dan@…
 * port:   => mlt


Old description:

> 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           ^

New description:

 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           ^
 }}}

--

Comment:

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/36852#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list