=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for hydra-5.4nb24
/bin/cp /bulk-data/pkgsrc/security/hydra/PLIST /scratch/security/hydra/work/.PLIST_SRC
--- pw-inspector ---
--- hydra-vnc.o ---
--- pw-inspector ---
gcc -I. -Wall -O2 -o pw-inspector pw-inspector.c
--- hydra-vnc.o ---
gcc -I. -Wall -O2 -c hydra-vnc.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-pcnfs.o ---
gcc -I. -Wall -O2 -c hydra-pcnfs.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-rexec.o ---
gcc -I. -Wall -O2 -c hydra-rexec.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-nntp.o ---
gcc -I. -Wall -O2 -c hydra-nntp.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-socks5.o ---
gcc -I. -Wall -O2 -c hydra-socks5.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-telnet.o ---
gcc -I. -Wall -O2 -c hydra-telnet.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-cisco.o ---
gcc -I. -Wall -O2 -c hydra-cisco.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-http.o ---
gcc -I. -Wall -O2 -c hydra-http.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-ftp.o ---
gcc -I. -Wall -O2 -c hydra-ftp.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-imap.o ---
gcc -I. -Wall -O2 -c hydra-imap.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-pop3.o ---
gcc -I. -Wall -O2 -c hydra-pop3.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-smb.o ---
gcc -I. -Wall -O2 -c hydra-smb.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-icq.o ---
gcc -I. -Wall -O2 -c hydra-icq.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
hydra-icq.c:169:10: warning: array subscript is of type 'char' [-Wchar-subscripts]
--- hydra-cisco-enable.o ---
--- hydra-icq.o ---
    if (!isdigit(login[i])) {
         ^~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
--- hydra-cisco-enable.o ---
gcc -I. -Wall -O2 -c hydra-cisco-enable.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-ldap.o ---
gcc -I. -Wall -O2 -c hydra-ldap.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-icq.o ---
1 warning generated.
--- hydra-mysql.o ---
gcc -I. -Wall -O2 -c hydra-mysql.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-http-proxy.o ---
gcc -I. -Wall -O2 -c hydra-http-proxy.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-smbnt.o ---
gcc -I. -Wall -O2 -c hydra-smbnt.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-mssql.o ---
--- hydra-smbnt.o ---
In file included from hydra-smbnt.c:10:
In file included from /scratch/security/hydra/work/.buildlink/include/openssl/des.h:3:
/usr/include/des.h:69:9: warning: 'DES_LONG' macro redefined
#define DES_LONG        u_int32_t
        ^
/usr/include/openssl/opensslconf.h:142:9: note: previous definition is here
#define DES_LONG uint32_t
        ^
--- hydra-mssql.o ---
gcc -I. -Wall -O2 -c hydra-mssql.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-smbnt.o ---
1 warning generated.
--- hydra-snmp.o ---
gcc -I. -Wall -O2 -c hydra-snmp.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-cvs.o ---
gcc -I. -Wall -O2 -c hydra-cvs.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-smtpauth.o ---
--- hydra-sapr3.o ---
--- hydra-smtpauth.o ---
gcc -I. -Wall -O2 -c hydra-smtpauth.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-sapr3.o ---
gcc -I. -Wall -O2 -c hydra-sapr3.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-smtpauth.o ---
hydra-smtpauth.c:145:15: warning: array subscript is of type 'char' [-Wchar-subscripts]
          if (isdigit(buf[0]) && buf[3] == ' ')
              ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
hydra-smtpauth.c:154:19: warning: array subscript is of type 'char' [-Wchar-subscripts]
              if (isdigit(*ptr) && *(ptr + 3) == ' ')
                  ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
hydra-smtpauth.c:170:15: warning: array subscript is of type 'char' [-Wchar-subscripts]
          if (isdigit(buf[0]) && buf[3] == ' ')
              ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
hydra-smtpauth.c:179:19: warning: array subscript is of type 'char' [-Wchar-subscripts]
              if (isdigit(*ptr) && *(ptr + 3) == ' ')
                  ^~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:48:40: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_ + 1)[(c)] & _CTYPE_N))
                                            ^~~~
