Title: Fails to install on Ruby 3.0.2 · Issue #256 · bcrypt-ruby/bcrypt-ruby · GitHub
Open Graph Title: Fails to install on Ruby 3.0.2 · Issue #256 · bcrypt-ruby/bcrypt-ruby
X Title: Fails to install on Ruby 3.0.2 · Issue #256 · bcrypt-ruby/bcrypt-ruby
Description: $ gem install bcrypt -v '3.1.16' --source 'https://rubygems.org/' Building native extensions. This could take a while... ERROR: Error installing bcrypt: ERROR: Failed to build gem native extension. current directory: /home/$USER/.rvm/gem...
Open Graph Description: $ gem install bcrypt -v '3.1.16' --source 'https://rubygems.org/' Building native extensions. This could take a while... ERROR: Error installing bcrypt: ERROR: Failed to build gem native extension....
X Description: $ gem install bcrypt -v '3.1.16' --source 'https://rubygems.org/' Building native extensions. This could take a while... ERROR: Error installing bcrypt: ERROR: Failed to build gem n...
Opengraph URL: https://github.com/bcrypt-ruby/bcrypt-ruby/issues/256
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fails to install on Ruby 3.0.2","articleBody":"```\r\n$ gem install bcrypt -v '3.1.16' --source 'https://rubygems.org/'\r\nBuilding native extensions. This could take a while...\r\nERROR: Error installing bcrypt:\r\n ERROR: Failed to build gem native extension.\r\n\r\n current directory: /home/$USER/.rvm/gems/ruby-3.0.2/gems/bcrypt-3.1.16/ext/mri\r\n/home/$USER/.rvm/rubies/ruby-3.0.2/bin/ruby -I /home/$USER/.rvm/rubies/ruby-3.0.2/lib/ruby/3.0.0 -r ./siteconf20210811-1329082-xzlqe3.rb extconf.rb\r\ncreating Makefile\r\n\r\ncurrent directory: /home/$USER/.rvm/gems/ruby-3.0.2/gems/bcrypt-3.1.16/ext/mri\r\nmake DESTDIR\\= clean\r\n\r\ncurrent directory: /home/$USER/.rvm/gems/ruby-3.0.2/gems/bcrypt-3.1.16/ext/mri\r\nmake DESTDIR\\=\r\ncompiling bcrypt_ext.c\r\ncompiling crypt_blowfish.c\r\ngcc -D__SKIP_GNU -c -o x86.o x86.S\r\ncompiling crypt_gensalt.c\r\ncompiling wrapper.c\r\nwrapper.c:182:60: warning: ‘struct crypt_data’ declared inside parameter list will not be visible outside of this definition or declaration\r\n 182 | char *crypt_r(const char *key, const char *setting, struct crypt_data *data)\r\n | ^~~~~~~~~~\r\ncc1: warning: unrecognized command line option ‘-Wno-self-assign’\r\ncc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’\r\ncc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’\r\nlinking shared-object bcrypt_ext.so\r\n\r\ncurrent directory: /home/$USER/.rvm/gems/ruby-3.0.2/gems/bcrypt-3.1.16/ext/mri\r\nmake DESTDIR\\= install\r\nmake: /usr/bin/mkdir: Command not found\r\nmake: *** [Makefile:202: .sitearchdir.time] Error 127\r\n\r\nmake install failed, exit code 2\r\n\r\nGem files will remain installed in /home/$USER/.rvm/gems/ruby-3.0.2/gems/bcrypt-3.1.16 for inspection.\r\nResults logged to /home/$USER/.rvm/gems/ruby-3.0.2/extensions/x86_64-linux/3.0.0/bcrypt-3.1.16/gem_make.out\r\n```","author":{"url":"https://github.com/alecvn","@type":"Person","name":"alecvn"},"datePublished":"2021-08-11T09:46:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/256/bcrypt-ruby/issues/256"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a43b5df9-fe73-a4ff-a878-5f34cb6c7407 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C7A4:250F5A:4FD66FB:676704C:69755467 |
| html-safe-nonce | fd6904cd0d9b75733bcea93384384e9cddf6999bde0948ceef563e17b3b9239d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0E0OjI1MEY1QTo0RkQ2NkZCOjY3NjcwNEM6Njk3NTU0NjciLCJ2aXNpdG9yX2lkIjoiMTgxNjA3MTk0MzAwNjU0MDkwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7c6ccf71371f9fd047f4450a9691a7517329f1557019f49b3b31d0cb319e9455 |
| hovercard-subject-tag | issue:966356505 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/bcrypt-ruby/bcrypt-ruby/256/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1bcc443c1279f74df4995c8ff3a9df103f247748ef00e12274ec277bf493d131/bcrypt-ruby/bcrypt-ruby/issues/256 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1bcc443c1279f74df4995c8ff3a9df103f247748ef00e12274ec277bf493d131/bcrypt-ruby/bcrypt-ruby/issues/256 |
| og:image:alt | $ gem install bcrypt -v '3.1.16' --source 'https://rubygems.org/' Building native extensions. This could take a while... ERROR: Error installing bcrypt: ERROR: Failed to build gem native extension.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alecvn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/bcrypt-ruby/bcrypt-ruby git https://github.com/bcrypt-ruby/bcrypt-ruby.git |
| octolytics-dimension-user_id | 81594302 |
| octolytics-dimension-user_login | bcrypt-ruby |
| octolytics-dimension-repository_id | 15293 |
| octolytics-dimension-repository_nwo | bcrypt-ruby/bcrypt-ruby |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 15293 |
| octolytics-dimension-repository_network_root_nwo | bcrypt-ruby/bcrypt-ruby |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width