[MacPorts] #21444: boost with +python26 links against wrong python on Snow Leopard

MacPorts noreply at macports.org
Sun Feb 21 17:46:07 PST 2010


#21444: boost with +python26 links against wrong python on Snow Leopard
---------------------------------+------------------------------------------
  Reporter:  stromnov@…          |       Owner:  nox@…           
      Type:  defect              |      Status:  reopened        
  Priority:  Normal              |   Milestone:                  
 Component:  ports               |     Version:  1.8.0           
Resolution:                      |    Keywords:                  
      Port:  boost               |  
---------------------------------+------------------------------------------
Changes (by adfernandes@…):

  * status:  closed => reopened
  * resolution:  worksforme =>


Comment:

 Hmm. Okay - I do '''not''' have `python-select` installed, was just bitten
 by this bug. It affects both the `openmpi` and `python26` variants since
 the former can add support for the latter.

 For the record, I have a vanilla ` python26 @2.6.4_0+darwin` with no
 variants installed, and `boost @1.42.0_1+icu+openmpi+python26` on 10.6. (I
 noticed that it also affected `boost @1.41.0` but did not have time to
 track it down.)

 I added the above [attachment:ticket:21444:Portfile.diff Portfile.diff]
 patchfile, and it resolved the problem. I further noticed that the
 `python26` port does not have any variants with respect to being built
 only as a Framework... so does it make sense to worry about it?

 My $0.02 is that on a vanilla config, `boost` was being built incorrectly
 (linking the wrong python library), and even though I personally think it
 is a `Jamfile` bug, this was painful for me to track down.

 For me, the bug is definitely reproducible!

-- 
Ticket URL: <http://trac.macports.org/ticket/21444#comment:41>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list