[debian-mysql] Bug#777996: mariadb-10.0: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:34:15 UTC 2015


Package: src:mariadb-10.0
Version: 10.0.16-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/mariadb-10.0_10.0.16-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

[...]
/«PKGBUILDDIR»/storage/mroonga/vendor/groonga/lib/expr.c:4048:1: warning: const/copy propagation disabled: 26834 basic blocks and 86961 registers [-Wdisabled-optimization]
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sbin" ldconfig -n /«PKGBUILDDIR»/builddir/storage/tokudb/ft-index/./xz/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /«PKGBUILDDIR»/builddir/storage/tokudb/ft-index/./xz/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[7]: Leaving directory '/«PKGBUILDDIR»/builddir/storage/tokudb/ft-index/xz/src/build_lzma-build/src/liblzma'
make[6]: Leaving directory '/«PKGBUILDDIR»/builddir/storage/tokudb/ft-index/xz/src/build_lzma-build/src/liblzma'
make[5]: Leaving directory '/«PKGBUILDDIR»/builddir/storage/tokudb/ft-index/xz/src/build_lzma-build/src/liblzma'
cd /«PKGBUILDDIR»/builddir/storage/tokudb/ft-index/xz/src/build_lzma-build && /usr/bin/cmake -E touch /«PKGBUILDDIR»/builddir/storage/tokudb/ft-index/xz/src/build_lzma-stamp/build_lzma-install
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/builddir/CMakeFiles 
[ 10%] Completed 'build_lzma'
cd /«PKGBUILDDIR»/builddir/storage/tokudb/ft-index && /usr/bin/cmake -E make_directory /«PKGBUILDDIR»/builddir/storage/tokudb/ft-index/CMakeFiles
cd /«PKGBUILDDIR»/builddir/storage/tokudb/ft-index && /usr/bin/cmake -E touch /«PKGBUILDDIR»/builddir/storage/tokudb/ft-index/CMakeFiles/build_lzma-complete
cd /«PKGBUILDDIR»/builddir/storage/tokudb/ft-index && /usr/bin/cmake -E touch /«PKGBUILDDIR»/builddir/storage/tokudb/ft-index/xz/src/build_lzma-stamp/build_lzma-done
make[4]: Leaving directory '/«PKGBUILDDIR»/builddir'
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/builddir/CMakeFiles 
[ 10%] Built target build_lzma
Linking CXX static library libgroonga.a
cd /«PKGBUILDDIR»/builddir/storage/mroonga/vendor/groonga/lib && /usr/bin/cmake -P CMakeFiles/libgroonga.dir/cmake_clean_target.cmake
cd /«PKGBUILDDIR»/builddir/storage/mroonga/vendor/groonga/lib && /usr/bin/cmake -E cmake_link_script CMakeFiles/libgroonga.dir/link.txt --verbose=1
/usr/bin/ar cr libgroonga.a  CMakeFiles/libgroonga.dir/com.c.o CMakeFiles/libgroonga.dir/ctx.c.o CMakeFiles/libgroonga.dir/ctx_impl_mrb.c.o CMakeFiles/libgroonga.dir/dat.cpp.o CMakeFiles/libgroonga.dir/db.c.o CMakeFiles/libgroonga.dir/error.c.o CMakeFiles/libgroonga.dir/expr.c.o CMakeFiles/libgroonga.dir/geo.c.o CMakeFiles/libgroonga.dir/hash.c.o CMakeFiles/libgroonga.dir/ii.c.o CMakeFiles/libgroonga.dir/io.c.o CMakeFiles/libgroonga.dir/mrb.c.o CMakeFiles/libgroonga.dir/nfkc.c.o CMakeFiles/libgroonga.dir/normalizer.c.o CMakeFiles/libgroonga.dir/output.c.o CMakeFiles/libgroonga.dir/pat.c.o CMakeFiles/libgroonga.dir/plugin.c.o CMakeFiles/libgroonga.dir/proc.c.o CMakeFiles/libgroonga.dir/snip.c.o CMakeFiles/libgroonga.dir/store.c.o CMakeFiles/libgroonga.dir/str.c.o CMakeFiles/libgroonga.dir/string.c.o CMakeFiles/libgroonga.dir/token.c.o CMakeFiles/libgroonga.dir/tokenizer.c.o CMakeFiles/libgroonga.dir/token_filter.c.o CMakeFiles/libgroonga.dir/util.c.o CMakeFiles/libgroonga.dir/dat/cursor-factory.cpp.o CMakeFiles/libgroonga.dir/dat/file-impl.cpp.o CMakeFiles/libgroonga.dir/dat/file.cpp.o CMakeFiles/libgroonga.dir/dat/id-cursor.cpp.o CMakeFiles/libgroonga.dir/dat/key-cursor.cpp.o CMakeFiles/libgroonga.dir/dat/predictive-cursor.cpp.o CMakeFiles/libgroonga.dir/dat/prefix-cursor.cpp.o CMakeFiles/libgroonga.dir/dat/trie.cpp.o CMakeFiles/libgroonga.dir/mrb/mrb_accessor.c.o CMakeFiles/libgroonga.dir/mrb/mrb_bulk.c.o CMakeFiles/libgroonga.dir/mrb/mrb_column.c.o CMakeFiles/libgroonga.dir/mrb/mrb_converter.c.o CMakeFiles/libgroonga.dir/mrb/mrb_ctx.c.o CMakeFiles/libgroonga.dir/mrb/mrb_error.c.o CMakeFiles/libgroonga.dir/mrb/mrb_expr.c.o CMakeFiles/libgroonga.dir/mrb/mrb_fixed_size_column.c.o CMakeFiles/libgroonga.dir/mrb/mrb_id.c.o CMakeFiles/libgroonga.dir/mrb/mrb_index_column.c.o CMakeFiles/libgroonga.dir/mrb/mrb_logger.c.o CMakeFiles/libgroonga.dir/mrb/mrb_obj.c.o CMakeFiles/libgroonga.dir/mrb/mrb_operator.c.o CMakeFiles/libgroonga.dir/mrb/mrb_procedure.c.o CMakeFiles/libgroonga.dir/mrb/mrb_variable_size_column.c.o CMakeFiles/libgroonga.dir/mrb/mrb_void.c.o
/usr/bin/ranlib libgroonga.a
make[4]: Leaving directory '/«PKGBUILDDIR»/builddir'
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/builddir/CMakeFiles  28 29 30
[ 10%] Built target libgroonga
make[3]: Leaving directory '/«PKGBUILDDIR»/builddir'
make[2]: *** [all] Error 2
Makefile:147: recipe for target 'all' failed
make[2]: Leaving directory '/«PKGBUILDDIR»/builddir'
make[1]: *** [override_dh_auto_build] Error 2
debian/rules:124: recipe for target 'override_dh_auto_build' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
debian/rules:210: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the pkg-mysql-maint mailing list