Hi Kasper,
On Tue, Aug 23, 2016 at 08:12:19PM +0200, Kasper Peeters wrote:
> I think the build issues can be solved, looks like a simple libsigc
> version issue.
I got at least a little bit further with this patch:
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -21,7 +21,7 @@
#modules/xperm_no_nests.o
SRCS = `find . -name "*.cc"`
-MCFLAGS = @CFLAGS@ -I. -I@top_srcdir@/src `pkg-config modglue --cflags`
+MCFLAGS = @CFLAGS@ -I. -I@top_srcdir@/src `pkg-config modglue --cflags`
`pkg-config --cflags sigc++-1.2`
TIMESTAMP = -D"RELEASE=\"${RELEASE}\"" -D"DATETIME=\"`date | sed -e 's/ /
/'`\"" -DHOSTNAME=\"`hostname`\"
Now it finds sigc++/object.h and some more header files again.
But the build still fails as follows, just later in the build:
In file included from /usr/include/c++/6/set:60:0,
from ./storage.hh:35,
from ./algorithm.hh:26,
from modules/substitute.hh:24,
from modules/substitute.cc:22:
/usr/include/c++/6/bits/stl_tree.h: In instantiation of ‘std::_Rb_tree<_Key,
_Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val,
_KeyOfValue, _Compare, _Alloc>::_M_insert_equal(_Arg&&) [with _Arg =
std::pair<std::_Rb_tree_const_iterator<std::__cxx11::basic_string<char> >,
tree<str_node>::pre_order_iterator>; _Key = exptree; _Val = std::pair<const
exptree, tree<str_node>::pre_order_iterator>; _KeyOfValue =
std::_Select1st<std::pair<const exptree, tree<str_node>::pre_order_iterator> >;
_Compare = tree_exact_less_no_wildcards_mod_prel_obj; _Alloc =
std::allocator<std::pair<const exptree, tree<str_node>::pre_order_iterator> >;
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator =
std::_Rb_tree_iterator<std::pair<const exptree,
tree<str_node>::pre_order_iterator> >]’:
/usr/include/c++/6/bits/stl_multimap.h:529:63: required from
‘std::multimap<_Key, _Tp, _Compare, _Alloc>::iterator std::multimap<_Key, _Tp,
_Compare, _Alloc>::insert(_Pair&&) [with _Pair =
std::pair<std::_Rb_tree_const_iterator<std::__cxx11::basic_string<char> >,
tree<str_node>::pre_order_iterator>; <template-parameter-2-2> = void; _Key =
exptree; _Tp = tree<str_node>::pre_order_iterator; _Compare =
tree_exact_less_no_wildcards_mod_prel_obj; _Alloc =
std::allocator<std::pair<const exptree, tree<str_node>::pre_order_iterator> >;
std::multimap<_Key, _Tp, _Compare, _Alloc>::iterator =
std::_Rb_tree_iterator<std::pair<const exptree,
tree<str_node>::pre_order_iterator> >]’
modules/substitute.cc:880:56: required from here
/usr/include/c++/6/bits/stl_tree.h:1891:27: error: no matching function for
call to ‘std::_Rb_tree<exptree, std::pair<const exptree,
tree<str_node>::pre_order_iterator>, std::_Select1st<std::pair<const exptree,
tree<str_node>::pre_order_iterator> >,
tree_exact_less_no_wildcards_mod_prel_obj, std::allocator<std::pair<const
exptree, tree<str_node>::pre_order_iterator> >
>::_M_get_insert_equal_pos(std::pair<std::_Rb_tree_const_iterator<std::__cxx11::basic_string<char>
>, tree<str_node>::pre_order_iterator>::first_type&)’
= _M_get_insert_equal_pos(_KeyOfValue()(__v));
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_tree.h:1833:5: note: candidate:
std::pair<std::_Rb_tree_node_base*, std::_Rb_tree_node_base*>
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare,
_Alloc>::_M_get_insert_equal_pos(const key_type&) [with _Key = exptree; _Val =
std::pair<const exptree, tree<str_node>::pre_order_iterator>; _KeyOfValue =
std::_Select1st<std::pair<const exptree, tree<str_node>::pre_order_iterator> >;
_Compare = tree_exact_less_no_wildcards_mod_prel_obj; _Alloc =
std::allocator<std::pair<const exptree, tree<str_node>::pre_order_iterator> >;
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::key_type = exptree]
_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_tree.h:1833:5: note: no known conversion for
argument 1 from
‘std::pair<std::_Rb_tree_const_iterator<std::__cxx11::basic_string<char> >,
tree<str_node>::pre_order_iterator>::first_type {aka
std::_Rb_tree_const_iterator<std::__cxx11::basic_string<char> >}’ to ‘const
key_type& {aka const exptree&}’
Makefile:30: recipe for target 'modules/substitute.o' failed
This looks like a issue caused by the switch to GCC 5 or 6 to me, but
at the moment I have no idea what needs to be changed there.
Kind regards, Axel
--
/~\ Plain Text Ribbon Campaign | Axel Beckert
\ / Say No to HTML in E-Mail and News | [email protected] (Mail)
X See http://www.nonhtmlmail.org/campaign.html | [email protected] (Mail+Jabber)
/ \ I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)