当前位置: 首页 > 工具软件 > OneinStack > 使用案例 >

oneinstack mysql_oneinstack一键包安装的mysql老失败

楚宪
2023-12-01

[ 67%] Building CXX object sql/CMakeFiles/sql_main.dir/item_inetfunc.cc.o

[ 67%] Building CXX object sql/CMakeFiles/sql_main.dir/json_binary.cc.o

[ 67%] Building CXX object sql/CMakeFiles/sql_main.dir/json_diff.cc.o

[ 67%] Building CXX object sql/CMakeFiles/sql_main.dir/json_dom.cc.o

/home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.cc: In function 'Json_dom_ptr merge_doms(Json_dom_ptr, Json_dom_ptr)':

/home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.cc:112:12: error: cannot bind 'Json_object_ptr {aka std::unique_ptr}' lvalue to 'std::unique_ptr&&'

return left_object;

^

In file included from /usr/include/c++/4.9/memory:81:0,

from /home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.h:29,

from /home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.cc:23:

/usr/include/c++/4.9/bits/unique_ptr.h:220:2: note: initializing argument 1 of 'std::unique_ptr<_tp _dp>::unique_ptr(std::unique_ptr<_up _ep>&&) [with _Up = Json_object; _Ep = std::default_delete; = void; _Tp = Json_dom; _Dp = std::default_delete]'

unique_ptr(unique_ptr<_up _ep>&& __u) noexcept

^

/home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.cc:125:10: error: cannot bind 'Json_array_ptr {aka std::unique_ptr}' lvalue to 'std::unique_ptr&&'

return left_array;

^

In file included from /usr/include/c++/4.9/memory:81:0,

from /home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.h:29,

from /home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.cc:23:

/usr/include/c++/4.9/bits/unique_ptr.h:220:2: note: initializing argument 1 of 'std::unique_ptr<_tp _dp>::unique_ptr(std::unique_ptr<_up _ep>&&) [with _Up = Json_array; _Ep = std::default_delete; = void; _Tp = Json_dom; _Dp = std::default_delete]'

unique_ptr(unique_ptr<_up _ep>&& __u) noexcept

^

/home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.cc: In member function 'virtual Json_dom_ptr Json_object::clone() const':

/home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.cc:1010:10: error: cannot bind 'Json_object_ptr {aka std::unique_ptr}' lvalue to 'std::unique_ptr&&'

return o;

^

In file included from /usr/include/c++/4.9/memory:81:0,

from /home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.h:29,

from /home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.cc:23:

/usr/include/c++/4.9/bits/unique_ptr.h:220:2: note: initializing argument 1 of 'std::unique_ptr<_tp _dp>::unique_ptr(std::unique_ptr<_up _ep>&&) [with _Up = Json_object; _Ep = std::default_delete; = void; _Tp = Json_dom; _Dp = std::default_delete]'

unique_ptr(unique_ptr<_up _ep>&& __u) noexcept

^

/home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.cc: In member function 'virtual Json_dom_ptr Json_array::clone() const':

/home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.cc:1150:10: error: cannot bind 'Json_array_ptr {aka std::unique_ptr}' lvalue to 'std::unique_ptr&&'

return vv;

^

In file included from /usr/include/c++/4.9/memory:81:0,

from /home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.h:29,

from /home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.cc:23:

/usr/include/c++/4.9/bits/unique_ptr.h:220:2: note: initializing argument 1 of 'std::unique_ptr<_tp _dp>::unique_ptr(std::unique_ptr<_up _ep>&&) [with _Up = Json_array; _Ep = std::default_delete; = void; _Tp = Json_dom; _Dp = std::default_delete]'

unique_ptr(unique_ptr<_up _ep>&& __u) noexcept

^

/home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.cc: In function 'Json_dom_ptr merge_doms(Json_dom_ptr, Json_dom_ptr)':

/home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.cc:127:1: warning: control reaches end of non-void function [-Wreturn-type]

}

^

/home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.cc: In member function 'virtual Json_dom_ptr Json_object::clone() const':

/home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.cc:1012:1: warning: control reaches end of non-void function [-Wreturn-type]

}

^

/home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.cc: In member function 'virtual Json_dom_ptr Json_array::clone() const':

/home/customer/oneinstack/src/mysql-8.0.15/sql/json_dom.cc:1152:1: warning: control reaches end of non-void function [-Wreturn-type]

}

^

sql/CMakeFiles/sql_main.dir/build.make:1648: recipe for target 'sql/CMakeFiles/sql_main.dir/json_dom.cc.o' failed

make[2]: *** [sql/CMakeFiles/sql_main.dir/json_dom.cc.o] Error 1

CMakeFiles/Makefile2:10273: recipe for target 'sql/CMakeFiles/sql_main.dir/all' failed

make[1]: *** [sql/CMakeFiles/sql_main.dir/all] Error 2

Makefile:147: recipe for target 'all' failed

make: *** [all] Error 2

/home/customer/oneinstack/src /home/customer/oneinstack /home/customer/oneinstack

MySQL install failed, Please contact the author!

 类似资料: