Opened 14 years ago

Closed 13 years ago

#27851 closed defect (fixed)

can't build ffmpeg @0.6.1 on x86_64

Reported by: peter@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: ffmpeg

Description (last modified by jmroot (Joshua Root))

macbook:_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg peter$ cat main.log
version:1
:msg:main --->  Computing dependencies for ffmpeg:info:main .:debug:main Searching for dependency: pkgconfig
:debug:main Found Dependency: receipt exists for pkgconfig
:debug:main Searching for dependency: gmake
:debug:main Found Dependency: receipt exists for gmake
:debug:main Searching for dependency: texi2html
:debug:main Found Dependency: receipt exists for texi2html
:debug:main Searching for dependency: lame
:debug:main Found Dependency: receipt exists for lame
:debug:main Searching for dependency: libvorbis
:debug:main Found Dependency: receipt exists for libvorbis
:debug:main Searching for dependency: libogg
:debug:main Found Dependency: receipt exists for libogg
:debug:main Searching for dependency: libtheora
:debug:main Found Dependency: receipt exists for libtheora
:debug:main Searching for dependency: dirac
:debug:main Found Dependency: receipt exists for dirac
:debug:main Searching for dependency: schroedinger
:debug:main Found Dependency: receipt exists for schroedinger
:debug:main Searching for dependency: faac
:debug:main Found Dependency: receipt exists for faac
:debug:main Searching for dependency: faad2
:debug:main Found Dependency: receipt exists for faad2
:debug:main Searching for dependency: speex
:debug:main Found Dependency: receipt exists for speex
:debug:main Searching for dependency: XviD
:debug:main Found Dependency: receipt exists for XviD
:debug:main Searching for dependency: x264
:debug:main Found Dependency: receipt exists for x264
:debug:main Searching for dependency: libvpx
:debug:main Found Dependency: receipt exists for libvpx
:debug:main Searching for dependency: libsdl
:debug:main Found Dependency: receipt exists for libsdl
:debug:main Searching for dependency: bzip2
:debug:main Found Dependency: receipt exists for bzip2
:debug:main Searching for dependency: zlib
:debug:main Found Dependency: receipt exists for zlib
:msg:main 
:debug:main Executing org.macports.main (ffmpeg)
:debug:main Skipping completed org.macports.fetch (ffmpeg)
:debug:main Skipping completed org.macports.checksum (ffmpeg)
:debug:main setting option extract.cmd to /usr/bin/bzip2
:debug:main Skipping completed org.macports.extract (ffmpeg)
:debug:main Skipping completed org.macports.patch (ffmpeg)
:debug:main Skipping completed org.macports.configure (ffmpeg)
:msg:main --->  Building ffmpeg
:debug:build build phase started at Mon Jan  3 07:38:19 CET 2011
:debug:build Executing org.macports.build (ffmpeg)
: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_ffmpeg/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' V='1'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.1" && /opt/local/bin/gmake -j2 all'
:info:build /usr/bin/gcc-4.2 -dynamiclib -Wl,-single_module -Wl,-install_name,/opt/local/lib/libavcodec.dylib,-current_version,52.72.2,-compatibility_version,52 -Wl,-read_only_relocs,suppress -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.1"/libavcodec -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.1"/libavdevice -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.1"/libavfilter -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.1"/libavformat -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.1"/libavutil -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.1"/libpostproc -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.1"/libswscale -Wl,-dynamic,-search_paths_first -L/opt/local/lib -arch x86_64 -o libavcodec/libavcodec.52.dylib libavcodec/4xm.o libavcodec/8bps.o libavcodec/8svx.o libavcodec/aac_ac3_parser.o libavcodec/aac_adtstoasc_bsf.o libavcodec/aac_parser.o libavcodec/aaccoder.o libavcodec/aacdec.o libavcodec/aacenc.o libavcodec/aacps.o libavcodec/aacpsy.o libavcodec/aacsbr.o libavcodec/aactab.o libavcodec/aandcttab.o libavcodec/aasc.o libavcodec/ac3.o libavcodec/ac3_parser.o libavcodec/ac3dec.o libavcodec/ac3dec_data.o libavcodec/ac3enc.o libavcodec/ac3tab.o libavcodec/acelp_filters.o libavcodec/acelp_pitch_delay.o libavcodec/acelp_vectors.o libavcodec/adpcm.o libavcodec/adxdec.o libavcodec/adxenc.o libavcodec/alac.o libavcodec/alacenc.o libavcodec/allcodecs.o libavcodec/alsdec.o libavcodec/amrnbdec.o libavcodec/anm.o libavcodec/apedec.o libavcodec/asv1.o libavcodec/atrac.o libavcodec/atrac1.o libavcodec/atrac3.o libavcodec/audioconvert.o libavcodec/aura.o libavcodec/avfft.o libavcodec/avpacket.o libavcodec/avs.o libavcodec/bethsoftvideo.o libavcodec/bfi.o libavcodec/bgmc.o libavcodec/bink.o libavcodec/binkaudio.o libavcodec/binkidct.o libavcodec/bitstream.o libavcodec/bitstream_filter.o libavcodec/bmp.o libavcodec/bmpenc.o libavcodec/c93.o libavcodec/cabac.o libavcodec/cavs.o libavcodec/cavs_parser.o libavcodec/cavsdec.o libavcodec/cavsdsp.o libavcodec/cdgraphics.o libavcodec/celp_filters.o libavcodec/celp_math.o libavcodec/cga_data.o libavcodec/cinepak.o libavcodec/cljr.o libavcodec/cook.o libavcodec/cscd.o libavcodec/cyuv.o libavcodec/dca.o libavcodec/dca_parser.o libavcodec/dcadsp.o libavcodec/dct.o libavcodec/dirac.o libavcodec/dirac_parser.o libavcodec/dnxhd_parser.o libavcodec/dnxhddata.o libavcodec/dnxhddec.o libavcodec/dnxhdenc.o libavcodec/dpcm.o libavcodec/dpx.o libavcodec/dsicinav.o libavcodec/dsputil.o libavcodec/dump_extradata_bsf.o libavcodec/dv.o libavcodec/dvbsub.o libavcodec/dvbsub_parser.o libavcodec/dvbsubdec.o libavcodec/dvdata.o libavcodec/dvdsub_parser.o libavcodec/dvdsubdec.o libavcodec/dvdsubenc.o libavcodec/dwt.o libavcodec/dxa.o libavcodec/eac3dec.o libavcodec/eac3dec_data.o libavcodec/eacmv.o libavcodec/eaidct.o libavcodec/eamad.o libavcodec/eatgq.o libavcodec/eatgv.o libavcodec/eatqi.o libavcodec/elbg.o libavcodec/error_resilience.o libavcodec/escape124.o libavcodec/eval.o libavcodec/faandct.o libavcodec/faanidct.o libavcodec/faxcompr.o libavcodec/fft.o libavcodec/ffv1.o libavcodec/flac.o libavcodec/flacdata.o libavcodec/flacdec.o libavcodec/flacenc.o libavcodec/flashsv.o libavcodec/flashsvenc.o libavcodec/flicvideo.o libavcodec/flvdec.o libavcodec/flvenc.o libavcodec/fraps.o libavcodec/frwu.o libavcodec/g726.o libavcodec/gif.o libavcodec/gifdec.o libavcodec/golomb.o libavcodec/h261.o libavcodec/h261_parser.o libavcodec/h261dec.o libavcodec/h261enc.o libavcodec/h263.o libavcodec/h263_parser.o libavcodec/h263dec.o libavcodec/h264.o libavcodec/h264_cabac.o libavcodec/h264_cavlc.o libavcodec/h264_direct.o libavcodec/h264_loopfilter.o libavcodec/h264_mp4toannexb_bsf.o libavcodec/h264_parser.o libavcodec/h264_ps.o libavcodec/h264_refs.o libavcodec/h264_sei.o libavcodec/h264dsp.o libavcodec/h264idct.o libavcodec/h264pred.o libavcodec/huffman.o libavcodec/huffyuv.o libavcodec/idcinvideo.o libavcodec/iff.o libavcodec/iirfilter.o libavcodec/imc.o libavcodec/imgconvert.o libavcodec/imx_dump_header_bsf.o libavcodec/indeo2.o libavcodec/indeo3.o libavcodec/indeo5.o libavcodec/intelh263dec.o libavcodec/interplayvideo.o libavcodec/intrax8.o libavcodec/intrax8dsp.o libavcodec/ituh263dec.o libavcodec/ituh263enc.o libavcodec/ivi_common.o libavcodec/ivi_dsp.o libavcodec/jfdctfst.o libavcodec/jfdctint.o libavcodec/jpegls.o libavcodec/jpeglsdec.o libavcodec/jpeglsenc.o libavcodec/jrevdct.o libavcodec/kgv1dec.o libavcodec/kmvc.o libavcodec/lcldec.o libavcodec/lclenc.o libavcodec/libdirac_libschro.o libavcodec/libdiracenc.o libavcodec/libfaac.o libavcodec/libfaad.o libavcodec/libmp3lame.o libavcodec/libschroedinger.o libavcodec/libschroedingerdec.o libavcodec/libschroedingerenc.o libavcodec/libspeexdec.o libavcodec/libtheoraenc.o libavcodec/libvorbis.o libavcodec/libvpxdec.o libavcodec/libvpxenc.o libavcodec/libx264.o libavcodec/libxvid_rc.o libavcodec/libxvidff.o libavcodec/ljpegenc.o libavcodec/loco.o libavcodec/lpc.o libavcodec/lsp.o libavcodec/lzw.o libavcodec/lzwenc.o libavcodec/mace.o libavcodec/mdct.o libavcodec/mdec.o libavcodec/mimic.o libavcodec/mjpeg.o libavcodec/mjpeg_parser.o libavcodec/mjpega_dump_header_bsf.o libavcodec/mjpegbdec.o libavcodec/mjpegdec.o libavcodec/mjpegenc.o libavcodec/mlp.o libavcodec/mlp_parser.o libavcodec/mlpdec.o libavcodec/mlpdsp.o libavcodec/mmvideo.o libavcodec/motion_est.o libavcodec/motionpixels.o libavcodec/movsub_bsf.o libavcodec/mp3_header_compress_bsf.o libavcodec/mp3_header_decompress_bsf.o libavcodec/mpc.o libavcodec/mpc7.o libavcodec/mpc8.o libavcodec/mpeg12.o libavcodec/mpeg12data.o libavcodec/mpeg12enc.o libavcodec/mpeg4audio.o libavcodec/mpeg4video.o libavcodec/mpeg4video_parser.o libavcodec/mpeg4videodec.o libavcodec/mpeg4videoenc.o libavcodec/mpegaudio.o libavcodec/mpegaudio_parser.o libavcodec/mpegaudiodata.o libavcodec/mpegaudiodec.o libavcodec/mpegaudiodecheader.o libavcodec/mpegaudioenc.o libavcodec/mpegvideo.o libavcodec/mpegvideo_enc.o libavcodec/mpegvideo_parser.o libavcodec/mpegvideo_xvmc.o libavcodec/msmpeg4.o libavcodec/msmpeg4data.o libavcodec/msrle.o libavcodec/msrledec.o libavcodec/msvideo1.o libavcodec/nellymoser.o libavcodec/nellymoserdec.o libavcodec/nellymoserenc.o libavcodec/noise_bsf.o libavcodec/nuv.o libavcodec/opt.o libavcodec/options.o libavcodec/pamenc.o libavcodec/parser.o libavcodec/pcm-mpeg.o libavcodec/pcm.o libavcodec/pcx.o libavcodec/pcxenc.o libavcodec/pgssubdec.o libavcodec/png.o libavcodec/pngdec.o libavcodec/pngenc.o libavcodec/pnm.o libavcodec/pnm_parser.o libavcodec/pnmdec.o libavcodec/pnmenc.o libavcodec/psymodel.o libavcodec/pthread.o libavcodec/ptx.o libavcodec/qcelpdec.o libavcodec/qdm2.o libavcodec/qdrw.o libavcodec/qpeg.o libavcodec/qtrle.o libavcodec/qtrleenc.o libavcodec/r210dec.o libavcodec/ra144.o libavcodec/ra288.o libavcodec/rangecoder.o libavcodec/ratecontrol.o libavcodec/raw.o libavcodec/rawdec.o libavcodec/rawenc.o libavcodec/rdft.o libavcodec/remove_extradata_bsf.o libavcodec/resample.o libavcodec/resample2.o libavcodec/rl2.o libavcodec/rle.o libavcodec/roqaudioenc.o libavcodec/roqvideo.o libavcodec/roqvideodec.o libavcodec/roqvideoenc.o libavcodec/rpza.o libavcodec/rtjpeg.o libavcodec/rv10.o libavcodec/rv10enc.o libavcodec/rv20enc.o libavcodec/rv30.o libavcodec/rv30dsp.o libavcodec/rv34.o libavcodec/rv40.o libavcodec/rv40dsp.o libavcodec/s3tc.o libavcodec/sgidec.o libavcodec/sgienc.o libavcodec/shorten.o libavcodec/simple_idct.o libavcodec/sipr.o libavcodec/sipr16k.o libavcodec/smacker.o libavcodec/smc.o libavcodec/snow.o libavcodec/sonic.o libavcodec/sp5xdec.o libavcodec/sunrast.o libavcodec/svq1.o libavcodec/svq1dec.o libavcodec/svq1enc.o libavcodec/svq3.o libavcodec/synth_filter.o libavcodec/targa.o libavcodec/targaenc.o libavcodec/tiertexseqv.o libavcodec/tiff.o libavcodec/tiffenc.o libavcodec/tmv.o libavcodec/truemotion1.o libavcodec/truemotion2.o libavcodec/truespeech.o libavcodec/tscc.o libavcodec/tta.o libavcodec/twinvq.o libavcodec/txd.o libavcodec/ulti.o libavcodec/utils.o libavcodec/v210dec.o libavcodec/v210enc.o libavcodec/v210x.o libavcodec/vb.o libavcodec/vc1.o libavcodec/vc1_parser.o libavcodec/vc1data.o libavcodec/vc1dec.o libavcodec/vc1dsp.o libavcodec/vcr1.o libavcodec/vmdav.o libavcodec/vmnc.o libavcodec/vorbis.o libavcodec/vorbis_data.o libavcodec/vorbis_dec.o libavcodec/vp3.o libavcodec/vp3_parser.o libavcodec/vp3dsp.o libavcodec/vp5.o libavcodec/vp56.o libavcodec/vp56data.o libavcodec/vp56dsp.o libavcodec/vp6.o libavcodec/vp6dsp.o libavcodec/vqavideo.o libavcodec/wavpack.o libavcodec/wma.o libavcodec/wmadec.o libavcodec/wmaenc.o libavcodec/wmaprodec.o libavcodec/wmavoice.o libavcodec/wmv2.o libavcodec/wmv2dec.o libavcodec/wmv2enc.o libavcodec/wnv1.o libavcodec/ws-snd1.o libavcodec/x86/cavsdsp_mmx.o libavcodec/x86/cpuid.o libavcodec/x86/dnxhd_mmx.o libavcodec/x86/dsputil_mmx.o libavcodec/x86/dsputil_yasm.o libavcodec/x86/dsputilenc_mmx.o libavcodec/x86/fdct_mmx.o libavcodec/x86/fft.o libavcodec/x86/fft_3dn.o libavcodec/x86/fft_3dn2.o libavcodec/x86/fft_mmx.o libavcodec/x86/fft_sse.o libavcodec/x86/h264_deblock_sse2.o libavcodec/x86/h264_idct_sse2.o libavcodec/x86/idct_mmx.o libavcodec/x86/idct_mmx_xvid.o libavcodec/x86/idct_sse2_xvid.o libavcodec/x86/lpc_mmx.o libavcodec/x86/mlpdsp.o libavcodec/x86/motion_est_mmx.o libavcodec/x86/mpegvideo_mmx.o libavcodec/x86/simple_idct_mmx.o libavcodec/x86/snowdsp_mmx.o libavcodec/x86/vc1dsp_mmx.o libavcodec/x86/vp3dsp_mmx.o libavcodec/x86/vp3dsp_sse2.o libavcodec/x86/vp6dsp_mmx.o libavcodec/x86/vp6dsp_sse2.o libavcodec/xan.o libavcodec/xiph.o libavcodec/xl.o libavcodec/xsubdec.o libavcodec/xsubenc.o libavcodec/yop.o libavcodec/zmbv.o libavcodec/zmbvenc.o -lavutil -lz -lbz2 -lm -L/opt/local/lib -ldirac_encoder -ldirac_decoder -lstdc++ -L/opt/local/lib -ldirac_encoder -ldirac_decoder -lstdc++ -lfaac -lfaad -lmp3lame -lm -L/opt/local/lib -lschroedinger-1.0 -lpthread -lorc-0.4 -lspeex -ltheoraenc -ltheoradec -logg -lvorbisenc -lvorbis -logg -lvpx -lvpx -lx264 -lm -lxvidcore  
:info:build ld: warning: -read_only_relocs cannot be used with x86_64
:info:build Undefined symbols:
:info:build   "_vp8mt_decode_mb_rows", referenced from:
:info:build       _vp8_decode_frame in libvpx.a(decodframe.c.o)
:info:build   "_vp8mt_alloc_temp_buffers", referenced from:
:info:build       _vp8_decode_frame in libvpx.a(decodframe.c.o)
:info:build   "_vp8_decoder_remove_threads", referenced from:
:info:build       _vp8dx_remove_decompressor in libvpx.a(onyxd_if.c.o)
:info:build       _vp8dx_create_decompressor in libvpx.a(onyxd_if.c.o)
:info:build   "_vp8mt_de_alloc_temp_buffers", referenced from:
:info:build       _vp8dx_remove_decompressor in libvpx.a(onyxd_if.c.o)
:info:build       _vp8dx_create_decompressor in libvpx.a(onyxd_if.c.o)
:info:build   "_vp8_decoder_create_threads", referenced from:
:info:build       _vp8dx_create_decompressor in libvpx.a(onyxd_if.c.o)
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build gmake: *** [libavcodec/libavcodec.52.dylib] Error 1
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.1" && /opt/local/bin/gmake -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for ffmpeg): org.macports.destroot org.macports.build
:notice:build Log for ffmpeg is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/main.log

