You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stop.
make: stopped in /tmp/bundler20200804-6811-ucupibcrypt-3.1.15/gems/bcrypt-3.1.15/ext/mri
make failed, exit code 1
Gem files will remain installed in /tmp/bundler20200804-6811-ucupibcrypt-3.1.15/gems/bcrypt-3.1.15 for
inspection.
Results logged to
/tmp/bundler20200804-6811-ucupibcrypt-3.1.15/extensions/amd64-freebsd-12/2.6/bcrypt-3.1.15/gem_make.out
An error occurred while installing bcrypt (3.1.15), and Bundler cannot continue.
Make sure that gem install bcrypt -v '3.1.15' --source 'https://rubygems.org/' succeeds before
bundling.
In Gemfile:
metasploit-framework was resolved to 5.0.102, which depends on
bcrypt
just a me too. tried to update a rails app from 3.1.13 to 3.1.15, and it seems to be broken again. confirmed that 3.1.13 compiles, 3.1.15 fails with the error above. i'm on freebsd 12.1-p8.
I think de last argument's type is wrong. If you look at the documentation for crypt_r it should be struct crypt_data *, not void *. https://linux.die.net/man/3/crypt_r. If you change just this type it compiles both on FreeBSD and Linux.
I think de last argument's type is wrong. If you look at the documentation for crypt_r it should be struct crypt_data *, not void *. https://linux.die.net/man/3/crypt_r. If you change just this type it compiles both on FreeBSD and Linux.
@michelboaventura Could you create a pull request for this change? Maybe it'll get selected over #232 I'm not exactly sure what is the process for selecting which pull requests make it into a release.
Activity
tosmi commentedon Aug 9, 2020
just a me too. tried to update a rails app from 3.1.13 to 3.1.15, and it seems to be broken again. confirmed that 3.1.13 compiles, 3.1.15 fails with the error above. i'm on freebsd 12.1-p8.
glaszig commentedon Aug 9, 2020
same here.
glaszig commentedon Aug 9, 2020
#232 resolves the issue for me.
jlduran commentedon Aug 9, 2020
This is a recurring issue. References:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212304#c5
#232
#188
#189
michelboaventura commentedon Aug 12, 2020
I think de last argument's type is wrong. If you look at the documentation for
crypt_rit should bestruct crypt_data *, notvoid *. https://linux.die.net/man/3/crypt_r. If you change just this type it compiles both on FreeBSD and Linux.meanphil commentedon Aug 13, 2020
FYI - The Python bcrypt equivalent of this Gem dropped the OpenWall implementation for the OpenBSD one...
pyca/bcrypt#68
benpratt commentedon Aug 14, 2020
@michelboaventura Could you create a pull request for this change? Maybe it'll get selected over #232 I'm not exactly sure what is the process for selecting which pull requests make it into a release.