Package: sinfo Version: 0.0.47-4 Severity: important User: [email protected] Usertags: ftbfs-gcc-6 gcc-6-no-match
This package fails to build with GCC 6. GCC 6 has not been released yet, but it's expected that GCC 6 will become the default compiler for stretch. Note that only the first error is reported; there might be more. You can find a snapshot of GCC 6 in experimental. To build with GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly. You may be able to find out more about this issue at https://gcc.gnu.org/gcc-6/changes.html > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux ... > libtool: compile: g++ -DPACKAGE_NAME=\"sinfo\" -DPACKAGE_TARNAME=\"sinfo\" > -DPACKAGE_VERSION=\"0.0.47\" "-DPACKAGE_STRING=\"sinfo 0.0.47\"" > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sinfo\" > -DVERSION=\"0.0.47\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 > -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 > -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSIMPLE_USER_CACHE=1 -DENABLEIPv6=1 > -DCPUNO_ADJUST=1 -DHAVE_CURSES_H=1 -DHAVEDEFAULTCOLORS=1 -DHAVE_DIRENT_H=1 > -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 > -DHAVE_LIMITS_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDLIB_H=1 > -DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SOCKET_H=1 > -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UTMP_H=1 -DHAVE_GETOPT_H=1 > -DTIME_WITH_SYS_TIME=1 -DHAVE_DECL_GETOPT=1 -DHAVE_LIBNSL=1 -DHAVE_FORK=1 > -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_S > TDLIB_H=1 -DHAVE_MALLOC=1 -DRETSIGTYPE=void -DHAVE_GETOPT_LONG=1 > -DHAVE_DAEMON=1 -DHAVE_LIBRESOLV=1 -DHAVE_HSTRERROR=1 -DHAVE_ATEXIT=1 > -DHAVE_GETHOSTBYADDR=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETPAGESIZE=1 > -DHAVE_GETTIMEOFDAY=1 -DHAVE_INET_NTOA=1 -DHAVE_MEMSET=1 -DHAVE_SELECT=1 > -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -DHAVE_STRSTR=1 -DHAVE_UNAME=1 -I. > -I../libmessage -I../libmessageiobase -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 > -fstack-protector-strong -Wformat -Werror=format-security -c > tcpmessageserverconnection.cc -fPIC -DPIC -o > .libs/tcpmessageserverconnection.o > In file included from ../libmessageiobase/serverconnectorbase.h:5:0, > from ../libmessageiobase/serverconnectorfactorybase.h:4, > from tcpmessageserverconnection.h:11, > from tcpmessageserverconnection.cc:3: > /usr/include/boost/signal.hpp:17:4: warning: #warning "Boost.Signals is no > longer being maintained and is now deprecated. Please switch to > Boost.Signals2. To disable this warning message, define > BOOST_SIGNALS_NO_DEPRECATION_WARNING." [-Wcpp] > # warning "Boost.Signals is no longer being maintained and > is now deprecated. Please switch to Boost.Signals2. To disable this warning > message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING." > ^~~~~~~ > > In file included from /usr/include/boost/bind.hpp:22:0, > from tcpmessageserverconnection.cc:2: > /usr/include/boost/bind/bind.hpp: In instantiation of 'void > boost::_bi::list2<A1, A2>::operator()(boost::_bi::type<void>, F&, A&, int) > [with F = boost::_mfi::mf1<void, TCPMessageServerConnection, Message&>; A = > boost::_bi::list1<const Message&>; A1 = > boost::_bi::value<TCPMessageServerConnection*>; A2 = boost::arg<1>]': > /usr/include/boost/bind/bind.hpp:905:50: required from > 'boost::_bi::bind_t<R, F, L>::result_type boost::_bi::bind_t<R, F, > L>::operator()(A1&&) [with A1 = Message; R = void; F = boost::_mfi::mf1<void, > TCPMessageServerConnection, Message&>; L = > boost::_bi::list2<boost::_bi::value<TCPMessageServerConnection*>, > boost::arg<1> >; boost::_bi::bind_t<R, F, L>::result_type = void]' > /usr/include/boost/function/function_template.hpp:159:11: required from > 'static void boost::detail::function::void_function_obj_invoker1<FunctionObj, > R, T0>::invoke(boost::detail::function::function_buffer&, T0) [with > FunctionObj = boost::_bi::bind_t<void, boost::_mfi::mf1<void, > TCPMessageServerConnection, Message&>, > boost::_bi::list2<boost::_bi::value<TCPMessageServerConnection*>, > boost::arg<1> > >; R = void; T0 = Message]' > /usr/include/boost/function/function_template.hpp:940:38: required from > 'void boost::function1<R, T1>::assign_to(Functor) [with Functor = > boost::_bi::bind_t<void, boost::_mfi::mf1<void, TCPMessageServerConnection, > Message&>, boost::_bi::list2<boost::_bi::value<TCPMessageServerConnection*>, > boost::arg<1> > >; R = void; T0 = Message]' > /usr/include/boost/function/function_template.hpp:728:7: required from > 'boost::function1<R, T1>::function1(Functor, typename > boost::enable_if_c<(boost::type_traits::ice_not<(boost::is_integral<Functor>::value)>::value), > int>::type) [with Functor = boost::_bi::bind_t<void, boost::_mfi::mf1<void, > TCPMessageServerConnection, Message&>, > boost::_bi::list2<boost::_bi::value<TCPMessageServerConnection*>, > boost::arg<1> > >; R = void; T0 = Message; typename > boost::enable_if_c<(boost::type_traits::ice_not<(boost::is_integral<Functor>::value)>::value), > int>::type = int]' > /usr/include/boost/function/function_template.hpp:1077:16: required from > 'boost::function<R(T0)>::function(Functor, typename > boost::enable_if_c<(boost::type_traits::ice_not<(boost::is_integral<Functor>::value)>::value), > int>::type) [with Functor = boost::_bi::bind_t<void, boost::_mfi::mf1<void, > TCPMessageServerConnection, Message&>, > boost::_bi::list2<boost::_bi::value<TCPMessageServerConnection*>, > boost::arg<1> > >; R = void; T0 = Message; typename > boost::enable_if_c<(boost::type_traits::ice_not<(boost::is_integral<Functor>::value)>::value), > int>::type = int]' > /usr/include/boost/signals/slot.hpp:111:122: required from > 'boost::slot<SlotFunction>::slot(const F&) [with F = boost::_bi::bind_t<void, > boost::_mfi::mf1<void, TCPMessageServerConnection, Message&>, > boost::_bi::list2<boost::_bi::value<TCPMessageServerConnection*>, > boost::arg<1> > >; SlotFunction = boost::function<void(Message)>]' > tcpmessageserverconnection.cc:28:128: required from here > /usr/include/boost/bind/bind.hpp:313:35: error: no match for call to > '(boost::_mfi::mf1<void, TCPMessageServerConnection, Message&>) > (TCPMessageServerConnection*&, const Message&)' > unwrapper<F>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_]); > ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > In file included from /usr/include/boost/bind/mem_fn.hpp:215:0, > from /usr/include/boost/mem_fn.hpp:22, > from /usr/include/boost/bind/bind.hpp:26, > from /usr/include/boost/bind.hpp:22, > from tcpmessageserverconnection.cc:2: > /usr/include/boost/bind/mem_fn_template.hpp:163:7: note: candidate: R > boost::_mfi::mf1<R, T, A1>::operator()(T*, A1) const [with R = void; T = > TCPMessageServerConnection; A1 = Message&] <near match> > R operator()(T * p, A1 a1) const > ^~~~~~~~ > > /usr/include/boost/bind/mem_fn_template.hpp:163:7: note: conversion of > argument 2 would be ill-formed: > In file included from /usr/include/boost/bind.hpp:22:0, > from tcpmessageserverconnection.cc:2: > /usr/include/boost/bind/bind.hpp:313:35: error: binding 'const Message' to > reference of type 'Message&' discards qualifiers > unwrapper<F>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_]); > ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > In file included from /usr/include/boost/bind/mem_fn.hpp:215:0, > from /usr/include/boost/mem_fn.hpp:22, > from /usr/include/boost/bind/bind.hpp:26, > from /usr/include/boost/bind.hpp:22, > from tcpmessageserverconnection.cc:2: > /usr/include/boost/bind/mem_fn_template.hpp:168:25: note: candidate: > template<class U> R boost::_mfi::mf1<R, T, A1>::operator()(U&, A1) const > [with U = U; R = void; T = TCPMessageServerConnection; A1 = Message&] > template<class U> R operator()(U & u, A1 a1) const > ^~~~~~~~ > > /usr/include/boost/bind/mem_fn_template.hpp:168:25: note: template argument > deduction/substitution failed: > In file included from /usr/include/boost/bind.hpp:22:0, > from tcpmessageserverconnection.cc:2: > /usr/include/boost/bind/bind.hpp:313:35: note: cannot convert '(& > a)->boost::_bi::list1<A1>::operator[]<const > Message&>(boost::_bi::storage2<A1, boost::arg<I> > >::a2_<boost::_bi::value<TCPMessageServerConnection*>, 1>)' (type 'const > Message') to type 'Message&' > unwrapper<F>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_]); > ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > In file included from /usr/include/boost/bind/mem_fn.hpp:215:0, > from /usr/include/boost/mem_fn.hpp:22, > from /usr/include/boost/bind/bind.hpp:26, > from /usr/include/boost/bind.hpp:22, > from tcpmessageserverconnection.cc:2: > /usr/include/boost/bind/mem_fn_template.hpp:176:25: note: candidate: > template<class U> R boost::_mfi::mf1<R, T, A1>::operator()(const U&, A1) > const [with U = U; R = void; T = TCPMessageServerConnection; A1 = Message&] > template<class U> R operator()(U const & u, A1 a1) const > ^~~~~~~~ > > /usr/include/boost/bind/mem_fn_template.hpp:176:25: note: template argument > deduction/substitution failed: > In file included from /usr/include/boost/bind.hpp:22:0, > from tcpmessageserverconnection.cc:2: > /usr/include/boost/bind/bind.hpp:313:35: note: cannot convert '(& > a)->boost::_bi::list1<A1>::operator[]<const > Message&>(boost::_bi::storage2<A1, boost::arg<I> > >::a2_<boost::_bi::value<TCPMessageServerConnection*>, 1>)' (type 'const > Message') to type 'Message&' > unwrapper<F>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_]); > ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > In file included from /usr/include/boost/bind/mem_fn.hpp:215:0, > from /usr/include/boost/mem_fn.hpp:22, > from /usr/include/boost/bind/bind.hpp:26, > from /usr/include/boost/bind.hpp:22, > from tcpmessageserverconnection.cc:2: > /usr/include/boost/bind/mem_fn_template.hpp:184:7: note: candidate: R > boost::_mfi::mf1<R, T, A1>::operator()(T&, A1) const [with R = void; T = > TCPMessageServerConnection; A1 = Message&] > R operator()(T & t, A1 a1) const > ^~~~~~~~ > > /usr/include/boost/bind/mem_fn_template.hpp:184:7: note: no known > conversion for argument 1 from 'TCPMessageServerConnection*' to > 'TCPMessageServerConnection&' > Makefile:344: recipe for target 'tcpmessageserverconnection.lo' failed > make[2]: *** [tcpmessageserverconnection.lo] Error 1 > make[2]: Leaving directory '/<<PKGBUILDDIR>>/libmessageio' -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

