Package: src:swift-im
Version: 2.0+dev6-1
Severity: serious
Tags: sid stretch

swift-im ftbfs in unstable:

g++ -o Swiften/Serializer/StreamManagementEnabledSerializer.os -c -Wextra -Wall
-Wnon-virtual-dtor -Wundef -Wold-style-cast -Wno-long-long -Woverloaded-virtual
-Wfloat-equal -Wredundant-decls -Wlogical-op -D_FORTIFY_SOURCE=2 -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -O2 -g -fPIC
-D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security
-O2 -g -fPIC -pthread -fPIC -DSWIFTEN_BUILDING -I. -I/usr/include/gconf/2
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/libxml2 Swiften/Serializer/StreamManagementEnabledSerializer.cpp
g++ -o Swiften/Serializer/StreamResumeSerializer.os -c -Wextra -Wall
-Wnon-virtual-dtor -Wundef -Wold-style-cast -Wno-long-long -Woverloaded-virtual
-Wfloat-equal -Wredundant-decls -Wlogical-op -D_FORTIFY_SOURCE=2 -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -O2 -g -fPIC
-D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security
-O2 -g -fPIC -pthread -fPIC -DSWIFTEN_BUILDING -I. -I/usr/include/gconf/2
-I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/libxml2 Swiften/Serializer/StreamResumeSerializer.cpp
In file included from /usr/include/boost/optional/optional.hpp:28:0,
                 from /usr/include/boost/optional.hpp:15,
                 from ./Swiften/Elements/StreamResume.h:10,
                 from ./Swiften/Serializer/StreamResumeSerializer.h:11,
                 from Swiften/Serializer/StreamResumeSerializer.cpp:7:
/usr/include/boost/optional/optional.hpp: In instantiation of
'std::basic_ostream<_CharT, _Traits>&
boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const
boost::optional_detail::optional_tag&) [with CharType = char; CharTrait =
std::char_traits<char>]':
/usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:235:50:
required from 'bool boost::detail::lexical_istream_limited_src<CharT, Traits,
RequiresStringbuffer,
CharacterBufferSize>::shl_input_streamable(InputStreamable&) [with
InputStreamable = const boost::optional<unsigned int>; CharT = char; Traits =
std::char_traits<char>; bool RequiresStringbuffer = true; long unsigned int
CharacterBufferSize = 2ul]'
/usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:497:86:
required from 'bool boost::detail::lexical_istream_limited_src<CharT, Traits,
RequiresStringbuffer, CharacterBufferSize>::operator<<(const InStreamable&)
[with InStreamable = boost::optional<unsigned int>; CharT = char; Traits =
std::char_traits<char>; bool RequiresStringbuffer = true; long unsigned int
CharacterBufferSize = 2ul]'
/usr/include/boost/lexical_cast/detail/converter_lexical.hpp:476:21:   required
from 'static bool boost::detail::lexical_converter_impl<Target,
Source>::try_convert(const Source&, Target&) [with Target =
std::__cxx11::basic_string<char>; Source = boost::optional<unsigned int>]'
/usr/include/boost/lexical_cast/try_lexical_convert.hpp:173:44:   required from
'bool boost::conversion::detail::try_lexical_convert(const Source&, Target&)
[with Target = std::__cxx11::basic_string<char>; Source =
boost::optional<unsigned int>]'
/usr/include/boost/lexical_cast.hpp:41:60:   required from 'Target
boost::lexical_cast(const Source&) [with Target =
std::__cxx11::basic_string<char>; Source = boost::optional<unsigned int>]'
Swiften/Serializer/StreamResumeSerializer.cpp:25:89:   required from here
/usr/include/boost/optional/optional.hpp:1256:3: error: invalid application of
'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>'
   BOOST_STATIC_ASSERT_MSG(sizeof(CharType) == 0, "If you want to output
boost::optional, include header <boost/optional/optional_io.hpp>");
   ^
scons: *** [Swiften/Serializer/StreamResumeSerializer.os] Error 1
scons: building terminated because of errors.
debian/rules:18: recipe for target 'build' failed
make: *** [build] Error 2

Reply via email to