Date: Mon, 2 Apr 2018 21:40:08 +0200 From: Michael Grimm <trashcan@ellael.org> To: Mailing List FreeBSD Ports <freebsd-ports@FreeBSD.org> Subject: FreeBSD 11.1-STABLE #0 r331865: mariadb102-server-10.2.14 compilation fails Message-ID: <CA5E5ED5-23BC-4F2F-B204-A55A8115AEB9@ellael.org>
next in thread | raw e-mail | index | archive | help
Hi, since the recent upgrade of llvm et al in STABLE-11.1 = mariadb102-server-10.2.14 fails to compile (poudriere): --- storage/connect/CMakeFiles/connect.dir/all --- --- storage/connect/CMakeFiles/connect.dir/table.cpp.o --- --- storage/connect/CMakeFiles/connect.dir/tabjson.cpp.o --- = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/storag= e/connect/tabjson.cpp:198:10: error: cannot initialize return object of = type 'int' with an rvalue of type 'nullptr_t' return NULL; ^~~~ /usr/include/sys/_null.h:35:14: note: expanded from macro 'NULL' #define NULL nullptr ^~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/storag= e/connect/tabjson.cpp:246:11: error: cannot initialize return object of = type 'int' with an rvalue of type 'nullptr_t' return NULL; ^~~~ /usr/include/sys/_null.h:35:14: note: expanded from macro 'NULL' #define NULL nullptr ^~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/storag= e/connect/tabjson.cpp:253:12: error: cannot initialize return object of = type 'int' with an rvalue of type 'nullptr_t' return NULL; ^~~~ /usr/include/sys/_null.h:35:14: note: expanded from macro 'NULL' #define NULL nullptr ^~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/storag= e/connect/tabjson.cpp:272:12: error: cannot initialize return object of = type 'int' with an rvalue of type 'nullptr_t' return NULL; ^~~~ /usr/include/sys/_null.h:35:14: note: expanded from macro 'NULL' #define NULL nullptr ^~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/storag= e/connect/tabjson.cpp:279:12: error: cannot initialize return object of = type 'int' with an rvalue of type 'nullptr_t' return NULL; ^~~~ /usr/include/sys/_null.h:35:14: note: expanded from macro 'NULL' #define NULL nullptr ^~~~~~~ --- storage/spider/CMakeFiles/spider.dir/all --- --- storage/spider/CMakeFiles/spider.dir/ha_spider.cc.o --- In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/storag= e/spider/ha_spider.cc:28: In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/sql/sq= l_class.h:4913: = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:376:48: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int (*write_keys)(struct st_mi_sort_param *, register uchar **, ^~~~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:386:30: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int chk_del(HA_CHECK *param, register MI_INFO *info, ulonglong = test_flag); ^~~~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:390:32: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int mi_repair(HA_CHECK *param, register MI_INFO *info, ^~~~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:392:36: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int mi_sort_index(HA_CHECK *param, register MI_INFO *info, char * name); ^~~~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:393:40: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int mi_repair_by_sort(HA_CHECK *param, register MI_INFO *info, ^~~~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:395:41: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int mi_repair_parallel(HA_CHECK *param, register MI_INFO *info, ^~~~~~~~~ In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/storag= e/spider/ha_spider.cc:28: In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/sql/sq= l_class.h:4916: = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/maria.h:369:44: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int maria_repair_parallel(HA_CHECK *param, register MARIA_HA *info, ^~~~~~~~~ --- storage/connect/CMakeFiles/connect.dir/all --- = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/storag= e/connect/tabjson.cpp:288:12: error: cannot initialize return object of = type 'int' with an rvalue of type 'nullptr_t' return NULL; ^~~~ /usr/include/sys/_null.h:35:14: note: expanded from macro 'NULL' #define NULL nullptr ^~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/storag= e/connect/tabjson.cpp:307:11: error: cannot initialize return object of = type 'int' with an rvalue of type 'nullptr_t' return NULL; ^~~~ /usr/include/sys/_null.h:35:14: note: expanded from macro 'NULL' #define NULL nullptr ^~~~~~~ 7 errors generated. *** [storage/connect/CMakeFiles/connect.dir/tabjson.cpp.o] Error code 1 make[3]: stopped in = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14 --- storage/connect/CMakeFiles/connect.dir/table.cpp.o --- [ 96%] Building CXX object = storage/connect/CMakeFiles/connect.dir/table.cpp.o cd = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/storag= e/connect && /usr/bin/c++ -DFORCE_INIT_OF_VARS -DGZ_SUPPORT = -DHAVE_CONFIG_H -DHUGE_SUPPORT -DLIBXML2_SUPPORT -DLINUX -DMARIADB = -DMYSQL_DYNAMIC_PLUGIN -DNOCRYPT -DODBC_SUPPORT -DUBUNTU -DUNIX = -DVCT_SUPPORT -DXMAP -DZIP_SUPPORT -Dconnect_EXPORTS = -I/wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/incl= ude = -I/wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/sql = -I/wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/pcre= -I/usr/local/include -I/usr/local/include/libxml2 -O2 -pipe = -fstack-protector -isystem /usr/local/include -fno-strict-aliasing = -isystem /usr/local/include -Wl,-z,relro,-z,now -fstack-protector = --param=3Dssp-buffer-size=3D4 -DWITH_INNODB_DISALLOW_WRITES -fno-rtti = -Wall -Wmissing-declarations -Wno-unused-function -Wno-unused-variable = -Wno-unused-value -Wno-parentheses -Wno-strict-aliasing = -Wno-implicit-fallthrough -fpermissive -fexceptions -fPIC -O2 -pipe = -fstack-protector ---- = plugin/metadata_lock_info/CMakeFiles/metadata_lock_info.dir/all --- --- plugin/metadata_lock_info/CMakeFiles/metadata_lock_info.dir/depend = --- cd /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14 = && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14 = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/plugin= /metadata_lock_info = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14 = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/plugin= /metadata_lock_info = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/plugin= /metadata_lock_info/CMakeFiles/metadata_lock_info.dir/DependInfo.cmake --- storage/connect/CMakeFiles/connect.dir/all --- isystem /usr/local/include -fno-strict-aliasing -isystem = /usr/local/include -D_FORTIFY_SOURCE=3D2 -DDBUG_OFF -fPIC -o = CMakeFiles/connect.dir/table.cpp.o -c = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/storag= e/connect/table.cpp --- storage/spider/CMakeFiles/spider.dir/all --- --- storage/spider/CMakeFiles/spider.dir/hs_client/config.cpp.o --- 1 warning generated. --- storage/connect/CMakeFiles/connect.dir/all --- c++: warning: -Wl,-z,relro,-z,now: 'linker' input unused = [-Wunused-command-line-argument] --- plugin/metadata_lock_info/CMakeFiles/metadata_lock_info.dir/all --- Scanning dependencies of target metadata_lock_info A failure has been detected in another branch of the parallel make make[3]: stopped in = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14 *** [plugin/metadata_lock_info/CMakeFiles/metadata_lock_info.dir/all] = Error code 2 make[2]: stopped in = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14 --- storage/spider/CMakeFiles/spider.dir/all --- --- storage/spider/CMakeFiles/spider.dir/spd_db_handlersocket.cc.o --- In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/storag= e/spider/spd_db_handlersocket.cc:24: In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/sql/sq= l_analyse.h:26: In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/sql/pr= ocedure.h:30: In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/sql/sq= l_class.h:4913: = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:376:48: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int (*write_keys)(struct st_mi_sort_param *, register uchar **, ^~~~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:386:30: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int chk_del(HA_CHECK *param, register MI_INFO *info, ulonglong = test_flag); ^~~~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:390:32: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int mi_repair(HA_CHECK *param, register MI_INFO *info, ^~~~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:392:36: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int mi_sort_index(HA_CHECK *param, register MI_INFO *info, char * name); ^~~~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:393:40: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int mi_repair_by_sort(HA_CHECK *param, register MI_INFO *info, ^~~~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:395:41: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int mi_repair_parallel(HA_CHECK *param, register MI_INFO *info, ^~~~~~~~~ In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/storag= e/spider/spd_db_handlersocket.cc:24: In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/sql/sq= l_analyse.h:26: In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/sql/pr= ocedure.h:30: In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/sql/sq= l_class.h:4916: = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/maria.h:369:44: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int maria_repair_parallel(HA_CHECK *param, register MARIA_HA *info, ^~~~~~~~~ 8 warnings generated. --- storage/spider/CMakeFiles/spider.dir/spd_db_oracle.cc.o --- In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/storag= e/spider/spd_db_oracle.cc:24: In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/sql/sq= l_partition.h:254: In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/sql/pa= rtition_info.h:23: In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/sql/sq= l_class.h:4913: = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:376:48: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int (*write_keys)(struct st_mi_sort_param *, register uchar **, ^~~~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:386:30: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int chk_del(HA_CHECK *param, register MI_INFO *info, ulonglong = test_flag); ^~~~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:390:32: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int mi_repair(HA_CHECK *param, register MI_INFO *info, ^~~~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:392:36: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int mi_sort_index(HA_CHECK *param, register MI_INFO *info, char * name); ^~~~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:393:40: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int mi_repair_by_sort(HA_CHECK *param, register MI_INFO *info, ^~~~~~~~~ = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/myisam.h:395:41: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int mi_repair_parallel(HA_CHECK *param, register MI_INFO *info, ^~~~~~~~~ In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/storag= e/spider/spd_db_oracle.cc:24: In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/sql/sq= l_partition.h:254: In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/sql/pa= rtition_info.h:23: In file included from = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/sql/sq= l_class.h:4916: = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/includ= e/maria.h:369:44: warning: 'register' storage class specifier is = deprecated and incompatible with C++17 [-Wdeprecated-register] int maria_repair_parallel(HA_CHECK *param, register MARIA_HA *info, ^~~~~~~~~ --- storage/connect/CMakeFiles/connect.dir/all --- 1 error make[3]: stopped in = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14 *** [storage/connect/CMakeFiles/connect.dir/all] Error code 2 make[2]: stopped in = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14 --- storage/spider/CMakeFiles/spider.dir/all --- 8 warnings generated. --- storage/spider/CMakeFiles/spider.dir/spd_db_mysql.cc.o --- 8 warnings generated. --- storage/spider/CMakeFiles/spider.dir/ha_spider.cc.o --- 8 warnings generated. A failure has been detected in another branch of the parallel make make[3]: stopped in = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14 *** [storage/spider/CMakeFiles/spider.dir/all] Error code 2 make[2]: stopped in = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14 3 errors make[2]: stopped in = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14 *** [all] Error code 2 make[1]: stopped in = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14 1 error make[1]: stopped in = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the = failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/databases/mariadb102-server =3D>> Cleaning up wrkdir =3D=3D=3D> Cleaning for mariadb102-server-10.2.14 build of databases/mariadb102-server | mariadb102-server-10.2.14 ended = at Mon Apr 2 21:21:27 CEST 2018 build time: 00:07:50 !!! build failure encountered !!! Regards, Michael
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA5E5ED5-23BC-4F2F-B204-A55A8115AEB9>