The following tests FAILED:
20 - pfs_instr_class (Not Run)
21 - pfs_instr_class-oom (Not Run)
22 - pfs_instr (Not Run)
23 - pfs_instr-oom (Not Run)
24 - pfs_account-oom (Not Run)
25 - pfs_host-oom (Not Run)
26 - pfs_timer (Not Run)
27 - pfs_user-oom (Not Run)
28 - pfs (Not Run)
29 - ma_control_file (Not Run)
30 - trnman (Not Run)
31 - ma_test_loghandler (Not Run)
32 - ma_test_loghandler_multigroup (Not Run)
33 - ma_test_loghandler_multithread (Not Run)
34 - ma_test_loghandler_pagecache (Not Run)
35 - ma_test_loghandler_long (Not Run)
36 - ma_test_loghandler_noflush (Not Run)
37 - ma_test_loghandler_first_lsn (Not Run)
38 - ma_test_loghandler_max_lsn (Not Run)
39 - ma_test_loghandler_purge (Not Run)
40 - ma_test_loghandler_readonly (Not Run)
41 - ma_test_loghandler_nologs (Not Run)
42 - ma_pagecache_single_1k (Not Run)
43 - ma_pagecache_single_8k (Not Run)
44 - ma_pagecache_single_64k (Not Run)
45 - ma_pagecache_consist_1k (Not Run)
46 - ma_pagecache_consist_64k (Not Run)
47 - ma_pagecache_consist_1kHC (Not Run)
48 - ma_pagecache_consist_64kHC (Not Run)
49 - ma_pagecache_consist_1kRD (Not Run)
50 - ma_pagecache_consist_64kRD (Not Run)
51 - ma_pagecache_consist_1kWR (Not Run)
52 - ma_pagecache_consist_64kWR (Not Run)
53 - ma_pagecache_rwconsist_1k (Not Run)
54 - ma_pagecache_rwconsist2_1k (Not Run)
55 - dbug (Not Run)
Errors while running CTest
make: *** [test] Error 8
总是在编译到这里报错
make[2]: *** [storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/expr.c.o] Error
I have also encountered this, and many people have not found the root cause.
Finally the problem was found. Especially when using AWS or Alibaba Cloud, you will encounter these situations. Generally, you either add memory or make a SWAP, which can solve the problem of insufficient MEM! !
If it is Alibaba Cloud's ECS, it is caused by insufficient memory. It will take up more memory where mroonga is compiled. Upgrading from 1G to 2G can compile and pass.
Not enough information
I also encountered the same problem, an error occurred when compiling and installing CentOS.
Others said it was caused by makefike's -Werror, but I removed this parameter in many places, but it still didn't work. Please solve it
The following is the error that occurred in make: