Advertisement
Guest User

Untitled

a guest
Jun 29th, 2022
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.39 KB | None | 0 0
  1. Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  2.  
  3.     current directory: /home/petr/.local/share/gem/ruby/3.1.0/gems/puma-5.6.4/ext/puma_http11
  4. /usr/bin/ruby.ruby3.1 -I /usr/lib64/ruby/3.1.0 -r ./siteconf20220629-30390-vcoa0u.rb extconf.rb
  5. checking for BIO_read() in -lcrypto... yes
  6. checking for SSL_CTX_new() in -lssl... yes
  7. checking for openssl/bio.h... yes
  8. checking for DTLS_method() in openssl/ssl.h... yes
  9. checking for TLS_server_method() in openssl/ssl.h... yes
  10. checking for SSL_CTX_set_min_proto_version(NULL, 0) in openssl/ssl.h... yes
  11. checking for X509_STORE_up_ref()... yes
  12. checking for SSL_CTX_set_ecdh_auto(NULL, 0) in openssl/ssl.h... yes
  13. checking for SSL_get1_peer_certificate() in openssl/ssl.h... no
  14. checking for Random.bytes... yes
  15. creating Makefile
  16.  
  17. current directory: /home/petr/.local/share/gem/ruby/3.1.0/gems/puma-5.6.4/ext/puma_http11
  18. make DESTDIR\= clean
  19.  
  20. current directory: /home/petr/.local/share/gem/ruby/3.1.0/gems/puma-5.6.4/ext/puma_http11
  21. make DESTDIR\=
  22. compiling http11_parser.c
  23. compiling mini_ssl.c
  24. mini_ssl.c: In function ‘get_dh2048’:
  25. mini_ssl.c:102:5: error: invalid use of incomplete typedef ‘DH’ {aka ‘struct dh_st’}
  26.   102 |   dh->p = BN_bin2bn(dh2048_p, sizeof(dh2048_p), NULL);
  27.       |     ^~
  28. mini_ssl.c:103:5: error: invalid use of incomplete typedef ‘DH’ {aka ‘struct dh_st’}
  29.   103 |   dh->g = BN_bin2bn(dh2048_g, sizeof(dh2048_g), NULL);
  30.       |     ^~
  31. mini_ssl.c:105:10: error: invalid use of incomplete typedef ‘DH’ {aka ‘struct dh_st’}
  32.   105 |   if ((dh->p == NULL) || (dh->g == NULL)) {
  33.       |          ^~
  34. mini_ssl.c:105:29: error: invalid use of incomplete typedef ‘DH’ {aka ‘struct dh_st’}
  35.   105 |   if ((dh->p == NULL) || (dh->g == NULL)) {
  36.       |                             ^~
  37. make: *** [Makefile:246: mini_ssl.o] Chyba 1
  38.  
  39. make failed, exit code 2
  40.  
  41. Gem files will remain installed in /home/petr/.local/share/gem/ruby/3.1.0/gems/puma-5.6.4 for inspection.
  42. Results logged to /home/petr/.local/share/gem/ruby/3.1.0/extensions/x86_64-linux/3.1.0/puma-5.6.4/gem_make.out
  43.  
  44.   /usr/lib64/ruby/3.1.0/rubygems/ext/builder.rb:95:in `run'
  45.  /usr/lib64/ruby/3.1.0/rubygems/ext/builder.rb:44:in `block in make'
  46.   /usr/lib64/ruby/3.1.0/rubygems/ext/builder.rb:36:in `each'
  47.  /usr/lib64/ruby/3.1.0/rubygems/ext/builder.rb:36:in `make'
  48.   /usr/lib64/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:63:in `block in build'
  49.  /usr/lib64/ruby/3.1.0/tempfile.rb:317:in `open'
  50.   /usr/lib64/ruby/3.1.0/rubygems/ext/ext_conf_builder.rb:26:in `build'
  51.  /usr/lib64/ruby/3.1.0/rubygems/ext/builder.rb:161:in `build_extension'
  52.   /usr/lib64/ruby/3.1.0/rubygems/ext/builder.rb:195:in `block in build_extensions'
  53.  /usr/lib64/ruby/3.1.0/rubygems/ext/builder.rb:192:in `each'
  54.   /usr/lib64/ruby/3.1.0/rubygems/ext/builder.rb:192:in `build_extensions'
  55.  /usr/lib64/ruby/3.1.0/rubygems/installer.rb:853:in `build_extensions'
  56.   /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions'
  57.  /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/rubygems_gem_installer.rb:28:in `install'
  58.   /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/source/rubygems.rb:204:in `install'
  59.  /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/installer/gem_installer.rb:54:in `install'
  60.   /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
  61.  /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
  62.   /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
  63.  /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/worker.rb:62:in `apply_func'
  64.   /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/worker.rb:57:in `block in process_queue'
  65.  /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/worker.rb:54:in `loop'
  66.   /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/worker.rb:54:in `process_queue'
  67.  /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.3.13/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
  68.  
  69. An error occurred while installing puma (5.6.4), and Bundler cannot continue.
  70.  
  71. In Gemfile:
  72.   puma
  73.          run  bundle binstubs bundler
  74. Could not find gem 'puma (~> 5.0)' in locally installed gems.
  75.        rails  importmap:install
  76.        rails  turbo:install stimulus:install
  77.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement