[MacPorts] #42929: Error building python3.4

MacPorts noreply at macports.org
Mon Mar 24 12:19:04 PDT 2014


#42929: Error building python3.4
-----------------------+-------------------
  Reporter:  andy47@…  |      Owner:  jwa@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.2.1
Resolution:            |   Keywords:
      Port:  python34  |
-----------------------+-------------------

Comment (by nad@…):

 As a followup, with access once again to 10.7, I was able to confirm that
 the build failure is seen on a plain, non-MacPorts source build of Python
 3.4.0 when using Apple llvm-gcc:


 {{{
 ./configure CC=/usr/bin/llvm-gcc-4.2 && make
 ...
   File "<frozen importlib._bootstrap>", line 672, in _code_to_bytecode
 ValueError: unmarshallable object
 make: *** [pybuilddir.txt] Segmentation fault: 11
 }}}

 and builds correctly and tests pass as expected with clang (both from the
 most recent Xcode 4 for 10.7) :


 {{{
 ./configure CC=/usr/bin/clang && make

 $ sw_vers
 ProductName:    Mac OS X
 ProductVersion: 10.7.5
 BuildVersion:   11G63
 $ xcodebuild -version
 Xcode 4.6.3
 Build version 4H1503
 $ /usr/bin/llvm-gcc-4.2 --version
 i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
 5658) (LLVM build 2336.11.00)
 Copyright (C) 2007 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.
 $ /usr/bin/clang --version
 Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
 Target: x86_64-apple-darwin11.4.2
 Thread model: posix
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/42929#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list