Guest User

Untitled

a guest
Dec 2nd, 2017
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.43 KB | None | 0 0
  1. ➜ appletv-tvml-server git:(master) ✗ cap -T
  2. ➜ appletv-tvml-server git:(master) ✗ bundle exec cap production deploy
  3. [Deprecation Notice] Future versions of Capistrano will not load the Git SCM
  4. plugin by default. To silence this deprecation warning, add the following to
  5. your Capfile after `require "capistrano/deploy"`:
  6.  
  7. require "capistrano/scm/git"
  8. install_plugin Capistrano::SCM::Git
  9.  
  10.  
  11. You need a passphrase to unlock the secret key for
  12. user: "TED Engineering (To be used to encrypt backups) <engineroom+backup01@ted.com>"
  13. 2048-bit RSA key, ID 57029D2E, created 2012-09-28 (main key ID EACF3C5D)
  14.  
  15. gpg: encrypted with 2048-bit RSA key, ID 57029D2E, created 2012-09-28
  16. "TED Engineering (To be used to encrypt backups) <engineroom+backup01@ted.com>"
  17. INFO [fa5f86a5] Running /usr/bin/env mkdir -p /tmp as tedconf@appletv-e01.private.ted.com
  18. INFO [e78fdd83] Running /usr/bin/env mkdir -p /tmp as tedconf@appletv-e11.private.ted.com
  19. INFO [fa5f86a5] Finished in 5.079 seconds with exit status 0 (successful).
  20. INFO [e78fdd83] Finished in 5.527 seconds with exit status 0 (successful).
  21. INFO Uploading /tmp/git-ssh-appletvml-production-clayselby.sh 100.0%
  22. INFO [20f97f0a] Running /usr/bin/env chmod 700 /tmp/git-ssh-appletvml-production-clayselby.sh as tedconf@appletv-e01.private.ted.com
  23. INFO Uploading /tmp/git-ssh-appletvml-production-clayselby.sh 100.0%
  24. INFO [50609fb8] Running /usr/bin/env chmod 700 /tmp/git-ssh-appletvml-production-clayselby.sh as tedconf@appletv-e11.private.ted.com
  25. INFO [20f97f0a] Finished in 0.830 seconds with exit status 0 (successful).
  26. INFO [50609fb8] Finished in 0.922 seconds with exit status 0 (successful).
  27. INFO [32834bf7] Running /usr/bin/env git ls-remote git@github.com:tedconf/appletv-tvml-server.git HEAD as tedconf@appletv-e11.private.ted.com
  28. INFO [c315df7b] Running /usr/bin/env git ls-remote git@github.com:tedconf/appletv-tvml-server.git HEAD as tedconf@appletv-e01.private.ted.com
  29. INFO [c315df7b] Finished in 1.398 seconds with exit status 0 (successful).
  30. INFO [32834bf7] Finished in 1.401 seconds with exit status 0 (successful).
  31. INFO [a38ab412] Running /usr/bin/env mkdir -p /var/www/appletvml/production/master/shared /var/www/appletvml/production/master/releases as tedconf@appletv-e11.private.ted.com
  32. INFO [03cee697] Running /usr/bin/env mkdir -p /var/www/appletvml/production/master/shared /var/www/appletvml/production/master/releases as tedconf@appletv-e01.private.ted.com
  33. INFO [03cee697] Finished in 0.876 seconds with exit status 0 (successful).
  34. INFO [a38ab412] Finished in 0.894 seconds with exit status 0 (successful).
  35. INFO [1f347b3a] Running /usr/bin/env mkdir -p /var/www/appletvml/production/master/shared/log /var/www/appletvml/production/master/shared/public/assets as tedconf@appletv-e11.private.ted.com
  36. INFO [e28dd8f6] Running /usr/bin/env mkdir -p /var/www/appletvml/production/master/shared/log /var/www/appletvml/production/master/shared/public/assets as tedconf@appletv-e01.private.ted.com
  37. INFO [1f347b3a] Finished in 0.870 seconds with exit status 0 (successful).
  38. INFO [e28dd8f6] Finished in 0.892 seconds with exit status 0 (successful).
  39. INFO The repository mirror is at /var/www/appletvml/production/master/repo
  40. INFO The repository mirror is at /var/www/appletvml/production/master/repo
  41. INFO [c75c188e] Running /usr/bin/env git remote set-url origin git@github.com:tedconf/appletv-tvml-server.git as tedconf@appletv-e11.private.ted.com
  42. INFO [a6167f39] Running /usr/bin/env git remote set-url origin git@github.com:tedconf/appletv-tvml-server.git as tedconf@appletv-e01.private.ted.com
  43. INFO [c75c188e] Finished in 0.888 seconds with exit status 0 (successful).
  44. INFO [51616bc5] Running /usr/bin/env git remote update --prune as tedconf@appletv-e11.private.ted.com
  45. INFO [a6167f39] Finished in 0.867 seconds with exit status 0 (successful).
  46. INFO [dff4811c] Running /usr/bin/env git remote update --prune as tedconf@appletv-e01.private.ted.com
  47. INFO [51616bc5] Finished in 1.416 seconds with exit status 0 (successful).
  48. INFO [dff4811c] Finished in 1.394 seconds with exit status 0 (successful).
  49. INFO [afab6fed] Running /usr/bin/env mkdir -p /var/www/appletvml/production/master/releases/20171130164139 as tedconf@appletv-e01.private.ted.com
  50. INFO [fba9e8c7] Running /usr/bin/env mkdir -p /var/www/appletvml/production/master/releases/20171130164139 as tedconf@appletv-e11.private.ted.com
  51. INFO [fba9e8c7] Finished in 0.890 seconds with exit status 0 (successful).
  52. INFO [b52f6cf5] Running /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /var/www/appletvml/production/master/releases/20171130164139 as tedconf@appletv-e11.private.ted.com
  53. INFO [afab6fed] Finished in 0.903 seconds with exit status 0 (successful).
  54. INFO [cbf69c13] Running /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /var/www/appletvml/production/master/releases/20171130164139 as tedconf@appletv-e01.private.ted.com
  55. INFO [b52f6cf5] Finished in 0.900 seconds with exit status 0 (successful).
  56. INFO [cbf69c13] Finished in 0.914 seconds with exit status 0 (successful).
  57. INFO [74bc5fee] Running /usr/bin/env echo "306b3d8bf92a68039bc002f6f7acb5fc7dddacf1" >> REVISION as tedconf@appletv-e11.private.ted.com
  58. INFO [dcde7b34] Running /usr/bin/env echo "306b3d8bf92a68039bc002f6f7acb5fc7dddacf1" >> REVISION as tedconf@appletv-e01.private.ted.com
  59. INFO [74bc5fee] Finished in 0.909 seconds with exit status 0 (successful).
  60. INFO [dcde7b34] Finished in 0.918 seconds with exit status 0 (successful).
  61. INFO [a3f3b4fe] Running /usr/bin/env mkdir -p /var/www/appletvml/production/master/releases/20171130164139 /var/www/appletvml/production/master/releases/20171130164139/public as tedconf@appletv-e01.private.ted.com
  62. INFO [fa11d21d] Running /usr/bin/env mkdir -p /var/www/appletvml/production/master/releases/20171130164139 /var/www/appletvml/production/master/releases/20171130164139/public as tedconf@appletv-e11.private.ted.com
  63. INFO [fa11d21d] Finished in 0.847 seconds with exit status 0 (successful).
  64. INFO [a3f3b4fe] Finished in 0.878 seconds with exit status 0 (successful).
  65. INFO [7231fb98] Running /usr/bin/env rm -rf /var/www/appletvml/production/master/releases/20171130164139/log as tedconf@appletv-e11.private.ted.com
  66. INFO [b32a26e8] Running /usr/bin/env rm -rf /var/www/appletvml/production/master/releases/20171130164139/log as tedconf@appletv-e01.private.ted.com
  67. INFO [7231fb98] Finished in 0.872 seconds with exit status 0 (successful).
  68. INFO [acf69c38] Running /usr/bin/env ln -s /var/www/appletvml/production/master/shared/log /var/www/appletvml/production/master/releases/20171130164139/log as tedconf@appletv-e11.private.ted.com
  69. INFO [b32a26e8] Finished in 0.901 seconds with exit status 0 (successful).
  70. INFO [3781e9dd] Running /usr/bin/env ln -s /var/www/appletvml/production/master/shared/log /var/www/appletvml/production/master/releases/20171130164139/log as tedconf@appletv-e01.private.ted.com
  71. INFO [acf69c38] Finished in 0.885 seconds with exit status 0 (successful).
  72. INFO [3781e9dd] Finished in 0.886 seconds with exit status 0 (successful).
  73. INFO [b5f88bc2] Running /usr/bin/env ln -s /var/www/appletvml/production/master/shared/public/assets /var/www/appletvml/production/master/releases/20171130164139/public/assets as tedconf@appletv-e01.private.ted.com
  74. INFO [1a989c8f] Running /usr/bin/env ln -s /var/www/appletvml/production/master/shared/public/assets /var/www/appletvml/production/master/releases/20171130164139/public/assets as tedconf@appletv-e11.private.ted.com
  75. INFO [1a989c8f] Finished in 0.831 seconds with exit status 0 (successful).
  76. INFO [b5f88bc2] Finished in 0.883 seconds with exit status 0 (successful).
  77. INFO Uploading config/secrets.yml 100.0%
  78. INFO Uploading config/secrets.yml 100.0%
  79. INFO [ed8722e5] Running /usr/local/rvm/bin/rvm 2.4.2 do bundle install --path /var/www/appletvml/production/master/shared/bundle --without development test --deployment --quiet as tedconf@appletv-e01.private.ted.com
  80. INFO [6c2dfdc3] Running /usr/local/rvm/bin/rvm 2.4.2 do bundle install --path /var/www/appletvml/production/master/shared/bundle --without development test --deployment --quiet as tedconf@appletv-e11.private.ted.com
  81. (Backtrace restricted to imported tasks)
  82. cap aborted!
  83. SSHKit::Runner::ExecuteError: Exception while executing as tedconf@appletv-e01.private.ted.com: bundle exit status: 5
  84. bundle stdout: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  85.  
  86. current directory:
  87. /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
  88. /usr/local/rvm/rubies/ruby-2.4.2/bin/ruby -r ./siteconf20171130-21531-1aqxy7a.rb
  89. extconf.rb
  90. checking for rb_absint_size()... yes
  91. checking for rb_absint_singlebit_p()... yes
  92. checking for ruby/thread.h... yes
  93. checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
  94. checking for rb_thread_blocking_region()... no
  95. checking for rb_wait_for_single_fd()... yes
  96. checking for rb_hash_dup()... yes
  97. checking for rb_intern3()... yes
  98. checking for rb_big_cmp()... yes
  99. -----
  100. Using mysql_config at /usr/bin/mysql_config
  101. -----
  102. checking for mysql.h... yes
  103. checking for errmsg.h... yes
  104. checking for SSL_MODE_DISABLED in mysql.h... no
  105. checking for MYSQL_OPT_SSL_ENFORCE in mysql.h... no
  106. checking for MYSQL.net.vio in mysql.h... yes
  107. checking for MYSQL.net.pvio in mysql.h... no
  108. checking for MYSQL_ENABLE_CLEARTEXT_PLUGIN in mysql.h... yes
  109. -----
  110. Setting libpath to /usr/lib64/mysql
  111. -----
  112. creating Makefile
  113.  
  114. current directory:
  115. /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
  116. make "DESTDIR=" clean
  117.  
  118. current directory:
  119. /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
  120. make "DESTDIR="
  121. compiling client.c
  122. compiling infile.c
  123. compiling mysql2_ext.c
  124. compiling result.c
  125. result.c: In function ‘rb_mysql_result_alloc_result_buffers’:
  126. result.c:326:40: warning: assignment from incompatible pointer type [enabled by
  127. default]
  128. wrapper->result_buffers[i].is_null = &wrapper->is_null[i];
  129. ^
  130. result.c:328:40: warning: assignment from incompatible pointer type [enabled by
  131. default]
  132. wrapper->result_buffers[i].error = &wrapper->error[i];
  133. ^
  134. result.c: At top level:
  135. cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
  136. default]
  137. cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
  138. [enabled by default]
  139. cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
  140. [enabled by default]
  141. cc1: warning: unrecognized command line option "-Wno-tautological-compare"
  142. [enabled by default]
  143. compiling statement.c
  144. statement.c: In function ‘rb_raise_mysql2_stmt_error’:
  145. statement.c:50:3: warning: ISO C90 forbids mixed declarations and code
  146. [-Wdeclaration-after-statement]
  147. VALUE rb_error_msg = rb_str_new2(mysql_stmt_error(stmt_wrapper->stmt));
  148. ^
  149. statement.c:57:3: warning: ISO C90 forbids mixed declarations and code
  150. [-Wdeclaration-after-statement]
  151. rb_encoding *default_internal_enc = rb_default_internal_encoding();
  152. ^
  153. In file included from ./mysql2_ext.h:35:0,
  154. from statement.c:1:
  155. statement.c: In function ‘execute’:
  156. ./client.h:56:3: warning: ISO C90 forbids mixed declarations and code
  157. [-Wdeclaration-after-statement]
  158. mysql_client_wrapper *wrapper; \
  159. ^
  160. statement.c:273:3: note: in expansion of macro ‘GET_CLIENT’
  161. GET_CLIENT(stmt_wrapper->client);
  162. ^
  163. statement.c:405:13: warning: ISO C90 forbids mixed declarations and code
  164. [-Wdeclaration-after-statement]
  165. VALUE rb_val_as_string = rb_funcall(argv[i], intern_to_s, 0);
  166. ^
  167. In file included from ./mysql2_ext.h:35:0,
  168. from statement.c:1:
  169. statement.c: In function ‘fields’:
  170. ./client.h:56:3: warning: ISO C90 forbids mixed declarations and code
  171. [-Wdeclaration-after-statement]
  172. mysql_client_wrapper *wrapper; \
  173. ^
  174. statement.c:481:3: note: in expansion of macro ‘GET_CLIENT’
  175. GET_CLIENT(stmt_wrapper->client);
  176. ^
  177. statement.c: At top level:
  178. cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
  179. default]
  180. cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
  181. [enabled by default]
  182. cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
  183. [enabled by default]
  184. cc1: warning: unrecognized command line option "-Wno-tautological-compare"
  185. [enabled by default]
  186. linking shared-object mysql2/mysql2.so
  187. /usr/bin/ld: cannot find -lmysqlclient
  188. collect2: error: ld returned 1 exit status
  189. make: *** [mysql2.so] Error 1
  190.  
  191. make failed, exit code 2
  192.  
  193. Gem files will remain installed in
  194. /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10
  195. for inspection.
  196. Results logged to
  197. /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/mysql2-0.4.10/gem_make.out
  198.  
  199. An error occurred while installing mysql2 (0.4.10), and Bundler cannot continue.
  200. Make sure that `gem install mysql2 -v '0.4.10'` succeeds before bundling.
  201.  
  202. In Gemfile:
  203. mysql2
  204. bundle stderr: Nothing written
  205.  
  206.  
  207. Caused by:
  208. SSHKit::Command::Failed: bundle exit status: 5
  209. bundle stdout: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  210.  
  211. current directory:
  212. /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
  213. /usr/local/rvm/rubies/ruby-2.4.2/bin/ruby -r ./siteconf20171130-21531-1aqxy7a.rb
  214. extconf.rb
  215. checking for rb_absint_size()... yes
  216. checking for rb_absint_singlebit_p()... yes
  217. checking for ruby/thread.h... yes
  218. checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
  219. checking for rb_thread_blocking_region()... no
  220. checking for rb_wait_for_single_fd()... yes
  221. checking for rb_hash_dup()... yes
  222. checking for rb_intern3()... yes
  223. checking for rb_big_cmp()... yes
  224. -----
  225. Using mysql_config at /usr/bin/mysql_config
  226. -----
  227. checking for mysql.h... yes
  228. checking for errmsg.h... yes
  229. checking for SSL_MODE_DISABLED in mysql.h... no
  230. checking for MYSQL_OPT_SSL_ENFORCE in mysql.h... no
  231. checking for MYSQL.net.vio in mysql.h... yes
  232. checking for MYSQL.net.pvio in mysql.h... no
  233. checking for MYSQL_ENABLE_CLEARTEXT_PLUGIN in mysql.h... yes
  234. -----
  235. Setting libpath to /usr/lib64/mysql
  236. -----
  237. creating Makefile
  238.  
  239. current directory:
  240. /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
  241. make "DESTDIR=" clean
  242.  
  243. current directory:
  244. /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
  245. make "DESTDIR="
  246. compiling client.c
  247. compiling infile.c
  248. compiling mysql2_ext.c
  249. compiling result.c
  250. result.c: In function ‘rb_mysql_result_alloc_result_buffers’:
  251. result.c:326:40: warning: assignment from incompatible pointer type [enabled by
  252. default]
  253. wrapper->result_buffers[i].is_null = &wrapper->is_null[i];
  254. ^
  255. result.c:328:40: warning: assignment from incompatible pointer type [enabled by
  256. default]
  257. wrapper->result_buffers[i].error = &wrapper->error[i];
  258. ^
  259. result.c: At top level:
  260. cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
  261. default]
  262. cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
  263. [enabled by default]
  264. cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
  265. [enabled by default]
  266. cc1: warning: unrecognized command line option "-Wno-tautological-compare"
  267. [enabled by default]
  268. compiling statement.c
  269. statement.c: In function ‘rb_raise_mysql2_stmt_error’:
  270. statement.c:50:3: warning: ISO C90 forbids mixed declarations and code
  271. [-Wdeclaration-after-statement]
  272. VALUE rb_error_msg = rb_str_new2(mysql_stmt_error(stmt_wrapper->stmt));
  273. ^
  274. statement.c:57:3: warning: ISO C90 forbids mixed declarations and code
  275. [-Wdeclaration-after-statement]
  276. rb_encoding *default_internal_enc = rb_default_internal_encoding();
  277. ^
  278. In file included from ./mysql2_ext.h:35:0,
  279. from statement.c:1:
  280. statement.c: In function ‘execute’:
  281. ./client.h:56:3: warning: ISO C90 forbids mixed declarations and code
  282. [-Wdeclaration-after-statement]
  283. mysql_client_wrapper *wrapper; \
  284. ^
  285. statement.c:273:3: note: in expansion of macro ‘GET_CLIENT’
  286. GET_CLIENT(stmt_wrapper->client);
  287. ^
  288. statement.c:405:13: warning: ISO C90 forbids mixed declarations and code
  289. [-Wdeclaration-after-statement]
  290. VALUE rb_val_as_string = rb_funcall(argv[i], intern_to_s, 0);
  291. ^
  292. In file included from ./mysql2_ext.h:35:0,
  293. from statement.c:1:
  294. statement.c: In function ‘fields’:
  295. ./client.h:56:3: warning: ISO C90 forbids mixed declarations and code
  296. [-Wdeclaration-after-statement]
  297. mysql_client_wrapper *wrapper; \
  298. ^
  299. statement.c:481:3: note: in expansion of macro ‘GET_CLIENT’
  300. GET_CLIENT(stmt_wrapper->client);
  301. ^
  302. statement.c: At top level:
  303. cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
  304. default]
  305. cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
  306. [enabled by default]
  307. cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
  308. [enabled by default]
  309. cc1: warning: unrecognized command line option "-Wno-tautological-compare"
  310. [enabled by default]
  311. linking shared-object mysql2/mysql2.so
  312. /usr/bin/ld: cannot find -lmysqlclient
  313. collect2: error: ld returned 1 exit status
  314. make: *** [mysql2.so] Error 1
  315.  
  316. make failed, exit code 2
  317.  
  318. Gem files will remain installed in
  319. /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10
  320. for inspection.
  321. Results logged to
  322. /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/mysql2-0.4.10/gem_make.out
  323.  
  324. An error occurred while installing mysql2 (0.4.10), and Bundler cannot continue.
  325. Make sure that `gem install mysql2 -v '0.4.10'` succeeds before bundling.
  326.  
  327. In Gemfile:
  328. mysql2
  329. bundle stderr: Nothing written
  330.  
  331. Tasks: TOP => deploy:updated => bundler:install
  332. (See full trace by running task with --trace)
  333. The deploy has failed with an error: Exception while executing as tedconf@appletv-e01.private.ted.com: bundle exit status: 5
  334. bundle stdout: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  335.  
  336. current directory:
  337. /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
  338. /usr/local/rvm/rubies/ruby-2.4.2/bin/ruby -r ./siteconf20171130-21531-1aqxy7a.rb
  339. extconf.rb
  340. checking for rb_absint_size()... yes
  341. checking for rb_absint_singlebit_p()... yes
  342. checking for ruby/thread.h... yes
  343. checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
  344. checking for rb_thread_blocking_region()... no
  345. checking for rb_wait_for_single_fd()... yes
  346. checking for rb_hash_dup()... yes
  347. checking for rb_intern3()... yes
  348. checking for rb_big_cmp()... yes
  349. -----
  350. Using mysql_config at /usr/bin/mysql_config
  351. -----
  352. checking for mysql.h... yes
  353. checking for errmsg.h... yes
  354. checking for SSL_MODE_DISABLED in mysql.h... no
  355. checking for MYSQL_OPT_SSL_ENFORCE in mysql.h... no
  356. checking for MYSQL.net.vio in mysql.h... yes
  357. checking for MYSQL.net.pvio in mysql.h... no
  358. checking for MYSQL_ENABLE_CLEARTEXT_PLUGIN in mysql.h... yes
  359. -----
  360. Setting libpath to /usr/lib64/mysql
  361. -----
  362. creating Makefile
  363.  
  364. current directory:
  365. /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
  366. make "DESTDIR=" clean
  367.  
  368. current directory:
  369. /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
  370. make "DESTDIR="
  371. compiling client.c
  372. compiling infile.c
  373. compiling mysql2_ext.c
  374. compiling result.c
  375. result.c: In function ‘rb_mysql_result_alloc_result_buffers’:
  376. result.c:326:40: warning: assignment from incompatible pointer type [enabled by
  377. default]
  378. wrapper->result_buffers[i].is_null = &wrapper->is_null[i];
  379. ^
  380. result.c:328:40: warning: assignment from incompatible pointer type [enabled by
  381. default]
  382. wrapper->result_buffers[i].error = &wrapper->error[i];
  383. ^
  384. result.c: At top level:
  385. cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
  386. default]
  387. cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
  388. [enabled by default]
  389. cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
  390. [enabled by default]
  391. cc1: warning: unrecognized command line option "-Wno-tautological-compare"
  392. [enabled by default]
  393. compiling statement.c
  394. statement.c: In function ‘rb_raise_mysql2_stmt_error’:
  395. statement.c:50:3: warning: ISO C90 forbids mixed declarations and code
  396. [-Wdeclaration-after-statement]
  397. VALUE rb_error_msg = rb_str_new2(mysql_stmt_error(stmt_wrapper->stmt));
  398. ^
  399. statement.c:57:3: warning: ISO C90 forbids mixed declarations and code
  400. [-Wdeclaration-after-statement]
  401. rb_encoding *default_internal_enc = rb_default_internal_encoding();
  402. ^
  403. In file included from ./mysql2_ext.h:35:0,
  404. from statement.c:1:
  405. statement.c: In function ‘execute’:
  406. ./client.h:56:3: warning: ISO C90 forbids mixed declarations and code
  407. [-Wdeclaration-after-statement]
  408. mysql_client_wrapper *wrapper; \
  409. ^
  410. statement.c:273:3: note: in expansion of macro ‘GET_CLIENT’
  411. GET_CLIENT(stmt_wrapper->client);
  412. ^
  413. statement.c:405:13: warning: ISO C90 forbids mixed declarations and code
  414. [-Wdeclaration-after-statement]
  415. VALUE rb_val_as_string = rb_funcall(argv[i], intern_to_s, 0);
  416. ^
  417. In file included from ./mysql2_ext.h:35:0,
  418. from statement.c:1:
  419. statement.c: In function ‘fields’:
  420. ./client.h:56:3: warning: ISO C90 forbids mixed declarations and code
  421. [-Wdeclaration-after-statement]
  422. mysql_client_wrapper *wrapper; \
  423. ^
  424. statement.c:481:3: note: in expansion of macro ‘GET_CLIENT’
  425. GET_CLIENT(stmt_wrapper->client);
  426. ^
  427. statement.c: At top level:
  428. cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
  429. default]
  430. cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
  431. [enabled by default]
  432. cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
  433. [enabled by default]
  434. cc1: warning: unrecognized command line option "-Wno-tautological-compare"
  435. [enabled by default]
  436. linking shared-object mysql2/mysql2.so
  437. /usr/bin/ld: cannot find -lmysqlclient
  438. collect2: error: ld returned 1 exit status
  439. make: *** [mysql2.so] Error 1
  440.  
  441. make failed, exit code 2
  442.  
  443. Gem files will remain installed in
  444. /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10
  445. for inspection.
  446. Results logged to
  447. /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/mysql2-0.4.10/gem_make.out
  448.  
  449. An error occurred while installing mysql2 (0.4.10), and Bundler cannot continue.
  450. Make sure that `gem install mysql2 -v '0.4.10'` succeeds before bundling.
  451.  
  452. In Gemfile:
  453. mysql2
  454. bundle stderr: Nothing written
  455. Saving deploy log
  456. ➜ appletv-tvml-server git:(master) ✗ Killed by signal 1.
  457. Killed by signal 1.
Add Comment
Please, Sign In to add comment