[MacPorts] #30137: ffmpeg: Cannot build in OS X 10.6.8 on 32-bit Mac

MacPorts noreply at macports.org
Sun May 27 09:45:25 PDT 2012


#30137: ffmpeg: Cannot build in OS X 10.6.8 on 32-bit Mac
-----------------------------------+----------------------------------------
  Reporter:  skiskywalker@…        |       Owner:  devans@…           
      Type:  defect                |      Status:  reopened           
  Priority:  Normal                |   Milestone:                     
 Component:  ports                 |     Version:  1.9.2              
Resolution:                        |    Keywords:                     
      Port:  ffmpeg                |  
-----------------------------------+----------------------------------------

Comment(by jeremyhu@…):

 Ok, thanks.

 What variants are you installing with?  I really want to reproduce this.
 I have the latest ffmpeg built with XCode 4.2
 (ffmpeg-0.7.11_1+mmx+universal.darwin_10.i386-x86_64.tbz2).

 Can you please attach the preprocessed source for the failed compile?  To
 do that, change the -c in the command line to a -E, change the -o option
 to '-o ~/Desktop/file.to.attach.cpp' , and get rid of all the -M options.
 As an example the above:

 {{{
 /Developer/usr/bin/clang -I.
 -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_svn_trunk_dports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-0.7.1-i386"
 -I/opt/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64
 -D_LARGEFILE_SOURCE -DPIC -DHAVE_AV_CONFIG_H -pipe -O2 -DHAVE_LRINTF
 -I/opt/local/include -arch i386   -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 -D_GNU_SOURCE=1 -D_THREAD_SAFE
 -I/opt/local/include/SDL -g -Wdeclaration-after-statement -Wall -Wno-
 parentheses -Wno-switch -Wdisabled-optimization -Wpointer-arith
 -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-
 limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -O3 -fno-
 math-errno -fno-signed-zeros -mllvm -stack-alignment=16 -Qunused-arguments
 -MMD -c -o libavcodec/h264_cabac.o libavcodec/h264_cabac.c
 }}}

 would become:
 {{{
 /Developer/usr/bin/clang -I.
 -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_svn_trunk_dports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-0.7.1-i386"
 -I/opt/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64
 -D_LARGEFILE_SOURCE -DPIC -DHAVE_AV_CONFIG_H -pipe -O2 -DHAVE_LRINTF
 -I/opt/local/include -arch i386   -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 -D_GNU_SOURCE=1 -D_THREAD_SAFE
 -I/opt/local/include/SDL -g -Wdeclaration-after-statement -Wall -Wno-
 parentheses -Wno-switch -Wdisabled-optimization -Wpointer-arith
 -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-
 limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -O3 -fno-
 math-errno -fno-signed-zeros -mllvm -stack-alignment=16 -Qunused-arguments
 -E -o ~/Desktop/h264_cabac.pp.c libavcodec/h264_cabac.c
 }}}

 You would need to execute that from the appropriate directory (it looks
 like it's just ${worksrcpath}).

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


More information about the macports-tickets mailing list