[debian-mysql] Bug#812052: galera-3: FTBFS with GCC 6: C++11 requires a space between..

Martin Michlmayr tbm at hpe.com
Wed Jan 20 04:53:12 UTC 2016


Package: galera-3
Version: 25.3.13-2
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> g++ -o gcs/src/gcs_fifo_lite.o -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wno-long-long -Wno-deprecated -ansi -pipe -Weffc++ -Wold-style-cast -g -O3 -DNDEBUG -m64 -pthread -Wall -Wextra -Wno-unused-parameter -Werror -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=600 -DHAVE_COMMON_H -DGALERA_USE_GU_NETWORK -DHAVE_BYTESWAP_H -DHAVE_ENDIAN_H -DHAVE_EXECINFO_H -DHAVE_BOOST_SHARED_PTR_HPP -DHAVE_TR1_UNORDERED_MAP -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG=1 -DHAVE_ASIO_HPP -DHAVE_ASIO_SSL_HPP -DGCS_USE_GCOMM -DGALERA_LOG_H_ENABLE_CXX -Wno-variadic-macros -Wno-old-style-cast -Wno-missing-field-initializers -Wno-effc++ -Igalerautils/src -Igcomm/src -Igcache/src gcs/src/gcs_fifo_lite.cpp
> gcs/src/gcs_params.cpp:108:23: error: C++11 requires a space between string literal and macro [-Werror=c++11-compat]
>              gu_error ("%s value out of range [%ld, %ld]: %"PRIi64,
>                        ^
> 
> gcs/src/gcs_params.cpp:136:23: error: C++11 requires a space between string literal and macro [-Werror=c++11-compat]
>              gu_error ("%s value out of range [%"PRIi64", %"PRIi64"]: %"PRIi64,
>                        ^
> 
> gcs/src/gcs_params.cpp:136:55: error: C++11 requires a space between string literal and macro [-Werror=c++11-compat]
>              gu_error ("%s value out of range [%"PRIi64", %"PRIi64"]: %"PRIi64,
>                                                        ^
> 
> gcs/src/gcs_params.cpp:136:66: error: C++11 requires a space between string literal and macro [-Werror=c++11-compat]
>              gu_error ("%s value out of range [%"PRIi64", %"PRIi64"]: %"PRIi64,
>                                                                   ^
> 



More information about the pkg-mysql-maint mailing list