Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ appletv-tvml-server git:(master) ✗ cap -T
- ➜ appletv-tvml-server git:(master) ✗ bundle exec cap production deploy
- [Deprecation Notice] Future versions of Capistrano will not load the Git SCM
- plugin by default. To silence this deprecation warning, add the following to
- your Capfile after `require "capistrano/deploy"`:
- require "capistrano/scm/git"
- install_plugin Capistrano::SCM::Git
- You need a passphrase to unlock the secret key for
- user: "TED Engineering (To be used to encrypt backups) <engineroom+backup01@ted.com>"
- 2048-bit RSA key, ID 57029D2E, created 2012-09-28 (main key ID EACF3C5D)
- gpg: encrypted with 2048-bit RSA key, ID 57029D2E, created 2012-09-28
- "TED Engineering (To be used to encrypt backups) <engineroom+backup01@ted.com>"
- INFO [fa5f86a5] Running /usr/bin/env mkdir -p /tmp as tedconf@appletv-e01.private.ted.com
- INFO [e78fdd83] Running /usr/bin/env mkdir -p /tmp as tedconf@appletv-e11.private.ted.com
- INFO [fa5f86a5] Finished in 5.079 seconds with exit status 0 (successful).
- INFO [e78fdd83] Finished in 5.527 seconds with exit status 0 (successful).
- INFO Uploading /tmp/git-ssh-appletvml-production-clayselby.sh 100.0%
- INFO [20f97f0a] Running /usr/bin/env chmod 700 /tmp/git-ssh-appletvml-production-clayselby.sh as tedconf@appletv-e01.private.ted.com
- INFO Uploading /tmp/git-ssh-appletvml-production-clayselby.sh 100.0%
- INFO [50609fb8] Running /usr/bin/env chmod 700 /tmp/git-ssh-appletvml-production-clayselby.sh as tedconf@appletv-e11.private.ted.com
- INFO [20f97f0a] Finished in 0.830 seconds with exit status 0 (successful).
- INFO [50609fb8] Finished in 0.922 seconds with exit status 0 (successful).
- 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
- 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
- INFO [c315df7b] Finished in 1.398 seconds with exit status 0 (successful).
- INFO [32834bf7] Finished in 1.401 seconds with exit status 0 (successful).
- 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
- 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
- INFO [03cee697] Finished in 0.876 seconds with exit status 0 (successful).
- INFO [a38ab412] Finished in 0.894 seconds with exit status 0 (successful).
- 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
- 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
- INFO [1f347b3a] Finished in 0.870 seconds with exit status 0 (successful).
- INFO [e28dd8f6] Finished in 0.892 seconds with exit status 0 (successful).
- INFO The repository mirror is at /var/www/appletvml/production/master/repo
- INFO The repository mirror is at /var/www/appletvml/production/master/repo
- 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
- 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
- INFO [c75c188e] Finished in 0.888 seconds with exit status 0 (successful).
- INFO [51616bc5] Running /usr/bin/env git remote update --prune as tedconf@appletv-e11.private.ted.com
- INFO [a6167f39] Finished in 0.867 seconds with exit status 0 (successful).
- INFO [dff4811c] Running /usr/bin/env git remote update --prune as tedconf@appletv-e01.private.ted.com
- INFO [51616bc5] Finished in 1.416 seconds with exit status 0 (successful).
- INFO [dff4811c] Finished in 1.394 seconds with exit status 0 (successful).
- INFO [afab6fed] Running /usr/bin/env mkdir -p /var/www/appletvml/production/master/releases/20171130164139 as tedconf@appletv-e01.private.ted.com
- INFO [fba9e8c7] Running /usr/bin/env mkdir -p /var/www/appletvml/production/master/releases/20171130164139 as tedconf@appletv-e11.private.ted.com
- INFO [fba9e8c7] Finished in 0.890 seconds with exit status 0 (successful).
- 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
- INFO [afab6fed] Finished in 0.903 seconds with exit status 0 (successful).
- 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
- INFO [b52f6cf5] Finished in 0.900 seconds with exit status 0 (successful).
- INFO [cbf69c13] Finished in 0.914 seconds with exit status 0 (successful).
- INFO [74bc5fee] Running /usr/bin/env echo "306b3d8bf92a68039bc002f6f7acb5fc7dddacf1" >> REVISION as tedconf@appletv-e11.private.ted.com
- INFO [dcde7b34] Running /usr/bin/env echo "306b3d8bf92a68039bc002f6f7acb5fc7dddacf1" >> REVISION as tedconf@appletv-e01.private.ted.com
- INFO [74bc5fee] Finished in 0.909 seconds with exit status 0 (successful).
- INFO [dcde7b34] Finished in 0.918 seconds with exit status 0 (successful).
- 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
- 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
- INFO [fa11d21d] Finished in 0.847 seconds with exit status 0 (successful).
- INFO [a3f3b4fe] Finished in 0.878 seconds with exit status 0 (successful).
- INFO [7231fb98] Running /usr/bin/env rm -rf /var/www/appletvml/production/master/releases/20171130164139/log as tedconf@appletv-e11.private.ted.com
- INFO [b32a26e8] Running /usr/bin/env rm -rf /var/www/appletvml/production/master/releases/20171130164139/log as tedconf@appletv-e01.private.ted.com
- INFO [7231fb98] Finished in 0.872 seconds with exit status 0 (successful).
- 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
- INFO [b32a26e8] Finished in 0.901 seconds with exit status 0 (successful).
- 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
- INFO [acf69c38] Finished in 0.885 seconds with exit status 0 (successful).
- INFO [3781e9dd] Finished in 0.886 seconds with exit status 0 (successful).
- 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
- 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
- INFO [1a989c8f] Finished in 0.831 seconds with exit status 0 (successful).
- INFO [b5f88bc2] Finished in 0.883 seconds with exit status 0 (successful).
- INFO Uploading config/secrets.yml 100.0%
- INFO Uploading config/secrets.yml 100.0%
- 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
- 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
- (Backtrace restricted to imported tasks)
- cap aborted!
- SSHKit::Runner::ExecuteError: Exception while executing as tedconf@appletv-e01.private.ted.com: bundle exit status: 5
- bundle stdout: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
- current directory:
- /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
- /usr/local/rvm/rubies/ruby-2.4.2/bin/ruby -r ./siteconf20171130-21531-1aqxy7a.rb
- extconf.rb
- checking for rb_absint_size()... yes
- checking for rb_absint_singlebit_p()... yes
- checking for ruby/thread.h... yes
- checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
- checking for rb_thread_blocking_region()... no
- checking for rb_wait_for_single_fd()... yes
- checking for rb_hash_dup()... yes
- checking for rb_intern3()... yes
- checking for rb_big_cmp()... yes
- -----
- Using mysql_config at /usr/bin/mysql_config
- -----
- checking for mysql.h... yes
- checking for errmsg.h... yes
- checking for SSL_MODE_DISABLED in mysql.h... no
- checking for MYSQL_OPT_SSL_ENFORCE in mysql.h... no
- checking for MYSQL.net.vio in mysql.h... yes
- checking for MYSQL.net.pvio in mysql.h... no
- checking for MYSQL_ENABLE_CLEARTEXT_PLUGIN in mysql.h... yes
- -----
- Setting libpath to /usr/lib64/mysql
- -----
- creating Makefile
- current directory:
- /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
- make "DESTDIR=" clean
- current directory:
- /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
- make "DESTDIR="
- compiling client.c
- compiling infile.c
- compiling mysql2_ext.c
- compiling result.c
- result.c: In function ‘rb_mysql_result_alloc_result_buffers’:
- result.c:326:40: warning: assignment from incompatible pointer type [enabled by
- default]
- wrapper->result_buffers[i].is_null = &wrapper->is_null[i];
- ^
- result.c:328:40: warning: assignment from incompatible pointer type [enabled by
- default]
- wrapper->result_buffers[i].error = &wrapper->error[i];
- ^
- result.c: At top level:
- cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
- default]
- cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-tautological-compare"
- [enabled by default]
- compiling statement.c
- statement.c: In function ‘rb_raise_mysql2_stmt_error’:
- statement.c:50:3: warning: ISO C90 forbids mixed declarations and code
- [-Wdeclaration-after-statement]
- VALUE rb_error_msg = rb_str_new2(mysql_stmt_error(stmt_wrapper->stmt));
- ^
- statement.c:57:3: warning: ISO C90 forbids mixed declarations and code
- [-Wdeclaration-after-statement]
- rb_encoding *default_internal_enc = rb_default_internal_encoding();
- ^
- In file included from ./mysql2_ext.h:35:0,
- from statement.c:1:
- statement.c: In function ‘execute’:
- ./client.h:56:3: warning: ISO C90 forbids mixed declarations and code
- [-Wdeclaration-after-statement]
- mysql_client_wrapper *wrapper; \
- ^
- statement.c:273:3: note: in expansion of macro ‘GET_CLIENT’
- GET_CLIENT(stmt_wrapper->client);
- ^
- statement.c:405:13: warning: ISO C90 forbids mixed declarations and code
- [-Wdeclaration-after-statement]
- VALUE rb_val_as_string = rb_funcall(argv[i], intern_to_s, 0);
- ^
- In file included from ./mysql2_ext.h:35:0,
- from statement.c:1:
- statement.c: In function ‘fields’:
- ./client.h:56:3: warning: ISO C90 forbids mixed declarations and code
- [-Wdeclaration-after-statement]
- mysql_client_wrapper *wrapper; \
- ^
- statement.c:481:3: note: in expansion of macro ‘GET_CLIENT’
- GET_CLIENT(stmt_wrapper->client);
- ^
- statement.c: At top level:
- cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
- default]
- cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-tautological-compare"
- [enabled by default]
- linking shared-object mysql2/mysql2.so
- /usr/bin/ld: cannot find -lmysqlclient
- collect2: error: ld returned 1 exit status
- make: *** [mysql2.so] Error 1
- make failed, exit code 2
- Gem files will remain installed in
- /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10
- for inspection.
- Results logged to
- /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
- An error occurred while installing mysql2 (0.4.10), and Bundler cannot continue.
- Make sure that `gem install mysql2 -v '0.4.10'` succeeds before bundling.
- In Gemfile:
- mysql2
- bundle stderr: Nothing written
- Caused by:
- SSHKit::Command::Failed: bundle exit status: 5
- bundle stdout: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
- current directory:
- /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
- /usr/local/rvm/rubies/ruby-2.4.2/bin/ruby -r ./siteconf20171130-21531-1aqxy7a.rb
- extconf.rb
- checking for rb_absint_size()... yes
- checking for rb_absint_singlebit_p()... yes
- checking for ruby/thread.h... yes
- checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
- checking for rb_thread_blocking_region()... no
- checking for rb_wait_for_single_fd()... yes
- checking for rb_hash_dup()... yes
- checking for rb_intern3()... yes
- checking for rb_big_cmp()... yes
- -----
- Using mysql_config at /usr/bin/mysql_config
- -----
- checking for mysql.h... yes
- checking for errmsg.h... yes
- checking for SSL_MODE_DISABLED in mysql.h... no
- checking for MYSQL_OPT_SSL_ENFORCE in mysql.h... no
- checking for MYSQL.net.vio in mysql.h... yes
- checking for MYSQL.net.pvio in mysql.h... no
- checking for MYSQL_ENABLE_CLEARTEXT_PLUGIN in mysql.h... yes
- -----
- Setting libpath to /usr/lib64/mysql
- -----
- creating Makefile
- current directory:
- /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
- make "DESTDIR=" clean
- current directory:
- /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
- make "DESTDIR="
- compiling client.c
- compiling infile.c
- compiling mysql2_ext.c
- compiling result.c
- result.c: In function ‘rb_mysql_result_alloc_result_buffers’:
- result.c:326:40: warning: assignment from incompatible pointer type [enabled by
- default]
- wrapper->result_buffers[i].is_null = &wrapper->is_null[i];
- ^
- result.c:328:40: warning: assignment from incompatible pointer type [enabled by
- default]
- wrapper->result_buffers[i].error = &wrapper->error[i];
- ^
- result.c: At top level:
- cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
- default]
- cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-tautological-compare"
- [enabled by default]
- compiling statement.c
- statement.c: In function ‘rb_raise_mysql2_stmt_error’:
- statement.c:50:3: warning: ISO C90 forbids mixed declarations and code
- [-Wdeclaration-after-statement]
- VALUE rb_error_msg = rb_str_new2(mysql_stmt_error(stmt_wrapper->stmt));
- ^
- statement.c:57:3: warning: ISO C90 forbids mixed declarations and code
- [-Wdeclaration-after-statement]
- rb_encoding *default_internal_enc = rb_default_internal_encoding();
- ^
- In file included from ./mysql2_ext.h:35:0,
- from statement.c:1:
- statement.c: In function ‘execute’:
- ./client.h:56:3: warning: ISO C90 forbids mixed declarations and code
- [-Wdeclaration-after-statement]
- mysql_client_wrapper *wrapper; \
- ^
- statement.c:273:3: note: in expansion of macro ‘GET_CLIENT’
- GET_CLIENT(stmt_wrapper->client);
- ^
- statement.c:405:13: warning: ISO C90 forbids mixed declarations and code
- [-Wdeclaration-after-statement]
- VALUE rb_val_as_string = rb_funcall(argv[i], intern_to_s, 0);
- ^
- In file included from ./mysql2_ext.h:35:0,
- from statement.c:1:
- statement.c: In function ‘fields’:
- ./client.h:56:3: warning: ISO C90 forbids mixed declarations and code
- [-Wdeclaration-after-statement]
- mysql_client_wrapper *wrapper; \
- ^
- statement.c:481:3: note: in expansion of macro ‘GET_CLIENT’
- GET_CLIENT(stmt_wrapper->client);
- ^
- statement.c: At top level:
- cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
- default]
- cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-tautological-compare"
- [enabled by default]
- linking shared-object mysql2/mysql2.so
- /usr/bin/ld: cannot find -lmysqlclient
- collect2: error: ld returned 1 exit status
- make: *** [mysql2.so] Error 1
- make failed, exit code 2
- Gem files will remain installed in
- /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10
- for inspection.
- Results logged to
- /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
- An error occurred while installing mysql2 (0.4.10), and Bundler cannot continue.
- Make sure that `gem install mysql2 -v '0.4.10'` succeeds before bundling.
- In Gemfile:
- mysql2
- bundle stderr: Nothing written
- Tasks: TOP => deploy:updated => bundler:install
- (See full trace by running task with --trace)
- The deploy has failed with an error: Exception while executing as tedconf@appletv-e01.private.ted.com: bundle exit status: 5
- bundle stdout: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
- current directory:
- /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
- /usr/local/rvm/rubies/ruby-2.4.2/bin/ruby -r ./siteconf20171130-21531-1aqxy7a.rb
- extconf.rb
- checking for rb_absint_size()... yes
- checking for rb_absint_singlebit_p()... yes
- checking for ruby/thread.h... yes
- checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
- checking for rb_thread_blocking_region()... no
- checking for rb_wait_for_single_fd()... yes
- checking for rb_hash_dup()... yes
- checking for rb_intern3()... yes
- checking for rb_big_cmp()... yes
- -----
- Using mysql_config at /usr/bin/mysql_config
- -----
- checking for mysql.h... yes
- checking for errmsg.h... yes
- checking for SSL_MODE_DISABLED in mysql.h... no
- checking for MYSQL_OPT_SSL_ENFORCE in mysql.h... no
- checking for MYSQL.net.vio in mysql.h... yes
- checking for MYSQL.net.pvio in mysql.h... no
- checking for MYSQL_ENABLE_CLEARTEXT_PLUGIN in mysql.h... yes
- -----
- Setting libpath to /usr/lib64/mysql
- -----
- creating Makefile
- current directory:
- /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
- make "DESTDIR=" clean
- current directory:
- /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10/ext/mysql2
- make "DESTDIR="
- compiling client.c
- compiling infile.c
- compiling mysql2_ext.c
- compiling result.c
- result.c: In function ‘rb_mysql_result_alloc_result_buffers’:
- result.c:326:40: warning: assignment from incompatible pointer type [enabled by
- default]
- wrapper->result_buffers[i].is_null = &wrapper->is_null[i];
- ^
- result.c:328:40: warning: assignment from incompatible pointer type [enabled by
- default]
- wrapper->result_buffers[i].error = &wrapper->error[i];
- ^
- result.c: At top level:
- cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
- default]
- cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-tautological-compare"
- [enabled by default]
- compiling statement.c
- statement.c: In function ‘rb_raise_mysql2_stmt_error’:
- statement.c:50:3: warning: ISO C90 forbids mixed declarations and code
- [-Wdeclaration-after-statement]
- VALUE rb_error_msg = rb_str_new2(mysql_stmt_error(stmt_wrapper->stmt));
- ^
- statement.c:57:3: warning: ISO C90 forbids mixed declarations and code
- [-Wdeclaration-after-statement]
- rb_encoding *default_internal_enc = rb_default_internal_encoding();
- ^
- In file included from ./mysql2_ext.h:35:0,
- from statement.c:1:
- statement.c: In function ‘execute’:
- ./client.h:56:3: warning: ISO C90 forbids mixed declarations and code
- [-Wdeclaration-after-statement]
- mysql_client_wrapper *wrapper; \
- ^
- statement.c:273:3: note: in expansion of macro ‘GET_CLIENT’
- GET_CLIENT(stmt_wrapper->client);
- ^
- statement.c:405:13: warning: ISO C90 forbids mixed declarations and code
- [-Wdeclaration-after-statement]
- VALUE rb_val_as_string = rb_funcall(argv[i], intern_to_s, 0);
- ^
- In file included from ./mysql2_ext.h:35:0,
- from statement.c:1:
- statement.c: In function ‘fields’:
- ./client.h:56:3: warning: ISO C90 forbids mixed declarations and code
- [-Wdeclaration-after-statement]
- mysql_client_wrapper *wrapper; \
- ^
- statement.c:481:3: note: in expansion of macro ‘GET_CLIENT’
- GET_CLIENT(stmt_wrapper->client);
- ^
- statement.c: At top level:
- cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
- default]
- cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-tautological-compare"
- [enabled by default]
- linking shared-object mysql2/mysql2.so
- /usr/bin/ld: cannot find -lmysqlclient
- collect2: error: ld returned 1 exit status
- make: *** [mysql2.so] Error 1
- make failed, exit code 2
- Gem files will remain installed in
- /var/www/appletvml/production/master/shared/bundle/ruby/2.4.0/gems/mysql2-0.4.10
- for inspection.
- Results logged to
- /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
- An error occurred while installing mysql2 (0.4.10), and Bundler cannot continue.
- Make sure that `gem install mysql2 -v '0.4.10'` succeeds before bundling.
- In Gemfile:
- mysql2
- bundle stderr: Nothing written
- Saving deploy log
- ➜ appletv-tvml-server git:(master) ✗ Killed by signal 1.
- Killed by signal 1.
Add Comment
Please, Sign In to add comment