Package Details: vcsn 2.8-1

Git Clone URL: https://aur.archlinux.org/vcsn.git (read-only)
Package Base: vcsn
Description: Finite state machine manipulation platform, consisting of a library and tools implemented on top of it.
Upstream URL: http://vcsn.lrde.epita.fr/
Licenses: GPL3
Submitter: cdemoulins
Maintainer: cdemoulins
Last Packager: cdemoulins
Votes: 2
Popularity: 0.000000
First Submitted: 2015-10-12 11:59
Last Updated: 2018-05-17 09:44

Latest Comments

Ethyling commented on 2019-02-04 14:53

It doesn't build on a up to date Archlinux using g++ and clang++:

In file included from ./vcsn/core/rat/expressionset.hh:8,
                 from ./vcsn/algos/transpose.hh:8,
                 from ./vcsn/algos/accessible.hh:7,
                 from ./vcsn/algos/are-equivalent.hh:3,
                 from ./vcsn/ctx/lal_char_b.hh:15,
                 from lib/ctx/libctx.cc:6:
./vcsn/core/rat/printer.hh: In instantiation of ‘std::enable_if_t<vcsn::detail::detect<LS, vcsn::detail::generators_mem_fn_t, void>{}, void> vcsn::rat::printer<ExpSet>::print_add_(const add_t&) [with LS = vcsn::letterset<vcsn::set_alphabet<vcsn::char_letters> >; ExpSet = vcsn::weightset_mixin<vcsn::rat::expressionset_impl<vcsn::context<vcsn::letterset<vcsn::set_alphabet<vcsn::char_letters> >, vcsn::weightset_mixin<vcsn::detail::b_impl> > > >; std::enable_if_t<vcsn::detail::detect<LS, vcsn::detail::generators_mem_fn_t, void>{}, void> = void; vcsn::rat::printer<ExpSet>::add_t = vcsn::rat::variadic<(vcsn::rat::type_t)3, vcsn::context<vcsn::letterset<vcsn::set_alphabet<vcsn::char_letters> >, vcsn::weightset_mixin<vcsn::detail::b_impl> > >]’:
./vcsn/core/rat/printer.hh:136:42:   required from ‘void vcsn::rat::printer<ExpSet>::visit(const add_t&) [with ExpSet = vcsn::weightset_mixin<vcsn::rat::expressionset_impl<vcsn::context<vcsn::letterset<vcsn::set_alphabet<vcsn::char_letters> >, vcsn::weightset_mixin<vcsn::detail::b_impl> > > >; vcsn::rat::printer<ExpSet>::add_t = vcsn::rat::variadic<(vcsn::rat::type_t)3, vcsn::context<vcsn::letterset<vcsn::set_alphabet<vcsn::char_letters> >, vcsn::weightset_mixin<vcsn::detail::b_impl> > >]’
./vcsn/core/rat/printer.hh:136:7:   required from here
./vcsn/core/rat/printer.hh:292:29: error: no matching function for call to ‘distance(boost::iterator_range<__gnu_cxx::__normal_iterator<const std::shared_ptr<const vcsn::rat::node<vcsn::context<vcsn::letterset<vcsn::set_alphabet<vcsn::char_letters> >, vcsn::weightset_mixin<vcsn::detail::b_impl> > > >*, std::vector<std::shared_ptr<const vcsn::rat::node<vcsn::context<vcsn::letterset<vcsn::set_alphabet<vcsn::char_letters> >, vcsn::weightset_mixin<vcsn::detail::b_impl> > > >, std::allocator<std::shared_ptr<const vcsn::rat::node<vcsn::context<vcsn::letterset<vcsn::set_alphabet<vcsn::char_letters> >, vcsn::weightset_mixin<vcsn::detail::b_impl> > > > > > > >&)’
             if (3 < distance(r))
                     ~~~~~~~~^~~
In file included from /usr/include/c++/8.2.1/bits/stl_algobase.h:66,
                 from /usr/include/c++/8.2.1/memory:62,
                 from ./vcsn/ctx/context.hh:3,
                 from ./vcsn/ctx/lal_char_b.hh:3,
                 from lib/ctx/libctx.cc:6:
/usr/include/c++/8.2.1/bits/stl_iterator_base_funcs.h:138:5: note: candidate: ‘template<class _InputIterator> typename std::iterator_traits<_Iterator>::difference_type std::distance(_InputIterator, _InputIterator)’
     distance(_InputIterator __first, _InputIterator __last)
     ^~~~~~~~
/usr/include/c++/8.2.1/bits/stl_iterator_base_funcs.h:138:5: note:   template argument deduction/substitution failed:
In file included from ./vcsn/core/rat/expressionset.hh:8,
                 from ./vcsn/algos/transpose.hh:8,
                 from ./vcsn/algos/accessible.hh:7,
                 from ./vcsn/algos/are-equivalent.hh:3,
                 from ./vcsn/ctx/lal_char_b.hh:15,
                 from lib/ctx/libctx.cc:6:
./vcsn/core/rat/printer.hh:292:29: note:   candidate expects 2 arguments, 1 provided
             if (3 < distance(r))

Could you please fix it ?

cdemoulins commented on 2016-05-27 15:14

Fixed.

lfleischer commented on 2016-05-24 13:52

Looks like the path used in check() is incorrect. It should be "$srcdir/$pkgname-$pkgver".