[MacPorts] #17306: Python25 won't build universal i386 + x86_64 binaries on Leopard
#17306: Python25 won't build universal i386 + x86_64 binaries on Leopard ---------------------------+------------------------------------------------ Reporter: 10.50@free.fr | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: ---------------------------+------------------------------------------------ The Python25 build script is outdated for Leopard. It references a wrong SDK (10.4 instead of 10.5) and does not seem to build x86_64 binaries, just 32bit archs. This is a bug in the config and config.in scripts. Then, there are several other issues, most notably with SIZEOF_LONG being fixed to 4 in python.h whereas it is 8 for x86_64 archs. Python26 builds fine, but then it is impossible to build any py-* or py25-* extensions because of hardcoded dependencies (wrong PortGroup at least). Is it possible either to upgrade py25 packages to py26 or to correct the python25 package in order for it to build universal Intel files on Leopard? Thanks. -- Ticket URL: <http://trac.macports.org/ticket/17306> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17306: Python25 won't build universal i386 + x86_64 binaries on Leopard ----------------------------+----------------------------------------------- Reporter: 10.50@free.fr | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: python25 | ----------------------------+----------------------------------------------- Changes (by macsforever2000@macports.org): * owner: macports-tickets@lists.macosforge.org => mww@macports.org * port: => python25 Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macports.org/ticket/17306#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17306: Python25 won't build universal i386 + x86_64 binaries on Leopard ----------------------------+----------------------------------------------- Reporter: 10.50@free.fr | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: python25 | ----------------------------+----------------------------------------------- Comment(by 10.50@free.fr): Got it. There is a QuickTime dependency in python25 (in the mactoolboxglue.[hc]) file and the QuickTime.h header states clearly that QT is not available to 64-bit clients. Thus, either one disables QuickTime support in python25 (which can seem reasonnable after all), or ports must duplicate py25-* to py26-* (which is mostly a minor rewrite of most modules) in order to retain compatibility with python 2 API and provide a 64-bit python binary. That's Leopard: one foot in 32, one foot in 64, and what's inbetween? ;) -- Ticket URL: <http://trac.macports.org/ticket/17306#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17306: Python25 won't build universal i386 + x86_64 binaries on Leopard ----------------------------+----------------------------------------------- Reporter: 10.50@free.fr | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: python25 | ----------------------------+----------------------------------------------- Comment(by 10.50@free.fr): As far as I can tell, the python26 and 25 mactoolboxglue are similar, except that the python26 ones are properly enclosed in #ifndef --LP64-- where needed. Maybe it would be worth backporting those 26 files on 25 and see what's happening? Or maybe ask upstream if this is sensible? -- Ticket URL: <http://trac.macports.org/ticket/17306#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17306: Python25 won't build universal i386 + x86_64 binaries on Leopard ---------------------------+------------------------------------------------ Reporter: 10.50@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | Port: python25 ---------------------------+------------------------------------------------ Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: On Snow Leopard, I like to build all ports x86_64/i386 universal. This bug prevents me from doing this with python25. This prevents me from building other ports this way which depend on python25. -- Ticket URL: <http://trac.macports.org/ticket/17306#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17306: Python25 won't build universal i386 + x86_64 binaries on Leopard ----------------------------+----------------------------------------------- Reporter: 10.50@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: duplicate | Keywords: Port: python25 | ----------------------------+----------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => duplicate Comment: We'll track this in #21248. -- Ticket URL: <http://trac.macports.org/ticket/17306#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts