[Pkg-crosswire-devel] Bug#667387: sword: ftbfs with GCC-4.7
Matthias Klose
doko at debian.org
Wed Apr 4 00:12:45 BST 2012
Package: sword
Version: 1.6.2+dfsg-1
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/sword_1.6.2+dfsg-1_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 /«BUILDDIR»/sword-1.6.2+dfsg/obj-x86_64-linux-gnu/CMakeFiles 58
[ 3%] Building CXX object CMakeFiles/sword_static.dir/src/keys/versetreekey.cpp.o
/usr/bin/c++ -DCURLAVAILABLE -D_ICU_ -DGLOBCONFPATH=\"/sword.conf\" -D_FTPLIB_NO_COMPAT -DSWICU_DATA=\"/usr/lib/sword/1.6.2_icu_4.8.1.1\" -I/«BUILDDIR»/sword-1.6.2+dfsg/include -I"/«BUILDDIR»/sword-1.6.2+dfsg/-D_FORTIFY_SOURCE=2 -D_REENTRANT /usr/include" -o CMakeFiles/sword_static.dir/src/keys/versetreekey.cpp.o -c /«BUILDDIR»/sword-1.6.2+dfsg/src/keys/versetreekey.cpp
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/sword-1.6.2+dfsg/obj-x86_64-linux-gnu/CMakeFiles
[ 3%] Building CXX object CMakeFiles/sword_static.dir/src/mgr/swconfig.cpp.o
/usr/bin/c++ -DCURLAVAILABLE -D_ICU_ -DGLOBCONFPATH=\"/sword.conf\" -D_FTPLIB_NO_COMPAT -DSWICU_DATA=\"/usr/lib/sword/1.6.2_icu_4.8.1.1\" -I/«BUILDDIR»/sword-1.6.2+dfsg/include -I"/«BUILDDIR»/sword-1.6.2+dfsg/-D_FORTIFY_SOURCE=2 -D_REENTRANT /usr/include" -o CMakeFiles/sword_static.dir/src/mgr/swconfig.cpp.o -c /«BUILDDIR»/sword-1.6.2+dfsg/src/mgr/swconfig.cpp
In file included from /«BUILDDIR»/sword-1.6.2+dfsg/include/swconfig.h:29:0,
from /«BUILDDIR»/sword-1.6.2+dfsg/src/mgr/swconfig.cpp:23:
/«BUILDDIR»/sword-1.6.2+dfsg/include/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>]':
/«BUILDDIR»/sword-1.6.2+dfsg/src/mgr/swconfig.cpp:155:55: required from here
/«BUILDDIR»/sword-1.6.2+dfsg/include/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]
/«BUILDDIR»/sword-1.6.2+dfsg/include/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
/«BUILDDIR»/sword-1.6.2+dfsg/include/multimapwdef.h:22:3: note: use 'this->find' instead
/«BUILDDIR»/sword-1.6.2+dfsg/include/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]
/«BUILDDIR»/sword-1.6.2+dfsg/include/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
/«BUILDDIR»/sword-1.6.2+dfsg/include/multimapwdef.h:23:4: note: use 'this->insert' instead
/«BUILDDIR»/sword-1.6.2+dfsg/include/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]
/«BUILDDIR»/sword-1.6.2+dfsg/include/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
/«BUILDDIR»/sword-1.6.2+dfsg/include/multimapwdef.h:25:23: note: use 'this->find' instead
make[4]: *** [CMakeFiles/sword_static.dir/src/mgr/swconfig.cpp.o] Error 1
make[4]: Leaving directory `/«BUILDDIR»/sword-1.6.2+dfsg/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/sword_static.dir/all] Error 2
make[2]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
make[3]: Leaving directory `/«BUILDDIR»/sword-1.6.2+dfsg/obj-x86_64-linux-gnu'
make[2]: Leaving directory `/«BUILDDIR»/sword-1.6.2+dfsg/obj-x86_64-linux-gnu'
make[1]: Leaving directory `/«BUILDDIR»/sword-1.6.2+dfsg'
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