make.log 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. +__rvm_make:0> make -j8
  2. CC = gcc
  3. LD = ld
  4. LDSHARED = gcc -dynamiclib
  5. CFLAGS = -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wmisleading-indentation -Wextra-tokens -fno-common -pipe
  6. XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
  7. CPPFLAGS = -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/-darwin20 -I./include -I. -I./enc/unicode/10.0.0
  8. DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@1.1/lib -install_name /Users/fq/.rvm/rubies/ruby-2.5.7/lib/libruby.2.5.dylib -compatibility_version 2.5 -current_version 2.5.7 -fstack-protector -framework Foundation -fstack-protector -framework Foundation
  9. SOLIBS = -lpthread -ldl -lobjc
  10. LANG = zh_CN.UTF-8
  11. LC_ALL =
  12. LC_CTYPE =
  13. Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
  14. Apple clang version 12.0.0 (clang-1200.0.32.28)
  15. Target: arm64-apple-darwin20.1.0
  16. Thread model: posix
  17. InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  18. compiling ./main.c
  19. compiling dmydln.c
  20. compiling miniinit.c
  21. compiling dmyext.c
  22. compiling miniprelude.c
  23. translating probes probes.d
  24. compiling bignum.c
  25. compiling class.c
  26. compiling compar.c
  27. compiling compile.c
  28. . ./vm_opts.h
  29. compiling complex.c
  30. compiling cont.c
  31. compiling debug.c
  32. compiling debug_counter.c
  33. compiling dir.c
  34. compiling dln_find.c
  35. compiling encoding.c
  36. compiling enum.c
  37. compiling enumerator.c
  38. compiling error.c
  39. compiling eval.c
  40. compiling file.c
  41. compiling gc.c
  42. compiling hash.c
  43. compiling io.c
  44. compiling inits.c
  45. compiling iseq.c
  46. compiling load.c
  47. compiling marshal.c
  48. compiling math.c
  49. compiling node.c
  50. compiling numeric.c
  51. compiling object.c
  52. compiling pack.c
  53. compiling parse.c
  54. compiling proc.c
  55. compiling process.c
  56. compiling random.c
  57. compiling range.c
  58. compiling rational.c
  59. compiling re.c
  60. compiling regcomp.c
  61. compiling regenc.c
  62. compiling regerror.c
  63. compiling regexec.c
  64. compiling regparse.c
  65. compiling regsyntax.c
  66. compiling ruby.c
  67. compiling safe.c
  68. compiling signal.c
  69. compiling sprintf.c
  70. In file included from sprintf.c:1254:
  71. ./vsnprintf.c:832:8: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
  72. IS_PRI_EXTRA_MARK(fmt)) {
  73. ^~~~~~~~~~~~~~~~~~~~~~
  74. ./vsnprintf.c:825:34: note: expanded from macro 'IS_PRI_EXTRA_MARK'
  75. strncmp((s)+1, PRI_EXTRA_MARK+1, \
  76. ~~~~~~~~~~~~~~^~
  77. ./vsnprintf.c:832:8: note: use array indexing to silence this warning
  78. ./vsnprintf.c:825:34: note: expanded from macro 'IS_PRI_EXTRA_MARK'
  79. strncmp((s)+1, PRI_EXTRA_MARK+1, \
  80. ^
  81. compiling st.c
  82. compiling strftime.c
  83. compiling string.c
  84. compiling struct.c
  85. 1 warning generated.
  86. compiling symbol.c
  87. compiling thread.c
  88. compiling time.c
  89. compiling transcode.c
  90. compiling util.c
  91. compiling variable.c
  92. compiling version.c
  93. compiling vm.c
  94. vm.c:2366:34: warning: expression does not compute the number of elements in this array; element type is 'const int', not 'VALUE' (aka 'unsigned long') [-Wsizeof-array-div]
  95. sizeof(ec->machine.regs) / sizeof(VALUE));
  96. ~~~~~~~~~~~~~~~~ ^
  97. vm.c:2366:34: note: place parentheses around the 'sizeof(VALUE)' expression to silence this warning
  98. compiling vm_backtrace.c
  99. compiling vm_dump.c
  100. compiling vm_trace.c
  101. compiling ./missing/explicit_bzero.c
  102. compiling ./missing/finite.c
  103. compiling ./missing/setproctitle.c
  104. compiling dmyenc.c
  105. compiling dln.c
  106. compiling localeinit.c
  107. compiling prelude.c
  108. ./revision.h unchanged
  109. compiling array.c
  110. compiling enc/ascii.c
  111. compiling enc/us_ascii.c
  112. compiling enc/unicode.c
  113. compiling enc/utf_8.c
  114. compiling enc/trans/newline.c
  115. config.status: creating ruby-runner.h
  116. 1 warning generated.
  117. linking miniruby
  118. generating encdb.h
  119. encdb.h updated
  120. ./tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp
  121. rbconfig.rb updated
  122. generating enc.mk
  123. creating verconf.h
  124. verconf.h updated
  125. compiling loadpath.c
  126. making srcs under enc
  127. make[1]: Nothing to be done for `srcs'.
  128. generating transdb.h
  129. linking static-library libruby.2.5.7-static.a
  130. linking shared-library libruby.2.5.7.dylib
  131. transdb.h updated
  132. generating makefiles ext/configure-ext.mk
  133. making enc
  134. making trans
  135. compiling ./enc/trans/transdb.c
  136. compiling ./enc/encdb.c
  137. compiling ./enc/big5.c
  138. compiling ./enc/cp949.c
  139. compiling ./enc/trans/big5.c
  140. compiling ./enc/emacs_mule.c
  141. compiling ./enc/trans/chinese.c
  142. ext/configure-ext.mk updated
  143. compiling ./enc/euc_jp.c
  144. compiling ./enc/euc_kr.c
  145. compiling ./enc/trans/ebcdic.c
  146. configuring strscan
  147. compiling ./enc/trans/emoji.c
  148. configuring syslog
  149. configuring gdbm
  150. compiling ./enc/euc_tw.c
  151. configuring pty
  152. configuring objspace
  153. compiling ./enc/trans/emoji_iso2022_kddi.c
  154. compiling ./enc/gb2312.c
  155. configuring nkf
  156. compiling ./enc/gb18030.c
  157. compiling ./enc/trans/emoji_sjis_docomo.c
  158. compiling ./enc/gbk.c
  159. compiling ./enc/iso_8859_1.c
  160. compiling ./enc/iso_8859_2.c
  161. configuring digest
  162. configuring digest/bubblebabble
  163. configuring digest/md5
  164. configuring date
  165. compiling ./enc/iso_8859_3.c
  166. compiling ./enc/iso_8859_4.c
  167. configuring readline
  168. compiling ./enc/iso_8859_5.c
  169. compiling ./enc/iso_8859_6.c
  170. compiling ./enc/trans/emoji_sjis_kddi.c
  171. compiling ./enc/iso_8859_7.c
  172. compiling ./enc/iso_8859_8.c
  173. configuring io/console
  174. compiling ./enc/iso_8859_9.c
  175. compiling ./enc/trans/emoji_sjis_softbank.c
  176. compiling ./enc/iso_8859_10.c
  177. configuring digest/rmd160
  178. compiling ./enc/iso_8859_11.c
  179. compiling ./enc/iso_8859_13.c
  180. compiling ./enc/trans/escape.c
  181. compiling ./enc/trans/gb18030.c
  182. compiling ./enc/iso_8859_14.c
  183. configuring etc
  184. compiling ./enc/iso_8859_15.c
  185. configuring bigdecimal
  186. compiling ./enc/iso_8859_16.c
  187. configuring digest/sha1
  188. compiling ./enc/koi8_r.c
  189. compiling ./enc/koi8_u.c
  190. compiling ./enc/trans/gbk.c
  191. compiling ./enc/shift_jis.c
  192. configuring -test-/array/resize
  193. configuring -test-/bignum
  194. configuring -test-/bug-3571
  195. configuring -test-/bug-5832
  196. configuring -test-/bug_reporter
  197. configuring -test-/class
  198. configuring -test-/debug
  199. configuring -test-/dln/empty
  200. configuring -test-/exception
  201. configuring -test-/fatal
  202. configuring -test-/file
  203. compiling ./enc/utf_16be.c
  204. configuring digest/sha2
  205. compiling ./enc/utf_16le.c
  206. compiling ./enc/utf_32be.c
  207. compiling ./enc/utf_32le.c
  208. compiling ./enc/windows_31j.c
  209. compiling ./enc/windows_1250.c
  210. compiling ./enc/windows_1251.c
  211. configuring fiddle
  212. compiling ./enc/windows_1252.c
  213. compiling ./enc/windows_1253.c
  214. compiling ./enc/trans/iso2022.c
  215. compiling ./enc/windows_1254.c
  216. compiling ./enc/trans/japanese.c
  217. compiling ./enc/windows_1257.c
  218. compiling ./enc/trans/japanese_euc.c
  219. linking encoding encdb.bundle
  220. configuring -test-/float
  221. configuring -test-/funcall
  222. configuring -test-/gvl/call_without_gvl
  223. configuring -test-/hash
  224. configuring -test-/integer
  225. configuring -test-/iseq_load
  226. configuring -test-/iter
  227. configuring -test-/load/dot.dot
  228. configuring -test-/load/protect
  229. configuring -test-/marshal/compat
  230. configuring -test-/marshal/internal_ivar
  231. configuring -test-/marshal/usr
  232. configuring -test-/memory_status
  233. configuring -test-/method
  234. configuring -test-/notimplement
  235. configuring -test-/num2int
  236. configuring -test-/path_to_class
  237. configuring -test-/popen_deadlock
  238. configuring -test-/postponed_job
  239. configuring -test-/printf
  240. configuring -test-/proc
  241. configuring -test-/rational
  242. configuring -test-/recursion
  243. configuring -test-/regexp
  244. configuring -test-/scan_args
  245. configuring -test-/st/foreach
  246. configuring -test-/st/numhash
  247. linking encoding big5.bundle
  248. configuring -test-/st/update
  249. configuring -test-/string
  250. configuring -test-/struct
  251. configuring -test-/symbol
  252. linking encoding cp949.bundle
  253. configuring io/nonblock
  254. linking encoding emacs_mule.bundle
  255. linking encoding euc_jp.bundle
  256. configuring -test-/thread_fd_close
  257. configuring -test-/time
  258. configuring -test-/tracepoint
  259. configuring -test-/typeddata
  260. configuring -test-/vm
  261. configuring -test-/wait_for_single_fd
  262. configuring io/wait
  263. configuring rubyvm
  264. linking encoding euc_kr.bundle
  265. configuring zlib
  266. linking encoding euc_tw.bundle
  267. linking encoding gb2312.bundle
  268. compiling ./enc/trans/japanese_sjis.c
  269. linking encoding gb18030.bundle
  270. linking encoding gbk.bundle
  271. linking encoding iso_8859_1.bundle
  272. compiling ./enc/trans/korean.c
  273. linking encoding iso_8859_2.bundle
  274. linking encoding iso_8859_3.bundle
  275. linking encoding iso_8859_4.bundle
  276. configuring psych
  277. linking encoding iso_8859_5.bundle
  278. linking encoding iso_8859_6.bundle
  279. linking encoding iso_8859_7.bundle
  280. configuring cgi/escape
  281. linking encoding iso_8859_8.bundle
  282. configuring json
  283. configuring json/generator
  284. configuring json/parser
  285. linking encoding iso_8859_9.bundle
  286. linking encoding iso_8859_10.bundle
  287. compiling ./enc/trans/single_byte.c
  288. linking encoding iso_8859_11.bundle
  289. linking encoding iso_8859_13.bundle
  290. linking encoding iso_8859_14.bundle
  291. compiling ./enc/trans/utf8_mac.c
  292. linking encoding iso_8859_15.bundle
  293. configuring racc/cparse
  294. configuring stringio
  295. compiling ./enc/trans/utf_16_32.c
  296. linking encoding iso_8859_16.bundle
  297. linking encoding koi8_r.bundle
  298. linking encoding koi8_u.bundle
  299. linking encoding shift_jis.bundle
  300. configuring fiber
  301. configuring sdbm
  302. linking encoding utf_16be.bundle
  303. linking encoding utf_16le.bundle
  304. configuring continuation
  305. configuring rbconfig/sizeof
  306. linking transcoder transdb.bundle
  307. linking encoding utf_32be.bundle
  308. linking transcoder big5.bundle
  309. linking encoding utf_32le.bundle
  310. configuring dbm
  311. linking transcoder chinese.bundle
  312. linking encoding windows_31j.bundle
  313. linking transcoder ebcdic.bundle
  314. linking encoding windows_1250.bundle
  315. configuring fcntl
  316. linking encoding windows_1251.bundle
  317. configuring openssl
  318. linking transcoder emoji.bundle
  319. linking encoding windows_1252.bundle
  320. linking transcoder emoji_iso2022_kddi.bundle
  321. linking encoding windows_1253.bundle
  322. configuring ripper
  323. linking transcoder emoji_sjis_docomo.bundle
  324. linking encoding windows_1254.bundle
  325. configuring pathname
  326. linking encoding windows_1257.bundle
  327. linking transcoder emoji_sjis_kddi.bundle
  328. linking transcoder emoji_sjis_softbank.bundle
  329. linking transcoder escape.bundle
  330. configuring coverage
  331. configuring socket
  332. linking transcoder gb18030.bundle
  333. linking transcoder gbk.bundle
  334. linking transcoder iso2022.bundle
  335. linking transcoder japanese.bundle
  336. linking transcoder japanese_euc.bundle
  337. linking transcoder japanese_sjis.bundle
  338. linking transcoder korean.bundle
  339. linking transcoder single_byte.bundle
  340. linking transcoder utf8_mac.bundle
  341. linking transcoder utf_16_32.bundle
  342. making encs
  343. make[1]: Nothing to be done for `encs'.
  344. header: ndbm.h
  345. library: libc
  346. generating makefile exts.mk
  347. exts.mk updated
  348. compiling strscan.c
  349. compiling syslog.c
  350. compiling md5init.c
  351. compiling digest.c
  352. compiling pty.c
  353. compiling bubblebabble.c
  354. compiling object_tracing.c
  355. compiling nkf.c
  356. compiling md5.c
  357. linking shared-object digest/bubblebabble.bundle
  358. compiling objspace.c
  359. linking shared-object pty.bundle
  360. linking shared-object syslog.bundle
  361. compiling objspace_dump.c
  362. installing default digest libraries
  363. linking shared-object digest.bundle
  364. installing default pty libraries
  365. linking shared-object digest/md5.bundle
  366. installing default syslog libraries
  367. compiling rmd160init.c
  368. linking shared-object strscan.bundle
  369. installing default nkf libraries
  370. compiling sha1init.c
  371. installing digest libraries
  372. compiling rmd160.c
  373. compiling sha1.c
  374. compiling sha2init.c
  375. compiling sha2.c
  376. compiling date_core.c
  377. compiling readline.c
  378. compiling console.c
  379. readline.c:1870:37: error: use of undeclared identifier 'username_completion_function'; did you mean 'rl_username_completion_function'?
  380. rl_username_completion_function);
  381. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  382. rl_username_completion_function
  383. readline.c:79:42: note: expanded from macro 'rl_username_completion_function'
  384. # define rl_username_completion_function username_completion_function
  385. ^
  386. /usr/local/opt/readline/include/readline/readline.h:485:14: note: 'rl_username_completion_function' declared here
  387. extern char *rl_username_completion_function PARAMS((const char *, int));
  388. ^
  389. 1 error generated.
  390. make[2]: *** [readline.o] Error 1
  391. make[1]: *** [ext/readline/all] Error 2
  392. make[1]: *** Waiting for unfinished jobs....
  393. linking shared-object objspace.bundle
  394. compiling date_parse.c
  395. linking shared-object digest/sha1.bundle
  396. installing default sha2 libraries
  397. linking shared-object digest/sha2.bundle
  398. compiling date_strftime.c
  399. linking shared-object io/console.bundle
  400. compiling date_strptime.c
  401. linking shared-object digest/rmd160.bundle
  402. installing default console libraries
  403. installing default date_core libraries
  404. linking shared-object nkf.bundle
  405. linking shared-object date_core.bundle
  406. make: *** [build-ext] Error 2
  407. +__rvm_make:0> return 2