polardb/polardbx-engine

make -j8 failed

guimingyue opened this issue · 1 comments

OS: Ubuntu 20.04 LTS (GNU/Linux 5.4.0-42-generic x86_64)

[ 61%] Building CXX object plugin/x/client/CMakeFiles/mysqlxclient_lite.dir/xprotocol_impl.cc.o
In file included from /home/ubuntu/develop/galaxyengine/sql/sql_cmd.h:31:0,
                 from /home/ubuntu/develop/galaxyengine/sql/sql_plugin.h:34,
                 from /home/ubuntu/develop/galaxyengine/include/mysql/plugin.h:35,
                 from /home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:29:
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc: In member function ‘bool ha_sequence::setup_base_engine()’:
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:623:15: error: ‘FALSE’ was not declared in this scope
   DBUG_RETURN(FALSE);
               ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:623:15: note: suggested alternative: ‘FILE’
   DBUG_RETURN(FALSE);
               ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:626:15: error: ‘TRUE’ was not declared in this scope
   DBUG_RETURN(TRUE);
               ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc: In member function ‘bool ha_sequence::setup_base_handler(MEM_ROOT*)’:
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:662:17: error: ‘TRUE’ was not declared in this scope
     DBUG_RETURN(TRUE);
                 ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:664:15: error: ‘FALSE’ was not declared in this scope
   DBUG_RETURN(FALSE);
               ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:664:15: note: suggested alternative: ‘FILE’
   DBUG_RETURN(FALSE);
               ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc: In member function ‘bool ha_sequence::get_from_handler_file(const char*, MEM_ROOT*)’:
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:678:27: error: ‘FALSE’ was not declared in this scope
   if (m_file) DBUG_RETURN(FALSE);
                           ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:678:27: note: suggested alternative: ‘FILE’
   if (m_file) DBUG_RETURN(FALSE);
                           ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:682:15: error: ‘FALSE’ was not declared in this scope
   DBUG_RETURN(FALSE);
               ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:682:15: note: suggested alternative: ‘FILE’
   DBUG_RETURN(FALSE);
               ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:685:15: error: ‘TRUE’ was not declared in this scope
   DBUG_RETURN(TRUE);
               ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc: In member function ‘bool ha_sequence::new_handler_from_sequence_info(MEM_ROOT*)’:
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:704:17: error: ‘TRUE’ was not declared in this scope
     DBUG_RETURN(TRUE);
                 ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:706:15: error: ‘FALSE’ was not declared in this scope
   DBUG_RETURN(FALSE);
               ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:706:15: note: suggested alternative: ‘FILE’
   DBUG_RETURN(FALSE);
               ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc: In member function ‘bool ha_sequence::initialize_sequence(MEM_ROOT*)’:
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:722:19: error: ‘TRUE’ was not declared in this scope
       DBUG_RETURN(TRUE);
                   ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:725:17: error: ‘TRUE’ was not declared in this scope
     DBUG_RETURN(TRUE);
                 ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:730:17: error: ‘TRUE’ was not declared in this scope
     DBUG_RETURN(TRUE);
                 ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:172:7: note: in definition of macro ‘DBUG_EXECUTE_IF’
       a1                                 \
       ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:730:5: note: in expansion of macro ‘DBUG_RETURN’
     DBUG_RETURN(TRUE);
     ^
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:733:15: error: ‘FALSE’ was not declared in this scope
   DBUG_RETURN(FALSE);
               ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:733:15: note: suggested alternative: ‘FILE’
   DBUG_RETURN(FALSE);
               ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc: In member function ‘virtual int ha_sequence::create(const char*, TABLE*, HA_CREATE_INFO*, dd::Table*)’:
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:1154:68: error: ‘TRUE’ was not declared in this scope
   if (get_from_handler_file(name, ha_thd()->mem_root)) DBUG_RETURN(TRUE);
                                                                    ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc: In member function ‘virtual int ha_sequence::delete_table(const char*, const dd::Table*)’:
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:1193:68: error: ‘TRUE’ was not declared in this scope
   if (get_from_handler_file(name, ha_thd()->mem_root)) DBUG_RETURN(TRUE);
                                                                    ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc: In member function ‘virtual int ha_sequence::rename_table(const char*, const char*, const dd::Table*, dd::Table*)’:
/home/ubuntu/develop/galaxyengine/sql/ha_sequence.cc:1307:68: error: ‘TRUE’ was not declared in this scope
   if (get_from_handler_file(from, ha_thd()->mem_root)) DBUG_RETURN(TRUE);
                                                                    ^
/home/ubuntu/develop/galaxyengine/include/my_dbug.h:156:13: note: in definition of macro ‘DBUG_RETURN’
     return (a1);                              \
             ^~
[ 61%] Building CXX object plugin/x/client/CMakeFiles/mysqlxclient_lite.dir/xrow_impl.cc.o
make[2]: *** [sql/CMakeFiles/sequence.dir/build.make:63: sql/CMakeFiles/sequence.dir/ha_sequence.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:10502: sql/CMakeFiles/sequence.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 61%] Building CXX object plugin/x/client/CMakeFiles/mysqlxclient_lite.dir/xquery_result_impl.cc.o
[ 61%] Building CXX object plugin/x/client/CMakeFiles/mysqlxclient.dir/xcompression_impl.cc.o
[ 61%] Building CXX object plugin/x/client/CMakeFiles/mysqlxclient_lite.dir/xsession_impl.cc.o
[ 61%] Building CXX object plugin/x/client/CMakeFiles/mysqlxclient.dir/xrow.cc.o
[ 61%] Building CXX object plugin/x/client/CMakeFiles/mysqlxclient.dir/validator/capability_compression_validator.cc.o
[ 61%] Building CXX object plugin/x/client/CMakeFiles/mysqlxclient.dir/galaxy_protocol_string.cc.o
[ 61%] Building CXX object plugin/x/client/CMakeFiles/mysqlxclient.dir/__/__/__/sql-common/net_ns.cc.o
[ 61%] Building CXX object plugin/x/client/CMakeFiles/mysqlxclient_lite.dir/xconnection_impl.cc.o
[ 61%] Building CXX object plugin/x/client/CMakeFiles/mysqlxclient_lite.dir/xcompression_negotiator.cc.o
[ 62%] Building CXX object plugin/x/client/CMakeFiles/mysqlxclient_lite.dir/xcompression_impl.cc.o
[ 62%] Building CXX object plugin/x/client/CMakeFiles/mysqlxclient_lite.dir/xrow.cc.o
[ 62%] Building CXX object plugin/x/client/CMakeFiles/mysqlxclient_lite.dir/validator/capability_compression_validator.cc.o
[ 62%] Building CXX object plugin/x/client/CMakeFiles/mysqlxclient_lite.dir/galaxy_protocol_string.cc.o
[ 62%] Building CXX object plugin/x/client/CMakeFiles/mysqlxclient_lite.dir/__/__/__/sql-common/net_ns.cc.o
[ 62%] Linking CXX static library libmysqlxclient.a
[ 62%] Built target mysqlxclient
[ 62%] Linking CXX static library libmysqlxclient_lite.a
[ 62%] Built target mysqlxclient_lite
make: *** [Makefile:163: all] Error 2

Could you please tell me how did you solve this?