Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.33 KB | None | 0 0
  1. heroku repo:gc --app your-app-name
  2. heroku repo:purge_cache --app your-app-name
  3.  
  4. remote: An error occurred while installing charlock_holmes (0.7.6), and Bundler cannot
  5. remote: continue.
  6. remote: Make sure that `gem install charlock_holmes -v '0.7.6'` succeeds before
  7. remote: bundling.
  8. remote:
  9. remote: In Gemfile:
  10. remote: charlock_holmes
  11. remote:
  12. remote: !
  13. remote: ! Failed to install gems via Bundler.
  14. remote: !
  15. remote: ! Push rejected, failed to compile Ruby app.
  16. remote:
  17. remote: ! Push failed
  18. remote: Verifying deploy...
  19. remote:
  20. remote: ! Push rejected to app-name.
  21. remote:
  22.  
  23. remote: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  24. remote:
  25. remote: current directory:
  26. remote: /tmp/build_7a7e1aff2dd1ed9791db1eba7f656cba/vendor/bundle/ruby/2.5.0/gems/charlock_holmes-0.7.6/ext/charlock_holmes
  27. remote: /tmp/build_7a7e1aff2dd1ed9791db1eba7f656cba/vendor/ruby-2.5.1/bin/ruby -r
  28. remote: ./siteconf20190520-506-kmncq3.rb extconf.rb
  29. remote: checking for -licui18n... yes
  30. remote: checking for -licui18n... yes
  31. remote: checking for unicode/ucnv.h... yes
  32. remote: checking for -lz... yes
  33. remote: checking for -licuuc... yes
  34. remote: checking for -licudata... yes
  35. remote: creating Makefile
  36. remote:
  37. remote: current directory:
  38. remote: /tmp/build_7a7e1aff2dd1ed9791db1eba7f656cba/vendor/bundle/ruby/2.5.0/gems/charlock_holmes-0.7.6/ext/charlock_holmes
  39. remote: make "DESTDIR=" clean
  40. remote:
  41. remote: current directory:
  42. remote: /tmp/build_7a7e1aff2dd1ed9791db1eba7f656cba/vendor/bundle/ruby/2.5.0/gems/charlock_holmes-0.7.6/ext/charlock_holmes
  43. remote: make "DESTDIR="
  44. remote: compiling converter.c
  45. remote: compiling encoding_detector.c
  46. remote: compiling ext.c
  47. remote: compiling transliterator.cpp
  48. remote: cc1plus: warning: command line option ‘-Wimplicit-int’ is valid for C/ObjC but
  49. remote: not for C++
  50. remote: cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid
  51. remote: for C/ObjC but not for C++
  52. remote: cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid
  53. remote: for C/ObjC but not for C++
  54. remote: cc1plus: warning: unrecognized command line option ‘-Wno-self-assign’
  55. remote: cc1plus: warning: unrecognized command line option
  56. remote: ‘-Wno-constant-logical-operand’
  57. remote: cc1plus: warning: unrecognized command line option ‘-Wno-parentheses-equality’
  58. remote: linking shared-object charlock_holmes/charlock_holmes.so
  59. remote: /usr/bin/ld:
  60. remote: /tmp/build_7a7e1aff2dd1ed9791db1eba7f656cba/.apt/usr/lib/x86_64-linux-gnu/libicui18n.a(smpdtfmt.ao):
  61. remote: relocation R_X86_64_PC32 against symbol `_ZTIN6icu_6013DecimalFormatE' can not
  62. remote: be used when making a shared object; recompile with -fPIC
  63. remote: /usr/bin/ld: final link failed: Bad value
  64. remote: collect2: error: ld returned 1 exit status
  65. remote: Makefile:257: recipe for target 'charlock_holmes.so' failed
  66. remote: make: *** [charlock_holmes.so] Error 1
  67. remote:
  68. remote: make failed, exit code 2
  69. remote:
  70. remote: Gem files will remain installed in
  71. remote: /tmp/build_7a7e1aff2dd1ed9791db1eba7f656cba/vendor/bundle/ruby/2.5.0/gems/charlock_holmes-0.7.6
  72. remote: for inspection.
  73. remote: Results logged to
  74. remote: /tmp/build_7a7e1aff2dd1ed9791db1eba7f656cba/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/charlock_holmes-0.7.6/gem_make.out
  75. remote:
  76. remote: An error occurred while installing charlock_holmes (0.7.6), and Bundler cannot
  77. remote: continue.
  78. remote: Make sure that `gem install charlock_holmes -v '0.7.6'` succeeds before
  79. remote: bundling.
  80. remote:
  81. remote: In Gemfile:
  82. remote: charlock_holmes
  83. remote:
  84. remote: !
  85. remote: ! Failed to install gems via Bundler.
  86. remote: !
  87. remote: ! Push rejected, failed to compile Ruby app.
  88. remote:
  89. remote: ! Push failed
  90. remote: Verifying deploy...
  91. remote:
  92. remote: ! Push rejected to app-name.
  93. remote:
  94.  
  95. Fetching: charlock_holmes-0.7.6.gem (100%)
  96. Building native extensions. This could take a while...
  97. ERROR: Error installing charlock_holmes:
  98. ERROR: Failed to build gem native extension.
  99.  
  100. current directory: /app/vendor/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/charlock_holmes-0.7.6/ext/charlock_holmes
  101. /app/vendor/ruby-2.5.1/bin/ruby -r ./siteconf20190520-7-dzkpmo.rb extconf.rb
  102. checking for -licui18n... *** extconf.rb failed ***
  103. Could not create Makefile due to some reason, probably lack of necessary
  104. libraries and/or headers. Check the mkmf.log file for more details. You may
  105. need configuration options.
  106.  
  107. Provided configuration options:
  108. --with-opt-dir
  109. --without-opt-dir
  110. --with-opt-include
  111. --without-opt-include=${opt-dir}/include
  112. --with-opt-lib
  113. --without-opt-lib=${opt-dir}/lib
  114. --with-make-prog
  115. --without-make-prog
  116. --srcdir=.
  117. --curdir
  118. --ruby=/app/vendor/ruby-2.5.1/bin/$(RUBY_BASE_NAME)
  119. --with-icu-dir
  120. --without-icu-dir
  121. --with-icu-include
  122. --without-icu-include=${icu-dir}/include
  123. --with-icu-lib
  124. --without-icu-lib=${icu-dir}/lib
  125. --with-icui18nlib
  126. --without-icui18nlib
  127. /app/vendor/ruby-2.5.1/lib/ruby/2.5.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
  128. You have to install development tools first.
  129. from /app/vendor/ruby-2.5.1/lib/ruby/2.5.0/mkmf.rb:541:in `try_link0'
  130. from /app/vendor/ruby-2.5.1/lib/ruby/2.5.0/mkmf.rb:559:in `try_link'
  131. from /app/vendor/ruby-2.5.1/lib/ruby/2.5.0/mkmf.rb:777:in `try_func'
  132. from /app/vendor/ruby-2.5.1/lib/ruby/2.5.0/mkmf.rb:1004:in `block in have_library'
  133. from /app/vendor/ruby-2.5.1/lib/ruby/2.5.0/mkmf.rb:947:in `block in checking_for'
  134. from /app/vendor/ruby-2.5.1/lib/ruby/2.5.0/mkmf.rb:350:in `block (2 levels) in postpone'
  135. from /app/vendor/ruby-2.5.1/lib/ruby/2.5.0/mkmf.rb:320:in `open'
  136. from /app/vendor/ruby-2.5.1/lib/ruby/2.5.0/mkmf.rb:350:in `block in postpone'
  137. from /app/vendor/ruby-2.5.1/lib/ruby/2.5.0/mkmf.rb:320:in `open'
  138. from /app/vendor/ruby-2.5.1/lib/ruby/2.5.0/mkmf.rb:346:in `postpone'
  139. from /app/vendor/ruby-2.5.1/lib/ruby/2.5.0/mkmf.rb:946:in `checking_for'
  140. from /app/vendor/ruby-2.5.1/lib/ruby/2.5.0/mkmf.rb:999:in `have_library'
  141. from extconf.rb:31:in `<main>'
  142.  
  143. To see why this extension failed to compile, please check the mkmf.log which can be found here:
  144.  
  145. /app/vendor/ruby-2.5.1/lib/ruby/gems/2.5.0/extensions/x86_64-linux/2.5.0/charlock_holmes-0.7.6/mkmf.log
  146.  
  147. extconf failed, exit code 1
  148.  
  149. Gem files will remain installed in /app/vendor/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/charlock_holmes-0.7.6 for inspection.
  150. Results logged to /app/vendor/ruby-2.5.1/lib/ruby/gems/2.5.0/extensions/x86_64-linux/2.5.0/charlock_holmes-0.7.6/gem_make.out
  151.  
  152. "gcc -o conftest -I/app/vendor/ruby-2.5.1/include/ruby-2.5.0/x86_64-linux -I/app/vendor/ruby-2.5.1/include/ruby-2.5.0/ruby/backward -I/app/vendor/ruby-2.5.1/include/ruby-2.5.0 -I. -O3 -g -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 -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/app/vendor/ruby-2.5.1/lib -Wl,-rpath,/app/vendor/ruby-2.5.1/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,'/../lib' -Wl,-rpath,'/../lib' -lruby -lpthread -lgmp -ldl -lcrypt -lm -lc"
  153. In file included from /app/vendor/ruby-2.5.1/include/ruby-2.5.0/ruby/ruby.h:29:0,
  154. from /app/vendor/ruby-2.5.1/include/ruby-2.5.0/ruby.h:33,
  155. from conftest.c:1:
  156. /app/vendor/ruby-2.5.1/include/ruby-2.5.0/ruby/defines.h:112:10: fatal error: stdio.h: No such file or directory
  157. #include <stdio.h>
  158. ^~~~~~~~~
  159. compilation terminated.
  160. checked program was:
  161. /* begin */
  162. 1: #include "ruby.h"
  163. 2:
  164. 3: int main(int argc, char **argv)
  165. 4: {
  166. 5: return 0;
  167. 6: }
  168. /* end */
  169.  
  170. libicu52
  171. libicu-dev
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement