emerging dev-ruby/ruby-password-0.5.2 resulted the following error: In file included from rbcrack.c:34: /usr/include/packer.h:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'FindPW' rbcrack.c: In function 'passwd_check': rbcrack.c:86: warning: assignment makes pointer from integer without a cast I think it was caused by the wrong ifdef part in /usr/include/packer.h because even compiling "#include <packer.h> void main() {}" will cause a similar error. I'm also posting a patch against cracklib-2.8.9, which can fix this bug on my box.
I just failed to upload an attachment. So I placed the proposed patch under http://dev.gentoo.org/~ming/stuff/packer.diff
this is by design ruby-password needs to include one of those headers before pulling in packer.h
sorry, my mistake cracklib is broken, i'll bug upstream
should be fixed now with 2.8.9-r1