--- hydra-ssh2.o ---
gcc -I. -Wall -O2 -c hydra-ssh2.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-smtpauth.o ---
4 warnings generated.
--- hydra-teamspeak.o ---
gcc -I. -Wall -O2 -c hydra-teamspeak.c -DLIBOPENSSL -DLIBSSH -I/usr/pkg/include
--- hydra-ssh2.o ---
hydra-ssh2.c:10:2: warning: "If compilation of hydra-ssh2 fails, you are not using v0.11. Download from http://www.0xbadc0de.be/" [-W#warnings]
#warning "If compilation of hydra-ssh2 fails, you are not using v0.11. Download from http://www.0xbadc0de.be/"
 ^
hydra-ssh2.c:24:3: error: use of undeclared identifier 'SSH_SESSION'
  SSH_SESSION *ssh_session;
  ^
hydra-ssh2.c:24:16: error: unexpected type name 'ssh_session': expected expression
  SSH_SESSION *ssh_session;
               ^
hydra-ssh2.c:25:3: error: use of undeclared identifier 'SSH_OPTIONS'; did you mean 'SSH_OPTIONS_FD'?
  SSH_OPTIONS *ssh_opt;
  ^~~~~~~~~~~
  SSH_OPTIONS_FD
/scratch/security/hydra/work/.buildlink/include/libssh/libssh.h:282:3: note: 'SSH_OPTIONS_FD' declared here
  SSH_OPTIONS_FD,
  ^
hydra-ssh2.c:25:16: error: use of undeclared identifier 'ssh_opt'
  SSH_OPTIONS *ssh_opt;
               ^
hydra-ssh2.c:34:3: error: use of undeclared identifier 'ssh_opt'
  ssh_opt=options_new();
  ^
hydra-ssh2.c:34:11: warning: implicit declaration of function 'options_new' is invalid in C99 [-Wimplicit-function-declaration]
  ssh_opt=options_new();
          ^
hydra-ssh2.c:44:3: warning: implicit declaration of function 'options_set_wanted_method' is invalid in C99 [-Wimplicit-function-declaration]
  options_set_wanted_method(ssh_opt,KEX_COMP_C_S,"none");
  ^
hydra-ssh2.c:44:29: error: use of undeclared identifier 'ssh_opt'
  options_set_wanted_method(ssh_opt,KEX_COMP_C_S,"none");
                            ^
hydra-ssh2.c:45:29: error: use of undeclared identifier 'ssh_opt'
  options_set_wanted_method(ssh_opt,KEX_COMP_S_C,"none");
                            ^
hydra-ssh2.c:46:3: warning: implicit declaration of function 'options_set_port' is invalid in C99 [-Wimplicit-function-declaration]
  options_set_port(ssh_opt, port);
  ^
hydra-ssh2.c:46:20: error: use of undeclared identifier 'ssh_opt'
  options_set_port(ssh_opt, port);
                   ^
hydra-ssh2.c:47:3: warning: implicit declaration of function 'options_set_host' is invalid in C99 [-Wimplicit-function-declaration]
  options_set_host(ssh_opt, buf);
  ^
hydra-ssh2.c:47:20: error: use of undeclared identifier 'ssh_opt'
  options_set_host(ssh_opt, buf);
                   ^
hydra-ssh2.c:48:3: warning: implicit declaration of function 'options_set_username' is invalid in C99 [-Wimplicit-function-declaration]
  options_set_username(ssh_opt, login);
  ^
hydra-ssh2.c:48:24: error: use of undeclared identifier 'ssh_opt'
  options_set_username(ssh_opt, login);
                       ^
hydra-ssh2.c:50:20: error: expected ')'
  if ((ssh_session = ssh_connect(ssh_opt)) == NULL) {
                   ^
hydra-ssh2.c:50:7: note: to match this '('
  if ((ssh_session = ssh_connect(ssh_opt)) == NULL) {
      ^
hydra-ssh2.c:50:44: error: expected expression
  if ((ssh_session = ssh_connect(ssh_opt)) == NULL) {
                                           ^
hydra-ssh2.c:51:24: error: unexpected type name 'ssh_session': expected expression
    rc = ssh_get_error(ssh_session);
                       ^
hydra-ssh2.c:53:45: error: unexpected type name 'ssh_session': expected expression
      if (strncmp("connect:", ssh_get_error(ssh_session), strlen("connect:")) == 0)
                                            ^
hydra-ssh2.c:66:38: error: unexpected type name 'ssh_session': expected expression
    auth_state = ssh_userauth_kbdint(ssh_session, login, NULL);
                                     ^
hydra-ssh2.c:68:37: error: unexpected type name 'ssh_session': expected expression
      ssh_userauth_kbdint_setanswer(ssh_session, i, pass);
                                    ^
hydra-ssh2.c:69:40: error: unexpected type name 'ssh_session': expected expression
      auth_state = ssh_userauth_kbdint(ssh_session, login, NULL);
                                       ^
hydra-ssh2.c:73:65: error: unexpected type name 'ssh_session': expected expression
    if (auth_state == SSH_AUTH_SUCCESS || ssh_userauth_password(ssh_session, login, pass) == SSH_AUTH_SUCCESS) {
                                                                ^
hydra-ssh2.c:74:22: error: unexpected type name 'ssh_session': expected expression
      ssh_disconnect(ssh_session);      /* this automagically frees the ssh_opt buffer */
                     ^
hydra-ssh2.c:82:11: warning: implicit declaration of function 'ssh_error_code' is invalid in C99 [-Wimplicit-function-declaration]
      if (ssh_error_code(ssh_session) == 1) {
          ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
7 warnings and 20 errors generated.
*** [hydra-ssh2.o] Error code 1

make: stopped in /scratch/security/hydra/work/hydra-5.4-src
1 error

make: stopped in /scratch/security/hydra/work/hydra-5.4-src
*** Error code 2

Stop.
make: stopped in /bulk-data/pkgsrc/security/hydra
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/security/hydra
