[MacPorts] #20808: mplayer-devel fails to build on 10.6

MacPorts noreply at macports.org
Wed Sep 2 19:43:54 PDT 2009


#20808: mplayer-devel fails to build on 10.6
-----------------------------+----------------------------------------------
 Reporter:  andrea@…         |       Owner:  acho@…           
     Type:  defect           |      Status:  new              
 Priority:  Normal           |   Milestone:                   
Component:  ports            |     Version:  1.8.99           
 Keywords:  snowleopard      |        Port:  mplayer-devel    
-----------------------------+----------------------------------------------

Comment(by jonthn+macports@…):

 Ok seems strange but some CFLAGS are given to the configure script.

 {{{
 --->  Configuring mplayer-devel
 DEBUG: Using compiler 'Mac OS X gcc 4.2'
 DEBUG: Executing org.macports.configure (mplayer-devel)
 DEBUG: Environment: CFLAGS='-arch x86_64' CXXFLAGS='-arch x86_64'
 CPATH='/Volumes/medium/jonthn/pristinetree/include'
 LIBRARY_PATH='/Volumes/medium/jonthn/pristinetree/lib'
 MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64'
 OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install -c'
 OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2'
 }}}

 And those '''-arch x86_64''' can be found in config.mak

 {{{
 grep x86_64 work/trunk/config.mak
 CFLAGS = -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-
 after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no-
 pic -falign-loops=16 -shared-libgcc -I.
 -I/Volumes/medium/jonthn/pristinetree/include/lzo
 -I/Volumes/medium/jonthn/pristinetree/include  -I/usr/X11/include
 OPTFLAGS = -Wundef -Wdisabled-optimization -Wno-pointer-sign
 -Wdeclaration-after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no-
 pic -falign-loops=16 -shared-libgcc -I.
 -I/Volumes/medium/jonthn/pristinetree/include/lzo
 -I/Volumes/medium/jonthn/pristinetree/include  -I/usr/X11/include
 CXXFLAGS =  -Wundef -Wdisabled-optimization -Wno-pointer-sign
 -Wdeclaration-after-statement -std=gnu99 -arch x86_64 -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D__STDC_LIMIT_MACROS
 -Ilibdvdread4 -mdynamic-no-pic -falign-loops=16 -shared-libgcc -I.
 -I/Volumes/medium/jonthn/pristinetree/include/lzo
 -I/Volumes/medium/jonthn/pristinetree/include  -I/usr/X11/include
 }}}

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


More information about the macports-tickets mailing list