[MacPorts] #38298: Boost 1.53 Upgrade Failed: error: "platform not supported"
MacPorts
noreply at macports.org
Thu Mar 7 04:50:20 PST 2013
#38298: Boost 1.53 Upgrade Failed: error: "platform not supported"
--------------------------+---------------------------
Reporter: michaelld@… | Owner: adfernandes@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: boost |
--------------------------+---------------------------
Comment (by michaelld@…):
Looks like what happened was a change in how the context module works
between 1.52 and 1.53. In 1.52, context was provided both via cpp and asm;
the asm version wasn't used when doing +universal on darwin because the
"address-model" (being "32_64" [both 32 and 64 bit pointer sizes]) has no
target associated with it (all of the targets are either 32 or 64) in the
context's Jamfile.v2; the debug log shows Jam's output about this issue:
"error: No best alternative for libs/context/build/asm_context_sources",
and then reverting back to the cpp code.
In 1.53, there is just asm code, no cpp; hence, if there is no match in
the Jamfile then nothing can be compiled because there is no backup cpp to
revert to. The Jam script, as before, provides only 32 or 64 builds, no
32_64. Further, the toolset was changed from "gcc" to "darwin" between
1.52 and 1.53, which I think is heading in the correct direction but not
quite there (though I haven't quite figured out the exact toolset being
used).
I see 2 primary choices: (1) disable context, as per an above comment. (2)
use the muniversal portgroup, compile separately as 32 and 64, then merge
any binaries; hope that none of the other installed files are 32 or 64
specific.
--
Ticket URL: <https://trac.macports.org/ticket/38298#comment:20>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list