[debian-mysql] Bug#811896: percona-xtrabackup: FTBFS with GCC 6: inconsistent user-defined literal suffixes

Martin Michlmayr tbm at hpe.com
Wed Jan 20 03:07:23 UTC 2016


Package: percona-xtrabackup
Version: 2.2.3-2.1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-literal-suffixes

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
...
> [ 37%] Building C object storage/myisammrg/CMakeFiles/myisammrg_embedded.dir/myrg_info.c.o
> In file included from /<<PKGBUILDDIR>>/sql/item.h:3627:0,
>                  from /<<PKGBUILDDIR>>/sql/sql_lex.h:26,
>                  from /<<PKGBUILDDIR>>/sql/sql_class.h:403,
>                  from /<<PKGBUILDDIR>>/sql/sql_acl.h:21,
>                  from /<<PKGBUILDDIR>>/sql/sql_parse.h:20,
>                  from /<<PKGBUILDDIR>>/sql/rpl_master.cc:19:
> /<<PKGBUILDDIR>>/sql/item_func.h: In member function 'double Item_func::fix_result(double)':
> /<<PKGBUILDDIR>>/sql/item_func.h:231:23: error: 'isfinite' was not declared in this scope
>      if (isfinite(value))
>                        ^
> 
> /<<PKGBUILDDIR>>/sql/item_func.h:231:23: note: suggested alternative:
> In file included from /usr/include/c++/6/random:38:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:66,
>                  from /usr/include/c++/6/algorithm:62,
>                  from /<<PKGBUILDDIR>>/sql/mdl.h:32,
>                  from /<<PKGBUILDDIR>>/sql/table.h:22,
>                  from /<<PKGBUILDDIR>>/sql/field.h:20,
>                  from /<<PKGBUILDDIR>>/sql/unireg.h:172,
>                  from /<<PKGBUILDDIR>>/sql/rpl_master.cc:18:
> /usr/include/c++/6/cmath:601:5: note:   'std::isfinite'
>      isfinite(_Tp __x)
>      ^~~~~~~~
> 
> In file included from /<<PKGBUILDDIR>>/sql/item.h:3627:0,
>                  from /<<PKGBUILDDIR>>/sql/sql_lex.h:26,
>                  from /<<PKGBUILDDIR>>/sql/sql_class.h:403,
>                  from /<<PKGBUILDDIR>>/sql/sql_acl.h:21,
>                  from /<<PKGBUILDDIR>>/sql/sql_parse.h:20,
>                  from /<<PKGBUILDDIR>>/sql/rpl_master.cc:19:
> /<<PKGBUILDDIR>>/sql/item_func.h: In member function 'double Item_func::check_float_overflow(double)':
> /<<PKGBUILDDIR>>/sql/item_func.h:265:26: error: 'isfinite' was not declared in this scope
>      return isfinite(value) ? value : raise_float_overflow();

...

