[Pkg-crosswire-devel] Bug#778183: xiphos: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:38:08 GMT 2015


Package: src:xiphos
Version: 3.2.2+dfsg1-1
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/xiphos_3.2.2+dfsg1-1_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
/usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here
 void                   gtk_tree_view_set_rules_hint                (GtkTreeView               *tree_view,
                        ^
../src/main/biblesync_glue.cc:553:67: warning: 'void gtk_tree_view_set_rules_hint(GtkTreeView*, gboolean)' is deprecated [-Wdeprecated-declarations]
     gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(speaker_list), TRUE);
                                                                   ^
In file included from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27:0,
                 from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29,
                 from /usr/include/gtk-3.0/gtk/gtk.h:42,
                 from ../src/main/biblesync_glue.cc:26:
/usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here
 void                   gtk_tree_view_set_rules_hint                (GtkTreeView               *tree_view,
                        ^
[ 45/131] cxx: src/main/configs.cc -> build/default/src/main/configs_1.o
[ 46/131] cxx: src/main/display.cc -> build/default/src/main/display_1.o
[ 47/131] cxx: src/main/export_passage.cc -> build/default/src/main/export_passage_1.o
[ 48/131] cxx: src/main/global_ops.cc -> build/default/src/main/global_ops_1.o
[ 49/131] cxx: src/main/lists.cc -> build/default/src/main/lists_1.o
[ 50/131] cxx: src/main/mod_mgr.cc -> build/default/src/main/mod_mgr_1.o
[ 51/131] cxx: src/main/module_dialogs.cc -> build/default/src/main/module_dialogs_1.o
[ 52/131] cxx: src/main/modulecache.cc -> build/default/src/main/modulecache_1.o
In file included from /usr/include/c++/5/map:60:0,
                 from ../src/main/modulecache.hh:45,
                 from ../src/main/modulecache.cc:30:
/usr/include/c++/5/bits/stl_tree.h: In instantiation of 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_destroy_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type) [with _Key = int; _Val = std::pair<const int, ModuleCache::CacheVerse>; _KeyOfValue = std::_Select1st<std::pair<const int, ModuleCache::CacheVerse> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, ModuleCache::CacheVerse> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const int, ModuleCache::CacheVerse> >*]':
/usr/include/c++/5/bits/stl_tree.h:562:17:   required from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_drop_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type) [with _Key = int; _Val = std::pair<const int, ModuleCache::CacheVerse>; _KeyOfValue = std::_Select1st<std::pair<const int, ModuleCache::CacheVerse> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, ModuleCache::CacheVerse> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const int, ModuleCache::CacheVerse> >*]'
/usr/include/c++/5/bits/stl_tree.h:1624:16:   required from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type) [with _Key = int; _Val = std::pair<const int, ModuleCache::CacheVerse>; _KeyOfValue = std::_Select1st<std::pair<const int, ModuleCache::CacheVerse> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, ModuleCache::CacheVerse> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const int, ModuleCache::CacheVerse> >*]'
/usr/include/c++/5/bits/stl_tree.h:859:17:   required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::~_Rb_tree() [with _Key = int; _Val = std::pair<const int, ModuleCache::CacheVerse>; _KeyOfValue = std::_Select1st<std::pair<const int, ModuleCache::CacheVerse> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, ModuleCache::CacheVerse> >]'
/usr/include/c++/5/bits/stl_map.h:96:11:   required from 'void __gnu_cxx::new_allocator<_Tp>::destroy(__gnu_cxx::new_allocator<_Tp>::pointer) [with _Tp = std::pair<const int, std::map<int, ModuleCache::CacheVerse> >; __gnu_cxx::new_allocator<_Tp>::pointer = std::pair<const int, std::map<int, ModuleCache::CacheVerse> >*]'
/usr/include/c++/5/bits/stl_tree.h:521:9:   required from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_destroy_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type) [with _Key = int; _Val = std::pair<const int, std::map<int, ModuleCache::CacheVerse> >; _KeyOfValue = std::_Select1st<std::pair<const int, std::map<int, ModuleCache::CacheVerse> > >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, std::map<int, ModuleCache::CacheVerse> > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const int, std::map<int, ModuleCache::CacheVerse> > >*]'
/usr/include/c++/5/bits/stl_tree.h:562:17:   [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/c++/5/bits/stl_tree.h:521:9:   required from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_destroy_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type) [with _Key = const std::basic_string<char>; _Val = std::pair<const std::basic_string<char>, std::map<int, std::map<int, std::map<int, std::map<int, ModuleCache::CacheVerse> > > > >; _KeyOfValue = std::_Select1st<std::pair<const std::basic_string<char>, std::map<int, std::map<int, std::map<int, std::map<int, ModuleCache::CacheVerse> > > > > >; _Compare = std::less<const std::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::basic_string<char>, std::map<int, std::map<int, std::map<int, std::map<int, ModuleCache::CacheVerse> > > > > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const std::basic_string<char>, std::map<int, std::map<int, std::map<int, std::map<int, ModuleCache::CacheVerse> > > > > >*]'
/usr/include/c++/5/bits/stl_tree.h:562:17:   required from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_drop_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type) [with _Key = const std::basic_string<char>; _Val = std::pair<const std::basic_string<char>, std::map<int, std::map<int, std::map<int, std::map<int, ModuleCache::CacheVerse> > > > >; _KeyOfValue = std::_Select1st<std::pair<const std::basic_string<char>, std::map<int, std::map<int, std::map<int, std::map<int, ModuleCache::CacheVerse> > > > > >; _Compare = std::less<const std::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::basic_string<char>, std::map<int, std::map<int, std::map<int, std::map<int, ModuleCache::CacheVerse> > > > > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const std::basic_string<char>, std::map<int, std::map<int, std::map<int, std::map<int, ModuleCache::CacheVerse> > > > > >*]'
/usr/include/c++/5/bits/stl_tree.h:1624:16:   required from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type) [with _Key = const std::basic_string<char>; _Val = std::pair<const std::basic_string<char>, std::map<int, std::map<int, std::map<int, std::map<int, ModuleCache::CacheVerse> > > > >; _KeyOfValue = std::_Select1st<std::pair<const std::basic_string<char>, std::map<int, std::map<int, std::map<int, std::map<int, ModuleCache::CacheVerse> > > > > >; _Compare = std::less<const std::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::basic_string<char>, std::map<int, std::map<int, std::map<int, std::map<int, ModuleCache::CacheVerse> > > > > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const std::basic_string<char>, std::map<int, std::map<int, std::map<int, std::map<int, ModuleCache::CacheVerse> > > > > >*]'
/usr/include/c++/5/bits/stl_tree.h:859:17:   required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::~_Rb_tree() [with _Key = const std::basic_string<char>; _Val = std::pair<const std::basic_string<char>, std::map<int, std::map<int, std::map<int, std::map<int, ModuleCache::CacheVerse> > > > >; _KeyOfValue = std::_Select1st<std::pair<const std::basic_string<char>, std::map<int, std::map<int, std::map<int, std::map<int, ModuleCache::CacheVerse> > > > > >; _Compare = std::less<const std::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::basic_string<char>, std::map<int, std::map<int, std::map<int, std::map<int, ModuleCache::CacheVerse> > > > > >]'
/usr/include/c++/5/bits/stl_map.h:163:14:   required from 'std::map<_Key, _Tp, _Compare, _Alloc>::map() [with _Key = const std::basic_string<char>; _Tp = std::map<int, std::map<int, std::map<int, std::map<int, ModuleCache::CacheVerse> > > >; _Compare = std::less<const std::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::basic_string<char>, std::map<int, std::map<int, std::map<int, std::map<int, ModuleCache::CacheVerse> > > > > >]'
../src/main/modulecache.cc:34:23:   required from here
/usr/include/c++/5/bits/stl_tree.h:521:22: fatal error: template instantiation depth exceeds maximum of 25 (use -ftemplate-depth= to increase the maximum)
       { get_allocator().destroy(__p->_M_valptr()); }
                      ^
compilation terminated.
Waf: Leaving directory `/«BUILDDIR»/xiphos-3.2.2+dfsg1/build'
Build failed:  -> task failed (err #1): 
	{task: cxx modulecache.cc -> modulecache_1.o}
make[1]: *** [override_dh_auto_build] Error 1
debian/rules:9: recipe for target 'override_dh_auto_build' failed
make[1]: Leaving directory '/«BUILDDIR»/xiphos-3.2.2+dfsg1'
make: *** [build-arch] Error 2
debian/rules:5: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2




More information about the Pkg-crosswire-devel mailing list