Change History (7)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: ffmpeg x86_64 removed
Owner: changed from macports-tickets@… to devans@…
Port: ffmpeg added
Summary: can't build ffmpeg on x86_64can't build ffmpeg @0.6.1 on x86_64

Please remember to preview and use WikiFormatting (or better, use an attachment for lengthy output), fill in the Port field, cc the maintainer, and mention the port version in the summary.

comment:2 Changed 14 years ago by kiwi.2008@…

Don't build it in parallel. That fixed the problem for me.

comment:3 in reply to:  2 Changed 14 years ago by peter@…

Replying to kiwi.2008@…:

Don't build it in parallel. That fixed the problem for me.

Hello ....

Thank you for your reply. To the risk of sounding silly, I am not sure what you mean by "don't build in parallel" ... As far as I know, I only had one build running ...

Peter

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

He means try:

sudo port clean ffmpeg
sudo port install ffmpeg build.jobs=1

By default, MacPorts might start multiple build jobs in parallel (unless the portfile says not to, which ffmpeg's currently doesn't say).

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Do you still see a parallel build problem with ffmpeg 0.7.1?

comment:6 Changed 13 years ago by peter@…

Nope. Problem sorted. Thank you very much. Peter

comment:7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

In that case we'll call it fixed.

Note: See TracTickets for help on using tickets.