[Pkg-crosswire-devel] Bug#667421: xiphos: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Wed Apr 4 00:13:21 BST 2012


Package: xiphos
Version: 3.1.4-3
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7

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

multimapwdef.h:22:3: error: 'find' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/xiphos_3.1.4-3_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

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

[...]
[ 32/124] po: po/sv.po -> build/default/po/sv.mo
[ 33/124] po: po/tr.po -> build/default/po/tr.mo
[ 34/124] po: po/zh_CN.po -> build/default/po/zh_CN.mo
[ 35/124] po: po/zh_TW.po -> build/default/po/zh_TW.mo
[ 36/124] xsltproc2po: help/xiphos.omf.in build/default/help/fr/xiphos.xml -> build/default/help/fr/xiphos-fr.omf
[ 37/124] xsltproc2po: help/xiphos.omf.in build/default/help/fa/xiphos.xml -> build/default/help/fa/xiphos-fa.omf
[ 38/124] xsltproc2po: help/xiphos.omf.in help/C/xiphos.xml -> build/default/help/C/xiphos-C.omf
[ 39/124] cxx: src/backend/gs_stringmgr.cpp -> build/default/src/backend/gs_stringmgr_1.o
[ 40/124] cxx: src/backend/module_manager.cc -> build/default/src/backend/module_manager_1.o
In file included from /usr/include/sword/swconfig.h:29:0,
                 from /usr/include/sword/swmgr.h:59,
                 from ../src/backend/module_manager.cc:32:
/usr/include/sword/multimapwdef.h: In instantiation of 'T& sword::multimapwithdefault<Key, T, Compare>::operator[](const Key&) [with Key = sword::SWBuf; T = sword::SWBuf; Compare = std::less<sword::SWBuf>]':
../src/backend/module_manager.cc:559:32:   required from here
/usr/include/sword/multimapwdef.h:22:3: error: 'find' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/usr/include/sword/multimapwdef.h:22:3: note: declarations in dependent base 'std::multimap<sword::SWBuf, sword::SWBuf, std::less<sword::SWBuf>, std::allocator<std::pair<const sword::SWBuf, sword::SWBuf> > >' are not found by unqualified lookup
/usr/include/sword/multimapwdef.h:22:3: note: use 'this->find' instead
/usr/include/sword/multimapwdef.h:23:4: error: 'insert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/usr/include/sword/multimapwdef.h:23:4: note: declarations in dependent base 'std::multimap<sword::SWBuf, sword::SWBuf, std::less<sword::SWBuf>, std::allocator<std::pair<const sword::SWBuf, sword::SWBuf> > >' are not found by unqualified lookup
/usr/include/sword/multimapwdef.h:23:4: note: use 'this->insert' instead
/usr/include/sword/multimapwdef.h:25:23: error: 'find' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/usr/include/sword/multimapwdef.h:25:23: note: declarations in dependent base 'std::multimap<sword::SWBuf, sword::SWBuf, std::less<sword::SWBuf>, std::allocator<std::pair<const sword::SWBuf, sword::SWBuf> > >' are not found by unqualified lookup
/usr/include/sword/multimapwdef.h:25:23: note: use 'this->find' instead
Waf: Leaving directory `/«PKGBUILDDIR»/build'
Build failed:  -> task failed (err #1): 
	{task: cxx module_manager.cc -> module_manager_1.o}
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2






More information about the Pkg-crosswire-devel mailing list