#31444: MacPorts Python decimal module broken; Python installed from source works correctly ---------------------------------+------------------------------------------ Reporter: josharian@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: python27 ---------------------------------+------------------------------------------ Comment(by josharian@…):
What's the result from running {{{port -v installed python27}}}? The decimal.py doctest works fine for me on 10.6.8, 64bit, no +universal...
{{{ $ port -v installed python27 The following ports are currently installed: python27 @2.7.1_3 platform='darwin 10' archs='x86_64' python27 @2.7.2_1 (active) platform='darwin 10' archs='x86_64' }}}
Hmm, I note your MacPorts python says {{{ Python 2.7.2 (default, Sep 13 2011, 13:20:34) [GCC 4.2.1 Compatible Apple Clang 3.0 (tags/Apple/clang-211.9)] on darwin }}} Are you using Xcode 4? I still use 3.2.6, perhaps that could be it?
I am indeed using Xcode 4; that could definitely be it. Apple's made a *bunch* of compiler changes recently -- clang front-end, LLVM backend, etc. I also have the gcc port installed (gcc44 @4.4.6_0+universal). If there's a good way to do so, I'd be happy to try reinstalling the Python port with different compilers, to try to narrow it down. Any pointers?
Also FYI, Cc (and assigned) need full email addresses (use {{{port info <portname>}}}).
Oops! Thanks. I just saw jwa in the Portfile and hoped that was enough. :) -- Ticket URL: <https://trac.macports.org/ticket/31444#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS