mysql-client-5.6.14 build failed

From: Alexander Panyushkin <vsityz_at_gmail.com>
Date: Wed, 02 Oct 2013 02:04:02 +0300
Hi all.

mysql-client-5.6.14 not build with clang

[ 89%] Building C object 
libmysql/CMakeFiles/clientlib.dir/__/sql-common/client.c.o
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/libmysql/libmysql.c:16:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/libmysql/errmsg.c:22:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/libmysql/get_password.c:23:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql-common/my_time.c:16:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_time.h:23:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql-common/client.c:34:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
1 warning generated.
[ 90%] Building C object 
libmysql/CMakeFiles/clientlib.dir/__/sql-common/client_plugin.c.o
1 warning generated.
[ 90%] Building CXX object 
libmysql/CMakeFiles/clientlib.dir/__/sql-common/client_authentication.cc.o
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql-common/client_plugin.c:30:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
1 warning generated.
[ 91%] Building CXX object 
libmysql/CMakeFiles/clientlib.dir/__/sql/net_serv.cc.o
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql-common/client_authentication.cc:20:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/crypt_genhash_impl.h:17:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
1 warning generated.
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/net_serv.cc:36:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
[ 91%] Building C object 
libmysql/CMakeFiles/clientlib.dir/__/sql-common/pack.c.o
1 warning generated.
[ 92%] Building C object 
libmysql/CMakeFiles/clientlib.dir/__/sql/password.c.o
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/password.c:62:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/password.h:19:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql-common/pack.c:16:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
1 warning generated.
1 warning generated.
1 warning generated.
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/net_serv.cc:48:
In file included from /usr/include/c++/v1/algorithm:627:
/usr/include/c++/v1/memory:968:39: error: expected unqualified-id
     template <class _Up> static __two test(...);
                                       ^
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:464:21: 
note: expanded from macro 'test'
#define test(a)         ((a) ? 1 : 0)
                            ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/net_serv.cc:48:
In file included from /usr/include/c++/v1/algorithm:627:
/usr/include/c++/v1/memory:968:39: error: expected ')'
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:464:23: 
note: expanded from macro 'test'
#define test(a)         ((a) ? 1 : 0)
                              ^
/usr/include/c++/v1/memory:968:39: note: to match this '('
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:464:18: 
note: expanded from macro 'test'
#define test(a)         ((a) ? 1 : 0)
                         ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/net_serv.cc:48:
In file included from /usr/include/c++/v1/algorithm:627:
/usr/include/c++/v1/memory:969:43: error: expected unqualified-id
     template <class _Up> static char test(typename _Up::pointer* = 0);
                                           ^
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:464:20: 
note: expanded from macro 'test'
#define test(a)         ((a) ? 1 : 0)
                           ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/net_serv.cc:48:
In file included from /usr/include/c++/v1/algorithm:627:
/usr/include/c++/v1/memory:969:43: error: expected ')'
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:464:20: 
note: expanded from macro 'test'
#define test(a)         ((a) ? 1 : 0)
                           ^
/usr/include/c++/v1/memory:969:38: note: to match this '('
     template <class _Up> static char test(typename _Up::pointer* = 0);
                                      ^
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:464:19: 
note: expanded from macro 'test'
#define test(a)         ((a) ? 1 : 0)
                          ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/net_serv.cc:48:
In file included from /usr/include/c++/v1/algorithm:627:
/usr/include/c++/v1/memory:969:38: error: expected ')'
     template <class _Up> static char test(typename _Up::pointer* = 0);
                                      ^
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:464:23: 
note: expanded from macro 'test'
#define test(a)         ((a) ? 1 : 0)
                              ^
/usr/include/c++/v1/memory:969:38: note: to match this '('
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:464:18: 
note: expanded from macro 'test'
#define test(a)         ((a) ? 1 : 0)
                         ^
1 warning generated.
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/net_serv.cc:48:
In file included from /usr/include/c++/v1/algorithm:627:
/usr/include/c++/v1/memory:974:69: error: no member named 'test' in 
namespace 'std::__1::__has_pointer_type_imp'
     : public integral_constant<bool, 
sizeof(__has_pointer_type_imp::test<_Tp>(0)) == 1>
~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/c++/v1/memory:974:74: error: '_Tp' does not refer to a value
     : public integral_constant<bool, 
sizeof(__has_pointer_type_imp::test<_Tp>(0)) == 1>
^
/usr/include/c++/v1/memory:972:17: note: declared here
template <class _Tp>
                 ^
