Bug#653817: FTBFS with Boost 1.48: error: 'init' is not a member of 'traits {aka boost::math::detail::fp_traits_native<float>}'

Steve M. Robbins smr at debian.org
Sat Dec 31 06:26:35 UTC 2011


Source: yade
Version: 0.70.0
Severity: normal

Package fails to build with Boost 1.48:

In file included from debian/build/include/boost/math/nonfinite_num_facets.hpp:15:0,
                 from debian/build/include/yade/lib/serialization/ObjectIO.hpp:13,
                 from /tmp/buildd/yade-0.70.0/core/FileGenerator.cpp:11,
                 from debian/build/core/core.cpp:8:
debian/build/include/boost/math/signbit.hpp: In function 'T boost::math::detail::copysign_impl(T, T) [with T = float]':
debian/build/include/boost/math/signbit.hpp:54:37:   instantiated from here
debian/build/include/boost/math/signbit.hpp:37:9: error: 'init' is not a member of 'traits {aka boost::math::detail::fp_traits_native<float>}'
debian/build/include/boost/math/signbit.hpp:39:45: error: no type named 'bits' in 'traits {aka struct boost::math::detail::fp_traits_native<float>}'
debian/build/include/boost/math/signbit.hpp:40:9: error: 'get_bits' is not a member of 'traits {aka boost::math::detail::fp_traits_native<float>}'
debian/build/include/boost/math/signbit.hpp:39:45: error: no type named 'bits' in 'traits {aka struct boost::math::detail::fp_traits_native<float>}'
debian/build/include/boost/math/signbit.hpp:41:9: error: 'sign' is not a member of 'traits {aka boost::math::detail::fp_traits_native<float>}'
debian/build/include/boost/math/signbit.hpp:39:45: error: no type named 'bits' in 'traits {aka struct boost::math::detail::fp_traits_native<float>}'
debian/build/include/boost/math/signbit.hpp:43:45: error: no type named 'bits' in 'traits {aka struct boost::math::detail::fp_traits_native<float>}'
debian/build/include/boost/math/signbit.hpp:44:9: error: 'get_bits' is not a member of 'traits {aka boost::math::detail::fp_traits_native<float>}'


The root cause is that upstream has a private, modified copy of boost/math/nonfinite_num_facets.hpp.  This will
need to be updated.



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the debian-science-maintainers mailing list