[MacPorts] #62723: openimageio 2.1.17.0: build failure

MacPorts noreply at macports.org
Wed Apr 21 16:55:59 UTC 2021


#62723: openimageio 2.1.17.0: build failure
---------------------+---------------------------------
 Reporter:  mascguy  |      Owner:  MarcusCalhoun-Lopez
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  openimageio
---------------------+---------------------------------
 When upgrading `openimageio` on MacOS 10.13 with XCode 10.1, I'm seeing
 build errors similar to the following:

 {{{
 :info:build In file included from
 /opt/local/var/macports/build/_opt_macports_sources_ports_enabled_graphics_openimageio/openimage
 io/work/oiio-Release-2.1.17.0/src/openvdb.imageio/openvdbinput.cpp:15:
 :info:build In file included from /opt/local/include/openvdb/openvdb.h:8:
 :info:build In file included from /opt/local/include/openvdb/Types.h:11:
 :info:build /opt/local/include/openvdb/math/Math.h:79:8: error: 'auto'
 return without trailing return type; deduced return types a
 re a C++14 extension
 :info:build inline auto cwiseAdd(const Type1& v, const Type2 s)
 :info:build        ^
 :info:build In file included from
 /opt/local/var/macports/build/_opt_macports_sources_ports_enabled_graphics_openimageio/openimageio/work
 /oiio-Release-2.1.17.0/src/openvdb.imageio/openvdbinput.cpp:16:
 :info:build In file included from
 /opt/local/include/openvdb/tools/Dense.h:17:
 :info:build In file included from
 /opt/local/include/openvdb/tools/Prune.h:15:
 :info:build /opt/local/include/openvdb/tree/NodeManager.h:364:26: error:
 no template named 'make_unique' in namespace 'std'; did you mean
 'tbb::internal::make_unique'?
 :info:build             :
 mNodeOpPtr(std::make_unique<NodeOp>(*(other.mNodeOp), tbb::split()))
 :info:build                          ^~~~~
 :info:build /opt/local/include/tbb/internal/../tbb_stddef.h:464:24: note:
 'tbb::internal::make_unique' declared here
 :info:build     std::unique_ptr<T> make_unique(Args&&... args) {
 :info:build                        ^
 }}}

 Does the portfile simply need to specify the C++ standard as 2014 or
 2017...?

 Full logs attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/62723>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list