/usr/include/c++/v1/memory:975:1: error: expected class name
{
^
1 warning and 8 errors generated.
--- libmysql/CMakeFiles/clientlib.dir/__/sql/net_serv.cc.o ---
*** [libmysql/CMakeFiles/clientlib.dir/__/sql/net_serv.cc.o] Error code 1

make[3]: stopped in /usr/ports/databases/mysql56-client/work/mysql-5.6.14
1 error

make[3]: stopped in /usr/ports/databases/mysql56-client/work/mysql-5.6.14
--- libmysql/CMakeFiles[ 89%] Building C object 
libmysql/CMakeFiles/clientlib.dir/__/sql-common/client.c.o
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/libmysql/libmysql.c:16:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/libmysql/errmsg.c:22:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/libmysql/get_password.c:23:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql-common/my_time.c:16:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_time.h:23:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql-common/client.c:34:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
1 warning generated.
[ 90%] Building C object 
libmysql/CMakeFiles/clientlib.dir/__/sql-common/client_plugin.c.o
1 warning generated.
[ 90%] Building CXX object 
libmysql/CMakeFiles/clientlib.dir/__/sql-common/client_authentication.cc.o
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql-common/client_plugin.c:30:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
1 warning generated.
[ 91%] Building CXX object 
libmysql/CMakeFiles/clientlib.dir/__/sql/net_serv.cc.o
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql-common/client_authentication.cc:20:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/crypt_genhash_impl.h:17:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
1 warning generated.
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/net_serv.cc:36:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
[ 91%] Building C object 
libmysql/CMakeFiles/clientlib.dir/__/sql-common/pack.c.o
1 warning generated.
[ 92%] Building C object 
libmysql/CMakeFiles/clientlib.dir/__/sql/password.c.o
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/password.c:62:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/password.h:19:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql-common/pack.c:16:
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:337:
/usr/include/sys/timeb.h:42:2: warning: "this file includes 
<sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
  ^
1 warning generated.
1 warning generated.
1 warning generated.
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/net_serv.cc:48:
In file included from /usr/include/c++/v1/algorithm:627:
/usr/include/c++/v1/memory:968:39: error: expected unqualified-id
     template <class _Up> static __two test(...);
                                       ^
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:464:21: 
note: expanded from macro 'test'
#define test(a)         ((a) ? 1 : 0)
                            ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/net_serv.cc:48:
In file included from /usr/include/c++/v1/algorithm:627:
/usr/include/c++/v1/memory:968:39: error: expected ')'
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:464:23: 
note: expanded from macro 'test'
#define test(a)         ((a) ? 1 : 0)
                              ^
/usr/include/c++/v1/memory:968:39: note: to match this '('
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:464:18: 
note: expanded from macro 'test'
#define test(a)         ((a) ? 1 : 0)
                         ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/net_serv.cc:48:
In file included from /usr/include/c++/v1/algorithm:627:
/usr/include/c++/v1/memory:969:43: error: expected unqualified-id
     template <class _Up> static char test(typename _Up::pointer* = 0);
                                           ^
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:464:20: 
note: expanded from macro 'test'
#define test(a)         ((a) ? 1 : 0)
                           ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/net_serv.cc:48:
In file included from /usr/include/c++/v1/algorithm:627:
/usr/include/c++/v1/memory:969:43: error: expected ')'
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:464:20: 
note: expanded from macro 'test'
#define test(a)         ((a) ? 1 : 0)
                           ^
/usr/include/c++/v1/memory:969:38: note: to match this '('
     template <class _Up> static char test(typename _Up::pointer* = 0);
                                      ^
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:464:19: 
note: expanded from macro 'test'
#define test(a)         ((a) ? 1 : 0)
                          ^
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/net_serv.cc:48:
In file included from /usr/include/c++/v1/algorithm:627:
/usr/include/c++/v1/memory:969:38: error: expected ')'
     template <class _Up> static char test(typename _Up::pointer* = 0);
                                      ^
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:464:23: 
note: expanded from macro 'test'
#define test(a)         ((a) ? 1 : 0)
                              ^
/usr/include/c++/v1/memory:969:38: note: to match this '('
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/include/my_global.h:464:18: 
note: expanded from macro 'test'
#define test(a)         ((a) ? 1 : 0)
                         ^
1 warning generated.
In file included from 
/usr/ports/databases/mysql56-client/work/mysql-5.6.14/sql/net_serv.cc:48:
In file included from /usr/include/c++/v1/algorithm:627:
/usr/include/c++/v1/memory:974:69: error: no member named 'test' in 
namespace 'std::__1::__has_pointer_type_imp'
     : public integral_constant<bool, 
sizeof(__has_pointer_type_imp::test<_Tp>(0)) == 1>
~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/c++/v1/memory:974:74: error: '_Tp' does not refer to a value
     : public integral_constant<bool, 
sizeof(__has_pointer_type_imp::test<_Tp>(0)) == 1>
^
/usr/include/c++/v1/memory:972:17: note: declared here
template <class _Tp>
                 ^
/usr/include/c++/v1/memory:975:1: error: expected class name
{
^
1 warning and 8 errors generated.
--- libmysql/CMakeFiles/clientlib.dir/__/sql/net_serv.cc.o ---
*** [libmysql/CMakeFiles/clientlib.dir/__/sql/net_serv.cc.o] Error code 1

make[3]: stopped in /usr/ports/databases/mysql56-client/work/mysql-5.6.14
1 error

make[3]: stopped in /usr/ports/databases/mysql56-client/work/mysql-5.6.14
--- libmysql/CMakeFiles/clientlib.dir/all ---
*** [libmysql/CMakeFiles/clientlib.dir/all] Error code 2

make[2]: stopped in /usr/ports/databases/mysql56-client/work/mysql-5.6.14
1 error

make[2]: stopped in /usr/ports/databases/mysql56-client/work/mysql-5.6.14
--- all ---
*** [all] Error code 2

make[1]: stopped in /usr/ports/databases/mysql56-client/work/mysql-5.6.14
1 error

make[1]: stopped in /usr/ports/databases/mysql56-client/work/mysql-5.6.14
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/mysql56-client
/clientlib.dir/all ---
*** [libmysql/CMakeFiles/clientlib.dir/all] Error code 2

make[2]: stopped in /usr/ports/databases/mysql56-client/work/mysql-5.6.14
1 error

make[2]: stopped in /usr/ports/databases/mysql56-client/work/mysql-5.6.14
--- all ---
*** [all] Error code 2

make[1]: stopped in /usr/ports/databases/mysql56-client/work/mysql-5.6.14
1 error

make[1]: stopped in /usr/ports/databases/mysql56-client/work/mysql-5.6.14
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/mysql56-client

--
Alexander
Received on Tue Oct 01 2013 - 21:04:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:42 UTC