Package: src:openvrml Followup-For: Bug #652790 Hallo,
I investigated the FTBFS on boost 1.48 failure, and I think the attached patch fixes this part. (to help on #653823) However, there is -- later in the build -- a different, not-boost-relasted FTBFS: I assume this is not due to boost because of the context and the fact that it also fails to build with the old boost 1.46 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src/libopenvrml -I../src/libopenvrml -DBOOST_MPL_CFG_NO_PREPROCESSED_HEADERS -DBOOST_MPL_LIMIT_VECTOR_SIZE=30 -DXP_UNIX -DJS_THREADSAFE -I/usr/include/nspr -I/usr/include/mozjs -g -Os -I/usr/lib/jvm/default-java//include -MT script/script_javascript_la-javascript.lo -MD -MP -MF script/.deps/script_javascript_la-javascript.Tpo -c -o script/script_javascript_la-javascript.lo `test -f 'script/javascript.cpp' || echo './'`script/javascript.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src/libopenvrml -I../src/libopenvrml -DBOOST_MPL_CFG_NO_PREPROCESSED_HEADERS -DBOOST_MPL_LIMIT_VECTOR_SIZE=30 -DXP_UNIX -DJS_THREADSAFE -I/usr/include/nspr -I/usr/include/mozjs -g -Os -I/usr/lib/jvm/default-java//include -MT script/script_javascript_la-javascript.lo -MD -MP -MF script/.deps/script_javascript_la-javascript.Tpo -c script/javascript.cpp -fPIC -DPIC -o script/.libs/script_javascript_la-javascript.o script/javascript.cpp: In function 'JSBool {anonymous}::eventOut_setProperty(JSContext*, JSObject*, {anonymous}::jspropertyop_id, JSBool, jsval*)': script/javascript.cpp:1558:55: error: could not convert 'id' from '{anonymous}::jspropertyop_id {aka int}' to 'jsval {aka JS::Value}' script/javascript.cpp: In static member function 'static JSBool {anonymous}::script::field_setProperty(JSContext*, JSObject*, {anonymous}::jspropertyop_id, JSBool, jsval*)': script/javascript.cpp:1609:55: error: could not convert 'id' from '{anonymous}::jspropertyop_id {aka int}' to 'jsval {aka JS::Value}' script/javascript.cpp: In static member function 'static JSBool {anonymous}::SFNode::getProperty(JSContext*, JSObject*, {anonymous}::jspropertyop_id, jsval*)': script/javascript.cpp:3286:32: error: could not convert 'id' from 'const jspropertyop_id {aka const int}' to 'jsval {aka JS::Value}' script/javascript.cpp:3301:75: error: could not convert 'id' from 'const jspropertyop_id {aka const int}' to 'jsval {aka JS::Value}' script/javascript.cpp: In static member function 'static JSBool {anonymous}::SFNode::setProperty(JSContext*, JSObject*, {anonymous}::jspropertyop_id, JSBool, jsval*)': script/javascript.cpp:3314:31: error: could not convert 'id' from '{anonymous}::jspropertyop_id {aka int}' to 'jsval {aka JS::Value}' script/javascript.cpp:3330:55: error: could not convert 'id' from '{anonymous}::jspropertyop_id {aka int}' to 'jsval {aka JS::Value}' -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- a/src/libopenvrml/openvrml/local/error.cpp +++ b/src/libopenvrml/openvrml/local/error.cpp @@ -19,6 +19,7 @@ // # include "error.h" +# include <boost/mpl/if.hpp> # include <boost/multi_index/detail/scope_guard.hpp> # include <boost/ref.hpp> --- a/src/openvrml-xembed/browser.cpp +++ b/src/openvrml-xembed/browser.cpp @@ -18,6 +18,7 @@ // with this library; if not, see <http://www.gnu.org/licenses/>. // +# include <boost/mpl/if.hpp> # include <boost/multi_index/detail/scope_guard.hpp> // Must include before X11 headers. # include <boost/numeric/conversion/converter.hpp>