[MacPorts] #55301: openvrml @0.18.9_4: error: no member named 'check_is_close' in namespace 'boost::test_tools'

MacPorts noreply at macports.org
Mon Nov 13 18:47:54 UTC 2017


#55301: openvrml @0.18.9_4: error: no member named 'check_is_close' in namespace
'boost::test_tools'
-----------------------+------------------------
  Reporter:  tehcog    |      Owner:  raphael-st
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:
      Port:  openvrml  |
-----------------------+------------------------

Comment (by raphael-st):

 Replying to [comment:1 ryandesign]:
 > The log says:
 >
 > {{{
 > :info:build In file included from libopenvrml/openvrml/basetypes.cpp:23:
 > :info:build In file included from
 libopenvrml/openvrml/x3d_vrml_grammar.h:24:
 > :info:build ../src/libopenvrml/openvrml/vrml97_grammar.h:425:42: error:
 no member named 'check_is_close' in namespace 'boost::test_tools'
 > :info:build                 using boost::test_tools::check_is_close;
 > :info:build                       ~~~~~~~~~~~~~~~~~~~^
 > :info:build ../src/libopenvrml/openvrml/vrml97_grammar.h:426:23: error:
 no member named 'percent_tolerance' in namespace 'boost::test_tools'; did
 you mean 'boost::math::fpc::percent_tolerance'?
 > :info:build                 using boost::test_tools::percent_tolerance;
 > :info:build                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 > :info:build                       boost::math::fpc::percent_tolerance
 > :info:build
 /opt/local/include/boost/test/tools/floating_point_comparison.hpp:107:1:
 note: 'boost::math::fpc::percent_tolerance' declared here
 > :info:build percent_tolerance( FPT v )
 > :info:build ^
 > }}}
 >
 > This is probably because we just updated boost from 1.59.0 to 1.65.1 and
 this version of openvrml is probably not compatible with that version of
 boost.

 Yes, [attachment:patch-vrml97_grammar.h.diff this patch] seems to solve
 this problem, but now I get

 {{{
 In file included from libopenvrml/openvrml/local/uri.cpp:21:
 In file included from libopenvrml/openvrml/local/uri.h:26:
 In file included from
 /opt/local/include/boost/spirit/include/phoenix1.hpp:11:
 In file included from
 /opt/local/include/boost/spirit/home/classic/phoenix.hpp:18:
 /opt/local/include/boost/spirit/home/classic/phoenix/special_ops.hpp:62:48:
 error: no member named 'complex' in namespace 'std'
 template <typename T> struct rank<PHOENIX_STD::complex<T> >
                                   ~~~~~~~~~~~~~^
 /opt/local/include/boost/spirit/home/classic/phoenix/special_ops.hpp:62:56:
 error: 'T' does not refer to a value
 template <typename T> struct rank<PHOENIX_STD::complex<T> >
                                                        ^
 /opt/local/include/boost/spirit/home/classic/phoenix/special_ops.hpp:62:20:
 note: declared here
 template <typename T> struct rank<PHOENIX_STD::complex<T> >
                    ^
 }}}

 > I don't see a newer version of openvrml on their web site. Maybe report
 the bug to them?

 I'll report the bug upstream.

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


More information about the macports-tickets mailing list