Opened 14 years ago

Closed 13 years ago

#29384 closed defect (fixed)

ffmpeg @0.6.2 fails to build

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

Description

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.

Attachments (1)

main.log (631.8 KB) - added by brentk@… 14 years ago.

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by brentk@…

Attachment: main.log added

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to devans@…

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

Possibly a duplicate of #25926.

comment:3 Changed 13 years ago by daitakahashi

I posted a patch on #25926. Could you test if it solves your problem?

comment:4 Changed 13 years ago by brentk@…

That fixed it -- thanks!

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

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.