[MacPorts] #49867: py-bob-core: build fails on 10.8, fatal error: 'type_traits' file not found

MacPorts noreply at macports.org
Tue Dec 15 07:58:03 PST 2015


#49867: py-bob-core: build fails on 10.8, fatal error: 'type_traits' file not found
--------------------------+-----------------------------
  Reporter:  devans@…     |      Owner:  tiago.pereira@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  py-bob-core  |
--------------------------+-----------------------------

Comment (by devans@…):

 Yes, I'm familiar with this. This work around works for the libvisio case,
 but really doesn't address the root cause of the problem so one should be
 careful using it.

 In the update of boost to version 1.59.0, the order of header inclusion
 internal to several boost libraries was reordered in such a way as to
 cause the inclusion of <type_traits> to be asserted unconditionally
 breaking compatibility with libstdc++.  I need to review my notes, but as
 I remember, boost.move was a particular case in point.  In the libvisio
 case, the workaround works because the code never actually uses any of the
 boost libraries, it just uses boost header files for their definitions and
 nothing from <type_traits>.

 The better solution would be for the boost developers to address this
 issue in their code but I haven't seen any fixes upstream yet.  Need to
 check again and see if anything has happened in that department.

 The work around may work for you but it also may cause some problems
 depending on which boost libraries are being used and what the effect of
 disabling the <type_traits> inclusion is for you.  So I'm guessing that
 using this will probably allow your code to compile but could possibly be
 problematic at run time.

 I will test the build on 10.8 locally and report back but I don't know
 enough about bob at this point to be able to test it in a run time
 setting. Can you recommend a test case or cases that might be appropriate?

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


More information about the macports-tickets mailing list