> [ 52%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/trx/trx0rec.cc.o
> In file included from /<<PKGBUILDDIR>>/storage/innobase/trx/trx0i_s.cc:37:0:
> /<<PKGBUILDDIR>>/storage/innobase/include/univ.i:445:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>  # define UINT32PF "%"PRIu32
>                    ^
> 
> /<<PKGBUILDDIR>>/storage/innobase/include/univ.i:446:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>  # define INT64PF "%"PRId64
>                   ^
> 
> /<<PKGBUILDDIR>>/storage/innobase/include/univ.i:447:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>  # define UINT64PF "%"PRIu64
>                    ^
> 
> /<<PKGBUILDDIR>>/storage/innobase/include/univ.i:448:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>  # define UINT64PFx "%016"PRIx64
>                     ^
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:44:19: error: inconsistent user-defined literal suffixes 'op' and 'name' in string literal
>   {"buffer_page_"op"_"name, "buffer_page_io",  \
>                    ^
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:50:3: note: in expansion of macro 'MONITOR_BUF_PAGE'
>    MONITOR_BUF_PAGE(name, description, code, "read", PAGE_READ)
>    ^~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:542:2: note: in expansion of macro 'MONITOR_BUF_PAGE_READ'
>   MONITOR_BUF_PAGE_READ("index_leaf","Index Leaf", INDEX_LEAF),
>   ^~~~~~~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:44:19: error: unable to find string literal operator 'operator""op' with 'const char [14]', 'long unsigned int' arguments
>   {"buffer_page_"op"_"name, "buffer_page_io",  \
>                    ^
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:50:3: note: in expansion of macro 'MONITOR_BUF_PAGE'
>    MONITOR_BUF_PAGE(name, description, code, "read", PAGE_READ)
>    ^~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:542:2: note: in expansion of macro 'MONITOR_BUF_PAGE_READ'
>   MONITOR_BUF_PAGE_READ("index_leaf","Index Leaf", INDEX_LEAF),
>   ^~~~~~~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:45:26: error: inconsistent user-defined literal suffixes 'description' and 'op' in string literal
>    "Number of "description" Pages "op,   \
>                           ^
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:50:3: note: in expansion of macro 'MONITOR_BUF_PAGE'
>    MONITOR_BUF_PAGE(name, description, code, "read", PAGE_READ)
>    ^~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:542:2: note: in expansion of macro 'MONITOR_BUF_PAGE_READ'
>   MONITOR_BUF_PAGE_READ("index_leaf","Index Leaf", INDEX_LEAF),
>   ^~~~~~~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:45:26: error: unable to find string literal operator 'operator""description' with 'const char [18]', 'long unsigned int' arguments
>    "Number of "description" Pages "op,   \
>                           ^
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:50:3: note: in expansion of macro 'MONITOR_BUF_PAGE'
>    MONITOR_BUF_PAGE(name, description, code, "read", PAGE_READ)
>    ^~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:542:2: note: in expansion of macro 'MONITOR_BUF_PAGE_READ'
>   MONITOR_BUF_PAGE_READ("index_leaf","Index Leaf", INDEX_LEAF),
>   ^~~~~~~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:44:19: error: inconsistent user-defined literal suffixes 'op' and 'name' in string literal
>   {"buffer_page_"op"_"name, "buffer_page_io",  \
>                    ^
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:50:3: note: in expansion of macro 'MONITOR_BUF_PAGE'
>    MONITOR_BUF_PAGE(name, description, code, "read", PAGE_READ)
>    ^~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:544:2: note: in expansion of macro 'MONITOR_BUF_PAGE_READ'
>   MONITOR_BUF_PAGE_READ("index_non_leaf","Index Non-leaf",
>   ^~~~~~~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:44:19: error: unable to find string literal operator 'operator""op' with 'const char [14]', 'long unsigned int' arguments
>   {"buffer_page_"op"_"name, "buffer_page_io",  \
>                    ^
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:50:3: note: in expansion of macro 'MONITOR_BUF_PAGE'
>    MONITOR_BUF_PAGE(name, description, code, "read", PAGE_READ)
>    ^~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:544:2: note: in expansion of macro 'MONITOR_BUF_PAGE_READ'
>   MONITOR_BUF_PAGE_READ("index_non_leaf","Index Non-leaf",
>   ^~~~~~~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:45:26: error: inconsistent user-defined literal suffixes 'description' and 'op' in string literal
>    "Number of "description" Pages "op,   \
>                           ^
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:50:3: note: in expansion of macro 'MONITOR_BUF_PAGE'
>    MONITOR_BUF_PAGE(name, description, code, "read", PAGE_READ)
>    ^~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:544:2: note: in expansion of macro 'MONITOR_BUF_PAGE_READ'
>   MONITOR_BUF_PAGE_READ("index_non_leaf","Index Non-leaf",
>   ^~~~~~~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:45:26: error: unable to find string literal operator 'operator""description' with 'const char [18]', 'long unsigned int' arguments
>    "Number of "description" Pages "op,   \
>                           ^
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:50:3: note: in expansion of macro 'MONITOR_BUF_PAGE'
>    MONITOR_BUF_PAGE(name, description, code, "read", PAGE_READ)
>    ^~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:544:2: note: in expansion of macro 'MONITOR_BUF_PAGE_READ'
>   MONITOR_BUF_PAGE_READ("index_non_leaf","Index Non-leaf",
>   ^~~~~~~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:44:19: error: inconsistent user-defined literal suffixes 'op' and 'name' in string literal
>   {"buffer_page_"op"_"name, "buffer_page_io",  \
>                    ^
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:50:3: note: in expansion of macro 'MONITOR_BUF_PAGE'
>    MONITOR_BUF_PAGE(name, description, code, "read", PAGE_READ)
>    ^~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:547:2: note: in expansion of macro 'MONITOR_BUF_PAGE_READ'
>   MONITOR_BUF_PAGE_READ("index_ibuf_leaf", "Insert Buffer Index Leaf",
>   ^~~~~~~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/storage/innobase/srv/srv0mon.cc:44:19: error: unable to find string literal operator 'operator""op' with 'const char [14]', 'long unsigned int' arguments
>   {"buffer_page_"op"_"name, "buffer_page_io",  \



More information about the pkg-mysql-maint mailing list