On 1 May 2011 at 17:32, Scott Kitterman wrote: | Package: quantlib-swig | Version: 1.0.0-1 | Severity: serious | Justification: fails to build from source | | This package was binNMUed as part of the transition to add python2.7 to | supported python versions. It failed on multiple archs. Here is an | excerpt of the build logs: | | /usr/include/ql/math/interpolations/multicubicspline.hpp:276:33: error: reference 'y2_' cannot be declared 'mutable' [-fpermissive] | /usr/include/ql/math/interpolations/multicubicspline.hpp:277:34: error: reference 'v_' cannot be declared 'mutable' [-fpermissive] | /usr/include/ql/math/interpolations/multicubicspline.hpp:336:33: error: reference 'y2_' cannot be declared 'mutable' [-fpermissive] | /usr/include/ql/math/interpolations/multicubicspline.hpp:337:34: error: reference 'v_' cannot be declared 'mutable' [-fpermissive] | /usr/include/ql/math/interpolations/multicubicspline.hpp:337:39: error: reference 'v1_' cannot be declared 'mutable' [-fpermissive] | /usr/include/ql/math/interpolations/multicubicspline.hpp:337:45: error: reference 'v2_' cannot be declared 'mutable' [-fpermissive] | QuantLib/quantlib_wrap.cpp: In member function 'QuantLib::Real UnaryFunction::operator()(QuantLib::Real) const': | QuantLib/quantlib_wrap.cpp:6256:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] | QuantLib/quantlib_wrap.cpp: In member function 'QuantLib::Real UnaryFunction::derivative(QuantLib::Real) const': | QuantLib/quantlib_wrap.cpp:6264:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] | QuantLib/quantlib_wrap.cpp:6264:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] | QuantLib/quantlib_wrap.cpp: In member function 'QuantLib::Real BinaryFunction::operator()(QuantLib::Real, QuantLib::Real) const': | QuantLib/quantlib_wrap.cpp:6296:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] | error: command 'g++' failed with exit status 1 | make: *** [build-stamp] Error 1 | | -- System Information: | Debian Release: squeeze/sid
Uh-oh. I wonder if we would see the same with QuantLib itself, or whether this is Python / SWIG specific? quantlib-swig needs some work anyway for the python-central transition, but we were asked to wait for Python 2.7. Is now the time? Dirk -- Gauss once played himself in a zero-sum game and won $50. -- #11 at http://www.gaussfacts.com -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org