Advertisement
tuxedo931

cmakeerrorlog 8.0.21

Aug 7th, 2020
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.16 KB | None | 0 0
  1. /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeOutput.log
  2. Performing C SOURCE FILE Test C_LD_LLD_RESULT failed with the following output:
  3. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  4.  
  5. Run Build Command(s):/usr/bin/ninja cmTC_e8372 && [1/2] Building C object CMakeFiles/cmTC_e8372.dir/src.c.o
  6. [2/2] Linking C executable cmTC_e8372
  7. FAILED: cmTC_e8372
  8. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DC_LD_LLD_RESULT -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_e8372.dir/src.c.o -o cmTC_e8372 -fuse-ld=lld && :
  9. collect2: fatal error: cannot find ‘ld’
  10. compilation terminated.
  11. ninja: build stopped: subcommand failed.
  12.  
  13.  
  14. Source file was:
  15. int main() {}
  16. Performing C++ SOURCE FILE Test CXX_LD_LLD_RESULT failed with the following output:
  17. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  18.  
  19. Run Build Command(s):/usr/bin/ninja cmTC_a5e5b && [1/2] Building CXX object CMakeFiles/cmTC_a5e5b.dir/src.cxx.o
  20. [2/2] Linking CXX executable cmTC_a5e5b
  21. FAILED: cmTC_a5e5b
  22. : && /usr/bin/x86_64-pc-linux-gnu-g++ -DCXX_LD_LLD_RESULT -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_a5e5b.dir/src.cxx.o -o cmTC_a5e5b -fuse-ld=lld && :
  23. collect2: fatal error: cannot find ‘ld’
  24. compilation terminated.
  25. ninja: build stopped: subcommand failed.
  26.  
  27.  
  28. Source file was:
  29. int main() {}
  30. Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
  31. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  32.  
  33. Run Build Command(s):/usr/bin/ninja cmTC_3c77b && [1/2] Building C object CMakeFiles/cmTC_3c77b.dir/src.c.o
  34. [2/2] Linking C executable cmTC_3c77b
  35. FAILED: cmTC_3c77b
  36. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCMAKE_HAVE_LIBC_PTHREAD -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_3c77b.dir/src.c.o -o cmTC_3c77b && :
  37. CMakeFiles/cmTC_3c77b.dir/src.c.o: In function `main':
  38. src.c:(.text+0x3e): undefined reference to `pthread_create'
  39. src.c:(.text+0x4a): undefined reference to `pthread_detach'
  40. src.c:(.text+0x5b): undefined reference to `pthread_join'
  41. collect2: error: ld returned 1 exit status
  42. ninja: build stopped: subcommand failed.
  43.  
  44.  
  45. Source file was:
  46. #include <pthread.h>
  47.  
  48. void* test_func(void* data)
  49. {
  50. return data;
  51. }
  52.  
  53. int main(void)
  54. {
  55. pthread_t thread;
  56. pthread_create(&thread, NULL, test_func, NULL);
  57. pthread_detach(thread);
  58. pthread_join(thread, NULL);
  59. pthread_atfork(NULL, NULL, NULL);
  60. pthread_exit(NULL);
  61.  
  62. return 0;
  63. }
  64.  
  65. Determining if the function pthread_create exists in the pthreads failed with the following output:
  66. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  67.  
  68. Run Build Command(s):/usr/bin/ninja cmTC_00ab0 && [1/2] Building C object CMakeFiles/cmTC_00ab0.dir/CheckFunctionExists.c.o
  69. [2/2] Linking C executable cmTC_00ab0
  70. FAILED: cmTC_00ab0
  71. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_00ab0.dir/CheckFunctionExists.c.o -o cmTC_00ab0 -lpthreads && :
  72. /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads
  73. collect2: error: ld returned 1 exit status
  74. ninja: build stopped: subcommand failed.
  75.  
  76.  
  77.  
  78. Determining if the function floor exists failed with the following output:
  79. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  80.  
  81. Run Build Command(s):/usr/bin/ninja cmTC_52ea1 && [1/2] Building C object CMakeFiles/cmTC_52ea1.dir/CheckFunctionExists.c.o
  82. <command-line>: warning: conflicting types for built-in function ‘floor’; expected ‘double(double)’ [-Wbuiltin-declaration-mismatch]
  83. /usr/share/cmake/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
  84. 7 | CHECK_FUNCTION_EXISTS(void);
  85. | ^~~~~~~~~~~~~~~~~~~~~
  86. /usr/share/cmake/Modules/CheckFunctionExists.c:1:1: note: ‘floor’ is declared in header ‘<math.h>’
  87. +++ |+#include <math.h>
  88. 1 | #ifdef CHECK_FUNCTION_EXISTS
  89. [2/2] Linking C executable cmTC_52ea1
  90. FAILED: cmTC_52ea1
  91. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=floor -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_52ea1.dir/CheckFunctionExists.c.o -o cmTC_52ea1 && :
  92. CMakeFiles/cmTC_52ea1.dir/CheckFunctionExists.c.o: In function `main':
  93. CheckFunctionExists.c:(.text+0x10): undefined reference to `floor'
  94. collect2: error: ld returned 1 exit status
  95. ninja: build stopped: subcommand failed.
  96.  
  97.  
  98.  
  99. Determining if the function crypt exists failed with the following output:
  100. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  101.  
  102. Run Build Command(s):/usr/bin/ninja cmTC_1e2b5 && [1/2] Building C object CMakeFiles/cmTC_1e2b5.dir/CheckFunctionExists.c.o
  103. [2/2] Linking C executable cmTC_1e2b5
  104. FAILED: cmTC_1e2b5
  105. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=crypt -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_1e2b5.dir/CheckFunctionExists.c.o -o cmTC_1e2b5 && :
  106. CMakeFiles/cmTC_1e2b5.dir/CheckFunctionExists.c.o: In function `main':
  107. CheckFunctionExists.c:(.text+0x10): undefined reference to `crypt'
  108. collect2: error: ld returned 1 exit status
  109. ninja: build stopped: subcommand failed.
  110.  
  111.  
  112.  
  113. Determining if the function dlopen exists failed with the following output:
  114. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  115.  
  116. Run Build Command(s):/usr/bin/ninja cmTC_bd193 && [1/2] Building C object CMakeFiles/cmTC_bd193.dir/CheckFunctionExists.c.o
  117. [2/2] Linking C executable cmTC_bd193
  118. FAILED: cmTC_bd193
  119. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=dlopen -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_bd193.dir/CheckFunctionExists.c.o -o cmTC_bd193 && :
  120. CMakeFiles/cmTC_bd193.dir/CheckFunctionExists.c.o: In function `main':
  121. CheckFunctionExists.c:(.text+0x10): undefined reference to `dlopen'
  122. collect2: error: ld returned 1 exit status
  123. ninja: build stopped: subcommand failed.
  124.  
  125.  
  126.  
  127. Determining if the function timer_create exists failed with the following output:
  128. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  129.  
  130. Run Build Command(s):/usr/bin/ninja cmTC_c5e86 && [1/2] Building C object CMakeFiles/cmTC_c5e86.dir/CheckFunctionExists.c.o
  131. [2/2] Linking C executable cmTC_c5e86
  132. FAILED: cmTC_c5e86
  133. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=timer_create -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_c5e86.dir/CheckFunctionExists.c.o -o cmTC_c5e86 && :
  134. CMakeFiles/cmTC_c5e86.dir/CheckFunctionExists.c.o: In function `main':
  135. CheckFunctionExists.c:(.text+0x10): undefined reference to `timer_create'
  136. collect2: error: ld returned 1 exit status
  137. ninja: build stopped: subcommand failed.
  138.  
  139.  
  140.  
  141. Determining if the function atomic_thread_fence exists failed with the following output:
  142. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  143.  
  144. Run Build Command(s):/usr/bin/ninja cmTC_83866 && [1/2] Building C object CMakeFiles/cmTC_83866.dir/CheckFunctionExists.c.o
  145. [2/2] Linking C executable cmTC_83866
  146. FAILED: cmTC_83866
  147. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=atomic_thread_fence -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_83866.dir/CheckFunctionExists.c.o -o cmTC_83866 && :
  148. CMakeFiles/cmTC_83866.dir/CheckFunctionExists.c.o: In function `main':
  149. CheckFunctionExists.c:(.text+0x10): undefined reference to `atomic_thread_fence'
  150. collect2: error: ld returned 1 exit status
  151. ninja: build stopped: subcommand failed.
  152.  
  153.  
  154.  
  155. Determining if the function _aligned_malloc exists failed with the following output:
  156. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  157.  
  158. Run Build Command(s):/usr/bin/ninja cmTC_86c92 && [1/2] Building C object CMakeFiles/cmTC_86c92.dir/CheckFunctionExists.c.o
  159. [2/2] Linking C executable cmTC_86c92
  160. FAILED: cmTC_86c92
  161. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=_aligned_malloc -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_86c92.dir/CheckFunctionExists.c.o -o cmTC_86c92 -lm -lcrypt -ldl -lpthread -lrt -latomic && :
  162. CMakeFiles/cmTC_86c92.dir/CheckFunctionExists.c.o: In function `main':
  163. CheckFunctionExists.c:(.text+0x10): undefined reference to `_aligned_malloc'
  164. collect2: error: ld returned 1 exit status
  165. ninja: build stopped: subcommand failed.
  166.  
  167.  
  168.  
  169. Determining if the function directio exists failed with the following output:
  170. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  171.  
  172. Run Build Command(s):/usr/bin/ninja cmTC_18db6 && [1/2] Building C object CMakeFiles/cmTC_18db6.dir/CheckFunctionExists.c.o
  173. [2/2] Linking C executable cmTC_18db6
  174. FAILED: cmTC_18db6
  175. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=directio -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_18db6.dir/CheckFunctionExists.c.o -o cmTC_18db6 -lm -lcrypt -ldl -lpthread -lrt -latomic && :
  176. CMakeFiles/cmTC_18db6.dir/CheckFunctionExists.c.o: In function `main':
  177. CheckFunctionExists.c:(.text+0x10): undefined reference to `directio'
  178. collect2: error: ld returned 1 exit status
  179. ninja: build stopped: subcommand failed.
  180.  
  181.  
  182.  
  183. Determining if the function gethrtime exists failed with the following output:
  184. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  185.  
  186. Run Build Command(s):/usr/bin/ninja cmTC_9efb1 && [1/2] Building C object CMakeFiles/cmTC_9efb1.dir/CheckFunctionExists.c.o
  187. [2/2] Linking C executable cmTC_9efb1
  188. FAILED: cmTC_9efb1
  189. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=gethrtime -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_9efb1.dir/CheckFunctionExists.c.o -o cmTC_9efb1 -lm -lcrypt -ldl -lpthread -lrt -latomic && :
  190. CMakeFiles/cmTC_9efb1.dir/CheckFunctionExists.c.o: In function `main':
  191. CheckFunctionExists.c:(.text+0x10): undefined reference to `gethrtime'
  192. collect2: error: ld returned 1 exit status
  193. ninja: build stopped: subcommand failed.
  194.  
  195.  
  196.  
  197. Determining if the function getpassphrase exists failed with the following output:
  198. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  199.  
  200. Run Build Command(s):/usr/bin/ninja cmTC_0fac4 && [1/2] Building C object CMakeFiles/cmTC_0fac4.dir/CheckFunctionExists.c.o
  201. [2/2] Linking C executable cmTC_0fac4
  202. FAILED: cmTC_0fac4
  203. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=getpassphrase -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_0fac4.dir/CheckFunctionExists.c.o -o cmTC_0fac4 -lm -lcrypt -ldl -lpthread -lrt -latomic && :
  204. CMakeFiles/cmTC_0fac4.dir/CheckFunctionExists.c.o: In function `main':
  205. CheckFunctionExists.c:(.text+0x10): undefined reference to `getpassphrase'
  206. collect2: error: ld returned 1 exit status
  207. ninja: build stopped: subcommand failed.
  208.  
  209.  
  210.  
  211. Determining if the function issetugid exists failed with the following output:
  212. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  213.  
  214. Run Build Command(s):/usr/bin/ninja cmTC_26821 && [1/2] Building C object CMakeFiles/cmTC_26821.dir/CheckFunctionExists.c.o
  215. [2/2] Linking C executable cmTC_26821
  216. FAILED: cmTC_26821
  217. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=issetugid -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_26821.dir/CheckFunctionExists.c.o -o cmTC_26821 -lm -lcrypt -ldl -lpthread -lrt -latomic && :
  218. CMakeFiles/cmTC_26821.dir/CheckFunctionExists.c.o: In function `main':
  219. CheckFunctionExists.c:(.text+0x10): undefined reference to `issetugid'
  220. collect2: error: ld returned 1 exit status
  221. ninja: build stopped: subcommand failed.
  222.  
  223.  
  224.  
  225. Determining if the function strlcpy exists failed with the following output:
  226. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  227.  
  228. Run Build Command(s):/usr/bin/ninja cmTC_9fc0d && [1/2] Building C object CMakeFiles/cmTC_9fc0d.dir/CheckFunctionExists.c.o
  229. [2/2] Linking C executable cmTC_9fc0d
  230. FAILED: cmTC_9fc0d
  231. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=strlcpy -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_9fc0d.dir/CheckFunctionExists.c.o -o cmTC_9fc0d -lm -lcrypt -ldl -lpthread -lrt -latomic && :
  232. CMakeFiles/cmTC_9fc0d.dir/CheckFunctionExists.c.o: In function `main':
  233. CheckFunctionExists.c:(.text+0x10): undefined reference to `strlcpy'
  234. collect2: error: ld returned 1 exit status
  235. ninja: build stopped: subcommand failed.
  236.  
  237.  
  238.  
  239. Determining if the function strlcat exists failed with the following output:
  240. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  241.  
  242. Run Build Command(s):/usr/bin/ninja cmTC_652dd && [1/2] Building C object CMakeFiles/cmTC_652dd.dir/CheckFunctionExists.c.o
  243. [2/2] Linking C executable cmTC_652dd
  244. FAILED: cmTC_652dd
  245. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=strlcat -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_652dd.dir/CheckFunctionExists.c.o -o cmTC_652dd -lm -lcrypt -ldl -lpthread -lrt -latomic && :
  246. CMakeFiles/cmTC_652dd.dir/CheckFunctionExists.c.o: In function `main':
  247. CheckFunctionExists.c:(.text+0x10): undefined reference to `strlcat'
  248. collect2: error: ld returned 1 exit status
  249. ninja: build stopped: subcommand failed.
  250.  
  251.  
  252.  
  253. Determining if the function tell exists failed with the following output:
  254. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  255.  
  256. Run Build Command(s):/usr/bin/ninja cmTC_75fc4 && [1/2] Building C object CMakeFiles/cmTC_75fc4.dir/CheckFunctionExists.c.o
  257. [2/2] Linking C executable cmTC_75fc4
  258. FAILED: cmTC_75fc4
  259. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=tell -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_75fc4.dir/CheckFunctionExists.c.o -o cmTC_75fc4 -lm -lcrypt -ldl -lpthread -lrt -latomic && :
  260. CMakeFiles/cmTC_75fc4.dir/CheckFunctionExists.c.o: In function `main':
  261. CheckFunctionExists.c:(.text+0x10): undefined reference to `tell'
  262. collect2: error: ld returned 1 exit status
  263. ninja: build stopped: subcommand failed.
  264.  
  265.  
  266.  
  267. Determining if the function ntohll exists failed with the following output:
  268. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  269.  
  270. Run Build Command(s):/usr/bin/ninja cmTC_516f2 && [1/2] Building C object CMakeFiles/cmTC_516f2.dir/CheckFunctionExists.c.o
  271. [2/2] Linking C executable cmTC_516f2
  272. FAILED: cmTC_516f2
  273. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=ntohll -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_516f2.dir/CheckFunctionExists.c.o -o cmTC_516f2 -lm -lcrypt -ldl -lpthread -lrt -latomic && :
  274. CMakeFiles/cmTC_516f2.dir/CheckFunctionExists.c.o: In function `main':
  275. CheckFunctionExists.c:(.text+0x10): undefined reference to `ntohll'
  276. collect2: error: ld returned 1 exit status
  277. ninja: build stopped: subcommand failed.
  278.  
  279.  
  280.  
  281. Determining if the FIONREAD exist failed with the following output:
  282. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  283.  
  284. Run Build Command(s):/usr/bin/ninja cmTC_9c5d7 && [1/2] Building C object CMakeFiles/cmTC_9c5d7.dir/CheckSymbolExists.c.o
  285. FAILED: CMakeFiles/cmTC_9c5d7.dir/CheckSymbolExists.c.o
  286. /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -fPIE -o CMakeFiles/cmTC_9c5d7.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c
  287. CheckSymbolExists.c:2:10: fatal error: sys/filio.h: No such file or directory
  288. 2 | #include <sys/filio.h>
  289. | ^~~~~~~~~~~~~
  290. compilation terminated.
  291. ninja: build stopped: subcommand failed.
  292.  
  293.  
  294. File /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  295. /* */
  296. #include <sys/filio.h>
  297.  
  298. int main(int argc, char** argv)
  299. {
  300. (void)argv;
  301. #ifndef FIONREAD
  302. return ((int*)(&FIONREAD))[argc];
  303. #else
  304. (void)argc;
  305. return 0;
  306. #endif
  307. }
  308. Determining if the function kqueue exists failed with the following output:
  309. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  310.  
  311. Run Build Command(s):/usr/bin/ninja cmTC_530ac && [1/2] Building C object CMakeFiles/cmTC_530ac.dir/CheckFunctionExists.c.o
  312. [2/2] Linking C executable cmTC_530ac
  313. FAILED: cmTC_530ac
  314. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=kqueue -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_530ac.dir/CheckFunctionExists.c.o -o cmTC_530ac -lm -lcrypt -ldl -lpthread -lrt -latomic && :
  315. CMakeFiles/cmTC_530ac.dir/CheckFunctionExists.c.o: In function `main':
  316. CheckFunctionExists.c:(.text+0x10): undefined reference to `kqueue'
  317. collect2: error: ld returned 1 exit status
  318. ninja: build stopped: subcommand failed.
  319.  
  320.  
  321.  
  322. Determining if the EVFILT_TIMER exist failed with the following output:
  323. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  324.  
  325. Run Build Command(s):/usr/bin/ninja cmTC_01350 && [1/2] Building C object CMakeFiles/cmTC_01350.dir/CheckSymbolExists.c.o
  326. FAILED: CMakeFiles/cmTC_01350.dir/CheckSymbolExists.c.o
  327. /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -fPIE -o CMakeFiles/cmTC_01350.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c
  328. CheckSymbolExists.c:3:10: fatal error: sys/event.h: No such file or directory
  329. 3 | #include <sys/event.h>
  330. | ^~~~~~~~~~~~~
  331. compilation terminated.
  332. ninja: build stopped: subcommand failed.
  333.  
  334.  
  335. File /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
  336. /* */
  337. #include <sys/types.h>
  338. #include <sys/event.h>
  339. #include <sys/time.h>
  340.  
  341. int main(int argc, char** argv)
  342. {
  343. (void)argv;
  344. #ifndef EVFILT_TIMER
  345. return ((int*)(&EVFILT_TIMER))[argc];
  346. #else
  347. (void)argc;
  348. return 0;
  349. #endif
  350. }
  351. Performing C SOURCE FILE Test HAVE_PTHREAD_GETTHREADID_NP failed with the following output:
  352. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  353.  
  354. Run Build Command(s):/usr/bin/ninja cmTC_23b74 && [1/2] Building C object CMakeFiles/cmTC_23b74.dir/src.c.o
  355. FAILED: CMakeFiles/cmTC_23b74.dir/src.c.o
  356. /usr/bin/x86_64-pc-linux-gnu-gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DHAVE_PTHREAD_GETTHREADID_NP -fPIE -o CMakeFiles/cmTC_23b74.dir/src.c.o -c src.c
  357. src.c:2:10: fatal error: pthread_np.h: No such file or directory
  358. 2 | #include <pthread_np.h>
  359. | ^~~~~~~~~~~~~~
  360. compilation terminated.
  361. ninja: build stopped: subcommand failed.
  362.  
  363.  
  364. Source file was:
  365.  
  366. #include <pthread_np.h>
  367. int main(int ac, char **av)
  368. {
  369. unsigned long long tid = pthread_getthreadid_np();
  370. return (tid != 0 ? 0 : 1);
  371. }
  372. Performing C SOURCE FILE Test HAVE_PTHREAD_THREADID_NP failed with the following output:
  373. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  374.  
  375. Run Build Command(s):/usr/bin/ninja cmTC_be878 && [1/2] Building C object CMakeFiles/cmTC_be878.dir/src.c.o
  376. src.c: In function ‘main’:
  377. src.c:6:3: warning: implicit declaration of function ‘pthread_threadid_np’; did you mean ‘pthread_tryjoin_np’? [-Wimplicit-function-declaration]
  378. 6 | pthread_threadid_np(NULL, &tid64);
  379. | ^~~~~~~~~~~~~~~~~~~
  380. | pthread_tryjoin_np
  381. [2/2] Linking C executable cmTC_be878
  382. FAILED: cmTC_be878
  383. : && /usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_PTHREAD_THREADID_NP -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_be878.dir/src.c.o -o cmTC_be878 -lm -lcrypt -ldl -lpthread -lrt -latomic && :
  384. CMakeFiles/cmTC_be878.dir/src.c.o: In function `main':
  385. src.c:(.text+0x30): undefined reference to `pthread_threadid_np'
  386. collect2: error: ld returned 1 exit status
  387. ninja: build stopped: subcommand failed.
  388.  
  389.  
  390. Source file was:
  391.  
  392. #include <pthread.h>
  393. int main(int ac, char **av)
  394. {
  395. unsigned long long tid64;
  396. pthread_threadid_np(NULL, &tid64);
  397. return (tid64 != 0 ? 0 : 1);
  398. }
  399. Determining if the include file netinet/in6.h exists failed with the following output:
  400. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  401.  
  402. Run Build Command(s):/usr/bin/ninja cmTC_c815f && [1/2] Building C object CMakeFiles/cmTC_c815f.dir/CheckIncludeFile.c.o
  403. FAILED: CMakeFiles/cmTC_c815f.dir/CheckIncludeFile.c.o
  404. /usr/bin/x86_64-pc-linux-gnu-gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -fPIE -o CMakeFiles/cmTC_c815f.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c
  405. CheckIncludeFile.c:1:10: fatal error: netinet/in6.h: No such file or directory
  406. 1 | #include <netinet/in6.h>
  407. | ^~~~~~~~~~~~~~~
  408. compilation terminated.
  409. ninja: build stopped: subcommand failed.
  410.  
  411.  
  412.  
  413. Determining size of struct in6_addr failed with the following output:
  414. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  415.  
  416. Run Build Command(s):/usr/bin/ninja cmTC_8a40d && [1/2] Building C object CMakeFiles/cmTC_8a40d.dir/SIZEOF_IN6_ADDR.c.o
  417. FAILED: CMakeFiles/cmTC_8a40d.dir/SIZEOF_IN6_ADDR.c.o
  418. /usr/bin/x86_64-pc-linux-gnu-gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -fPIE -o CMakeFiles/cmTC_8a40d.dir/SIZEOF_IN6_ADDR.c.o -c /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c
  419. /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:27:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct in6_addr’
  420. 27 | #define SIZE (sizeof(struct in6_addr))
  421. | ^~~~~~
  422. /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:29:12: note: in expansion of macro ‘SIZE’
  423. 29 | ('0' + ((SIZE / 10000)%10)),
  424. | ^~~~
  425. /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:27:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct in6_addr’
  426. 27 | #define SIZE (sizeof(struct in6_addr))
  427. | ^~~~~~
  428. /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:30:12: note: in expansion of macro ‘SIZE’
  429. 30 | ('0' + ((SIZE / 1000)%10)),
  430. | ^~~~
  431. /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:27:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct in6_addr’
  432. 27 | #define SIZE (sizeof(struct in6_addr))
  433. | ^~~~~~
  434. /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:31:12: note: in expansion of macro ‘SIZE’
  435. 31 | ('0' + ((SIZE / 100)%10)),
  436. | ^~~~
  437. /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:27:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct in6_addr’
  438. 27 | #define SIZE (sizeof(struct in6_addr))
  439. | ^~~~~~
  440. /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:32:12: note: in expansion of macro ‘SIZE’
  441. 32 | ('0' + ((SIZE / 10)%10)),
  442. | ^~~~
  443. /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:27:22: error: invalid application of ‘sizeof’ to incomplete type ‘struct in6_addr’
  444. 27 | #define SIZE (sizeof(struct in6_addr))
  445. | ^~~~~~
  446. /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:33:12: note: in expansion of macro ‘SIZE’
  447. 33 | ('0' + (SIZE % 10)),
  448. | ^~~~
  449. ninja: build stopped: subcommand failed.
  450.  
  451.  
  452. /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CheckTypeSize/SIZEOF_IN6_ADDR.c:
  453. #include <sys/types.h>
  454. #include <stdint.h>
  455. #include <stddef.h>
  456. #include "stdint.h"
  457. #include "stdio.h"
  458. #include "sys/types.h"
  459. #include "time.h"
  460.  
  461.  
  462. #undef KEY
  463. #if defined(__i386)
  464. # define KEY '_','_','i','3','8','6'
  465. #elif defined(__x86_64)
  466. # define KEY '_','_','x','8','6','_','6','4'
  467. #elif defined(__ppc__)
  468. # define KEY '_','_','p','p','c','_','_'
  469. #elif defined(__ppc64__)
  470. # define KEY '_','_','p','p','c','6','4','_','_'
  471. #elif defined(__aarch64__)
  472. # define KEY '_','_','a','a','r','c','h','6','4','_','_'
  473. #elif defined(__ARM_ARCH_7A__)
  474. # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
  475. #elif defined(__ARM_ARCH_7S__)
  476. # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
  477. #endif
  478.  
  479. #define SIZE (sizeof(struct in6_addr))
  480. static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
  481. ('0' + ((SIZE / 10000)%10)),
  482. ('0' + ((SIZE / 1000)%10)),
  483. ('0' + ((SIZE / 100)%10)),
  484. ('0' + ((SIZE / 10)%10)),
  485. ('0' + (SIZE % 10)),
  486. ']',
  487. #ifdef KEY
  488. ' ','k','e','y','[', KEY, ']',
  489. #endif
  490. '\0'};
  491.  
  492. #ifdef __CLASSIC_C__
  493. int main(argc, argv) int argc; char *argv[];
  494. #else
  495. int main(int argc, char *argv[])
  496. #endif
  497. {
  498. int require = 0;
  499. require += info_size[argc];
  500. (void)argv;
  501. return require;
  502. }
  503.  
  504.  
  505. Performing C SOURCE FILE Test HAVE_SOCKADDR_IN_SIN_LEN failed with the following output:
  506. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  507.  
  508. Run Build Command(s):/usr/bin/ninja cmTC_f4af1 && [1/2] Building C object CMakeFiles/cmTC_f4af1.dir/src.c.o
  509. FAILED: CMakeFiles/cmTC_f4af1.dir/src.c.o
  510. /usr/bin/x86_64-pc-linux-gnu-gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DHAVE_SOCKADDR_IN_SIN_LEN -fPIE -o CMakeFiles/cmTC_f4af1.dir/src.c.o -c src.c
  511. src.c: In function ‘main’:
  512. src.c:8:41: error: ‘struct sockaddr_in’ has no member named ‘sin_len’
  513. 8 | (void)sizeof(((struct sockaddr_in *)0)->sin_len);
  514. | ^~
  515. ninja: build stopped: subcommand failed.
  516.  
  517.  
  518. Source file was:
  519.  
  520. #include <sys/types.h>
  521. #include <netinet/in.h>
  522. #include <sys/socket.h>
  523.  
  524. int main()
  525. {
  526. (void)sizeof(((struct sockaddr_in *)0)->sin_len);
  527. return 0;
  528. }
  529.  
  530. Performing C SOURCE FILE Test HAVE_SOCKADDR_IN6_SIN6_LEN failed with the following output:
  531. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  532.  
  533. Run Build Command(s):/usr/bin/ninja cmTC_825e9 && [1/2] Building C object CMakeFiles/cmTC_825e9.dir/src.c.o
  534. FAILED: CMakeFiles/cmTC_825e9.dir/src.c.o
  535. /usr/bin/x86_64-pc-linux-gnu-gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DHAVE_SOCKADDR_IN6_SIN6_LEN -fPIE -o CMakeFiles/cmTC_825e9.dir/src.c.o -c src.c
  536. src.c: In function ‘main’:
  537. src.c:8:42: error: ‘struct sockaddr_in6’ has no member named ‘sin6_len’
  538. 8 | (void)sizeof(((struct sockaddr_in6 *)0)->sin6_len);
  539. | ^~
  540. ninja: build stopped: subcommand failed.
  541.  
  542.  
  543. Source file was:
  544.  
  545. #include <sys/types.h>
  546. #include <netinet/in.h>
  547. #include <sys/socket.h>
  548.  
  549. int main()
  550. {
  551. (void)sizeof(((struct sockaddr_in6 *)0)->sin6_len);
  552. return 0;
  553. }
  554.  
  555. Determining if files numa.h exist failed with the following output:
  556. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  557.  
  558. Run Build Command(s):/usr/bin/ninja cmTC_d664b && [1/2] Building C object CMakeFiles/cmTC_d664b.dir/HAVE_NUMA_H.c.o
  559. FAILED: CMakeFiles/cmTC_d664b.dir/HAVE_NUMA_H.c.o
  560. /usr/bin/x86_64-pc-linux-gnu-gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -fPIE -o CMakeFiles/cmTC_d664b.dir/HAVE_NUMA_H.c.o -c /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CheckIncludeFiles/HAVE_NUMA_H.c
  561. /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CheckIncludeFiles/HAVE_NUMA_H.c:2:10: fatal error: numa.h: No such file or directory
  562. 2 | #include <numa.h>
  563. | ^~~~~~~~
  564. compilation terminated.
  565. ninja: build stopped: subcommand failed.
  566.  
  567.  
  568. Source:
  569. /* */
  570. #include <numa.h>
  571.  
  572.  
  573. int main(void){return 0;}
  574.  
  575. Determining if files numaif.h exist failed with the following output:
  576. Change Dir: /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CMakeTmp
  577.  
  578. Run Build Command(s):/usr/bin/ninja cmTC_2849a && [1/2] Building C object CMakeFiles/cmTC_2849a.dir/HAVE_NUMAIF_H.c.o
  579. FAILED: CMakeFiles/cmTC_2849a.dir/HAVE_NUMAIF_H.c.o
  580. /usr/bin/x86_64-pc-linux-gnu-gcc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -fPIE -o CMakeFiles/cmTC_2849a.dir/HAVE_NUMAIF_H.c.o -c /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CheckIncludeFiles/HAVE_NUMAIF_H.c
  581. /var/tmp/portage/portage/dev-db/mysql-connector-c-8.0.21/work/mysql-8.0.21-abi_x86_64.amd64/CMakeFiles/CheckIncludeFiles/HAVE_NUMAIF_H.c:2:10: fatal error: numaif.h: No such file or directory
  582. 2 | #include <numaif.h>
  583. | ^~~~~~~~~~
  584. compilation terminated.
  585. ninja: build stopped: subcommand failed.
  586.  
  587.  
  588. Source:
  589. /* */
  590. #include <numaif.h>
  591.  
  592.  
  593. int main(void){return 0;}
  594.  
  595.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement