Opened 11 years ago
Last modified 8 years ago
#39725 assigned defect
moc @2.4.4 build error
Reported by: | aaron@… | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ||
Port: | moc |
Description
Failing to build
:notice:build ---> Building moc :debug:build Executing org.macports.build (moc) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4" && /usr/bin/make -j8 -w all' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4" && /usr/bin/make -j8 -w all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4' :info:build /usr/bin/make all-recursive :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4' :info:build Making all in themes :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4/themes' :info:build make[2]: Nothing to be done for `all'. :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4/themes' :info:build Making all in decoder_plugins :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4/decoder_plugins' :info:build Making all in mp3 :info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4/decoder_plugins/mp3' :info:build make[3]: Nothing to be done for `all'. :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4/decoder_plugins/mp3' :info:build Making all in vorbis :info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4/decoder_plugins/vorbis' :info:build make[3]: Nothing to be done for `all'. :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4/decoder_plugins/vorbis' :info:build Making all in flac :info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4/decoder_plugins/flac' :info:build make[3]: Nothing to be done for `all'. :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4/decoder_plugins/flac' :info:build Making all in sndfile :info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4/decoder_plugins/sndfile' :info:build make[3]: Nothing to be done for `all'. :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4/decoder_plugins/sndfile' :info:build Making all in ffmpeg :info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4/decoder_plugins/ffmpeg' :info:build if /bin/sh ../../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/local/include -I/opt/local/include -I../.. -pipe -O2 -arch x86_64 -Wall -W -I/opt/local/include -g -I/opt/local/include -I/opt/local/include -MT libffmpeg_decoder_la-ffmpeg.lo -MD -MP -MF ".deps/libffmpeg_decoder_la-ffmpeg.Tpo" -c -o libffmpeg_decoder_la-ffmpeg.lo `test -f 'ffmpeg.c' || echo './'`ffmpeg.c; \ :info:build then mv -f ".deps/libffmpeg_decoder_la-ffmpeg.Tpo" ".deps/libffmpeg_decoder_la-ffmpeg.Plo"; else rm -f ".deps/libffmpeg_decoder_la-ffmpeg.Tpo"; exit 1; fi :info:build libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/local/include -I/opt/local/include -I../.. -pipe -O2 -arch x86_64 -Wall -W -I/opt/local/include -g -I/opt/local/include -I/opt/local/include -MT libffmpeg_decoder_la-ffmpeg.lo -MD -MP -MF .deps/libffmpeg_decoder_la-ffmpeg.Tpo -c ffmpeg.c -fno-common -DPIC -o .libs/libffmpeg_decoder_la-ffmpeg.o :info:build ffmpeg.c:45:2: error: unknown type name 'AVFormatParameters' :info:build AVFormatParameters ap; :info:build ^ :info:build ffmpeg.c:68:2: error: use of undeclared identifier 'AVFormatParameters' :info:build AVFormatParameters ap; :info:build ^ :info:build ffmpeg.c:72:11: error: use of undeclared identifier 'ap' :info:build memset (&ap, 0, sizeof(ap)); :info:build ^ :info:build /usr/include/secure/_string.h:76:21: note: expanded from macro 'memset' :info:build ((__darwin_obsz0 (dest) != (size_t) -1) \ :info:build ^ :info:build /usr/include/secure/_common.h:38:55: note: expanded from macro '__darwin_obsz0' :info:build #define __darwin_obsz0(object) __builtin_object_size (object, 0) :info:build ^ :info:build ffmpeg.c:72:11: error: use of undeclared identifier 'ap' :info:build memset (&ap, 0, sizeof(ap)); :info:build ^ :info:build /usr/include/secure/_string.h:77:30: note: expanded from macro 'memset' :info:build ? __builtin___memset_chk (dest, val, len, __darwin_obsz0 (dest)) \ :info:build ^ :info:build ffmpeg.c:72:11: error: use of undeclared identifier 'ap' :info:build memset (&ap, 0, sizeof(ap)); :info:build ^ :info:build /usr/include/secure/_string.h:78:27: note: expanded from macro 'memset' :info:build : __inline_memset_chk (dest, val, len)) :info:build ^ :info:build ffmpeg.c:74:13: warning: implicit declaration of function 'av_open_input_file' is invalid in C99 [-Wimplicit-function-declaration] :info:build if ((err = av_open_input_file(&ic, file_name, NULL, 0, &ap)) < 0) { :info:build ^ :info:build ffmpeg.c:74:58: error: use of undeclared identifier 'ap' :info:build if ((err = av_open_input_file(&ic, file_name, NULL, 0, &ap)) < 0) { :info:build ^ :info:build ffmpeg.c:78:13: warning: 'av_find_stream_info' is deprecated [-Wdeprecated-declarations] :info:build if ((err = av_find_stream_info(ic)) < 0) { :info:build ^ :info:build /opt/local/include/libavformat/avformat.h:1513:5: note: 'av_find_stream_info' declared here :info:build int av_find_stream_info(AVFormatContext *ic); :info:build ^ :info:build ffmpeg.c:84:11: error: no member named 'track' in 'struct AVFormatContext' :info:build if (ic->track != 0) :info:build ~~ ^ :info:build ffmpeg.c:85:22: error: no member named 'track' in 'struct AVFormatContext' :info:build info->track = ic->track; :info:build ~~ ^ :info:build ffmpeg.c:86:11: error: no member named 'title' in 'struct AVFormatContext' :info:build if (ic->title[0] != 0) :info:build ~~ ^ :info:build ffmpeg.c:87:31: error: no member named 'title' in 'struct AVFormatContext' :info:build info->title = xstrdup (ic->title); :info:build ~~ ^ :info:build ffmpeg.c:88:11: error: no member named 'author' in 'struct AVFormatContext' :info:build if (ic->author[0] != 0) :info:build ~~ ^ :info:build ffmpeg.c:89:32: error: no member named 'author' in 'struct AVFormatContext' :info:build info->artist = xstrdup (ic->author); :info:build ~~ ^ :info:build ffmpeg.c:90:11: error: no member named 'album' in 'struct AVFormatContext' :info:build if (ic->album[0] != 0) :info:build ~~ ^ :info:build ffmpeg.c:91:31: error: no member named 'album' in 'struct AVFormatContext' :info:build info->album = xstrdup (ic->album); :info:build ~~ ^ :info:build ffmpeg.c:118:8: warning: 'av_find_stream_info' is deprecated [-Wdeprecated-declarations] :info:build err = av_find_stream_info (data->ic); :info:build ^ :info:build /opt/local/include/libavformat/avformat.h:1513:5: note: 'av_find_stream_info' declared here :info:build int av_find_stream_info(AVFormatContext *ic); :info:build ^ :info:build ffmpeg.c:123:3: warning: 'av_close_input_file' is deprecated [-Wdeprecated-declarations] :info:build av_close_input_file (data->ic); :info:build ^ :info:build /opt/local/include/libavformat/avformat.h:1689:6: note: 'av_close_input_file' declared here :info:build void av_close_input_file(AVFormatContext *s); :info:build ^ :info:build ffmpeg.c:128:16: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] :info:build for (i = 0; i < data->ic->nb_streams; i++) { :info:build ~ ^ ~~~~~~~~~~~~~~~~~~~~ :info:build ffmpeg.c:130:32: error: use of undeclared identifier 'CODEC_TYPE_AUDIO' :info:build if (data->enc->codec_type == CODEC_TYPE_AUDIO) { :info:build ^ :info:build ffmpeg.c:138:3: warning: 'av_close_input_file' is deprecated [-Wdeprecated-declarations] :info:build av_close_input_file (data->ic); :info:build ^ :info:build /opt/local/include/libavformat/avformat.h:1689:6: note: 'av_close_input_file' declared here :info:build void av_close_input_file(AVFormatContext *s); :info:build ^ :info:build ffmpeg.c:147:22: warning: 'avcodec_open' is deprecated [-Wdeprecated-declarations] :info:build if (!data->codec || avcodec_open(data->enc, data->codec) < 0) { :info:build ^ :info:build /opt/local/include/libavcodec/avcodec.h:3711:5: note: 'avcodec_open' declared here :info:build int avcodec_open(AVCodecContext *avctx, AVCodec *codec); :info:build ^ :info:build ffmpeg.c:150:3: warning: 'av_close_input_file' is deprecated [-Wdeprecated-declarations] :info:build av_close_input_file (data->ic); :info:build ^ :info:build /opt/local/include/libavformat/avformat.h:1689:6: note: 'av_close_input_file' declared here :info:build void av_close_input_file(AVFormatContext *s); :info:build ^ :info:build ffmpeg.c:169:3: warning: 'av_close_input_file' is deprecated [-Wdeprecated-declarations] :info:build av_close_input_file (data->ic); :info:build ^ :info:build /opt/local/include/libavformat/avformat.h:1689:6: note: 'av_close_input_file' declared here :info:build void av_close_input_file(AVFormatContext *s); :info:build ^ :info:build ffmpeg.c:182:6: warning: unused variable 'err' [-Wunused-variable] :info:build int err; :info:build ^ :info:build ffmpeg.c:181:22: warning: unused variable 'data' [-Wunused-variable] :info:build struct ffmpeg_data *data = (struct ffmpeg_data *)prv_data; :info:build ^ :info:build ffmpeg.c:179:45: warning: unused parameter 'sec' [-Wunused-parameter] :info:build static int ffmpeg_seek (void *prv_data, int sec) :info:build ^ :info:build ffmpeg.c:273:10: warning: implicit declaration of function 'avcodec_decode_audio' is invalid in C99 [-Wimplicit-function-declaration] :info:build len = avcodec_decode_audio (data->enc, (int16_t *)avbuf, :info:build ^ :info:build 13 warnings and 15 errors generated. :info:build make[3]: *** [libffmpeg_decoder_la-ffmpeg.lo] Error 1 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4/decoder_plugins/ffmpeg' :info:build make[2]: *** [all-recursive] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4/decoder_plugins' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4' :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_ports_multimedia_moc/moc/work/moc-2.4.4' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/work/moc-2.4.4" && /usr/bin/make -j8 -w all :info:build Exit code: 2 :error:build org.macports.build for port moc returned: command execution failed :debug:build Error code: CHILDSTATUS 71660 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 moc: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port moc for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_moc/moc/main.log
Thanks
Attachments (1)
Change History (3)
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to eu@… |
---|
comment:2 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)
Owner: | eu@… deleted |
---|---|
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
Please attach the full main.log.
Perhaps this version of moc is not compatible with the version of ffmpeg that we have in MacPorts now. I would not be surprised, since this version of moc is years old (but is the latest stable version available).