Boost updated to 1.58.0 in rawhide and f23

Adam Williamson adamwill at fedoraproject.org
Tue Jul 28 02:35:59 UTC 2015


On Mon, 2015-07-27 at 13:31 +0100, Jonathan Wakely wrote:
> On 23/07/15 14:33 +0200, David Tardon wrote:
> > Hi,
> > 
> > On Thu, Jul 23, 2015 at 02:27:33PM +0200, David Tardon wrote:
> > > Hi,
> > > 
> > > On Sat, Jul 18, 2015 at 12:46:51PM +0100, Jonathan Wakely wrote:
> > > > Any problems rebuilding either open a bug or feel free to email 
> > > > me or
> > > > ping me on IRC (my freenode nick is 'redi') and I'll be happy 
> > > > to help.
> > > 
> > > This is a work-in-progress list of FTBFS packages:
> > > 
> > > * Build failures:
> > > 
> > > - F23 + Rawhide
> > > 
> > > ledger
> 
> This patch is needed to make Ledger compile with Boost 1.58.0

I submitted a build using the patch you submitted as an upstream PR - 
https://github.com/ledger/ledger/pull/422 - but it still failed:

https://kojipkgs.fedoraproject.org//work/tasks/9527/10499527/build.log

In file included from /usr/include/boost/function/detail/maybe_include.hpp:23:0,
                 from /usr/include/boost/function/detail/function_iterate.hpp:14,
                 from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:57,
                 from /usr/include/boost/function.hpp:64,
                 from /usr/include/boost/algorithm/string/detail/find_iterator.hpp:18,
                 from /usr/include/boost/algorithm/string/find_iterator.hpp:24,
                 from /usr/include/boost/algorithm/string/iter_find.hpp:27,
                 from /usr/include/boost/algorithm/string/split.hpp:16,
                 from /usr/include/boost/algorithm/string.hpp:23,
                 from /builddir/build/BUILD/ledger-720c03b139d251c53f9deef491f5953e2fdb97ca/system.hh:173:
/usr/include/boost/function/function_template.hpp: In instantiation of 'static void boost::detail::function::void_function_obj_invoker2<FunctionObj, R, T0, T1>::invoke(boost::detail::function::function_buffer&, T0, T1) [with FunctionObj = ledger::{anonymous}::insert_prices_in_map; R = void; T0 = boost::posix_time::ptime; T1 = const ledger::amount_t&]':
/usr/include/boost/function/function_template.hpp:940:38:   required from 'void boost::function2<R, T1, T2>::assign_to(Functor) [with Functor = ledger::{anonymous}::insert_prices_in_map; R = void; T0 = boost::posix_time::ptime; T1 = const ledger::amount_t&]'
/usr/include/boost/function/function_template.hpp:728:7:   required from 'boost::function2<R, T1, T2>::function2(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = ledger::{anonymous}::insert_prices_in_map; R = void; T0 = boost::posix_time::ptime; T1 = const ledger::amount_t&; 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, T1)>::function(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = ledger::{anonymous}::insert_prices_in_map; R = void; T0 = boost::posix_time::ptime; T1 = const ledger::amount_t&; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]'
/builddir/build/BUILD/ledger-720c03b139d251c53f9deef491f5953e2fdb97ca/src/filters.cc:788:69:   required from here
/usr/include/boost/function/function_template.hpp:159:11: error: no match for call to '(ledger::{anonymous}::insert_prices_in_map) (boost::posix_time::ptime, const ledger::amount_t&)'
           BOOST_FUNCTION_RETURN((*f)(BOOST_FUNCTION_ARGS));
           ^
/builddir/build/BUILD/ledger-720c03b139d251c53f9deef491f5953e2fdb97ca/src/filters.cc:710:10: note: candidate: void ledger::{anonymous}::insert_prices_in_map::operator()(ledger::datetime_t&, const ledger::amount_t&) <near match>
     void operator()(datetime_t& date, const amount_t& price) {
          ^
/builddir/build/BUILD/ledger-720c03b139d251c53f9deef491f5953e2fdb97ca/src/filters.cc:710:10: note:   conversion of argument 1 would be ill-formed:
In file included from /usr/include/boost/function/detail/maybe_include.hpp:23:0,
                 from /usr/include/boost/function/detail/function_iterate.hpp:14,
                 from /usr/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:57,
                 from /usr/include/boost/function.hpp:64,
                 from /usr/include/boost/algorithm/string/detail/find_iterator.hpp:18,
                 from /usr/include/boost/algorithm/string/find_iterator.hpp:24,
                 from /usr/include/boost/algorithm/string/iter_find.hpp:27,
                 from /usr/include/boost/algorithm/string/split.hpp:16,
                 from /usr/include/boost/algorithm/string.hpp:23,
                 from /builddir/build/BUILD/ledger-720c03b139d251c53f9deef491f5953e2fdb97ca/system.hh:173:
/usr/include/boost/function/function_template.hpp:159:11: error: invalid initialization of non-const reference of type 'ledger::datetime_t& {aka boost::posix_time::ptime&}' from an rvalue of type 'boost::posix_time::ptime'
           BOOST_FUNCTION_RETURN((*f)(BOOST_FUNCTION_ARGS));
           ^
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net



More information about the devel mailing list