[MacPorts] #24899: mcpp: universal variant fails on Snow Leopard

MacPorts noreply at macports.org
Sat May 15 16:23:21 PDT 2010


#24899: mcpp: universal variant fails on Snow Leopard
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  blair@…           
     Type:  defect                   |      Status:  new               
 Priority:  Normal                   |   Milestone:                    
Component:  ports                    |     Version:  1.8.2             
 Keywords:                           |        Port:  mcpp              
-------------------------------------+--------------------------------------
 mcpp's universal variant fails on Snow Leopard:

 {{{
 DEBUG: Executing org.macports.build (mcpp)
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_devel_mcpp/work/mcpp-2.7.2"
 && /usr/bin/nice -n 10 /usr/bin/make -j1 all CFLAGS+='-isysroot
 /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch i386 -arch
 ppc''
 Making all in src
 /usr/bin/make  all-am
 /bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I.   -I/opt/local/include  -isysroot
 /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch i386 -arch
 ppc -c -o support.lo support.c
  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I/opt/local/include -isysroot
 /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch i386 -arch
 ppc -c support.c  -fno-common -DPIC -o .libs/support.o
 In file included from support.c:306:
 /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error:
 stdarg.h: No such file or directory
 }}}

 Looking in the portfile, it's hardcoded to use the 10.4u SDK and the i386
 and ppc architectures! This is not going to work on Snow Leopard. MacPorts
 provides a slew of variables pre-defined with all the values you need to
 build universal on the currently-running version of Mac OS X. Please use
 these instead of hardcoding.

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


More information about the macports-tickets mailing list