[MacPorts] #50312: task @2.5.0_0: error: no type named 'shared_ptr' in namespace 'std'

MacPorts noreply at macports.org
Thu Apr 1 22:16:04 UTC 2021


#50312: task @2.5.0_0: error: no type named 'shared_ptr' in namespace 'std'
-------------------------+-------------------------------------------------
  Reporter:  harciga     |      Owner:  ryandesign
      Type:  defect      |     Status:  accepted
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.4
Resolution:              |   Keywords:  lion mountainlion mavericks
      Port:  task        |  yosemite elcapitan sierra
-------------------------+-------------------------------------------------
Changes (by ryandesign):

 * keywords:   => lion mountainlion mavericks yosemite elcapitan sierra
 * status:  new => accepted
 * owner:  macports-tickets@… => ryandesign


Comment:

 Replying to [comment:2 ryandesign]:
 > Looks like this upstream bug:
 !https://bug.tasktools.org/browse/TW-1737?jql=text%20~%20%22shared_ptr%22

 That domain is now owned by someone else. The new URL for this bug report
 is: https://github.com/GothenburgBitFactory/taskwarrior/issues/1761

 Replying to [comment:5 ryandesign]:
 > If this requires C++11, 10.8 and earlier shouldn't be blacklisted;
 rather, the cxx11 1.0 portgroup should be used, which will explain the
 situation to the user.

 Their readme indicates that
 [https://github.com/GothenburgBitFactory/taskwarrior/commit/06521a1b55193883f951388d0ccd3e82d1590f78
 C++14 is required now]. These days, the fix would be to indicate
 `compiler.cxx_standard 2014`. We have successful builds on 10.6 (where we
 use a newer MacPorts clang that defaults to a newer C++ standard) and on
 10.13 and up, and failures on 10.7-10.12, making it likely that just
 adding that line will fix the problem.

-- 
Ticket URL: <https://trac.macports.org/ticket/50312#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list