Opened 3 years ago

Closed 3 years ago

#62723 closed defect (invalid)

openimageio 2.1.17.0: build failure

Reported by: mascguy (Christopher Nielsen) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: openimageio

Description

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.

Attachments (1)

log-openimageio-macos-10.13.txt.gz (33.6 KB) - added by mascguy (Christopher Nielsen) 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by mascguy (Christopher Nielsen)

comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)

Sorry folks, this was a problem with my local MacPorts setup, preventing the latest portfile from being pulled.

This ticket can be closed.

comment:2 Changed 3 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Glad to hear it is working.

comment:3 Changed 3 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.