[MacPorts] #40605: mpd 0.17.5 fails to build due to ffmpeg AVCODEC_MAX_AUDIO_FRAME_SIZE missing

MacPorts noreply at macports.org
Fri Sep 27 23:19:34 PDT 2013


#40605: mpd 0.17.5 fails to build due to ffmpeg AVCODEC_MAX_AUDIO_FRAME_SIZE
missing
----------------------+--------------------------------
 Reporter:  lwarxx@…  |      Owner:  macports-tickets@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.2.0
 Keywords:            |       Port:
----------------------+--------------------------------
 mpd 0.17.5 fails to build with ffmpeg 2.0.1_1:

 {{{
 :info:build mv -f src/decoder/.deps/libdecoder_plugins_a-dsdlib.Tpo
 src/decoder/.deps/libdecoder_plugins_a-dsdlib.Po
 :info:build mv -f src/decoder/.deps/libdecoder_plugins_a-
 dsf_decoder_plugin.Tpo src/decoder/.deps/libdecoder_plugins_a-
 dsf_decoder_plugin.Po
 :info:build depbase=`echo src/filter/chain_filter_plugin.o | sed
 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 :info:build     /usr/bin/clang -DHAVE_CONFIG_H -I.  -DNDEBUG -I./src
 -D_REENTRANT -isystem /opt/local/include/glib-2.0 -isystem
 /opt/local/lib/glib-2.0/include -isystem /opt/local/include
 -DSYSTEM_CONFIG_FILE_LOCATION='"/opt/local/etc/mpd.conf"'
 -I/opt/local/include  -pipe -Os -I/opt/local/include -arch x86_64 -Wall
 -Wextra -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes
 -Wcast-qual -Wwrite-strings -pedantic -MT src/filter/chain_filter_plugin.o
 -MD -MP -MF $depbase.Tpo -c -o src/filter/chain_filter_plugin.o
 src/filter/chain_filter_plugin.c &&\
 :info:build     mv -f $depbase.Tpo $depbase.Po
 :info:build depbase=`echo src/filter/autoconvert_filter_plugin.o | sed
 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 :info:build     /usr/bin/clang -DHAVE_CONFIG_H -I.  -DNDEBUG -I./src
 -D_REENTRANT -isystem /opt/local/include/glib-2.0 -isystem
 /opt/local/lib/glib-2.0/include -isystem /opt/local/include
 -DSYSTEM_CONFIG_FILE_LOCATION='"/opt/local/etc/mpd.conf"'
 -I/opt/local/include  -pipe -Os -I/opt/local/include -arch x86_64 -Wall
 -Wextra -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes
 -Wcast-qual -Wwrite-strings -pedantic -MT
 src/filter/autoconvert_filter_plugin.o -MD -MP -MF $depbase.Tpo -c -o
 src/filter/autoconvert_filter_plugin.o
 src/filter/autoconvert_filter_plugin.c &&\
 :info:build     mv -f $depbase.Tpo $depbase.Po
 :info:build src/decoder/ffmpeg_decoder_plugin.c:302:26: error: use of
 undeclared identifier 'AVCODEC_MAX_AUDIO_FRAME_SIZE'
 :info:build         uint8_t aligned_buffer[(AVCODEC_MAX_AUDIO_FRAME_SIZE *
 3) / 2 + 16];
 :info:build                                 ^
 :info:build 1 error generated.
 :info:build make[1]: *** [src/decoder/libdecoder_plugins_a-
 ffmpeg_decoder_plugin.o] Error 1
 :info:build make[1]: *** Waiting for unfinished jobs....
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_mpd/mpd/work/mpd-0.17.5'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_mpd/mpd/work/mpd-0.17.5'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_mpd/mpd/work/mpd-0.17.5"
 && /usr/bin/make -j4 -w all
 :info:build Exit code: 2
 :error:build org.macports.build for port mpd returned: command execution
 failed
 :debug:build Error code: CHILDSTATUS 41715 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"
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/40605>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list