[MacPorts] #20938: ffmpeg/ffmpeg-devel fails to build on 10.6

MacPorts noreply at macports.org
Sat Sep 12 09:33:54 PDT 2009


#20938: ffmpeg/ffmpeg-devel fails to build on 10.6
-------------------------------+--------------------------------------------
 Reporter:  gonhidi@…          |       Owner:  devans@…           
     Type:  defect             |      Status:  assigned           
 Priority:  Normal             |   Milestone:                     
Component:  ports              |     Version:  1.8.0              
 Keywords:  snow-leopard       |        Port:  ffmpeg ffmpeg-devel
-------------------------------+--------------------------------------------

Comment(by gonhidi@…):

 Replying to [comment:25 devans@…]:
 > That's r57508 for ffmpeg.
 >
 > Here's one more patch specifically for sl i386 that tests whether using
 gcc-4.0 will fix mmx for
 > that arch as well.  Apply to the updated Portfile after the previous
 patches are applied.
 >
 > Please test and let me know if this works.

 I am afraid it doesn't. GCC 4.0 is apparently selected but is later
 overriden so it is 4.2 that is finally used. Here's what I believe to be
 the relevant debug output:
 {{{
 DEBUG: Using compiler 'Mac OS X gcc 4.0'
 DEBUG: Executing proc-pre-org.macports.configure-configure-0
 DEBUG: Executing org.macports.configure (ffmpeg)
 DEBUG: Environment: CFLAGS='-O2 -DHAVE_LRINTF -I/opt/local/include -arch
 i386' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch i386'
 MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2 -m32'
 LDFLAGS='-L/opt/local/lib' OBJC='/usr/bin/gcc-4.0' FCFLAGS='-O2 -m32'
 INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch i386' FFLAGS='-O2 -m32'
 CC='/usr/bin/gcc-4.0'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.5"
 && ./configure --prefix=/opt/local --disable-vhook --enable-gpl --enable-
 postproc --enable-swscale --enable-avfilter --enable-avfilter-lavf
 --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-
 libdirac --enable-libschroedinger --enable-libfaac --enable-libfaad
 --enable-libxvid --enable-libx264 --mandir=/opt/local/share/man --enable-
 shared --enable-pthreads --cc=/usr/bin/gcc-4.2 --arch=i386'
 install prefix            /opt/local
 source path
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.5
 C compiler                /usr/bin/gcc-4.2
 }}}

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


More information about the macports-tickets mailing list