[MacPorts] #41568: boost @1.55.0: patch phase fails with python3x variants

MacPorts noreply at macports.org
Wed Nov 27 10:58:59 PST 2013


#41568: boost @1.55.0: patch phase fails with python3x variants
--------------------------+--------------------------------
  Reporter:  tamyrvoll@…  |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.2.1
Resolution:               |   Keywords:
      Port:  boost        |
--------------------------+--------------------------------

Comment (by mmoll@…):

 That's weird. If I remove the patch, destroy and install work fine for me
 (on Mavericks with latest Xcode). Does mpi.so exist anywhere in your build
 directory?

 I did notice some small unrelated problem. In python3 the import statement
 has changed. The following one-line change is necessary for
 boost+python3X:
 {{{
 --- libs/mpi/build/__init__.py.orig     2013-11-27 12:52:37.000000000
 -0600
 +++ libs/mpi/build/__init__.py  2013-11-27 12:52:55.000000000 -0600
 @@ -6,5 +6,5 @@
      import mpi
      sys.setdlopenflags(flags)
  else:
 -    import mpi
 +    from . import mpi
 }}}

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


More information about the macports-tickets mailing list