[MacPorts] #17501: python25 doesn't build universal on Leopard
#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
#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 -----------------------------------+---------------------------------------- Comment(by jeremyhu@…): I have /usr/local/include/libutil.h which is probably part of the problem... -- Ticket URL: <http://trac.macports.org/ticket/17501#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Changes (by jeremyhu@…): * cc: mww (removed) * cc: mww@… (added) -- Ticket URL: <http://trac.macports.org/ticket/17501#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Changes (by jeremyhu@…): * owner: mww => mww@… -- Ticket URL: <http://trac.macports.org/ticket/17501#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Comment(by jeremyhu@…): When I get rid of my /usr/local cruft, it builds more, but then fails because it's using /usr/bin/libtool instead of /opt/local/bin/glibtool /usr/bin/libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/opt/local/lib /usr/bin/libtool: unknown option character `r' in: -arch Usage: /usr/bin/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT] Usage: /usr/bin/libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load] make: *** [libpython2.5.dylib] Error 1 -- Ticket URL: <http://trac.macports.org/ticket/17501#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -----------------------------------+---------------------------------------- Comment(by jmr@…): See also #17306, #16864, #16349, #14923, #13701. -- Ticket URL: <http://trac.macports.org/ticket/17501#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17501: python25 doesn't build universal on Leopard ------------------------------------+--------------------------------------- Reporter: jeremyhu@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: universal Port: python25 | ------------------------------------+--------------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <http://trac.macports.org/ticket/17501#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts