Source: boost1.54
Version: 1.54.0-3
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)

Build fails:

    cp 
"bin.v2/libs/wave/build/gcc-4.6/release/debug-symbols-on/link-static/threading-multi/libboost_wave.a"
  "stage/lib/libboost_wave.a"

...failed updating 4 targets...
...skipped 9 targets...
...updated 1062 targets...
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/home/dave/debian/boost1.54/boost1.54-1.54.0'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

See several compilation errors:

    "g++"  -ftemplate-depth-128 -g -O2 -Wformat -Werror=format-security -O3 
-finline-functions -Wno-inline -Wall -g -D_FORTIFY_SOURCE=2 -pthread -fPIC 
-fno-stri
ct-aliasing -ftemplate-depth-1024 -DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_DYN_LINK=1
 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_DATE_TIME_DYN_LINK=1 
-DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_LOG_BUILDING_THE_LIB=1 -DBOOST_LOG_DLL 
-DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_EVENT_LOG 
-DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DBOOST_SYSTEM_DYN_LINK=1 
-DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 
-DBOOST_THREAD_DONT_USE_CHRONO=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 
-DDATE_TIME_INLINE -DNDEBUG  -I"." -c -o 
"bin.v2/libs/log/build/gcc-4.6/release/build-no/debug-symbols-on/log-api-unix/threading-multi/date_time_format_parser.o"
 "libs/log/src/date_time_format_parser.cpp"In file included from 
./boost/math/special_functions/detail/round_fwd.hpp:12:0,                 from 
./boost/math/special_functions/math_fwd.hpp:26,
                 from ./boost/math/special_functions/fpclassify.hpp:19,
                 from ./boost/spirit/home/support/detail/sign.hpp:22,
                 from ./boost/spirit/home/karma/numeric/detail/numeric_utils.hpp
:22,
                 from ./boost/spirit/home/karma/numeric/uint.hpp:33,
                 from ./boost/spirit/include/karma_uint.hpp:16,
                 from libs/log/src/date_time_format_parser.cpp:19:
./boost/math/tools/promotion.hpp: In instantiation of 
‘boost::math::tools::promote_args<long double, float, float, float, float, 
float>’:
./boost/math/special_functions/sign.hpp:114:50:   instantiated from ‘int 
boost::math::signbit(T) [with T = long double]’
./boost/spirit/home/support/detail/sign.hpp:47:51:   instantiated from ‘bool 
boost::spirit::detail::signbit(T) [with T = long double]’
./boost/spirit/home/karma/numeric/detail/numeric_utils.hpp:130:47:   
instantiated from here
./boost/math/tools/promotion.hpp:141:1: error: invalid application of ‘sizeof’ 
to incomplete type ‘boost::STATIC_ASSERTION_FAILURE<false>’ 
...failed gcc.compile.c++ 
bin.v2/libs/log/build/gcc-4.6/release/build-no/debug-symbols-on/log-api-unix/threading-multi/date_time_format_parser.o...
gcc.compile.c++ 
bin.v2/libs/log/build/gcc-4.6/release/build-no/debug-symbols-on/log-api-unix/threading-multi/named_scope_format_parser.o


-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 3.12.0+ (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- boost/math/tools/config.hpp.save	2013-04-15 04:47:08.000000000 -0400
+++ boost/math/tools/config.hpp	2013-11-13 07:39:23.713734222 -0500
@@ -24,7 +24,8 @@
 #include <boost/math/tools/user.hpp>
 
 #if (defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__NetBSD__) \
-   || (defined(__hppa) && !defined(__OpenBSD__)) || (defined(__NO_LONG_DOUBLE_MATH) && (DBL_MANT_DIG != LDBL_MANT_DIG))) \
+   || (defined(__hppa) && !defined(__OpenBSD__) && !defined(__linux__)) \
+   || (defined(__NO_LONG_DOUBLE_MATH) && (DBL_MANT_DIG != LDBL_MANT_DIG))) \
    && !defined(BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS)
 #  define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
 #endif

Reply via email to