Opened 6 years ago

Last modified 2 weeks ago

#55301 accepted defect

openvrml @0.18.9_4: error: no member named 'check_is_close' in namespace 'boost::test_tools'

Reported by: tehcog (tehcog) Owned by: raphael-st (Raphael Straub)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc: cooljeanius (Eric Gallager)
Port: openvrml

Description

see attached log

Attachments (2)

main.log (177.9 KB) - added by tehcog (tehcog) 6 years ago.
main.log
patch-vrml97_grammar.h.diff (884 bytes) - added by raphael-st (Raphael Straub) 6 years ago.

Download all attachments as: .zip

Change History (10)

Changed 6 years ago by tehcog (tehcog)

Attachment: main.log added

main.log

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

Keywords: Mavericks removed
Summary: openvrml @0.18.9_4 fails to build - Mavericksopenvrml @0.18.9_4: error: no member named 'check_is_close' in namespace 'boost::test_tools'

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.

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

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Cc: raphael removed
Owner: set to raphael@…
Status: newassigned

Trac requires complete email addresses or Github handles.

Changed 6 years ago by raphael-st (Raphael Straub)

Attachment: patch-vrml97_grammar.h.diff added

comment:3 in reply to:  1 ; Changed 6 years ago by raphael-st (Raphael Straub)

Replying to 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, 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.

comment:4 Changed 6 years ago by raphael-st (Raphael Straub)

Status: assignedaccepted

comment:5 in reply to:  3 ; Changed 6 years ago by raphael-st (Raphael Straub)

Replying to raphael-st:

I'll report the bug upstream.

I submitted an upstream issue.

comment:6 Changed 6 years ago by tehcog (tehcog)

This is still an issue with openvrml @0.18.9_5

comment:7 Changed 3 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:8 in reply to:  5 Changed 2 weeks ago by cooljeanius (Eric Gallager)

Replying to raphael-st:

Replying to raphael-st:

I'll report the bug upstream.

I submitted an upstream issue.

In the upstream issue, they say it's unmaintained...

Note: See TracTickets for help on using tickets.