[Pkg-crosswire-devel] Bug#778133: sword: ftbfs with GCC-5

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


Package: src:sword
Version: 1.7.3+dfsg-2
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/sword_1.7.3+dfsg-2_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

[...]
  #define SWORD_NAMESPACE_END }
                              ^
/«BUILDDIR»/sword-1.7.3+dfsg/src/keys/listkey.cpp:383:1: note: in expansion of macro 'SWORD_NAMESPACE_END'
 SWORD_NAMESPACE_END
 ^
In file included from /«BUILDDIR»/sword-1.7.3+dfsg/src/keys/listkey.cpp:29:0:
/«BUILDDIR»/sword-1.7.3+dfsg/include/listkey.h:107:30: note: declared here
  SWDEPRECATED virtual SWKey *GetElement(int pos = -1) { return getElement(pos); }
                              ^
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/sword-1.7.3+dfsg/obj-x86_64-linux-gnu/CMakeFiles 
[  2%] Building CXX object CMakeFiles/sword.dir/src/keys/treekeyidx.cpp.o
/usr/bin/c++   -DCLUCENE2 -DCURLAVAILABLE -DCURLSFTPAVAILABLE -DGLOBCONFPATH=\"/etc/sword.conf\" -DUSELUCENE -D_FTPLIB_NO_COMPAT -D_ICU_ -Dsword_EXPORTS -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -D_FORTIFY_SOURCE=2  -fPIC -I/«BUILDDIR»/sword-1.7.3+dfsg/obj-x86_64-linux-gnu/include -I/«BUILDDIR»/sword-1.7.3+dfsg/include -I/usr/lib/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu    -o CMakeFiles/sword.dir/src/keys/treekeyidx.cpp.o -c /«BUILDDIR»/sword-1.7.3+dfsg/src/keys/treekeyidx.cpp
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/sword-1.7.3+dfsg/obj-x86_64-linux-gnu/CMakeFiles 17
[  3%] Building CXX object CMakeFiles/sword.dir/src/keys/versekey.cpp.o
/usr/bin/c++   -DCLUCENE2 -DCURLAVAILABLE -DCURLSFTPAVAILABLE -DGLOBCONFPATH=\"/etc/sword.conf\" -DUSELUCENE -D_FTPLIB_NO_COMPAT -D_ICU_ -Dsword_EXPORTS -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -D_FORTIFY_SOURCE=2  -fPIC -I/«BUILDDIR»/sword-1.7.3+dfsg/obj-x86_64-linux-gnu/include -I/«BUILDDIR»/sword-1.7.3+dfsg/include -I/usr/lib/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu    -o CMakeFiles/sword.dir/src/keys/versekey.cpp.o -c /«BUILDDIR»/sword-1.7.3+dfsg/src/keys/versekey.cpp
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/sword-1.7.3+dfsg/obj-x86_64-linux-gnu/CMakeFiles 
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/sword-1.7.3+dfsg/obj-x86_64-linux-gnu/CMakeFiles 
[  3%] [  3%] Building CXX object CMakeFiles/sword_static.dir/src/keys/strkey.cpp.o
/usr/bin/c++   -DCLUCENE2 -DCURLAVAILABLE -DCURLSFTPAVAILABLE -DGLOBCONFPATH=\"/etc/sword.conf\" -DUSELUCENE -D_FTPLIB_NO_COMPAT -D_ICU_ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -D_FORTIFY_SOURCE=2  -I/«BUILDDIR»/sword-1.7.3+dfsg/obj-x86_64-linux-gnu/include -I/«BUILDDIR»/sword-1.7.3+dfsg/include -I/usr/lib/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu    -fPIC -o CMakeFiles/sword_static.dir/src/keys/strkey.cpp.o -c /«BUILDDIR»/sword-1.7.3+dfsg/src/keys/strkey.cpp
Building CXX object CMakeFiles/sword.dir/src/keys/versetreekey.cpp.o
/usr/bin/c++   -DCLUCENE2 -DCURLAVAILABLE -DCURLSFTPAVAILABLE -DGLOBCONFPATH=\"/etc/sword.conf\" -DUSELUCENE -D_FTPLIB_NO_COMPAT -D_ICU_ -Dsword_EXPORTS -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -D_FORTIFY_SOURCE=2  -fPIC -I/«BUILDDIR»/sword-1.7.3+dfsg/obj-x86_64-linux-gnu/include -I/«BUILDDIR»/sword-1.7.3+dfsg/include -I/usr/lib/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu    -o CMakeFiles/sword.dir/src/keys/versetreekey.cpp.o -c /«BUILDDIR»/sword-1.7.3+dfsg/src/keys/versetreekey.cpp
cc1plus: all warnings being treated as errors
cc1plus: all warnings being treated as errors
make[4]: *** [CMakeFiles/sword.dir/src/keys/listkey.cpp.o] Error 1
make[4]: *** Waiting for unfinished jobs....
CMakeFiles/sword.dir/build.make:126: recipe for target 'CMakeFiles/sword.dir/src/keys/listkey.cpp.o' failed
/usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/sword-1.7.3+dfsg/obj-x86_64-linux-gnu/CMakeFiles 57
make[4]: *** [CMakeFiles/sword_static.dir/src/keys/listkey.cpp.o] Error 1
make[4]: *** Waiting for unfinished jobs....
CMakeFiles/sword_static.dir/build.make:126: recipe for target 'CMakeFiles/sword_static.dir/src/keys/listkey.cpp.o' failed
[  4%] Building CXX object CMakeFiles/sword_static.dir/src/keys/treekey.cpp.o
/usr/bin/c++   -DCLUCENE2 -DCURLAVAILABLE -DCURLSFTPAVAILABLE -DGLOBCONFPATH=\"/etc/sword.conf\" -DUSELUCENE -D_FTPLIB_NO_COMPAT -D_ICU_ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -D_FORTIFY_SOURCE=2  -I/«BUILDDIR»/sword-1.7.3+dfsg/obj-x86_64-linux-gnu/include -I/«BUILDDIR»/sword-1.7.3+dfsg/include -I/usr/lib/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu    -fPIC -o CMakeFiles/sword_static.dir/src/keys/treekey.cpp.o -c /«BUILDDIR»/sword-1.7.3+dfsg/src/keys/treekey.cpp
make[4]: Leaving directory '/«BUILDDIR»/sword-1.7.3+dfsg/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/sword_static.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:133: recipe for target 'CMakeFiles/sword_static.dir/all' failed
make[4]: Leaving directory '/«BUILDDIR»/sword-1.7.3+dfsg/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/sword.dir/all] Error 2
CMakeFiles/Makefile2:98: recipe for target 'CMakeFiles/sword.dir/all' failed
make[3]: Leaving directory '/«BUILDDIR»/sword-1.7.3+dfsg/obj-x86_64-linux-gnu'
make[2]: *** [all] Error 2
Makefile:120: recipe for target 'all' failed
make[2]: Leaving directory '/«BUILDDIR»/sword-1.7.3+dfsg/obj-x86_64-linux-gnu'
dh_auto_build: make -j10 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
debian/rules:24: recipe for target 'override_dh_auto_build' failed
make[1]: Leaving directory '/«BUILDDIR»/sword-1.7.3+dfsg'
make: *** [build-arch] Error 2
debian/rules:12: 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