[MacPorts] #17501: python25 doesn't build universal on Leopard

MacPorts noreply at macports.org
Wed Dec 3 12:26:05 PST 2008


#17501: python25 doesn't build universal on Leopard
-----------------------------------+----------------------------------------
 Reporter:  jeremyhu@…             |       Owner:  mww      
     Type:  defect                 |      Status:  new      
 Priority:  Normal                 |   Milestone:  Port Bugs
Component:  ports                  |     Version:  1.6.0    
 Keywords:  universal              |        Port:  python25 
-----------------------------------+----------------------------------------
 This takes care of configure using the right SDK:

 {{{
 Index: Portfile
 ===================================================================
 --- Portfile    (revision 42954)
 +++ Portfile    (working copy)
 @@ -137,7 +137,7 @@
  }

  variant universal {
 -        configure.args-append           --enable-universalsdk
 +        configure.args-append           --enable-
 universalsdk=${universal_sysroot}
  }

  livecheck.check         regex

 }}}

 ---

 But then we get this:
 {{{
 /usr/bin/gcc-4.0 -arch ppc -arch i386 -isysroot
 /Developer/SDKs/MacOSX10.5.sdk  -fno-strict-aliasing -Wno-long-double -no-
 cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -fwrapv -O3
 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include -I/opt/local/include
 -D__DARWIN_UNIX03  -DPy_BUILD_CORE  -c ./Modules/posixmodule.c -o
 Modules/posixmodule.o
 ./Modules/posixmodule.c:3493:21: error: libutil.h: No such file or
 directory
 ./Modules/posixmodule.c: In function 'posix_openpty':
 ./Modules/posixmodule.c:3521: warning: implicit declaration of function
 'openpty'
 ./Modules/posixmodule.c: In function 'posix_forkpty':
 ./Modules/posixmodule.c:3579: warning: implicit declaration of function
 'forkpty'
 ./Modules/posixmodule.c:3493:21: error: libutil.h: No such file or
 directory
 ./Modules/posixmodule.c: In function 'posix_openpty':
 ./Modules/posixmodule.c:3521: warning: implicit declaration of function
 'openpty'
 ./Modules/posixmodule.c: In function 'posix_forkpty':
 ./Modules/posixmodule.c:3579: warning: implicit declaration of function
 'forkpty'
 }}}

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


More information about the macports-tickets mailing list