[MacPorts] #29384: ffmpeg @0.6.2 fails to build

MacPorts noreply at macports.org
Fri May 6 10:52:12 PDT 2011


#29384: ffmpeg @0.6.2 fails to build
----------------------------+-----------------------------------------------
 Reporter:  brentk@…        |       Owner:  macports-tickets@…                   
     Type:  defect          |      Status:  new                                  
 Priority:  Normal          |   Milestone:                                       
Component:  ports           |     Version:  1.9.2                                
 Keywords:                  |        Port:  ffmpeg                               
----------------------------+-----------------------------------------------
 ffmpeg fails to build on x86_64 with macports 1.92.

 Build log attached.

 {{{
 bash-3.2# uname -av
 … 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:16:10 PST 2011;
 root:xnu-1504.9.37~1/RELEASE_X86_64 x86_64

 bash-3.2# port -v selfupdate
 ...
 --->  MacPorts base is already the latest version


 bash-3.2# port -v install ffmpeg build.jobs=1
 …

 /usr/bin/gcc-4.2 -I.
 -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.2"
 -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DHAVE_AV_CONFIG_H -pipe
 -O2 -DHAVE_LRINTF -I/opt/local/include -arch x86_64   -std=c99 -fomit-
 frame-pointer -fPIC -I/opt/local/include/dirac
 -I/opt/local/include/schroedinger-1.0 -I/opt/local/include/orc-0.4 -g
 -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
 -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-
 strings -Wundef -Wmissing-prototypes -O3 -fno-math-errno -fno-tree-
 vectorize -Werror=implicit -Werror=missing-prototypes          -MMD -MF
 libavutil/utils.d -MT libavutil/utils.o -c -o libavutil/utils.o
 libavutil/utils.c
 sed 's/$MAJOR/50/' libavutil/libavutil.v > libavutil/libavutil.ver
 /usr/bin/gcc-4.2 -dynamiclib -Wl,-single_module
 -Wl,-install_name,/opt/local/lib/libavutil.dylib,-current_version,50.15.1,-compatibility_version,50
 -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.2"/libavcodec
 -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.2"/libavdevice
 -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.2"/libavfilter
 -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.2"/libavformat
 -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.2"/libavutil
 -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.2"/libpostproc
 -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.2"/libswscale
 -Wl,-dynamic,-search_paths_first -L/opt/local/lib -arch x86_64 -o
 libavutil/libavutil.50.dylib libavutil/adler32.o libavutil/aes.o
 libavutil/avstring.o libavutil/base64.o libavutil/crc.o libavutil/des.o
 libavutil/error.o libavutil/fifo.o libavutil/intfloat_readwrite.o
 libavutil/lfg.o libavutil/lls.o libavutil/log.o libavutil/lzo.o
 libavutil/mathematics.o libavutil/md5.o libavutil/mem.o
 libavutil/pixdesc.o libavutil/random_seed.o libavutil/rational.o
 libavutil/rc4.o libavutil/sha.o libavutil/tree.o libavutil/utils.o
 -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.2"/libavutil
 -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 -lspeex
 -ltheoraenc -ltheoradec -logg -lvorbisenc -lvorbis -logg -lvpx -lvpx
 -lx264 -lm -lxvidcore
 ld: library not found for -lavutil
 collect2: ld returned 1 exit status
 gmake: *** [libavutil/libavutil.50.dylib] Error 1
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.6.2"
 && /opt/local/bin/gmake all " returned error 2
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Warning: the following items did not execute (for ffmpeg):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Log for ffmpeg is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/main.log
 Error: Status 1 encountered during processing.

 }}}

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


More information about the macports-tickets mailing list