[Pkg-crosswire-devel] Bug#667113: bibletime: ftbfs with GCC-4.7
Matthias Klose
doko at debian.org
Wed Apr 4 00:07:56 BST 2012
Package: bibletime
Version: 2.8.1-2
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/bibletime_2.8.1-2_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.
[...]
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles
[ 34%] Building CXX object CMakeFiles/bibletime.dir/src/backend/cswordmodulesearch.cpp.o
/usr/bin/c++ -DBT_VERSION=\"2.8.1\" -DBT_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQT_DEBUG -Wall -Werror -O2 -ggdb -fexceptions -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -I/«PKGBUILDDIR»/src -I/usr/lib -I/usr/include/sword -I/usr/include/qt4 -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -o CMakeFiles/bibletime.dir/src/backend/cswordmodulesearch.cpp.o -c /«PKGBUILDDIR»/src/backend/cswordmodulesearch.cpp
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles
[ 34%] Building CXX object CMakeFiles/bibletime.dir/src/backend/btinstallbackend.cpp.o
/usr/bin/c++ -DBT_VERSION=\"2.8.1\" -DBT_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQT_DEBUG -Wall -Werror -O2 -ggdb -fexceptions -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -I/«PKGBUILDDIR»/src -I/usr/lib -I/usr/include/sword -I/usr/include/qt4 -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -o CMakeFiles/bibletime.dir/src/backend/btinstallbackend.cpp.o -c /«PKGBUILDDIR»/src/backend/btinstallbackend.cpp
In file included from /usr/include/sword/swconfig.h:29:0,
from /usr/include/sword/swmodule.h:29,
from /«PKGBUILDDIR»/src/backend/drivers/cswordmoduleinfo.h:22,
from /«PKGBUILDDIR»/src/backend/managers/cswordbackend.h:17,
from /«PKGBUILDDIR»/src/backend/btinstallbackend.h:15,
from /«PKGBUILDDIR»/src/backend/btinstallbackend.cpp:10:
/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>]':
/«PKGBUILDDIR»/src/backend/btinstallbackend.cpp:256:35: 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
make[3]: *** [CMakeFiles/bibletime.dir/src/backend/btinstallbackend.cpp.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/bibletime.dir/all] Error 2
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
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