Opened 10 years ago

Closed 10 years ago

#41998 closed update (fixed)

yaml-cpp @0.5.1 version update

Reported by: patrick@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: haspatch Cc: jbeder@…, sean@…
Port: yaml-cpp

Description

This is a Portfile patch to update yaml-cpp to the latest version 0.5.1 (see https://code.google.com/p/yaml-cpp/). CC'd the original author.

Attachments (2)

Portfile_yaml-cpp.diff (1023 bytes) - added by patrick@… 10 years ago.
main.log (34.5 KB) - added by mf2k (Frank Schima) 10 years ago.

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by patrick@…

Attachment: Portfile_yaml-cpp.diff added

Changed 10 years ago by mf2k (Frank Schima)

Attachment: main.log added

comment:1 Changed 10 years ago by mf2k (Frank Schima)

I'm seeing the following error when I attempt to install this on 10.9.1. Full main.log attached.

:info:build /usr/bin/clang++    -pipe -Os -I/opt/local/include -arch x86_64 -stdlib=libc++  -DNDEBUG -arch x86_64 -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_yaml-cpp/yaml-cpp/work/yaml-cpp-0.5.1/src -I/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_yaml-cpp/yaml-cpp/work/yaml-cpp-0.5.1/include -I/opt/local/include    -o CMakeFiles/yaml-cpp.dir/src/memory.cpp.o -c /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_yaml-cpp/yaml-cpp/work/yaml-cpp-0.5.1/src/memory.cpp
:info:build In file included from /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_yaml-cpp/yaml-cpp/work/yaml-cpp-0.5.1/src/memory.cpp:2:
:info:build In file included from /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_yaml-cpp/yaml-cpp/work/yaml-cpp-0.5.1/include/yaml-cpp/node/detail/node.h:12:
:info:build In file included from /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_yaml-cpp/yaml-cpp/work/yaml-cpp-0.5.1/include/yaml-cpp/node/detail/node_ref.h:12:
:info:build /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_yaml-cpp/yaml-cpp/work/yaml-cpp-0.5.1/include/yaml-cpp/node/detail/node_data.h:88:16: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
:info:build                         std::string m_tag;
:info:build                                     ^
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:187:28: note: template is declared here
:info:build     class _LIBCPP_TYPE_VIS basic_string;
:info:build                            ^
:info:build In file included from /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_yaml-cpp/yaml-cpp/work/yaml-cpp-0.5.1/src/memory.cpp:2:
:info:build In file included from /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_yaml-cpp/yaml-cpp/work/yaml-cpp-0.5.1/include/yaml-cpp/node/detail/node.h:12:
:info:build In file included from /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_yaml-cpp/yaml-cpp/work/yaml-cpp-0.5.1/include/yaml-cpp/node/detail/node_ref.h:12:
:info:build /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_yaml-cpp/yaml-cpp/work/yaml-cpp-0.5.1/include/yaml-cpp/node/detail/node_data.h:91:16: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
:info:build                         std::string m_scalar;
:info:build                                     ^
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:187:28: note: template is declared here
:info:build     class _LIBCPP_TYPE_VIS basic_string;
:info:build                            ^
:info:build /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_mports_trunk_dports_devel_yaml-cpp/yaml-cpp/work/yaml-cpp-0.5.1/CMakeFiles 21
:info:build 2 errors generated.

comment:2 Changed 10 years ago by jbeder@…

I filed a bug (https://code.google.com/p/yaml-cpp/issues/detail?id=234) on the project page, and I'll try to take a look soon.

comment:3 Changed 10 years ago by sean@…

Cc: sean@… added

Cc Me!

comment:4 Changed 10 years ago by sean@…

Also, note that that the port is missing Boost as a dependency.

comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks.

comment:6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

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