Opened 11 years ago

Closed 11 years ago

#38699 closed defect (fixed)

mlt @0.8.8 build fails with ffmpeg-devel @20130328

Reported by: mopihopi Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: ddennedy (Dan Dennedy)
Port: mlt

Description

mlt @0.8.8 build fails with ffmpeg-devel @20130328
Mac OS X 10.6.8

:info:build /usr/bin/gcc-4.2 -O2 -I/opt/local/include -I/opt/local/include -DARCH_X86_64 -Wall -DPIC   -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DARCH_X86_64 -Wall -DPIC   -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../.. -DARCH_X86_64 -Wall -DPIC   -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DAVDATADIR=\"/opt/local/share/ffmpeg/\" -I/opt/local/include   -I/opt/local/include   -I/opt/local/include   -DFILTERS -DCODECS -DSWSCALE -DAVDEVICE   -c -o producer_avformat.o producer_avformat.c
:info:build /usr/bin/gcc-4.2 -O2 -I/opt/local/include -I/opt/local/include -DARCH_X86_64 -Wall -DPIC   -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DARCH_X86_64 -Wall -DPIC   -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I../.. -DARCH_X86_64 -Wall -DPIC   -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -D__DARWIN__ -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DAVDATADIR=\"/opt/local/share/ffmpeg/\" -I/opt/local/include   -I/opt/local/include   -I/opt/local/include   -DFILTERS -DCODECS -DSWSCALE -DAVDEVICE   -c -o consumer_avformat.o consumer_avformat.c
:info:build filter_swscale.c: In function ‘filter_swscale_init’:
:info:build filter_swscale.c:194: warning: cast from pointer to integer of different size
:info:build consumer_avformat.c: In function ‘interleaved_to_planar’:
:info:build consumer_avformat.c:552: warning: unused variable ‘size’
:info:build consumer_avformat.c: In function ‘write_transmitter’:
:info:build consumer_avformat.c:1119: warning: cast from pointer to integer of different size
:info:build consumer_avformat.c: In function ‘consumer_thread’:
:info:build consumer_avformat.c:1654: warning: ‘avcodec_encode_audio’ is deprecated (declared at /opt/local/include/libavcodec/avcodec.h:3983)
:info:build consumer_avformat.c:1726: warning: ‘avcodec_encode_audio’ is deprecated (declared at /opt/local/include/libavcodec/avcodec.h:3983)
:info:build consumer_avformat.c:1870: warning: ‘avcodec_encode_video’ is deprecated (declared at /opt/local/include/libavcodec/avcodec.h:4045)
:info:build producer_avformat.c: In function ‘decode_audio’:
:info:build producer_avformat.c:2243: warning: ‘avcodec_decode_audio3’ is deprecated (declared at /opt/local/include/libavcodec/avcodec.h:3610)
:info:build producer_avformat.c:2276: warning: ‘audio_resample’ is deprecated (declared at /opt/local/include/libavcodec/avcodec.h:4131)
:info:build consumer_avformat.c:1967: warning: ‘avcodec_encode_audio’ is deprecated (declared at /opt/local/include/libavcodec/avcodec.h:3983)
:info:build consumer_avformat.c:1974: warning: ‘avcodec_encode_audio’ is deprecated (declared at /opt/local/include/libavcodec/avcodec.h:3983)
:info:build consumer_avformat.c:2001: warning: ‘avcodec_encode_video’ is deprecated (declared at /opt/local/include/libavcodec/avcodec.h:4045)
:info:build producer_avformat.c: In function ‘producer_get_audio’:
:info:build producer_avformat.c:2430: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ undeclared (first use in this function)
:info:build producer_avformat.c:2430: error: (Each undeclared identifier is reported only once
:info:build producer_avformat.c:2430: error: for each function it appears in.)
:info:build producer_avformat.c: In function ‘producer_avformat_close’:
:info:build producer_avformat.c:2808: warning: ‘audio_resample_close’ is deprecated (declared at /opt/local/include/libavcodec/avcodec.h:4140)
:info:build make[2]: *** [producer_avformat.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_mlt/mlt/work/mlt-0.8.8/src/modules/avformat'
:info:build make[1]: *** [all] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_mlt/mlt/work/mlt-0.8.8/src/modules'
:info:build make: *** [all] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_mlt/mlt/work/mlt-0.8.8'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_mlt/mlt/work/mlt-0.8.8" && /usr/bin/make -j4 -w all CC="/usr/bin/gcc-4.2" CXX="/usr/bin/g++-4.2" CPP="/usr/bin/cpp-4.2" 
:info:build Exit code: 2
:error:build org.macports.build for port mlt returned: command execution failed
:debug:build Error code: CHILDSTATUS 94205 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for mlt: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port mlt for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_mlt/mlt/main.log

Change History (3)

comment:1 Changed 11 years ago by ddennedy (Dan Dennedy)

It is already fixed in git but macports fix must wait for next release of MLT, which currently has no ETA but should be within a month or so. Meanwhile, you must use ffmpeg.

comment:2 Changed 11 years ago by ddennedy (Dan Dennedy)

ticket #39374 created to upgrade port to new 0.9.0 release of MLT

comment:3 Changed 11 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: newclosed

Should be fixed by r106745.

Note: See TracTickets for help on using tickets.