FailedOk

th/SRPMS[OK]
th/x32[OK]
th/i686[OK]
th/x86_64[OK]

ac/SRPMS[OK]
ac/i386[OK]
ac/i586[OK]
ac/i686[OK]
ac/alpha[OK]
ac/amd64[OK]
ac/athlon[OK]
ac/ppc[OK]
ac/sparc[OK]
ac/sparc64[OK]

Advanced Search
main()
Powered by PLD Linux
(c) 2002-2019 PLD Team
$Revision: 1.37 $
Powered by The Right Thing.
Your IP: 3.80.4.76

php-pecl-ssh2 019e2a64-2616-416a-8f08-87d987670e0b

Status:Failed
Source URL:ftp://buildlogs.pld-linux.org/th/i686/FAIL/php-pecl-ssh2,019e2a64-2616-416a-8f08-87d987670e0b.bz2
text/plain URL:View!
rpm -qa of builder:View!
Date:2019/08/13 17:19:28
Runtime:0:00:04.473413

Toc:

  • error 1
  • rpm: error: Failed build dependencies:
  • error 2
  • rpm: error: Failed build dependencies:
  • prep
  • Executing(%prep): /bin/sh -e /tmp/B.XUXv_v/BUILD/tmp/rpm-tmp.38225
  • build
  • Executing(%build): /bin/sh -e /tmp/B.XUXv_v/BUILD/tmp/rpm-tmp.38225
  • error 3
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:152:25: error: unknown type name 'zend_resource'; did you mean 'term_source'?
  • error 4
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:33:25: error: unknown type name 'zend_resource'; did you mean 'term_source'?
  • error 5
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:152:58: error: unknown type name 'zend_off_t'; did you mean 'zend_op'?
  • error 6
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:152:89: error: unknown type name 'zend_off_t'; did you mean 'zend_op'?
  • error 7
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:212:2: error: 'php_ssh2_sftp_stream_seek' undeclared here (not in a function); did you mean 'php_ssh2_sftp_stream_read'?
  • error 8
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:222:16: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 9
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:278:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 10
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:285:13: error: too few arguments to function 'php_basename'
  • error 11
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:290:51: error: request for member 'len' in something not a structure or union
  • error 12
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:290:51: error: request for member 'len' in something not a structure or union
  • error 13
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:291:30: error: request for member 'val' in something not a structure or union
  • error 14
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:329:16: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 15
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:541:2: error: 'php_ssh2_sftp_stream_opener' undeclared here (not in a function); did you mean 'php_ssh2_sftp_stream_ops'?
  • error 16
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:545:2: error: 'php_ssh2_sftp_dirstream_opener' undeclared here (not in a function); did you mean 'php_ssh2_sftp_dirstream_ops'?
  • error 17
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:578:36: error: too few arguments to function 'zend_fetch_resource'
  • error 18
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:594:42: error: invalid type argument of '->' (have 'int')
  • error 19
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:597:13: error: too few arguments to function 'zend_register_resource'
  • error 20
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:609:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 21
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:615:36: error: too few arguments to function 'zend_fetch_resource'
  • error 22
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:619:53: error: request for member 'val' in something not a structure or union
  • error 23
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:619:63: error: request for member 'len' in something not a structure or union
  • error 24
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:619:73: error: request for member 'val' in something not a structure or union
  • error 25
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:619:83: error: request for member 'len' in something not a structure or union
  • error 26
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:630:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 27
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:636:36: error: too few arguments to function 'zend_fetch_resource'
  • error 28
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:640:58: error: request for member 'val' in something not a structure or union
  • error 29
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:640:73: error: request for member 'len' in something not a structure or union
  • error 30
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:650:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 31
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:651:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'?
  • error 32
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:663:36: error: too few arguments to function 'zend_fetch_resource'
  • error 33
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:669:15: error: request for member 'val' in something not a structure or union
  • error 34
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:671:21: error: request for member 'val' in something not a structure or union
  • error 35
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:671:43: error: request for member 'len' in something not a structure or union
  • error 36
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:674:46: error: request for member 'val' in something not a structure or union
  • error 37
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:674:65: error: request for member 'val' in something not a structure or union
  • error 38
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:679:57: error: request for member 'val' in something not a structure or union
  • error 39
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:679:72: error: request for member 'len' in something not a structure or union
  • error 40
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:689:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 41
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:695:36: error: too few arguments to function 'zend_fetch_resource'
  • error 42
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:699:57: error: request for member 'val' in something not a structure or union
  • error 43
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:699:72: error: request for member 'len' in something not a structure or union
  • error 44
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:709:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 45
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:710:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'?
  • error 46
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:721:36: error: too few arguments to function 'zend_fetch_resource'
  • error 47
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:728:56: error: request for member 'val' in something not a structure or union
  • error 48
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:728:71: error: request for member 'len' in something not a structure or union
  • error 49
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:742:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 50
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:748:36: error: too few arguments to function 'zend_fetch_resource'
  • error 51
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:752:43: error: request for member 'val' in something not a structure or union
  • error 52
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:752:54: error: request for member 'len' in something not a structure or union
  • error 53
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:806:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 54
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:812:36: error: too few arguments to function 'zend_fetch_resource'
  • error 55
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:816:55: error: request for member 'val' in something not a structure or union
  • error 56
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:816:66: error: request for member 'len' in something not a structure or union
  • error 57
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:816:77: error: request for member 'val' in something not a structure or union
  • error 58
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:816:88: error: request for member 'len' in something not a structure or union
  • error 59
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:826:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 60
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:834:36: error: too few arguments to function 'zend_fetch_resource'
  • error 61
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:838:58: error: request for member 'val' in something not a structure or union
  • error 62
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:838:69: error: request for member 'len' in something not a structure or union
  • error 63
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:843:31: error: macro "RETURN_STRINGL" requires 3 arguments, but only 2 given
  • error 64
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:843:2: error: 'RETURN_STRINGL' undeclared (first use in this function)
  • error 65
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:853:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 66
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:861:36: error: too few arguments to function 'zend_fetch_resource'
  • error 67
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:865:58: error: request for member 'val' in something not a structure or union
  • error 68
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:865:69: error: request for member 'len' in something not a structure or union
  • error 69
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:866:80: error: request for member 'val' in something not a structure or union
  • error 70
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:870:31: error: macro "RETURN_STRINGL" requires 3 arguments, but only 2 given
  • error 71
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:870:2: error: 'RETURN_STRINGL' undeclared (first use in this function)
  • error 72
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:152:25: error: unknown type name 'zend_resource'; did you mean 'term_source'?
  • error 73
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:30:2: error: unknown type name 'zend_resource'; did you mean 'term_source'?
  • error 74
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:31:47: error: expected ';' before '{' token
  • error 75
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:54:31: error: too few arguments to function 'zend_fetch_resource'
  • error 76
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:98:31: error: too few arguments to function 'zend_fetch_resource'
  • error 77
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:217:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'?
  • error 78
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:269:38: error: too few arguments to function 'zend_fetch_resource'
  • error 79
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:281:32: error: too few arguments to function 'zend_fetch_resource'
  • error 80
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:297:21: error: too few arguments to function 'zend_register_resource'
  • error 81
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:313:14: error: too few arguments to function 'php_stream_context_get_option'
  • error 82
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:316:37: error: too few arguments to function 'zend_fetch_resource'
  • error 83
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:327:14: error: too few arguments to function 'php_stream_context_get_option'
  • error 84
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:329:32: error: too few arguments to function 'zend_fetch_resource'
  • error 85
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:345:21: error: too few arguments to function 'zend_register_resource'
  • error 86
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:347:37: error: invalid type argument of '->' (have 'int')
  • error 87
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:364:14: error: too few arguments to function 'php_stream_context_get_option'
  • error 88
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:370:14: error: too few arguments to function 'php_stream_context_get_option'
  • error 89
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:376:14: error: too few arguments to function 'php_stream_context_get_option'
  • error 90
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:383:14: error: too few arguments to function 'php_stream_context_get_option'
  • error 91
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:390:14: error: too few arguments to function 'php_stream_context_get_option'
  • error 92
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:396:14: error: too few arguments to function 'php_stream_context_get_option'
  • error 93
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:514:3: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 94
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:519:74: error: macro "zend_hash_get_current_key" requires 4 arguments, but only 3 given
  • error 95
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:519:16: error: 'zend_hash_get_current_key' undeclared (first use in this function); did you mean 'zend_hash_get_current_key_ex'?
  • error 96
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:519:80: error: 'HASH_KEY_NON_EXISTENT' undeclared (first use in this function); did you mean 'HASH_KEY_NON_EXISTANT'?
  • error 97
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:524:65: error: macro "zend_hash_get_current_data" requires 2 arguments, but only 1 given
  • error 98
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:524:18: error: 'zend_hash_get_current_data' undeclared (first use in this function); did you mean 'zend_hash_get_current_data_ex'?
  • error 99
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:529:48: error: request for member 'val' in something not a structure or union
  • error 100
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:529:58: error: request for member 'len' in something not a structure or union
  • error 101
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:578:127: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 102
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:677:2: error: 'php_ssh2_fopen_wrapper_shell' undeclared here (not in a function); did you mean 'php_ssh2_stream_wrapper_shell'?
  • error 103
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:702:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'?
  • error 104
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:703:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'?
  • error 105
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:704:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'?
  • error 106
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:35: error: too few arguments to function 'zend_fetch_resource'
  • error 107
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:718:57: error: invalid type argument of '->' (have 'int')
  • error 108
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:752:3: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 109
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:758:16: error: too few arguments to function 'zend_hash_get_current_key_ex'
  • error 110
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:758:89: error: 'HASH_KEY_NON_EXISTENT' undeclared (first use in this function); did you mean 'HASH_KEY_NON_EXISTANT'?
  • error 111
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:763:65: error: macro "zend_hash_get_current_data" requires 2 arguments, but only 1 given
  • error 112
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:763:18: error: 'zend_hash_get_current_data' undeclared (first use in this function); did you mean 'zend_hash_get_current_data_ex'?
  • error 113
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:768:48: error: request for member 'val' in something not a structure or union
  • error 114
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:768:58: error: request for member 'len' in something not a structure or union
  • error 115
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:819:126: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 116
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:893:2: error: 'php_ssh2_fopen_wrapper_exec' undeclared here (not in a function); did you mean 'php_ssh2_stream_wrapper_exec'?
  • error 117
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:921:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'?
  • error 118
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:922:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'?
  • error 119
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:923:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'?
  • error 120
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:35: error: too few arguments to function 'zend_fetch_resource'
  • error 121
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:951:59: error: invalid type argument of '->' (have 'int')
  • error 122
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1002:125: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 123
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1036:2: error: 'php_ssh2_fopen_wrapper_scp' undeclared here (not in a function); did you mean 'php_ssh2_stream_wrapper_scp'?
  • error 124
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:35: error: too few arguments to function 'zend_fetch_resource'
  • error 125
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1117:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'?
  • error 126
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:35: error: too few arguments to function 'zend_fetch_resource'
  • error 127
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1251:128: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 128
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1308:2: error: 'php_ssh2_fopen_wrapper_tunnel' undeclared here (not in a function); did you mean 'php_ssh2_stream_wrapper_tunnel'?
  • error 129
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1332:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'?
  • error 130
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:35: error: too few arguments to function 'zend_fetch_resource'
  • error 131
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1340:59: error: invalid type argument of '->' (have 'int')
  • error 132
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1364:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'?
  • error 133
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:152:25: error: unknown type name 'zend_resource'; did you mean 'term_source'?
  • error 134
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:101:45: error: macro "ZVAL_STRINGL" requires 4 arguments, but only 3 given
  • error 135
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:101:2: error: 'ZVAL_STRINGL' undeclared (first use in this function)
  • error 136
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:102:47: error: macro "ZVAL_STRINGL" requires 4 arguments, but only 3 given
  • error 137
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:128:45: error: macro "ZVAL_STRINGL" requires 4 arguments, but only 3 given
  • error 138
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:128:2: error: 'ZVAL_STRINGL' undeclared (first use in this function)
  • error 139
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:133:28: error: 'IS_UNDEF' undeclared (first use in this function); did you mean 'IS_UNUSED'?
  • error 140
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:158:43: error: macro "ZVAL_STRINGL" requires 4 arguments, but only 3 given
  • error 141
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:158:2: error: 'ZVAL_STRINGL' undeclared (first use in this function)
  • error 142
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:165:28: error: 'IS_UNDEF' undeclared (first use in this function); did you mean 'IS_UNUSED'?
  • error 143
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:190:45: error: macro "ZVAL_STRINGL" requires 4 arguments, but only 3 given
  • error 144
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:190:2: error: 'ZVAL_STRINGL' undeclared (first use in this function)
  • error 145
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:191:47: error: macro "ZVAL_STRINGL" requires 4 arguments, but only 3 given
  • error 146
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:212:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 147
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:215:17: error: too few arguments to function 'zend_hash_find'
  • error 148
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:274:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 149
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:278:15: error: too few arguments to function 'zend_hash_find'
  • error 150
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:301:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 151
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:306:100: error: 'STREAM_SOCKOP_NONE' undeclared (first use in this function)
  • error 152
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:306:11: error: too many arguments to function 'php_network_connect_socket_to_host'
  • error 153
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:337:20: error: too few arguments to function 'zend_hash_find'
  • error 154
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:354:20: error: too few arguments to function 'zend_hash_find'
  • error 155
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:417:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'?
  • error 156
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:430:13: error: too few arguments to function 'zend_register_resource'
  • error 157
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:466:36: error: too few arguments to function 'zend_fetch_resource'
  • error 158
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:482:43: error: macro "add_assoc_string" requires 4 arguments, but only 3 given
  • error 159
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:482:2: error: 'add_assoc_string' undeclared (first use in this function); did you mean 'add_assoc_string_ex'?
  • error 160
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:483:51: error: macro "add_assoc_string" requires 4 arguments, but only 3 given
  • error 161
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:486:47: error: macro "add_assoc_string" requires 4 arguments, but only 3 given
  • error 162
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:487:43: error: macro "add_assoc_string" requires 4 arguments, but only 3 given
  • error 163
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:488:45: error: macro "add_assoc_string" requires 4 arguments, but only 3 given
  • error 164
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:489:45: error: macro "add_assoc_string" requires 4 arguments, but only 3 given
  • error 165
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:493:47: error: macro "add_assoc_string" requires 4 arguments, but only 3 given
  • error 166
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:494:43: error: macro "add_assoc_string" requires 4 arguments, but only 3 given
  • error 167
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:495:45: error: macro "add_assoc_string" requires 4 arguments, but only 3 given
  • error 168
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:496:45: error: macro "add_assoc_string" requires 4 arguments, but only 3 given
  • error 169
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:510:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'?
  • error 170
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:518:36: error: too few arguments to function 'zend_fetch_resource'
  • error 171
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:537:46: error: macro "RETURN_STRINGL" requires 3 arguments, but only 2 given
  • error 172
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:537:3: error: 'RETURN_STRINGL' undeclared (first use in this function)
  • error 173
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:545:59: error: macro "ZVAL_STRINGL" requires 4 arguments, but only 3 given
  • error 174
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:545:3: error: 'ZVAL_STRINGL' undeclared (first use in this function)
  • error 175
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:566:36: error: too few arguments to function 'zend_fetch_resource'
  • error 176
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:579:4: error: too few arguments to function 'add_next_index_stringl'
  • error 177
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:584:3: error: too few arguments to function 'add_next_index_string'
  • error 178
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:617:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 179
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:35: error: too few arguments to function 'zend_fetch_resource'
  • error 180
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:626:56: error: request for member 'val' in something not a structure or union
  • error 181
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:626:71: error: request for member 'len' in something not a structure or union
  • error 182
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:629:39: error: request for member 'val' in something not a structure or union
  • error 183
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:631:63: error: request for member 'val' in something not a structure or union
  • error 184
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:631:63: error: request for member 'val' in something not a structure or union
  • error 185
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:637:53: error: request for member 'val' in something not a structure or union
  • error 186
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:637:68: error: request for member 'len' in something not a structure or union
  • error 187
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:637:83: error: request for member 'val' in something not a structure or union
  • error 188
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:637:98: error: request for member 'len' in something not a structure or union
  • error 189
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:638:93: error: request for member 'val' in something not a structure or union
  • error 190
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:35: error: too few arguments to function 'zend_fetch_resource'
  • error 191
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:35: error: too few arguments to function 'zend_fetch_resource'
  • error 192
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:755:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'?
  • error 193
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:758:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'?
  • error 194
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:35: error: too few arguments to function 'zend_fetch_resource'
  • error 195
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:780:13: error: too few arguments to function 'zend_register_resource'
  • error 196
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:799:40: error: too few arguments to function 'zend_fetch_resource'
  • error 197
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:846:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'?
  • error 198
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:851:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 199
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:862:59: error: macro "zend_hash_get_current_data" requires 2 arguments, but only 1 given
  • error 200
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:862:15: error: 'zend_hash_get_current_data' undeclared (first use in this function); did you mean 'zend_hash_get_current_data_ex'?
  • error 201
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:875:18: error: too few arguments to function 'zend_hash_find'
  • error 202
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:885:18: error: too few arguments to function 'zend_hash_find'
  • error 203
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:893:30: error: invalid type argument of '->' (have 'int')
  • error 204
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:933:55: error: macro "zend_hash_del" requires 3 arguments, but only 2 given
  • error 205
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:933:3: error: 'zend_hash_del' undeclared (first use in this function); did you mean 'zend_hash_key'?
  • error 206
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:35: error: too few arguments to function 'zend_fetch_resource'
  • error 207
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:978:42: error: invalid type argument of '->' (have 'int')
  • error 208
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:983:13: error: too few arguments to function 'zend_register_resource'
  • error 209
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1003:43: error: too few arguments to function 'zend_fetch_resource'
  • error 210
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1016:16: error: too few arguments to function 'zend_hash_get_current_data_ex'
  • error 211
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1018:4: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 212
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1023:11: error: too few arguments to function 'zend_hash_get_current_key_ex'
  • error 213
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1024:16: error: 'HASH_KEY_NON_EXISTENT' undeclared (first use in this function); did you mean 'HASH_KEY_NON_EXISTANT'?
  • error 214
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1035:20: error: request for member 'len' in something not a structure or union
  • error 215
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1035:37: error: request for member 'val' in something not a structure or union
  • error 216
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1048:11: error: request for member 'val' in something not a structure or union
  • error 217
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1050:35: error: request for member 'val' in something not a structure or union
  • error 218
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1051:39: error: request for member 'len' in something not a structure or union
  • error 219
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1054:35: error: request for member 'val' in something not a structure or union
  • error 220
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1055:39: error: request for member 'len' in something not a structure or union
  • error 221
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1098:43: error: too few arguments to function 'zend_fetch_resource'
  • error 222
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1119:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
  • error 223
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1125:43: error: too few arguments to function 'zend_fetch_resource'
  • error 224
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1141:74: error: macro "add_assoc_stringl" requires 5 arguments, but only 4 given
  • error 225
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1141:3: error: 'add_assoc_stringl' undeclared (first use in this function); did you mean 'add_assoc_stringl_ex'?
  • error 226
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1142:74: error: macro "add_assoc_stringl" requires 5 arguments, but only 4 given
  • error 227
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1148:74: error: macro "ZVAL_STRINGL" requires 4 arguments, but only 3 given
  • error 228
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1148:4: error: 'ZVAL_STRINGL' undeclared (first use in this function)
  • error 229
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1150:61: error: macro "zend_hash_add" requires 6 arguments, but only 3 given
  • error 230
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1150:4: error: 'zend_hash_add' undeclared (first use in this function); did you mean 'zend_hash_find'?
  • error 231
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:35: error: too few arguments to function 'zend_fetch_resource'
  • error 232
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1247:35: error: unknown type name 'zend_resource'; did you mean 'term_source'?
  • error 233
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1277:36: error: unknown type name 'zend_resource'; did you mean 'term_source'?
  • error 234
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1288:39: error: unknown type name 'zend_resource'; did you mean 'term_source'?
  • error 235
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1303:55: error: 'php_ssh2_session_dtor' undeclared (first use in this function); did you mean 'php_ssh2_session_data'?
  • error 236
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1304:55: error: 'php_ssh2_listener_dtor' undeclared (first use in this function); did you mean 'php_ssh2_listener_data'?
  • error 237
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1305:52: error: 'php_ssh2_sftp_dtor' undeclared (first use in this function); did you mean 'php_ssh2_sftp_data'?
  • error 238
  • /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1306:58: error: 'php_ssh2_pkey_subsys_dtor' undeclared (first use in this function); did you mean 'php_ssh2_pkey_subsys_data'?
  • error 239
  • error: Bad exit status from /tmp/B.XUXv_v/BUILD/tmp/rpm-tmp.38225 (%build)
  • error 240
  • RPM build errors:
  • error 241
  • error: No files produced.

Content:

request from: glen
checking if we should skip the build
started at: Tue Aug 13 17:19:00 2019
killing old processes on a builder
sending signal 9 to pid -1
Killed
cleaning up /tmp
fetching https://srcbuilder.pld-linux.org/th//srpms/019e2a64-2616-416a-8f08-87d987670e0b/php54-pecl-ssh2-1.1.2-1.src.rpm
fetched 43571 bytes, 126.4 K/s
installing srpm: php54-pecl-ssh2-1.1.2-1.src.rpm
+ install -d /tmp/B.XUXv_v/BUILD /tmp/B.XUXv_v/RPMS
+ LC_ALL=en_US.UTF-8
+ rpm -qp --changelog php54-pecl-ssh2-1.1.2-1.src.rpm
* Tue Aug 13 2019 PLD Linux Team <feedback@pld-linux.org>
- For complete changelog see: http://git.pld-linux.org/?p=packages/php-pecl-ssh2.git;a=log;h=auto/th/php-pecl-ssh2-1.1.2-1
* Tue Aug 13 2019 Elan Ruusamäe <glen@pld-linux.org> 0fcbc98
- use 00 prefix for extname * Tue Aug 13 2019 Elan Ruusamäe <glen@pld-linux.org> 50d4685
- up to 1.1.2 + rpm -Uhv --nodeps --define '_topdir /tmp/B.XUXv_v' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --define 'php_suffix 54' php54-pecl-ssh2-1.1.2-1.src.rpm Preparing... ################################################## php54-pecl-ssh2 ################################################## + rm -f php54-pecl-ssh2-1.1.2-1.src.rpm + install -m 700 -d /tmp/B.XUXv_v/BUILD/tmp + TMPDIR=/tmp/B.XUXv_v/BUILD/tmp + exec nice -n 0 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.XUXv_v' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux --define 'php_suffix 54' --define 'prep exit 0' /tmp/B.XUXv_v/php-pecl-ssh2.spec Building target platforms: i686-pld-linux checking BuildConflict-ing packages no BuildConflicts found checking BR rpm: error: Failed build dependencies: rpm: php54-devel >= 4:5.0.4 is needed by php54-pecl-ssh2-1.1.2-1.src rpm: Building target platforms: i686-pld-linux updating poldek cache... ready is up to date Retrieving th::packages.ndir.md... th is up to date Retrieving th::packages.ndir.md... th is up to date Retrieving th-ready::packages.ndir.md... th-ready is up to date Retrieving th-ready::packages.ndir.md... th-ready is up to date Retrieving th-test::packages.ndir.md... th-test is up to date Retrieving th-test::packages.ndir.md... th-test is up to date checking conflicting packages in BRed packages poldek: Loading [pndir]ready... poldek: Loading [pndir]th-test... poldek: Loading [pndir]th-test... poldek: Loading [pndir]th-ready... poldek: Loading [pndir]th-ready... poldek: Loading [pndir]th... poldek: Loading [pndir]th... poldek: 30752 packages read poldek: Removed 3054 duplicate packages from available set poldek: Processing dependencies... poldek: php54-devel-5.4.45-25.i686 marks php54-common-5.4.45-25.i686 (cap /usr/lib/php54) poldek: There are 2 packages to install (1 marked by dependencies): poldek: I php54-devel-5.4.45-25.i686 poldek: D php54-common-5.4.45-25.i686 poldek: This operation will use 6.8MB of disk space. poldek: Need to get 1.5MB of archives (1.5MB to download). poldek: poldek: Retrieving [1/2] th::php54-common-5.4.45-25.i686.rpm... poldek: ..............................done poldek: Retrieving [2/2] th::php54-devel-5.4.45-25.i686.rpm... poldek: ..............................done poldek: Executing pm-command.sh --upgrade -vh --test --root / --define _check_dirname_deps 1... poldek: Preparing... ################################################## no conflicts found checking BR rpm: error: Failed build dependencies: rpm: php54-devel >= 4:5.0.4 is needed by php54-pecl-ssh2-1.1.2-1.src rpm: Building target platforms: i686-pld-linux installing BR: php54\-devel + poldek --noask --caplookup -Q -v '--ignore=hhvm-*' '--ignore=php4-*' '--ignore=php52-*' '--ignore=php53-*' '--ignore=php55-*' '--ignore=php56-*' '--ignore=php70-*' '--ignore=php71-*' '--ignore=php72-*' '--ignore=php73-*' '--ignore=php74-*' --upgrade php54-devel Loading [pndir]ready... Loading [pndir]th-test... Loading [pndir]th-test... Loading [pndir]th-ready... Loading [pndir]th-ready... Loading [pndir]th... Loading [pndir]th... 30752 packages read Removed 3054 duplicate packages from available set Processing dependencies... php54-devel-5.4.45-25.i686 marks php54-common-5.4.45-25.i686 (cap /usr/lib/php54) There are 2 packages to install (1 marked by dependencies): I php54-devel-5.4.45-25.i686 D php54-common-5.4.45-25.i686 This operation will use 6.8MB of disk space. Need to get 1.5MB of archives. Executing pm-command.sh --upgrade -vh --root / --define _check_dirname_deps 1... Preparing... ################################################## php54-common ################################################## php54-devel ################################################## building RPM using: set -ex; : build-id: 019e2a64-2616-416a-8f08-87d987670e0b; TMPDIR=/tmp/B.XUXv_v/BUILD/tmp exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.XUXv_v' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux --define 'php_suffix 54' /tmp/B.XUXv_v/php-pecl-ssh2.spec + : build-id: 019e2a64-2616-416a-8f08-87d987670e0b + TMPDIR=/tmp/B.XUXv_v/BUILD/tmp + exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.XUXv_v' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux --define 'php_suffix 54' /tmp/B.XUXv_v/php-pecl-ssh2.spec Building target platforms: i686-pld-linux Executing(%prep): /bin/sh -e /tmp/B.XUXv_v/BUILD/tmp/rpm-tmp.38225 + umask 022 + cd /tmp/B.XUXv_v/BUILD + cd /tmp/B.XUXv_v/BUILD + rm -rf php54-pecl-ssh2-1.1.2 + /bin/mkdir -p php54-pecl-ssh2-1.1.2 + cd php54-pecl-ssh2-1.1.2 + /usr/bin/gzip -dc /tmp/B.XUXv_v/ssh2-1.1.2.tgz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /bin/id -u + '[' 1001 '=' 0 ']' + /bin/id -u + '[' 1001 '=' 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv ssh2-1.1.2/LICENSE ssh2-1.1.2/README.md ssh2-1.1.2/config.m4 ssh2-1.1.2/config.w32 ssh2-1.1.2/php_ssh2.h ssh2-1.1.2/ssh2.c ssh2-1.1.2/ssh2_fopen_wrappers.c ssh2-1.1.2/ssh2_sftp.c ssh2-1.1.2/tests . + exit 0 Executing(%build): /bin/sh -e /tmp/B.XUXv_v/BUILD/tmp/rpm-tmp.38225 TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/home/users/builder/GNUstep/Tools:/usr/local/bin:/usr/bin:/bin:/home/users/builder/bin TMPDIR=/tmp/B.XUXv_v/BUILD/tmp + umask 022 + cd /tmp/B.XUXv_v/BUILD + cd php54-pecl-ssh2-1.1.2 + phpize Configuring for: PHP Api Version: 20100412 Zend Module Api No: 20100525 Zend Extension Api No: 220100525 + ./configure 'LDFLAGS=-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' 'CFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' 'CXXFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' 'FFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' 'FCFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' 'CPPFLAGS=' 'CC=i686-pld-linux-gcc' 'CXX=i686-pld-linux-g++' '--host=i686-pld-linux' '--build=i686-pld-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--x-libraries=/usr/lib' checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for i686-pld-linux-cc... i686-pld-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pld-linux-gcc accepts -g... yes checking for i686-pld-linux-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... i686-pld-linux-gcc -E checking for icc... no checking for suncc... no checking whether i686-pld-linux-gcc and cc understand -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-pld-linux-gnu checking host system type... i686-pld-linux-gnu checking target system type... i686-pld-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib/php54 checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... re2c checking for re2c version... 1.2 (ok) checking for gawk... gawk checking for ssh2 support... yes, shared checking for ssh2 files in default path... found in /usr checking for libssh2_session_hostkey in -lssh2... yes checking for libssh2_agent_init in -lssh2... yes checking for libssh2_session_set_timeout in -lssh2... yes checking how to print strings... print -r checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by i686-pld-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert i686-pld-linux-gnu file names to i686-pld-linux-gnu format... func_convert_file_noop checking how to convert i686-pld-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i686-pld-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-pld-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for i686-pld-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i686-pld-linux-strip... no checking for strip... strip checking for i686-pld-linux-ranlib... no checking for ranlib... ranlib checking for mawk... (cached) gawk checking command to parse /usr/bin/nm -B output from i686-pld-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i686-pld-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i686-pld-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pld-linux-gcc option to produce PIC... -fPIC -DPIC checking if i686-pld-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i686-pld-linux-gcc static flag -static works... yes checking if i686-pld-linux-gcc supports -c -o file.o... yes checking if i686-pld-linux-gcc supports -c -o file.o... (cached) yes checking whether the i686-pld-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands + /usr/bin/make -Otarget -j9 /bin/sh /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/libtool --mode=compile i686-pld-linux-gcc -I. -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2 -DPHP_ATOM_INC -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/include -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/main -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c -o ssh2_sftp.lo libtool: compile: i686-pld-linux-gcc -I. -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2 -DPHP_ATOM_INC -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/include -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/main -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c -fPIC -DPIC -o .libs/ssh2_sftp.o In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:152:25: error: unknown type name 'zend_resource'; did you mean 'term_source'? 152 | void php_ssh2_sftp_dtor(zend_resource *rsrc); | ^~~~~~~~~~~~~ | term_source /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:33:25: error: unknown type name 'zend_resource'; did you mean 'term_source'? 33 | void php_ssh2_sftp_dtor(zend_resource *rsrc) | ^~~~~~~~~~~~~ | term_source /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:152:58: error: unknown type name 'zend_off_t'; did you mean 'zend_op'? 152 | static int php_ssh2_sftp_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) | ^~~~~~~~~~ | zend_op /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:152:89: error: unknown type name 'zend_off_t'; did you mean 'zend_op'? 152 | static int php_ssh2_sftp_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) | ^~~~~~~~~~ | zend_op /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:212:2: error: 'php_ssh2_sftp_stream_seek' undeclared here (not in a function); did you mean 'php_ssh2_sftp_stream_read'? 212 | php_ssh2_sftp_stream_seek, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | php_ssh2_sftp_stream_read /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:222:16: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 222 | int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'php_ssh2_sftp_dirstream_read': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:278:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 278 | zend_string *basename; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:285:13: error: too few arguments to function 'php_basename' 285 | basename = php_basename(ent->d_name, bytesread, NULL, 0); | ^~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:27: /usr/include/php/ext/standard/php_string.h:128:13: note: declared here 128 | PHPAPI void php_basename(const char *s, size_t len, char *suffix, size_t sufflen, char **p_ret, size_t *p_len TSRMLS_DC); | ^~~~~~~~~~~~ In file included from /usr/include/php/main/php.h:208, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:290:51: error: request for member 'len' in something not a structure or union 290 | bytesread = MIN(sizeof(ent->d_name) - 1, basename->len); | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:290:51: error: request for member 'len' in something not a structure or union 290 | bytesread = MIN(sizeof(ent->d_name) - 1, basename->len); | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:291:30: error: request for member 'val' in something not a structure or union 291 | memcpy(ent->d_name, basename->val, bytesread); | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:293:2: warning: implicit declaration of function 'zend_string_release' [-Wimplicit-function-declaration] 293 | zend_string_release(basename); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c: At top level: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:329:16: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 329 | int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:541:2: error: 'php_ssh2_sftp_stream_opener' undeclared here (not in a function); did you mean 'php_ssh2_sftp_stream_ops'? 541 | php_ssh2_sftp_stream_opener, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | php_ssh2_sftp_stream_ops /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:544:2: warning: initialization of 'int (*)(php_stream_wrapper *, char *, int, php_stream_statbuf *, php_stream_context *)' {aka 'int (*)(struct _php_stream_wrapper *, char *, int, struct _php_stream_statbuf *, struct _php_stream_context *)'} from incompatible pointer type 'int (*)(php_stream_wrapper *, const char *, int, php_stream_statbuf *, php_stream_context *)' {aka 'int (*)(struct _php_stream_wrapper *, const char *, int, struct _php_stream_statbuf *, struct _php_stream_context *)'} [-Wincompatible-pointer-types] 544 | php_ssh2_sftp_urlstat, | ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:544:2: note: (near initialization for 'php_ssh2_sftp_wrapper_ops.url_stat') /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:545:2: error: 'php_ssh2_sftp_dirstream_opener' undeclared here (not in a function); did you mean 'php_ssh2_sftp_dirstream_ops'? 545 | php_ssh2_sftp_dirstream_opener, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | php_ssh2_sftp_dirstream_ops /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:547:2: warning: initialization of 'int (*)(php_stream_wrapper *, char *, int, php_stream_context *)' {aka 'int (*)(struct _php_stream_wrapper *, char *, int, struct _php_stream_context *)'} from incompatible pointer type 'int (*)(php_stream_wrapper *, const char *, int, php_stream_context *)' {aka 'int (*)(struct _php_stream_wrapper *, const char *, int, struct _php_stream_context *)'} [-Wincompatible-pointer-types] 547 | php_ssh2_sftp_unlink, | ^~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:547:2: note: (near initialization for 'php_ssh2_sftp_wrapper_ops.unlink') /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:548:2: warning: initialization of 'int (*)(php_stream_wrapper *, char *, char *, int, php_stream_context *)' {aka 'int (*)(struct _php_stream_wrapper *, char *, char *, int, struct _php_stream_context *)'} from incompatible pointer type 'int (*)(php_stream_wrapper *, const char *, const char *, int, php_stream_context *)' {aka 'int (*)(struct _php_stream_wrapper *, const char *, const char *, int, struct _php_stream_context *)'} [-Wincompatible-pointer-types] 548 | php_ssh2_sftp_rename, | ^~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:548:2: note: (near initialization for 'php_ssh2_sftp_wrapper_ops.rename') /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:549:2: warning: initialization of 'int (*)(php_stream_wrapper *, char *, int, int, php_stream_context *)' {aka 'int (*)(struct _php_stream_wrapper *, char *, int, int, struct _php_stream_context *)'} from incompatible pointer type 'int (*)(php_stream_wrapper *, const char *, int, int, php_stream_context *)' {aka 'int (*)(struct _php_stream_wrapper *, const char *, int, int, struct _php_stream_context *)'} [-Wincompatible-pointer-types] 549 | php_ssh2_sftp_mkdir, | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:549:2: note: (near initialization for 'php_ssh2_sftp_wrapper_ops.stream_mkdir') /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:550:2: warning: initialization of 'int (*)(php_stream_wrapper *, char *, int, php_stream_context *)' {aka 'int (*)(struct _php_stream_wrapper *, char *, int, struct _php_stream_context *)'} from incompatible pointer type 'int (*)(php_stream_wrapper *, const char *, int, php_stream_context *)' {aka 'int (*)(struct _php_stream_wrapper *, const char *, int, struct _php_stream_context *)'} [-Wincompatible-pointer-types] 550 | php_ssh2_sftp_rmdir, | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:550:2: note: (near initialization for 'php_ssh2_sftp_wrapper_ops.stream_rmdir') /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'zif_ssh2_sftp': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:578:56: warning: implicit declaration of function 'Z_RES_P' [-Wimplicit-function-declaration] 578 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { | ^~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:578:56: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 578 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { | ^~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:578:75: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 578 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:578:102: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 578 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { | ^~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:578:36: error: too few arguments to function 'zend_fetch_resource' 578 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:594:42: error: invalid type argument of '->' (have 'int') 594 | data->session_rsrcid = Z_RES_P(zsession)->handle; | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:597:2: warning: implicit declaration of function 'RETURN_RES'; did you mean 'RETURN_TRUE'? [-Wimplicit-function-declaration] 597 | RETURN_RES(zend_register_resource(data, le_ssh2_sftp)); | ^~~~~~~~~~ | RETURN_TRUE /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:597:36: warning: passing argument 1 of 'zend_register_resource' from incompatible pointer type [-Wincompatible-pointer-types] 597 | RETURN_RES(zend_register_resource(data, le_ssh2_sftp)); | ^~~~ | | | php_ssh2_sftp_data * {aka struct _php_ssh2_sftp_data *} In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:82:43: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'php_ssh2_sftp_data *' {aka 'struct _php_ssh2_sftp_data *'} 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ~~~~~~^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:597:42: warning: passing argument 2 of 'zend_register_resource' makes pointer from integer without a cast [-Wint-conversion] 597 | RETURN_RES(zend_register_resource(data, le_ssh2_sftp)); | ^~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:82:62: note: expected 'void *' but argument is of type 'int' 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ~~~~~~^~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:597:13: error: too few arguments to function 'zend_register_resource' 597 | RETURN_RES(zend_register_resource(data, le_ssh2_sftp)); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:82:14: note: declared here 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ^~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'zif_ssh2_sftp_rename': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:609:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 609 | zend_string *src, *dst; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:615:56: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 615 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:48:34: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 48 | #define PHP_SSH2_SFTP_RES_NAME "SSH2 SFTP" | ^~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:615:72: note: in expansion of macro 'PHP_SSH2_SFTP_RES_NAME' 615 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:615:96: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 615 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:615:36: error: too few arguments to function 'zend_fetch_resource' 615 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:619:53: error: request for member 'val' in something not a structure or union 619 | RETURN_BOOL(!libssh2_sftp_rename_ex(data->sftp, src->val, src->len, dst->val, dst->len, | ^~ /usr/include/php/Zend/zend_API.h:550:21: note: in definition of macro 'ZVAL_BOOL' 550 | Z_LVAL_P(__z) = ((b) != 0); \ | ^ /usr/include/php/Zend/zend_API.h:626:31: note: in expansion of macro 'RETVAL_BOOL' 626 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:619:2: note: in expansion of macro 'RETURN_BOOL' 619 | RETURN_BOOL(!libssh2_sftp_rename_ex(data->sftp, src->val, src->len, dst->val, dst->len, | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:619:63: error: request for member 'len' in something not a structure or union 619 | RETURN_BOOL(!libssh2_sftp_rename_ex(data->sftp, src->val, src->len, dst->val, dst->len, | ^~ /usr/include/php/Zend/zend_API.h:550:21: note: in definition of macro 'ZVAL_BOOL' 550 | Z_LVAL_P(__z) = ((b) != 0); \ | ^ /usr/include/php/Zend/zend_API.h:626:31: note: in expansion of macro 'RETVAL_BOOL' 626 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:619:2: note: in expansion of macro 'RETURN_BOOL' 619 | RETURN_BOOL(!libssh2_sftp_rename_ex(data->sftp, src->val, src->len, dst->val, dst->len, | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:619:73: error: request for member 'val' in something not a structure or union 619 | RETURN_BOOL(!libssh2_sftp_rename_ex(data->sftp, src->val, src->len, dst->val, dst->len, | ^~ /usr/include/php/Zend/zend_API.h:550:21: note: in definition of macro 'ZVAL_BOOL' 550 | Z_LVAL_P(__z) = ((b) != 0); \ | ^ /usr/include/php/Zend/zend_API.h:626:31: note: in expansion of macro 'RETVAL_BOOL' 626 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:619:2: note: in expansion of macro 'RETURN_BOOL' 619 | RETURN_BOOL(!libssh2_sftp_rename_ex(data->sftp, src->val, src->len, dst->val, dst->len, | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:619:83: error: request for member 'len' in something not a structure or union 619 | RETURN_BOOL(!libssh2_sftp_rename_ex(data->sftp, src->val, src->len, dst->val, dst->len, | ^~ /usr/include/php/Zend/zend_API.h:550:21: note: in definition of macro 'ZVAL_BOOL' 550 | Z_LVAL_P(__z) = ((b) != 0); \ | ^ /usr/include/php/Zend/zend_API.h:626:31: note: in expansion of macro 'RETVAL_BOOL' 626 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:619:2: note: in expansion of macro 'RETURN_BOOL' 619 | RETURN_BOOL(!libssh2_sftp_rename_ex(data->sftp, src->val, src->len, dst->val, dst->len, | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'zif_ssh2_sftp_unlink': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:630:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 630 | zend_string *filename; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:636:56: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 636 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:48:34: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 48 | #define PHP_SSH2_SFTP_RES_NAME "SSH2 SFTP" | ^~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:636:72: note: in expansion of macro 'PHP_SSH2_SFTP_RES_NAME' 636 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:636:96: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 636 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:636:36: error: too few arguments to function 'zend_fetch_resource' 636 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:640:58: error: request for member 'val' in something not a structure or union 640 | RETURN_BOOL(!libssh2_sftp_unlink_ex(data->sftp, filename->val, filename->len)); | ^~ /usr/include/php/Zend/zend_API.h:550:21: note: in definition of macro 'ZVAL_BOOL' 550 | Z_LVAL_P(__z) = ((b) != 0); \ | ^ /usr/include/php/Zend/zend_API.h:626:31: note: in expansion of macro 'RETVAL_BOOL' 626 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:640:2: note: in expansion of macro 'RETURN_BOOL' 640 | RETURN_BOOL(!libssh2_sftp_unlink_ex(data->sftp, filename->val, filename->len)); | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:640:73: error: request for member 'len' in something not a structure or union 640 | RETURN_BOOL(!libssh2_sftp_unlink_ex(data->sftp, filename->val, filename->len)); | ^~ /usr/include/php/Zend/zend_API.h:550:21: note: in definition of macro 'ZVAL_BOOL' 550 | Z_LVAL_P(__z) = ((b) != 0); \ | ^ /usr/include/php/Zend/zend_API.h:626:31: note: in expansion of macro 'RETVAL_BOOL' 626 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:640:2: note: in expansion of macro 'RETURN_BOOL' 640 | RETURN_BOOL(!libssh2_sftp_unlink_ex(data->sftp, filename->val, filename->len)); | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'zif_ssh2_sftp_mkdir': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:650:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 650 | zend_string *filename; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:651:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? 651 | zend_long mode = 0777; | ^~~~~~~~~ | zend_ulong /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:663:56: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 663 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:48:34: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 48 | #define PHP_SSH2_SFTP_RES_NAME "SSH2 SFTP" | ^~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:663:72: note: in expansion of macro 'PHP_SSH2_SFTP_RES_NAME' 663 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:663:96: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 663 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:663:36: error: too few arguments to function 'zend_fetch_resource' 663 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:669:15: error: request for member 'val' in something not a structure or union 669 | p = filename->val; | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:671:21: error: request for member 'val' in something not a structure or union 671 | if ((p - filename->val) + 1 == filename->len) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:671:43: error: request for member 'len' in something not a structure or union 671 | if ((p - filename->val) + 1 == filename->len) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:674:46: error: request for member 'val' in something not a structure or union 674 | libssh2_sftp_mkdir_ex(data->sftp, filename->val, p - filename->val, mode); | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:674:65: error: request for member 'val' in something not a structure or union 674 | libssh2_sftp_mkdir_ex(data->sftp, filename->val, p - filename->val, mode); | ^~ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:679:57: error: request for member 'val' in something not a structure or union 679 | RETURN_BOOL(!libssh2_sftp_mkdir_ex(data->sftp, filename->val, filename->len, mode)); | ^~ /usr/include/php/Zend/zend_API.h:550:21: note: in definition of macro 'ZVAL_BOOL' 550 | Z_LVAL_P(__z) = ((b) != 0); \ | ^ /usr/include/php/Zend/zend_API.h:626:31: note: in expansion of macro 'RETVAL_BOOL' 626 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:679:2: note: in expansion of macro 'RETURN_BOOL' 679 | RETURN_BOOL(!libssh2_sftp_mkdir_ex(data->sftp, filename->val, filename->len, mode)); | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:679:72: error: request for member 'len' in something not a structure or union 679 | RETURN_BOOL(!libssh2_sftp_mkdir_ex(data->sftp, filename->val, filename->len, mode)); | ^~ /usr/include/php/Zend/zend_API.h:550:21: note: in definition of macro 'ZVAL_BOOL' 550 | Z_LVAL_P(__z) = ((b) != 0); \ | ^ /usr/include/php/Zend/zend_API.h:626:31: note: in expansion of macro 'RETVAL_BOOL' 626 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:679:2: note: in expansion of macro 'RETURN_BOOL' 679 | RETURN_BOOL(!libssh2_sftp_mkdir_ex(data->sftp, filename->val, filename->len, mode)); | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'zif_ssh2_sftp_rmdir': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:689:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 689 | zend_string *filename; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:695:56: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 695 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:48:34: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 48 | #define PHP_SSH2_SFTP_RES_NAME "SSH2 SFTP" | ^~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:695:72: note: in expansion of macro 'PHP_SSH2_SFTP_RES_NAME' 695 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:695:96: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 695 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:695:36: error: too few arguments to function 'zend_fetch_resource' 695 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:699:57: error: request for member 'val' in something not a structure or union 699 | RETURN_BOOL(!libssh2_sftp_rmdir_ex(data->sftp, filename->val, filename->len)); | ^~ /usr/include/php/Zend/zend_API.h:550:21: note: in definition of macro 'ZVAL_BOOL' 550 | Z_LVAL_P(__z) = ((b) != 0); \ | ^ /usr/include/php/Zend/zend_API.h:626:31: note: in expansion of macro 'RETVAL_BOOL' 626 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:699:2: note: in expansion of macro 'RETURN_BOOL' 699 | RETURN_BOOL(!libssh2_sftp_rmdir_ex(data->sftp, filename->val, filename->len)); | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:699:72: error: request for member 'len' in something not a structure or union 699 | RETURN_BOOL(!libssh2_sftp_rmdir_ex(data->sftp, filename->val, filename->len)); | ^~ /usr/include/php/Zend/zend_API.h:550:21: note: in definition of macro 'ZVAL_BOOL' 550 | Z_LVAL_P(__z) = ((b) != 0); \ | ^ /usr/include/php/Zend/zend_API.h:626:31: note: in expansion of macro 'RETVAL_BOOL' 626 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:699:2: note: in expansion of macro 'RETURN_BOOL' 699 | RETURN_BOOL(!libssh2_sftp_rmdir_ex(data->sftp, filename->val, filename->len)); | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'zif_ssh2_sftp_chmod': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:709:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 709 | zend_string *filename; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:710:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? 710 | zend_long mode; | ^~~~~~~~~ | zend_ulong /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:717:6: warning: implicit declaration of function 'ZSTR_LEN'; did you mean 'Z_STRLEN'? [-Wimplicit-function-declaration] 717 | if (ZSTR_LEN(filename) < 1) { | ^~~~~~~~ | Z_STRLEN /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:721:56: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 721 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:48:34: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 48 | #define PHP_SSH2_SFTP_RES_NAME "SSH2 SFTP" | ^~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:721:72: note: in expansion of macro 'PHP_SSH2_SFTP_RES_NAME' 721 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:721:96: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 721 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:721:36: error: too few arguments to function 'zend_fetch_resource' 721 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:728:56: error: request for member 'val' in something not a structure or union 728 | RETURN_BOOL(!libssh2_sftp_stat_ex(data->sftp, filename->val, filename->len, LIBSSH2_SFTP_SETSTAT, &attrs)); | ^~ /usr/include/php/Zend/zend_API.h:550:21: note: in definition of macro 'ZVAL_BOOL' 550 | Z_LVAL_P(__z) = ((b) != 0); \ | ^ /usr/include/php/Zend/zend_API.h:626:31: note: in expansion of macro 'RETVAL_BOOL' 626 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:728:2: note: in expansion of macro 'RETURN_BOOL' 728 | RETURN_BOOL(!libssh2_sftp_stat_ex(data->sftp, filename->val, filename->len, LIBSSH2_SFTP_SETSTAT, &attrs)); | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:728:71: error: request for member 'len' in something not a structure or union 728 | RETURN_BOOL(!libssh2_sftp_stat_ex(data->sftp, filename->val, filename->len, LIBSSH2_SFTP_SETSTAT, &attrs)); | ^~ /usr/include/php/Zend/zend_API.h:550:21: note: in definition of macro 'ZVAL_BOOL' 550 | Z_LVAL_P(__z) = ((b) != 0); \ | ^ /usr/include/php/Zend/zend_API.h:626:31: note: in expansion of macro 'RETVAL_BOOL' 626 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:728:2: note: in expansion of macro 'RETURN_BOOL' 728 | RETURN_BOOL(!libssh2_sftp_stat_ex(data->sftp, filename->val, filename->len, LIBSSH2_SFTP_SETSTAT, &attrs)); | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'php_ssh2_sftp_stat_func': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:742:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 742 | zend_string *path; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:748:56: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 748 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:48:34: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 48 | #define PHP_SSH2_SFTP_RES_NAME "SSH2 SFTP" | ^~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:748:72: note: in expansion of macro 'PHP_SSH2_SFTP_RES_NAME' 748 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:748:96: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 748 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:748:36: error: too few arguments to function 'zend_fetch_resource' 748 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:752:43: error: request for member 'val' in something not a structure or union 752 | if (libssh2_sftp_stat_ex(data->sftp, path->val, path->len, stat_type, &attrs)) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:752:54: error: request for member 'len' in something not a structure or union 752 | if (libssh2_sftp_stat_ex(data->sftp, path->val, path->len, stat_type, &attrs)) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'zif_ssh2_sftp_symlink': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:806:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 806 | zend_string *targ, *link; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:812:56: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 812 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:48:34: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 48 | #define PHP_SSH2_SFTP_RES_NAME "SSH2 SFTP" | ^~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:812:72: note: in expansion of macro 'PHP_SSH2_SFTP_RES_NAME' 812 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:812:96: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 812 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:812:36: error: too few arguments to function 'zend_fetch_resource' 812 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:816:55: error: request for member 'val' in something not a structure or union 816 | RETURN_BOOL(!libssh2_sftp_symlink_ex(data->sftp, targ->val, targ->len, link->val, link->len, LIBSSH2_SFTP_SYMLINK)); | ^~ /usr/include/php/Zend/zend_API.h:550:21: note: in definition of macro 'ZVAL_BOOL' 550 | Z_LVAL_P(__z) = ((b) != 0); \ | ^ /usr/include/php/Zend/zend_API.h:626:31: note: in expansion of macro 'RETVAL_BOOL' 626 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:816:2: note: in expansion of macro 'RETURN_BOOL' 816 | RETURN_BOOL(!libssh2_sftp_symlink_ex(data->sftp, targ->val, targ->len, link->val, link->len, LIBSSH2_SFTP_SYMLINK)); | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:816:66: error: request for member 'len' in something not a structure or union 816 | RETURN_BOOL(!libssh2_sftp_symlink_ex(data->sftp, targ->val, targ->len, link->val, link->len, LIBSSH2_SFTP_SYMLINK)); | ^~ /usr/include/php/Zend/zend_API.h:550:21: note: in definition of macro 'ZVAL_BOOL' 550 | Z_LVAL_P(__z) = ((b) != 0); \ | ^ /usr/include/php/Zend/zend_API.h:626:31: note: in expansion of macro 'RETVAL_BOOL' 626 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:816:2: note: in expansion of macro 'RETURN_BOOL' 816 | RETURN_BOOL(!libssh2_sftp_symlink_ex(data->sftp, targ->val, targ->len, link->val, link->len, LIBSSH2_SFTP_SYMLINK)); | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:816:77: error: request for member 'val' in something not a structure or union 816 | RETURN_BOOL(!libssh2_sftp_symlink_ex(data->sftp, targ->val, targ->len, link->val, link->len, LIBSSH2_SFTP_SYMLINK)); | ^~ /usr/include/php/Zend/zend_API.h:550:21: note: in definition of macro 'ZVAL_BOOL' 550 | Z_LVAL_P(__z) = ((b) != 0); \ | ^ /usr/include/php/Zend/zend_API.h:626:31: note: in expansion of macro 'RETVAL_BOOL' 626 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:816:2: note: in expansion of macro 'RETURN_BOOL' 816 | RETURN_BOOL(!libssh2_sftp_symlink_ex(data->sftp, targ->val, targ->len, link->val, link->len, LIBSSH2_SFTP_SYMLINK)); | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:816:88: error: request for member 'len' in something not a structure or union 816 | RETURN_BOOL(!libssh2_sftp_symlink_ex(data->sftp, targ->val, targ->len, link->val, link->len, LIBSSH2_SFTP_SYMLINK)); | ^~ /usr/include/php/Zend/zend_API.h:550:21: note: in definition of macro 'ZVAL_BOOL' 550 | Z_LVAL_P(__z) = ((b) != 0); \ | ^ /usr/include/php/Zend/zend_API.h:626:31: note: in expansion of macro 'RETVAL_BOOL' 626 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:816:2: note: in expansion of macro 'RETURN_BOOL' 816 | RETURN_BOOL(!libssh2_sftp_symlink_ex(data->sftp, targ->val, targ->len, link->val, link->len, LIBSSH2_SFTP_SYMLINK)); | ^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'zif_ssh2_sftp_readlink': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:826:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 826 | zend_string *link; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:834:56: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 834 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:48:34: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 48 | #define PHP_SSH2_SFTP_RES_NAME "SSH2 SFTP" | ^~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:834:72: note: in expansion of macro 'PHP_SSH2_SFTP_RES_NAME' 834 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:834:96: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 834 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:834:36: error: too few arguments to function 'zend_fetch_resource' 834 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:838:58: error: request for member 'val' in something not a structure or union 838 | if ((targ_len = libssh2_sftp_symlink_ex(data->sftp, link->val, link->len, targ, 8192, LIBSSH2_SFTP_READLINK)) < 0) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:838:69: error: request for member 'len' in something not a structure or union 838 | if ((targ_len = libssh2_sftp_symlink_ex(data->sftp, link->val, link->len, targ, 8192, LIBSSH2_SFTP_READLINK)) < 0) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:839:60: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int *' [-Wformat=] 839 | php_error_docref(NULL, E_WARNING, "Unable to read link '%s'", link); | ~^ ~~~~ | | | | | int * | char * | %n /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:843:31: error: macro "RETURN_STRINGL" requires 3 arguments, but only 2 given 843 | RETURN_STRINGL(targ, targ_len); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_API.h:631: note: macro "RETURN_STRINGL" defined here 631 | #define RETURN_STRINGL(s, l, duplicate) { RETVAL_STRINGL(s, l, duplicate); return; } | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:843:2: error: 'RETURN_STRINGL' undeclared (first use in this function) 843 | RETURN_STRINGL(targ, targ_len); | ^~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:843:2: note: each undeclared identifier is reported only once for each function it appears in /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c: In function 'zif_ssh2_sftp_realpath': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:853:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 853 | zend_string *link; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:861:56: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 861 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:48:34: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 48 | #define PHP_SSH2_SFTP_RES_NAME "SSH2 SFTP" | ^~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:861:72: note: in expansion of macro 'PHP_SSH2_SFTP_RES_NAME' 861 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:861:96: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 861 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:861:36: error: too few arguments to function 'zend_fetch_resource' 861 | if ((data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zsftp), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:865:58: error: request for member 'val' in something not a structure or union 865 | if ((targ_len = libssh2_sftp_symlink_ex(data->sftp, link->val, link->len, targ, 8192, LIBSSH2_SFTP_REALPATH)) < 0) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:865:69: error: request for member 'len' in something not a structure or union 865 | if ((targ_len = libssh2_sftp_symlink_ex(data->sftp, link->val, link->len, targ, 8192, LIBSSH2_SFTP_REALPATH)) < 0) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:866:80: error: request for member 'val' in something not a structure or union 866 | php_error_docref(NULL, E_WARNING, "Unable to resolve realpath for '%s'", link->val); | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:870:31: error: macro "RETURN_STRINGL" requires 3 arguments, but only 2 given 870 | RETURN_STRINGL(targ, targ_len); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:25: /usr/include/php/Zend/zend_API.h:631: note: macro "RETURN_STRINGL" defined here 631 | #define RETURN_STRINGL(s, l, duplicate) { RETVAL_STRINGL(s, l, duplicate); return; } | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_sftp.c:870:2: error: 'RETURN_STRINGL' undeclared (first use in this function) 870 | RETURN_STRINGL(targ, targ_len); | ^~~~~~~~~~~~~~ make: *** [Makefile:195: ssh2_sftp.lo] Error 1 make: *** Waiting for unfinished jobs.... /bin/sh /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/libtool --mode=compile i686-pld-linux-gcc -I. -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2 -DPHP_ATOM_INC -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/include -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/main -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c -o ssh2_fopen_wrappers.lo libtool: compile: i686-pld-linux-gcc -I. -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2 -DPHP_ATOM_INC -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/include -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/main -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c -fPIC -DPIC -o .libs/ssh2_fopen_wrappers.o In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:152:25: error: unknown type name 'zend_resource'; did you mean 'term_source'? 152 | void php_ssh2_sftp_dtor(zend_resource *rsrc); | ^~~~~~~~~~~~~ | term_source /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_zval_from_resource_handle': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:30:2: error: unknown type name 'zend_resource'; did you mean 'term_source'? 30 | zend_resource *zr; | ^~~~~~~~~~~~~ | term_source /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:31:2: warning: implicit declaration of function 'ZEND_HASH_FOREACH_VAL' [-Wimplicit-function-declaration] 31 | ZEND_HASH_FOREACH_VAL(&EG(regular_list), val) { | ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:31:47: error: expected ';' before '{' token 31 | ZEND_HASH_FOREACH_VAL(&EG(regular_list), val) { | ^~ | ; /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_channel_stream_write': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:54:51: warning: implicit declaration of function 'Z_RES_P' [-Wimplicit-function-declaration] 54 | session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); | ^~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:54:51: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 54 | session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); | ^~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:54:71: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 54 | session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:54:98: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 54 | session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); | ^~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:54:31: error: too few arguments to function 'zend_fetch_resource' 54 | session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:78:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 78 | php_error_docref(NULL, E_WARNING, "Failure '%s' (%ld)", error_msg, writestate); | ~~^ ~~~~~~~~~~ | | | | long int size_t {aka unsigned int} | %d /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_channel_stream_read': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:98:51: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 98 | session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); | ^~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:98:71: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 98 | session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:98:98: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 98 | session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); | ^~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:98:31: error: too few arguments to function 'zend_fetch_resource' 98 | session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:120:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'ssize_t' {aka 'int'} [-Wformat=] 120 | php_error_docref(NULL, E_WARNING, "Failure '%s' (%ld)", error_msg, readstate); | ~~^ ~~~~~~~~~ | | | | long int ssize_t {aka int} | %d /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_fopen_wraper_parse_path': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:217:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? 217 | zend_long resource_id; | ^~~~~~~~~ | zend_ulong /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:262:38: warning: passing argument 3 of 'is_numeric_string' from incompatible pointer type [-Wincompatible-pointer-types] 262 | if (is_numeric_string(s, strlen(s), &resource_id, NULL, 0) == IS_LONG) { | ^~~~~~~~~~~~ | | | int * In file included from /usr/include/php/Zend/zend.h:830, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_operators.h:246:79: note: expected 'long int *' but argument is of type 'int *' 246 | static inline zend_uchar is_numeric_string(const char *str, int length, long *lval, double *dval, int allow_errors) { | ~~~~~~^~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:269:58: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 269 | sftp_data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp); | ^~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:48:34: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 48 | #define PHP_SSH2_SFTP_RES_NAME "SSH2 SFTP" | ^~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:269:78: note: in expansion of macro 'PHP_SSH2_SFTP_RES_NAME' 269 | sftp_data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:269:102: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 269 | sftp_data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp); | ^~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:269:38: error: too few arguments to function 'zend_fetch_resource' 269 | sftp_data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:281:52: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 281 | session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); | ^~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:281:72: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 281 | session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:281:99: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 281 | session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); | ^~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:281:32: error: too few arguments to function 'zend_fetch_resource' 281 | session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:297:44: warning: passing argument 1 of 'zend_register_resource' from incompatible pointer type [-Wincompatible-pointer-types] 297 | *psftp_rsrcid = zend_register_resource(sftp_data, le_ssh2_sftp)->handle; | ^~~~~~~~~ | | | php_ssh2_sftp_data * {aka struct _php_ssh2_sftp_data *} In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:82:43: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'php_ssh2_sftp_data *' {aka 'struct _php_ssh2_sftp_data *'} 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ~~~~~~^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:297:55: warning: passing argument 2 of 'zend_register_resource' makes pointer from integer without a cast [-Wint-conversion] 297 | *psftp_rsrcid = zend_register_resource(sftp_data, le_ssh2_sftp)->handle; | ^~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:82:62: note: expected 'void *' but argument is of type 'int' 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ~~~~~~^~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:297:21: error: too few arguments to function 'zend_register_resource' 297 | *psftp_rsrcid = zend_register_resource(sftp_data, le_ssh2_sftp)->handle; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:82:14: note: declared here 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ^~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:313:14: error: too few arguments to function 'php_stream_context_get_option' 313 | (tmpzval = php_stream_context_get_option(context, "ssh2", "sftp")) != NULL && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/main/php_streams.h:103, from /usr/include/php/main/php.h:396, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/main/streams/php_stream_context.h:63:12: note: declared here 63 | PHPAPI int php_stream_context_get_option(php_stream_context *context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:316:57: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 316 | sftp_data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(tmpzval), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp); | ^~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:48:34: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 48 | #define PHP_SSH2_SFTP_RES_NAME "SSH2 SFTP" | ^~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:316:75: note: in expansion of macro 'PHP_SSH2_SFTP_RES_NAME' 316 | sftp_data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(tmpzval), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:316:99: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 316 | sftp_data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(tmpzval), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp); | ^~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:316:37: error: too few arguments to function 'zend_fetch_resource' 316 | sftp_data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(tmpzval), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:327:14: error: too few arguments to function 'php_stream_context_get_option' 327 | (tmpzval = php_stream_context_get_option(context, "ssh2", "session")) != NULL && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/main/php_streams.h:103, from /usr/include/php/main/php.h:396, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/main/streams/php_stream_context.h:63:12: note: declared here 63 | PHPAPI int php_stream_context_get_option(php_stream_context *context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:329:52: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 329 | session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(tmpzval), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); | ^~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:329:70: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 329 | session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(tmpzval), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:329:97: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 329 | session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(tmpzval), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); | ^~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:329:32: error: too few arguments to function 'zend_fetch_resource' 329 | session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(tmpzval), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:345:44: warning: passing argument 1 of 'zend_register_resource' from incompatible pointer type [-Wincompatible-pointer-types] 345 | *psftp_rsrcid = zend_register_resource(sftp_data, le_ssh2_sftp)->handle; | ^~~~~~~~~ | | | php_ssh2_sftp_data * {aka struct _php_ssh2_sftp_data *} In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:82:43: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'php_ssh2_sftp_data *' {aka 'struct _php_ssh2_sftp_data *'} 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ~~~~~~^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:345:55: warning: passing argument 2 of 'zend_register_resource' makes pointer from integer without a cast [-Wint-conversion] 345 | *psftp_rsrcid = zend_register_resource(sftp_data, le_ssh2_sftp)->handle; | ^~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:82:62: note: expected 'void *' but argument is of type 'int' 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ~~~~~~^~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:345:21: error: too few arguments to function 'zend_register_resource' 345 | *psftp_rsrcid = zend_register_resource(sftp_data, le_ssh2_sftp)->handle; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:82:14: note: declared here 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ^~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:347:37: error: invalid type argument of '->' (have 'int') 347 | *presource_id = Z_RES_P(tmpzval)->handle; | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:364:14: error: too few arguments to function 'php_stream_context_get_option' 364 | (tmpzval = php_stream_context_get_option(context, "ssh2", "methods")) != NULL && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/main/php_streams.h:103, from /usr/include/php/main/php.h:396, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/main/streams/php_stream_context.h:63:12: note: declared here 63 | PHPAPI int php_stream_context_get_option(php_stream_context *context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:370:14: error: too few arguments to function 'php_stream_context_get_option' 370 | (tmpzval = php_stream_context_get_option(context, "ssh2", "callbacks")) != NULL && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/main/php_streams.h:103, from /usr/include/php/main/php.h:396, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/main/streams/php_stream_context.h:63:12: note: declared here 63 | PHPAPI int php_stream_context_get_option(php_stream_context *context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:376:14: error: too few arguments to function 'php_stream_context_get_option' 376 | (tmpzval = php_stream_context_get_option(context, "ssh2", "username")) != NULL && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/main/php_streams.h:103, from /usr/include/php/main/php.h:396, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/main/streams/php_stream_context.h:63:12: note: declared here 63 | PHPAPI int php_stream_context_get_option(php_stream_context *context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:383:14: error: too few arguments to function 'php_stream_context_get_option' 383 | (tmpzval = php_stream_context_get_option(context, "ssh2", "password")) != NULL && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/main/php_streams.h:103, from /usr/include/php/main/php.h:396, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/main/streams/php_stream_context.h:63:12: note: declared here 63 | PHPAPI int php_stream_context_get_option(php_stream_context *context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:390:14: error: too few arguments to function 'php_stream_context_get_option' 390 | (tmpzval = php_stream_context_get_option(context, "ssh2", "pubkey_file")) != NULL && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/main/php_streams.h:103, from /usr/include/php/main/php.h:396, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/main/streams/php_stream_context.h:63:12: note: declared here 63 | PHPAPI int php_stream_context_get_option(php_stream_context *context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:396:14: error: too few arguments to function 'php_stream_context_get_option' 396 | (tmpzval = php_stream_context_get_option(context, "ssh2", "privkey_file")) != NULL && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/main/php_streams.h:103, from /usr/include/php/main/php.h:396, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/main/streams/php_stream_context.h:63:12: note: declared here 63 | PHPAPI int php_stream_context_get_option(php_stream_context *context, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_shell_open': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:514:3: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 514 | zend_string *key; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:519:74: error: macro "zend_hash_get_current_key" requires 4 arguments, but only 3 given 519 | (key_type = zend_hash_get_current_key(HASH_OF(environment), &key, &idx)) != HASH_KEY_NON_EXISTENT; | ^ In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_hash.h:200: note: macro "zend_hash_get_current_key" defined here 200 | #define zend_hash_get_current_key(ht, str_index, num_index, duplicate) \ | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:519:16: error: 'zend_hash_get_current_key' undeclared (first use in this function); did you mean 'zend_hash_get_current_key_ex'? 519 | (key_type = zend_hash_get_current_key(HASH_OF(environment), &key, &idx)) != HASH_KEY_NON_EXISTENT; | ^~~~~~~~~~~~~~~~~~~~~~~~~ | zend_hash_get_current_key_ex /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:519:16: note: each undeclared identifier is reported only once for each function it appears in /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:519:80: error: 'HASH_KEY_NON_EXISTENT' undeclared (first use in this function); did you mean 'HASH_KEY_NON_EXISTANT'? 519 | (key_type = zend_hash_get_current_key(HASH_OF(environment), &key, &idx)) != HASH_KEY_NON_EXISTENT; | ^~~~~~~~~~~~~~~~~~~~~ | HASH_KEY_NON_EXISTANT /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:524:65: error: macro "zend_hash_get_current_data" requires 2 arguments, but only 1 given 524 | if ((value = zend_hash_get_current_data(HASH_OF(environment))) != NULL) { | ^ In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_hash.h:204: note: macro "zend_hash_get_current_data" defined here 204 | #define zend_hash_get_current_data(ht, pData) \ | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:524:18: error: 'zend_hash_get_current_data' undeclared (first use in this function); did you mean 'zend_hash_get_current_data_ex'? 524 | if ((value = zend_hash_get_current_data(HASH_OF(environment))) != NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | zend_hash_get_current_data_ex /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:529:48: error: request for member 'val' in something not a structure or union 529 | if (libssh2_channel_setenv_ex(channel, key->val, key->len, Z_STRVAL(copyval), Z_STRLEN(copyval))) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:529:58: error: request for member 'len' in something not a structure or union 529 | if (libssh2_channel_setenv_ex(channel, key->val, key->len, Z_STRVAL(copyval), Z_STRLEN(copyval))) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:530:58: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int *' [-Wformat=] 530 | php_error_docref(NULL, E_WARNING, "Failed setting %s=%s on remote end", key, Z_STRVAL(copyval)); | ~^ ~~~ | | | | char * int * | %n /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: At top level: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:578:127: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 578 | static php_stream *php_ssh2_fopen_wrapper_shell(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:677:2: error: 'php_ssh2_fopen_wrapper_shell' undeclared here (not in a function); did you mean 'php_ssh2_stream_wrapper_shell'? 677 | php_ssh2_fopen_wrapper_shell, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | php_ssh2_stream_wrapper_shell /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'zif_ssh2_shell': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:702:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? 702 | zend_long width = PHP_SSH2_DEFAULT_TERM_WIDTH; | ^~~~~~~~~ | zend_ulong /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:703:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? 703 | zend_long height = PHP_SSH2_DEFAULT_TERM_HEIGHT; | ^~~~~~~~~ | zend_ulong /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:704:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? 704 | zend_long type = PHP_SSH2_DEFAULT_TERM_UNIT; | ^~~~~~~~~ | zend_ulong In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:55: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:716:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 716 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:74: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:716:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 716 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:101: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:716:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 716 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:35: error: too few arguments to function 'zend_fetch_resource' 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:716:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 716 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:718:57: error: invalid type argument of '->' (have 'int') 718 | stream = php_ssh2_shell_open(session, Z_RES_P(zsession)->handle, term, term_len, environment, width, height, type); | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'php_ssh2_exec_command': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:752:3: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 752 | zend_string *key = NULL; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:758:67: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types] 758 | (key_type = zend_hash_get_current_key_ex(HASH_OF(environment), &key, &idx, &pos)) != HASH_KEY_NON_EXISTENT; | ^~~~ | | | int ** In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_hash.h:179:71: note: expected 'char **' but argument is of type 'int **' 179 | ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | ~~~~~~~^~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:758:73: warning: passing argument 3 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types] 758 | (key_type = zend_hash_get_current_key_ex(HASH_OF(environment), &key, &idx, &pos)) != HASH_KEY_NON_EXISTENT; | ^~~~ | | | zend_ulong * {aka long unsigned int *} In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_hash.h:179:88: note: expected 'uint *' {aka 'unsigned int *'} but argument is of type 'zend_ulong *' {aka 'long unsigned int *'} 179 | ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | ~~~~~~^~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:758:79: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types] 758 | (key_type = zend_hash_get_current_key_ex(HASH_OF(environment), &key, &idx, &pos)) != HASH_KEY_NON_EXISTENT; | ^~~~ | | | Bucket ** {aka struct bucket **} In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_hash.h:179:107: note: expected 'ulong *' {aka 'long unsigned int *'} but argument is of type 'Bucket **' {aka 'struct bucket **'} 179 | ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | ~~~~~~~^~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:758:16: error: too few arguments to function 'zend_hash_get_current_key_ex' 758 | (key_type = zend_hash_get_current_key_ex(HASH_OF(environment), &key, &idx, &pos)) != HASH_KEY_NON_EXISTENT; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_hash.h:179:14: note: declared here 179 | ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:758:89: error: 'HASH_KEY_NON_EXISTENT' undeclared (first use in this function); did you mean 'HASH_KEY_NON_EXISTANT'? 758 | (key_type = zend_hash_get_current_key_ex(HASH_OF(environment), &key, &idx, &pos)) != HASH_KEY_NON_EXISTENT; | ^~~~~~~~~~~~~~~~~~~~~ | HASH_KEY_NON_EXISTANT /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:763:65: error: macro "zend_hash_get_current_data" requires 2 arguments, but only 1 given 763 | if ((value = zend_hash_get_current_data(HASH_OF(environment))) != NULL) { | ^ In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_hash.h:204: note: macro "zend_hash_get_current_data" defined here 204 | #define zend_hash_get_current_data(ht, pData) \ | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:763:18: error: 'zend_hash_get_current_data' undeclared (first use in this function); did you mean 'zend_hash_get_current_data_ex'? 763 | if ((value = zend_hash_get_current_data(HASH_OF(environment))) != NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | zend_hash_get_current_data_ex /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:768:48: error: request for member 'val' in something not a structure or union 768 | if (libssh2_channel_setenv_ex(channel, key->val, key->len, Z_STRVAL(copyval), Z_STRLEN(copyval))) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:768:58: error: request for member 'len' in something not a structure or union 768 | if (libssh2_channel_setenv_ex(channel, key->val, key->len, Z_STRVAL(copyval), Z_STRLEN(copyval))) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:769:58: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int *' [-Wformat=] 769 | php_error_docref(NULL, E_WARNING, "Failed setting %s=%s on remote end", key, Z_STRVAL(copyval)); | ~^ ~~~ | | | | char * int * | %n /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: At top level: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:819:126: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 819 | static php_stream *php_ssh2_fopen_wrapper_exec(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:893:2: error: 'php_ssh2_fopen_wrapper_exec' undeclared here (not in a function); did you mean 'php_ssh2_stream_wrapper_exec'? 893 | php_ssh2_fopen_wrapper_exec, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | php_ssh2_stream_wrapper_exec /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'zif_ssh2_exec': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:921:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? 921 | zend_long width = PHP_SSH2_DEFAULT_TERM_WIDTH; | ^~~~~~~~~ | zend_ulong /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:922:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? 922 | zend_long height = PHP_SSH2_DEFAULT_TERM_HEIGHT; | ^~~~~~~~~ | zend_ulong /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:923:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? 923 | zend_long type = PHP_SSH2_DEFAULT_TERM_UNIT; | ^~~~~~~~~ | zend_ulong In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:55: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:949:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 949 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:74: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:949:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 949 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:101: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:949:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 949 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:35: error: too few arguments to function 'zend_fetch_resource' 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:949:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 949 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:951:59: error: invalid type argument of '->' (have 'int') 951 | stream = php_ssh2_exec_command(session, Z_RES_P(zsession)->handle, command, term, term_len, environment, width, height, type); | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: At top level: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1002:125: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 1002 | static php_stream *php_ssh2_fopen_wrapper_scp(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1036:2: error: 'php_ssh2_fopen_wrapper_scp' undeclared here (not in a function); did you mean 'php_ssh2_stream_wrapper_scp'? 1036 | php_ssh2_fopen_wrapper_scp, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | php_ssh2_stream_wrapper_scp In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'zif_ssh2_scp_recv': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:55: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1068:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 1068 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:74: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1068:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 1068 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:101: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1068:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 1068 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:35: error: too few arguments to function 'zend_fetch_resource' 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1068:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 1068 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'zif_ssh2_scp_send': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1117:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? 1117 | zend_long create_mode = 0644; | ^~~~~~~~~ | zend_ulong In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:55: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1126:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 1126 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:74: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1126:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 1126 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:101: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1126:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 1126 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:35: error: too few arguments to function 'zend_fetch_resource' 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1126:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 1126 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: At top level: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1251:128: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 1251 | static php_stream *php_ssh2_fopen_wrapper_tunnel(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1308:2: error: 'php_ssh2_fopen_wrapper_tunnel' undeclared here (not in a function); did you mean 'php_ssh2_stream_wrapper_tunnel'? 1308 | php_ssh2_fopen_wrapper_tunnel, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | php_ssh2_stream_wrapper_tunnel /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'zif_ssh2_tunnel': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1332:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? 1332 | zend_long port; | ^~~~~~~~~ | zend_ulong In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:55: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1338:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 1338 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:74: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1338:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 1338 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:101: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1338:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 1338 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:26: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:35: error: too few arguments to function 'zend_fetch_resource' 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1338:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 1338 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1340:59: error: invalid type argument of '->' (have 'int') 1340 | stream = php_ssh2_direct_tcpip(session, Z_RES_P(zsession)->handle, host, port); | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c: In function 'zif_ssh2_fetch_stream': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1364:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? 1364 | zend_long streamid; | ^~~~~~~~~ | zend_ulong In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:25: /usr/include/php/main/php_streams.h:262:87: warning: passing argument 1 of 'zend_fetch_resource' from incompatible pointer type [-Wincompatible-pointer-types] 262 | #define php_stream_from_zval(xstr, ppzval) ZEND_FETCH_RESOURCE2((xstr), php_stream *, (ppzval), -1, "stream", php_file_le_stream(), php_file_le_pstream()) | ^~~~~~~~ | | | zval * {aka struct _zval_struct *} /usr/include/php/Zend/zend_list.h:103:41: note: in definition of macro 'ZEND_FETCH_RESOURCE2' 103 | rsrc = (rsrc_type) zend_fetch_resource(passed_id TSRMLS_CC, default_id, resource_type_name, NULL, 2, resource_type1, resource_type2); \ | ^~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2_fopen_wrappers.c:1375:2: note: in expansion of macro 'php_stream_from_zval' 1375 | php_stream_from_zval(parent, zparent); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ make: *** [Makefile:193: ssh2_fopen_wrappers.lo] Error 1 /bin/sh /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/libtool --mode=compile i686-pld-linux-gcc -I. -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2 -DPHP_ATOM_INC -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/include -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/main -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c -o ssh2.lo libtool: compile: i686-pld-linux-gcc -I. -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2 -DPHP_ATOM_INC -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/include -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/main -I/tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -c /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c -fPIC -DPIC -o .libs/ssh2.o In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:152:25: error: unknown type name 'zend_resource'; did you mean 'term_source'? 152 | void php_ssh2_sftp_dtor(zend_resource *rsrc); | ^~~~~~~~~~~~~ | term_source /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'php_ssh2_debug_cb': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:101:45: error: macro "ZVAL_STRINGL" requires 4 arguments, but only 3 given 101 | ZVAL_STRINGL(&args[0], message, message_len); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:578: note: macro "ZVAL_STRINGL" defined here 578 | #define ZVAL_STRINGL(z, s, l, duplicate) do { \ | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:101:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) 101 | ZVAL_STRINGL(&args[0], message, message_len); | ^~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:101:2: note: each undeclared identifier is reported only once for each function it appears in /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:102:47: error: macro "ZVAL_STRINGL" requires 4 arguments, but only 3 given 102 | ZVAL_STRINGL(&args[1], language, language_len); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:578: note: macro "ZVAL_STRINGL" defined here 578 | #define ZVAL_STRINGL(z, s, l, duplicate) do { \ | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:105:81: warning: passing argument 6 of 'call_user_function_ex' from incompatible pointer type [-Wincompatible-pointer-types] 105 | if (FAILURE == call_user_function_ex(NULL, NULL, data->disconnect_cb, NULL, 3, args, 0, NULL)) { | ^~~~ | | | zval * {aka struct _zval_struct *} In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:447:155: note: expected 'zval ***' {aka 'struct _zval_struct ***'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} 447 | ZEND_API int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name, zval **retval_ptr_ptr, zend_uint param_count, zval **params[], int no_separation, HashTable *symbol_table TSRMLS_DC); | ~~~~~~~^~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'php_ssh2_ignore_cb': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:128:45: error: macro "ZVAL_STRINGL" requires 4 arguments, but only 3 given 128 | ZVAL_STRINGL(&args[0], message, message_len); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:578: note: macro "ZVAL_STRINGL" defined here 578 | #define ZVAL_STRINGL(z, s, l, duplicate) do { \ | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:128:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) 128 | ZVAL_STRINGL(&args[0], message, message_len); | ^~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:130:68: warning: passing argument 4 of 'call_user_function_ex' from incompatible pointer type [-Wincompatible-pointer-types] 130 | if (FAILURE == call_user_function_ex(NULL, NULL, data->ignore_cb, &zretval, 1, args, 0, NULL)) { | ^~~~~~~~ | | | zval * {aka struct _zval_struct *} In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:447:109: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} 447 | ZEND_API int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name, zval **retval_ptr_ptr, zend_uint param_count, zval **params[], int no_separation, HashTable *symbol_table TSRMLS_DC); | ~~~~~~~^~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:130:81: warning: passing argument 6 of 'call_user_function_ex' from incompatible pointer type [-Wincompatible-pointer-types] 130 | if (FAILURE == call_user_function_ex(NULL, NULL, data->ignore_cb, &zretval, 1, args, 0, NULL)) { | ^~~~ | | | zval * {aka struct _zval_struct *} In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:447:155: note: expected 'zval ***' {aka 'struct _zval_struct ***'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} 447 | ZEND_API int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name, zval **retval_ptr_ptr, zend_uint param_count, zval **params[], int no_separation, HashTable *symbol_table TSRMLS_DC); | ~~~~~~~^~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:133:28: error: 'IS_UNDEF' undeclared (first use in this function); did you mean 'IS_UNUSED'? 133 | if (Z_TYPE_P(&zretval) != IS_UNDEF) { | ^~~~~~~~ | IS_UNUSED In file included from /usr/include/php/Zend/zend.h:831, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:134:17: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types] 134 | zval_ptr_dtor(&zretval); /usr/include/php/Zend/zend_variables.h:57:49: note: in definition of macro 'zval_ptr_dtor' 57 | #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC) | ^~~~~~~~ /usr/include/php/Zend/zend_variables.h:51:37: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} 51 | ZEND_API void _zval_ptr_dtor(zval **zval_ptr ZEND_FILE_LINE_DC); | ~~~~~~~^~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'php_ssh2_macerror_cb': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:158:43: error: macro "ZVAL_STRINGL" requires 4 arguments, but only 3 given 158 | ZVAL_STRINGL(&args[0], packet, packet_len); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:578: note: macro "ZVAL_STRINGL" defined here 578 | #define ZVAL_STRINGL(z, s, l, duplicate) do { \ | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:158:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) 158 | ZVAL_STRINGL(&args[0], packet, packet_len); | ^~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:160:70: warning: passing argument 4 of 'call_user_function_ex' from incompatible pointer type [-Wincompatible-pointer-types] 160 | if (FAILURE == call_user_function_ex(NULL, NULL, data->macerror_cb, &zretval, 1, args, 0, NULL)) { | ^~~~~~~~ | | | zval * {aka struct _zval_struct *} In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:447:109: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} 447 | ZEND_API int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name, zval **retval_ptr_ptr, zend_uint param_count, zval **params[], int no_separation, HashTable *symbol_table TSRMLS_DC); | ~~~~~~~^~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:160:83: warning: passing argument 6 of 'call_user_function_ex' from incompatible pointer type [-Wincompatible-pointer-types] 160 | if (FAILURE == call_user_function_ex(NULL, NULL, data->macerror_cb, &zretval, 1, args, 0, NULL)) { | ^~~~ | | | zval * {aka struct _zval_struct *} In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:447:155: note: expected 'zval ***' {aka 'struct _zval_struct ***'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} 447 | ZEND_API int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name, zval **retval_ptr_ptr, zend_uint param_count, zval **params[], int no_separation, HashTable *symbol_table TSRMLS_DC); | ~~~~~~~^~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:165:28: error: 'IS_UNDEF' undeclared (first use in this function); did you mean 'IS_UNUSED'? 165 | if (Z_TYPE_P(&zretval) != IS_UNDEF) { | ^~~~~~~~ | IS_UNUSED In file included from /usr/include/php/Zend/zend.h:831, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:166:17: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types] 166 | zval_ptr_dtor(&zretval); /usr/include/php/Zend/zend_variables.h:57:49: note: in definition of macro 'zval_ptr_dtor' 57 | #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC) | ^~~~~~~~ /usr/include/php/Zend/zend_variables.h:51:37: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} 51 | ZEND_API void _zval_ptr_dtor(zval **zval_ptr ZEND_FILE_LINE_DC); | ~~~~~~~^~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'php_ssh2_disconnect_cb': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:190:45: error: macro "ZVAL_STRINGL" requires 4 arguments, but only 3 given 190 | ZVAL_STRINGL(&args[1], message, message_len); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:578: note: macro "ZVAL_STRINGL" defined here 578 | #define ZVAL_STRINGL(z, s, l, duplicate) do { \ | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:190:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) 190 | ZVAL_STRINGL(&args[1], message, message_len); | ^~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:191:47: error: macro "ZVAL_STRINGL" requires 4 arguments, but only 3 given 191 | ZVAL_STRINGL(&args[2], language, language_len); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:578: note: macro "ZVAL_STRINGL" defined here 578 | #define ZVAL_STRINGL(z, s, l, duplicate) do { \ | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:193:81: warning: passing argument 6 of 'call_user_function_ex' from incompatible pointer type [-Wincompatible-pointer-types] 193 | if (FAILURE == call_user_function_ex(NULL, NULL, data->disconnect_cb, NULL, 3, args, 0, NULL)) { | ^~~~ | | | zval * {aka struct _zval_struct *} In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:447:155: note: expected 'zval ***' {aka 'struct _zval_struct ***'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} 447 | ZEND_API int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name, zval **retval_ptr_ptr, zend_uint param_count, zval **params[], int no_separation, HashTable *symbol_table TSRMLS_DC); | ~~~~~~~^~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'php_ssh2_set_callback': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:212:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 212 | zend_string *callback_zstring; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:214:21: warning: implicit declaration of function 'zend_string_init'; did you mean 'zend_stack_init'? [-Wimplicit-function-declaration] 214 | callback_zstring = zend_string_init(callback, callback_len, 0); | ^~~~~~~~~~~~~~~~ | zend_stack_init /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:214:19: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 214 | callback_zstring = zend_string_init(callback, callback_len, 0); | ^ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:215:36: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types] 215 | if ((handler = zend_hash_find(ht, callback_zstring)) == NULL) { | ^~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:163:62: note: expected 'const char *' but argument is of type 'int *' 163 | ZEND_API int zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData); | ~~~~~~~~~~~~^~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:215:17: error: too few arguments to function 'zend_hash_find' 215 | if ((handler = zend_hash_find(ht, callback_zstring)) == NULL) { | ^~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:163:14: note: declared here 163 | ZEND_API int zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData); | ^~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:216:4: warning: implicit declaration of function 'zend_string_release' [-Wimplicit-function-declaration] 216 | zend_string_release(callback_zstring); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend.h:831, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:232:23: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types] 232 | zval_ptr_dtor(data->ignore_cb); /usr/include/php/Zend/zend_variables.h:57:49: note: in definition of macro 'zval_ptr_dtor' 57 | #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC) | ^~~~~~~~ /usr/include/php/Zend/zend_variables.h:51:37: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} 51 | ZEND_API void _zval_ptr_dtor(zval **zval_ptr ZEND_FILE_LINE_DC); | ~~~~~~~^~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:239:23: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types] 239 | zval_ptr_dtor(data->debug_cb); /usr/include/php/Zend/zend_variables.h:57:49: note: in definition of macro 'zval_ptr_dtor' 57 | #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC) | ^~~~~~~~ /usr/include/php/Zend/zend_variables.h:51:37: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} 51 | ZEND_API void _zval_ptr_dtor(zval **zval_ptr ZEND_FILE_LINE_DC); | ~~~~~~~^~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:246:23: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types] 246 | zval_ptr_dtor(data->macerror_cb); /usr/include/php/Zend/zend_variables.h:57:49: note: in definition of macro 'zval_ptr_dtor' 57 | #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC) | ^~~~~~~~ /usr/include/php/Zend/zend_variables.h:51:37: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} 51 | ZEND_API void _zval_ptr_dtor(zval **zval_ptr ZEND_FILE_LINE_DC); | ~~~~~~~^~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:253:23: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types] 253 | zval_ptr_dtor(data->disconnect_cb); /usr/include/php/Zend/zend_variables.h:57:49: note: in definition of macro 'zval_ptr_dtor' 57 | #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC) | ^~~~~~~~ /usr/include/php/Zend/zend_variables.h:51:37: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} 51 | ZEND_API void _zval_ptr_dtor(zval **zval_ptr ZEND_FILE_LINE_DC); | ~~~~~~~^~~~~~~~ /usr/include/php/Zend/zend_variables.h:57:48: warning: passing argument 1 of '_zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types] 57 | #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC) | ^~~~~~~~~~ | | | zval * {aka struct _zval_struct *} /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:258:4: note: in expansion of macro 'zval_ptr_dtor' 258 | zval_ptr_dtor(copyval); | ^~~~~~~~~~~~~ /usr/include/php/Zend/zend_variables.h:51:37: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} 51 | ZEND_API void _zval_ptr_dtor(zval **zval_ptr ZEND_FILE_LINE_DC); | ~~~~~~~^~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'php_ssh2_set_method': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:274:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 274 | zend_string *method_zstring; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:277:17: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 277 | method_zstring = zend_string_init(method, method_len, 0); | ^ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:278:34: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types] 278 | if ((value = zend_hash_find(ht, method_zstring)) == NULL) { | ^~~~~~~~~~~~~~ | | | int * In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:163:62: note: expected 'const char *' but argument is of type 'int *' 163 | ZEND_API int zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData); | ~~~~~~~~~~~~^~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:278:15: error: too few arguments to function 'zend_hash_find' 278 | if ((value = zend_hash_find(ht, method_zstring)) == NULL) { | ^~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:163:14: note: declared here 163 | ZEND_API int zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData); | ^~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'php_ssh2_session_connect': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:301:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 301 | zend_string *hash_lookup_zstring; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:306:100: error: 'STREAM_SOCKOP_NONE' undeclared (first use in this function) 306 | socket = php_network_connect_socket_to_host(host, port, SOCK_STREAM, 0, &tv, NULL, NULL, NULL, 0, STREAM_SOCKOP_NONE); | ^~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:306:11: error: too many arguments to function 'php_network_connect_socket_to_host' 306 | socket = php_network_connect_socket_to_host(host, port, SOCK_STREAM, 0, &tv, NULL, NULL, NULL, 0, STREAM_SOCKOP_NONE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:29: /usr/include/php/main/php_network.h:228:21: note: declared here 228 | PHPAPI php_socket_t php_network_connect_socket_to_host(const char *host, unsigned short port, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:336:23: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 336 | hash_lookup_zstring = zend_string_init("client_to_server", sizeof("client_to_server") - 1, 0); | ^ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:337:53: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types] 337 | if ((container = zend_hash_find(HASH_OF(methods), hash_lookup_zstring)) != NULL && Z_TYPE_P(container) == IS_ARRAY) { | ^~~~~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:163:62: note: expected 'const char *' but argument is of type 'int *' 163 | ZEND_API int zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData); | ~~~~~~~~~~~~^~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:337:20: error: too few arguments to function 'zend_hash_find' 337 | if ((container = zend_hash_find(HASH_OF(methods), hash_lookup_zstring)) != NULL && Z_TYPE_P(container) == IS_ARRAY) { | ^~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:163:14: note: declared here 163 | ZEND_API int zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData); | ^~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:353:23: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 353 | hash_lookup_zstring = zend_string_init("server_to_client", sizeof("server_to_client") - 1, 0); | ^ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:354:53: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types] 354 | if ((container = zend_hash_find(HASH_OF(methods), hash_lookup_zstring)) != NULL && Z_TYPE_P(container) == IS_ARRAY) { | ^~~~~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:163:62: note: expected 'const char *' but argument is of type 'int *' 163 | ZEND_API int zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData); | ~~~~~~~~~~~~^~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:354:20: error: too few arguments to function 'zend_hash_find' 354 | if ((container = zend_hash_find(HASH_OF(methods), hash_lookup_zstring)) != NULL && Z_TYPE_P(container) == IS_ARRAY) { | ^~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:163:14: note: declared here 163 | ZEND_API int zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData); | ^~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'zif_ssh2_connect': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:417:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? 417 | zend_long port = PHP_SSH2_DEFAULT_PORT; | ^~~~~~~~~ | zend_ulong /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:430:2: warning: implicit declaration of function 'RETURN_RES'; did you mean 'RETURN_TRUE'? [-Wimplicit-function-declaration] 430 | RETURN_RES(zend_register_resource(session, le_ssh2_session)); | ^~~~~~~~~~ | RETURN_TRUE /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:430:36: warning: passing argument 1 of 'zend_register_resource' from incompatible pointer type [-Wincompatible-pointer-types] 430 | RETURN_RES(zend_register_resource(session, le_ssh2_session)); | ^~~~~~~ | | | LIBSSH2_SESSION * {aka struct _LIBSSH2_SESSION *} In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:82:43: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'LIBSSH2_SESSION *' {aka 'struct _LIBSSH2_SESSION *'} 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ~~~~~~^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:430:45: warning: passing argument 2 of 'zend_register_resource' makes pointer from integer without a cast [-Wint-conversion] 430 | RETURN_RES(zend_register_resource(session, le_ssh2_session)); | ^~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:82:62: note: expected 'void *' but argument is of type 'int' 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ~~~~~~^~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:430:13: error: too few arguments to function 'zend_register_resource' 430 | RETURN_RES(zend_register_resource(session, le_ssh2_session)); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:82:14: note: declared here 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ^~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'zif_ssh2_disconnect': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:445:6: warning: implicit declaration of function 'zend_list_close'; did you mean 'zend_llist_copy'? [-Wimplicit-function-declaration] 445 | if (zend_list_close(Z_RES_P(zsession)) != SUCCESS) { | ^~~~~~~~~~~~~~~ | zend_llist_copy /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:445:22: warning: implicit declaration of function 'Z_RES_P' [-Wimplicit-function-declaration] 445 | if (zend_list_close(Z_RES_P(zsession)) != SUCCESS) { | ^~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'zif_ssh2_methods_negotiated': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:466:56: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 466 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { | ^~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:466:75: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 466 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:466:102: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 466 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { | ^~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:466:36: error: too few arguments to function 'zend_fetch_resource' 466 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:482:43: error: macro "add_assoc_string" requires 4 arguments, but only 3 given 482 | add_assoc_string(return_value, "kex", kex); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:388: note: macro "add_assoc_string" defined here 388 | #define add_assoc_string(__arg, __key, __str, __duplicate) add_assoc_string_ex(__arg, __key, strlen(__key)+1, __str, __duplicate) | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:482:2: error: 'add_assoc_string' undeclared (first use in this function); did you mean 'add_assoc_string_ex'? 482 | add_assoc_string(return_value, "kex", kex); | ^~~~~~~~~~~~~~~~ | add_assoc_string_ex /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:483:51: error: macro "add_assoc_string" requires 4 arguments, but only 3 given 483 | add_assoc_string(return_value, "hostkey", hostkey); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:388: note: macro "add_assoc_string" defined here 388 | #define add_assoc_string(__arg, __key, __str, __duplicate) add_assoc_string_ex(__arg, __key, strlen(__key)+1, __str, __duplicate) | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:486:47: error: macro "add_assoc_string" requires 4 arguments, but only 3 given 486 | add_assoc_string(&endpoint, "crypt", crypt_cs); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:388: note: macro "add_assoc_string" defined here 388 | #define add_assoc_string(__arg, __key, __str, __duplicate) add_assoc_string_ex(__arg, __key, strlen(__key)+1, __str, __duplicate) | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:487:43: error: macro "add_assoc_string" requires 4 arguments, but only 3 given 487 | add_assoc_string(&endpoint, "mac", mac_cs); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:388: note: macro "add_assoc_string" defined here 388 | #define add_assoc_string(__arg, __key, __str, __duplicate) add_assoc_string_ex(__arg, __key, strlen(__key)+1, __str, __duplicate) | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:488:45: error: macro "add_assoc_string" requires 4 arguments, but only 3 given 488 | add_assoc_string(&endpoint, "comp", comp_cs); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:388: note: macro "add_assoc_string" defined here 388 | #define add_assoc_string(__arg, __key, __str, __duplicate) add_assoc_string_ex(__arg, __key, strlen(__key)+1, __str, __duplicate) | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:489:45: error: macro "add_assoc_string" requires 4 arguments, but only 3 given 489 | add_assoc_string(&endpoint, "lang", lang_cs); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:388: note: macro "add_assoc_string" defined here 388 | #define add_assoc_string(__arg, __key, __str, __duplicate) add_assoc_string_ex(__arg, __key, strlen(__key)+1, __str, __duplicate) | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:493:47: error: macro "add_assoc_string" requires 4 arguments, but only 3 given 493 | add_assoc_string(&endpoint, "crypt", crypt_sc); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:388: note: macro "add_assoc_string" defined here 388 | #define add_assoc_string(__arg, __key, __str, __duplicate) add_assoc_string_ex(__arg, __key, strlen(__key)+1, __str, __duplicate) | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:494:43: error: macro "add_assoc_string" requires 4 arguments, but only 3 given 494 | add_assoc_string(&endpoint, "mac", mac_sc); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:388: note: macro "add_assoc_string" defined here 388 | #define add_assoc_string(__arg, __key, __str, __duplicate) add_assoc_string_ex(__arg, __key, strlen(__key)+1, __str, __duplicate) | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:495:45: error: macro "add_assoc_string" requires 4 arguments, but only 3 given 495 | add_assoc_string(&endpoint, "comp", comp_sc); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:388: note: macro "add_assoc_string" defined here 388 | #define add_assoc_string(__arg, __key, __str, __duplicate) add_assoc_string_ex(__arg, __key, strlen(__key)+1, __str, __duplicate) | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:496:45: error: macro "add_assoc_string" requires 4 arguments, but only 3 given 496 | add_assoc_string(&endpoint, "lang", lang_sc); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:388: note: macro "add_assoc_string" defined here 388 | #define add_assoc_string(__arg, __key, __str, __duplicate) add_assoc_string_ex(__arg, __key, strlen(__key)+1, __str, __duplicate) | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'zif_ssh2_fingerprint': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:510:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? 510 | zend_long flags = 0; | ^~~~~~~~~ | zend_ulong /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:518:56: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 518 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { | ^~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:518:75: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 518 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:518:102: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 518 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { | ^~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:518:36: error: too few arguments to function 'zend_fetch_resource' 518 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:537:46: error: macro "RETURN_STRINGL" requires 3 arguments, but only 2 given 537 | RETURN_STRINGL(fingerprint, fingerprint_len); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:631: note: macro "RETURN_STRINGL" defined here 631 | #define RETURN_STRINGL(s, l, duplicate) { RETVAL_STRINGL(s, l, duplicate); return; } | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:537:3: error: 'RETURN_STRINGL' undeclared (first use in this function) 537 | RETURN_STRINGL(fingerprint, fingerprint_len); | ^~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:545:59: error: macro "ZVAL_STRINGL" requires 4 arguments, but only 3 given 545 | ZVAL_STRINGL(return_value, hexchars, 2 * fingerprint_len); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:578: note: macro "ZVAL_STRINGL" defined here 578 | #define ZVAL_STRINGL(z, s, l, duplicate) do { \ | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:545:3: error: 'ZVAL_STRINGL' undeclared (first use in this function) 545 | ZVAL_STRINGL(return_value, hexchars, 2 * fingerprint_len); | ^~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'zif_ssh2_auth_none': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:566:56: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 566 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { | ^~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:566:75: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 566 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:566:102: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 566 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { | ^~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:566:36: error: too few arguments to function 'zend_fetch_resource' 566 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:579:4: error: too few arguments to function 'add_next_index_stringl' 579 | add_next_index_stringl(return_value, s, p - s); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:413:14: note: declared here 413 | ZEND_API int add_next_index_stringl(zval *arg, const char *str, uint length, int duplicate); | ^~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:584:3: error: too few arguments to function 'add_next_index_string' 584 | add_next_index_string(return_value, s); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:412:14: note: declared here 412 | ZEND_API int add_next_index_string(zval *arg, const char *str, int duplicate); | ^~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'zif_ssh2_auth_password': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:617:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 617 | zend_string *username, *password; | ^~~~~~~~~~~ | zend_stream In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:55: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 96 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:624:2: note: in expansion of macro 'SSH2_FETCH_NONAUTHENTICATED_SESSION' 624 | SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:74: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 96 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:624:2: note: in expansion of macro 'SSH2_FETCH_NONAUTHENTICATED_SESSION' 624 | SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:101: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 96 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:624:2: note: in expansion of macro 'SSH2_FETCH_NONAUTHENTICATED_SESSION' 624 | SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:35: error: too few arguments to function 'zend_fetch_resource' 96 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:624:2: note: in expansion of macro 'SSH2_FETCH_NONAUTHENTICATED_SESSION' 624 | SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:626:56: error: request for member 'val' in something not a structure or union 626 | userauthlist = libssh2_userauth_list(session, username->val, username->len); | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:626:71: error: request for member 'len' in something not a structure or union 626 | userauthlist = libssh2_userauth_list(session, username->val, username->len); | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:629:39: error: request for member 'val' in something not a structure or union 629 | password_for_kbd_callback = password->val; | ^~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:24, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:631:63: error: request for member 'val' in something not a structure or union 631 | if (libssh2_userauth_keyboard_interactive(session, username->val, &kbd_callback) == 0) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:631:63: error: request for member 'val' in something not a structure or union 631 | if (libssh2_userauth_keyboard_interactive(session, username->val, &kbd_callback) == 0) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:637:53: error: request for member 'val' in something not a structure or union 637 | if (libssh2_userauth_password_ex(session, username->val, username->len, password->val, password->len, NULL)) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:637:68: error: request for member 'len' in something not a structure or union 637 | if (libssh2_userauth_password_ex(session, username->val, username->len, password->val, password->len, NULL)) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:637:83: error: request for member 'val' in something not a structure or union 637 | if (libssh2_userauth_password_ex(session, username->val, username->len, password->val, password->len, NULL)) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:637:98: error: request for member 'len' in something not a structure or union 637 | if (libssh2_userauth_password_ex(session, username->val, username->len, password->val, password->len, NULL)) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:638:93: error: request for member 'val' in something not a structure or union 638 | php_error_docref(NULL, E_WARNING, "Authentication failed for %s using password", username->val); | ^~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'zif_ssh2_auth_pubkey_file': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:55: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 96 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:672:2: note: in expansion of macro 'SSH2_FETCH_NONAUTHENTICATED_SESSION' 672 | SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:74: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 96 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:672:2: note: in expansion of macro 'SSH2_FETCH_NONAUTHENTICATED_SESSION' 672 | SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:101: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 96 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:672:2: note: in expansion of macro 'SSH2_FETCH_NONAUTHENTICATED_SESSION' 672 | SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:35: error: too few arguments to function 'zend_fetch_resource' 96 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:672:2: note: in expansion of macro 'SSH2_FETCH_NONAUTHENTICATED_SESSION' 672 | SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'zif_ssh2_auth_hostbased_file': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:55: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 96 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:729:2: note: in expansion of macro 'SSH2_FETCH_NONAUTHENTICATED_SESSION' 729 | SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:74: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 96 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:729:2: note: in expansion of macro 'SSH2_FETCH_NONAUTHENTICATED_SESSION' 729 | SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:101: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 96 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:729:2: note: in expansion of macro 'SSH2_FETCH_NONAUTHENTICATED_SESSION' 729 | SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:35: error: too few arguments to function 'zend_fetch_resource' 96 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:729:2: note: in expansion of macro 'SSH2_FETCH_NONAUTHENTICATED_SESSION' 729 | SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'zif_ssh2_forward_listen': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:755:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? 755 | zend_long port; | ^~~~~~~~~ | zend_ulong /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:758:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? 758 | zend_long max_connections = PHP_SSH2_LISTEN_MAX_QUEUED; | ^~~~~~~~~ | zend_ulong In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:55: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:764:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 764 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:74: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:764:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 764 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:101: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:764:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 764 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:35: error: too few arguments to function 'zend_fetch_resource' 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:764:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 764 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:780:36: warning: passing argument 1 of 'zend_register_resource' from incompatible pointer type [-Wincompatible-pointer-types] 780 | RETURN_RES(zend_register_resource(data, le_ssh2_listener)); | ^~~~ | | | php_ssh2_listener_data * {aka struct _php_ssh2_listener_data *} In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:82:43: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'php_ssh2_listener_data *' {aka 'struct _php_ssh2_listener_data *'} 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ~~~~~~^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:780:42: warning: passing argument 2 of 'zend_register_resource' makes pointer from integer without a cast [-Wint-conversion] 780 | RETURN_RES(zend_register_resource(data, le_ssh2_listener)); | ^~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:82:62: note: expected 'void *' but argument is of type 'int' 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ~~~~~~^~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:780:13: error: too few arguments to function 'zend_register_resource' 780 | RETURN_RES(zend_register_resource(data, le_ssh2_listener)); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:82:14: note: declared here 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ^~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'zif_ssh2_forward_accept': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:799:60: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 799 | if ((data = (php_ssh2_listener_data *)zend_fetch_resource(Z_RES_P(zlistener), PHP_SSH2_LISTENER_RES_NAME, le_ssh2_listener)) == NULL) { | ^~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:47:37: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 47 | #define PHP_SSH2_LISTENER_RES_NAME "SSH2 Listener" | ^~~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:799:80: note: in expansion of macro 'PHP_SSH2_LISTENER_RES_NAME' 799 | if ((data = (php_ssh2_listener_data *)zend_fetch_resource(Z_RES_P(zlistener), PHP_SSH2_LISTENER_RES_NAME, le_ssh2_listener)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:799:108: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 799 | if ((data = (php_ssh2_listener_data *)zend_fetch_resource(Z_RES_P(zlistener), PHP_SSH2_LISTENER_RES_NAME, le_ssh2_listener)) == NULL) { | ^~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:799:40: error: too few arguments to function 'zend_fetch_resource' 799 | if ((data = (php_ssh2_listener_data *)zend_fetch_resource(Z_RES_P(zlistener), PHP_SSH2_LISTENER_RES_NAME, le_ssh2_listener)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'zif_ssh2_poll': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:846:2: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? 846 | zend_long timeout = PHP_SSH2_DEFAULT_POLL_TIMEOUT; | ^~~~~~~~~ | zend_ulong /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:851:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 851 | zend_string *hash_key_zstring; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:862:59: error: macro "zend_hash_get_current_data" requires 2 arguments, but only 1 given 862 | (subarray = zend_hash_get_current_data(Z_ARRVAL_P(zdesc))) != NULL; | ^ In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:204: note: macro "zend_hash_get_current_data" defined here 204 | #define zend_hash_get_current_data(ht, pData) \ | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:862:15: error: 'zend_hash_get_current_data' undeclared (first use in this function); did you mean 'zend_hash_get_current_data_ex'? 862 | (subarray = zend_hash_get_current_data(Z_ARRVAL_P(zdesc))) != NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | zend_hash_get_current_data_ex /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:874:20: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 874 | hash_key_zstring = zend_string_init("events", sizeof("events") - 1, 0); | ^ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:875:55: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types] 875 | if ((tmpzval = zend_hash_find(Z_ARRVAL_P(subarray), hash_key_zstring)) == NULL || Z_TYPE_P(tmpzval) != IS_LONG) { | ^~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:163:62: note: expected 'const char *' but argument is of type 'int *' 163 | ZEND_API int zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData); | ~~~~~~~~~~~~^~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:875:18: error: too few arguments to function 'zend_hash_find' 875 | if ((tmpzval = zend_hash_find(Z_ARRVAL_P(subarray), hash_key_zstring)) == NULL || Z_TYPE_P(tmpzval) != IS_LONG) { | ^~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:163:14: note: declared here 163 | ZEND_API int zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData); | ^~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:884:20: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 884 | hash_key_zstring = zend_string_init("resource", sizeof("resource") - 1, 0); | ^ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:885:55: warning: passing argument 2 of 'zend_hash_find' from incompatible pointer type [-Wincompatible-pointer-types] 885 | if ((tmpzval = zend_hash_find(Z_ARRVAL_P(subarray), hash_key_zstring)) == NULL || Z_TYPE_P(tmpzval) != IS_RESOURCE) { | ^~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:163:62: note: expected 'const char *' but argument is of type 'int *' 163 | ZEND_API int zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData); | ~~~~~~~~~~~~^~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:885:18: error: too few arguments to function 'zend_hash_find' 885 | if ((tmpzval = zend_hash_find(Z_ARRVAL_P(subarray), hash_key_zstring)) == NULL || Z_TYPE_P(tmpzval) != IS_RESOURCE) { | ^~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:163:14: note: declared here 163 | ZEND_API int zend_hash_find(const HashTable *ht, const char *arKey, uint nKeyLength, void **pData); | ^~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:893:30: error: invalid type argument of '->' (have 'int') 893 | res_type = Z_RES_P(tmpzval)->type; | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:894:9: warning: implicit declaration of function 'zend_fetch_resource_ex'; did you mean 'zend_fetch_resource'? [-Wimplicit-function-declaration] 894 | res = zend_fetch_resource_ex(tmpzval, "Poll Resource", res_type); | ^~~~~~~~~~~~~~~~~~~~~~ | zend_fetch_resource /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:894:7: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 894 | res = zend_fetch_resource_ex(tmpzval, "Poll Resource", res_type); | ^ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:932:20: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 932 | hash_key_zstring = zend_string_init("revents", sizeof("revents") - 1, 0); | ^ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:933:55: error: macro "zend_hash_del" requires 3 arguments, but only 2 given 933 | zend_hash_del(Z_ARRVAL_P(subarray), hash_key_zstring); | ^ In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:153: note: macro "zend_hash_del" defined here 153 | #define zend_hash_del(ht, arKey, nKeyLength) \ | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:933:3: error: 'zend_hash_del' undeclared (first use in this function); did you mean 'zend_hash_key'? 933 | zend_hash_del(Z_ARRVAL_P(subarray), hash_key_zstring); | ^~~~~~~~~~~~~ | zend_hash_key In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'zif_ssh2_publickey_init': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:55: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:963:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 963 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:74: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:963:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 963 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:101: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:963:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 963 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:105:35: error: too few arguments to function 'zend_fetch_resource' 105 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:963:2: note: in expansion of macro 'SSH2_FETCH_AUTHENTICATED_SESSION' 963 | SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:978:42: error: invalid type argument of '->' (have 'int') 978 | data->session_rsrcid = Z_RES_P(zsession)->handle; | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:983:36: warning: passing argument 1 of 'zend_register_resource' from incompatible pointer type [-Wincompatible-pointer-types] 983 | RETURN_RES(zend_register_resource(data, le_ssh2_pkey_subsys)); | ^~~~ | | | php_ssh2_pkey_subsys_data * {aka struct _php_ssh2_pkey_subsys_data *} In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:82:43: note: expected 'zval *' {aka 'struct _zval_struct *'} but argument is of type 'php_ssh2_pkey_subsys_data *' {aka 'struct _php_ssh2_pkey_subsys_data *'} 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ~~~~~~^~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:983:42: warning: passing argument 2 of 'zend_register_resource' makes pointer from integer without a cast [-Wint-conversion] 983 | RETURN_RES(zend_register_resource(data, le_ssh2_pkey_subsys)); | ^~~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:82:62: note: expected 'void *' but argument is of type 'int' 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ~~~~~~^~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:983:13: error: too few arguments to function 'zend_register_resource' 983 | RETURN_RES(zend_register_resource(data, le_ssh2_pkey_subsys)); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:82:14: note: declared here 82 | ZEND_API int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type TSRMLS_DC); | ^~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'zif_ssh2_publickey_add': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1003:63: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 1003 | if ((data = (php_ssh2_pkey_subsys_data *)zend_fetch_resource(Z_RES_P(zpkey_data), PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subsys)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:49:39: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 49 | #define PHP_SSH2_PKEY_SUBSYS_RES_NAME "SSH2 Publickey Subsystem" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1003:84: note: in expansion of macro 'PHP_SSH2_PKEY_SUBSYS_RES_NAME' 1003 | if ((data = (php_ssh2_pkey_subsys_data *)zend_fetch_resource(Z_RES_P(zpkey_data), PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subsys)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1003:115: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 1003 | if ((data = (php_ssh2_pkey_subsys_data *)zend_fetch_resource(Z_RES_P(zpkey_data), PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subsys)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1003:43: error: too few arguments to function 'zend_fetch_resource' 1003 | if ((data = (php_ssh2_pkey_subsys_data *)zend_fetch_resource(Z_RES_P(zpkey_data), PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subsys)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1016:66: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [-Wincompatible-pointer-types] 1016 | (attr_val = zend_hash_get_current_data_ex(Z_ARRVAL_P(zattrs), &pos)) != NULL; | ^~~~ | | | Bucket ** {aka struct bucket **} In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:181:66: note: expected 'void **' but argument is of type 'Bucket **' {aka 'struct bucket **'} 181 | ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); | ~~~~~~~^~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1016:16: error: too few arguments to function 'zend_hash_get_current_data_ex' 1016 | (attr_val = zend_hash_get_current_data_ex(Z_ARRVAL_P(zattrs), &pos)) != NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:181:14: note: declared here 181 | ZEND_API int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1018:4: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 1018 | zend_string *key; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1023:60: warning: passing argument 2 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types] 1023 | type = zend_hash_get_current_key_ex(Z_ARRVAL_P(zattrs), &key, &idx, &pos); | ^~~~ | | | int ** In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:179:71: note: expected 'char **' but argument is of type 'int **' 179 | ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | ~~~~~~~^~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1023:66: warning: passing argument 3 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types] 1023 | type = zend_hash_get_current_key_ex(Z_ARRVAL_P(zattrs), &key, &idx, &pos); | ^~~~ | | | zend_ulong * {aka long unsigned int *} In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:179:88: note: expected 'uint *' {aka 'unsigned int *'} but argument is of type 'zend_ulong *' {aka 'long unsigned int *'} 179 | ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | ~~~~~~^~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1023:72: warning: passing argument 4 of 'zend_hash_get_current_key_ex' from incompatible pointer type [-Wincompatible-pointer-types] 1023 | type = zend_hash_get_current_key_ex(Z_ARRVAL_P(zattrs), &key, &idx, &pos); | ^~~~ | | | Bucket ** {aka struct bucket **} In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:179:107: note: expected 'ulong *' {aka 'long unsigned int *'} but argument is of type 'Bucket **' {aka 'struct bucket **'} 179 | ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | ~~~~~~~^~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1023:11: error: too few arguments to function 'zend_hash_get_current_key_ex' 1023 | type = zend_hash_get_current_key_ex(Z_ARRVAL_P(zattrs), &key, &idx, &pos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:179:14: note: declared here 179 | ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1024:16: error: 'HASH_KEY_NON_EXISTENT' undeclared (first use in this function); did you mean 'HASH_KEY_NON_EXISTANT'? 1024 | if (type == HASH_KEY_NON_EXISTENT) { | ^~~~~~~~~~~~~~~~~~~~~ | HASH_KEY_NON_EXISTANT /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1035:20: error: request for member 'len' in something not a structure or union 1035 | if (!key || (key->len == 1 && key->val[0] == '*')) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1035:37: error: request for member 'val' in something not a structure or union 1035 | if (!key || (key->len == 1 && key->val[0] == '*')) { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1048:11: error: request for member 'val' in something not a structure or union 1048 | if (key->val[0] == '*') { | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1050:35: error: request for member 'val' in something not a structure or union 1050 | attrs[current_attr].name = key->val + 1; | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1051:39: error: request for member 'len' in something not a structure or union 1051 | attrs[current_attr].name_len = key->len - 2; | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1054:35: error: request for member 'val' in something not a structure or union 1054 | attrs[current_attr].name = key->val; | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1055:39: error: request for member 'len' in something not a structure or union 1055 | attrs[current_attr].name_len = key->len - 1; | ^~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'zif_ssh2_publickey_remove': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1098:63: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 1098 | if ((data = (php_ssh2_pkey_subsys_data *)zend_fetch_resource(Z_RES_P(zpkey_data), PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subsys)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:49:39: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 49 | #define PHP_SSH2_PKEY_SUBSYS_RES_NAME "SSH2 Publickey Subsystem" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1098:84: note: in expansion of macro 'PHP_SSH2_PKEY_SUBSYS_RES_NAME' 1098 | if ((data = (php_ssh2_pkey_subsys_data *)zend_fetch_resource(Z_RES_P(zpkey_data), PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subsys)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1098:115: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 1098 | if ((data = (php_ssh2_pkey_subsys_data *)zend_fetch_resource(Z_RES_P(zpkey_data), PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subsys)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1098:43: error: too few arguments to function 'zend_fetch_resource' 1098 | if ((data = (php_ssh2_pkey_subsys_data *)zend_fetch_resource(Z_RES_P(zpkey_data), PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subsys)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'zif_ssh2_publickey_list': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1119:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'? 1119 | zend_string *hash_key_zstring; | ^~~~~~~~~~~ | zend_stream /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1125:63: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 1125 | if ((data = (php_ssh2_pkey_subsys_data *)zend_fetch_resource(Z_RES_P(zpkey_data), PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subsys)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:49:39: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 49 | #define PHP_SSH2_PKEY_SUBSYS_RES_NAME "SSH2 Publickey Subsystem" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1125:84: note: in expansion of macro 'PHP_SSH2_PKEY_SUBSYS_RES_NAME' 1125 | if ((data = (php_ssh2_pkey_subsys_data *)zend_fetch_resource(Z_RES_P(zpkey_data), PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subsys)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1125:115: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 1125 | if ((data = (php_ssh2_pkey_subsys_data *)zend_fetch_resource(Z_RES_P(zpkey_data), PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subsys)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1125:43: error: too few arguments to function 'zend_fetch_resource' 1125 | if ((data = (php_ssh2_pkey_subsys_data *)zend_fetch_resource(Z_RES_P(zpkey_data), PHP_SSH2_PKEY_SUBSYS_RES_NAME, le_ssh2_pkey_subsys)) == NULL) { | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1141:74: error: macro "add_assoc_stringl" requires 5 arguments, but only 4 given 1141 | add_assoc_stringl(&key, "name", (char *) keys[i].name, keys[i].name_len); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:389: note: macro "add_assoc_stringl" defined here 389 | #define add_assoc_stringl(__arg, __key, __str, __length, __duplicate) add_assoc_stringl_ex(__arg, __key, strlen(__key)+1, __str, __length, __duplicate) | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1141:3: error: 'add_assoc_stringl' undeclared (first use in this function); did you mean 'add_assoc_stringl_ex'? 1141 | add_assoc_stringl(&key, "name", (char *) keys[i].name, keys[i].name_len); | ^~~~~~~~~~~~~~~~~ | add_assoc_stringl_ex /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1142:74: error: macro "add_assoc_stringl" requires 5 arguments, but only 4 given 1142 | add_assoc_stringl(&key, "blob", (char *) keys[i].blob, keys[i].blob_len); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:389: note: macro "add_assoc_stringl" defined here 389 | #define add_assoc_stringl(__arg, __key, __str, __length, __duplicate) add_assoc_stringl_ex(__arg, __key, strlen(__key)+1, __str, __length, __duplicate) | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1148:74: error: macro "ZVAL_STRINGL" requires 4 arguments, but only 3 given 1148 | ZVAL_STRINGL(&attr, keys[i].attrs[j].value, keys[i].attrs[j].value_len); | ^ In file included from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_API.h:578: note: macro "ZVAL_STRINGL" defined here 578 | #define ZVAL_STRINGL(z, s, l, duplicate) do { \ | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1148:4: error: 'ZVAL_STRINGL' undeclared (first use in this function) 1148 | ZVAL_STRINGL(&attr, keys[i].attrs[j].value, keys[i].attrs[j].value_len); | ^~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1149:21: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1149 | hash_key_zstring = zend_string_init(keys[i].attrs[j].name, keys[i].attrs[j].name_len, 0); | ^ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1150:61: error: macro "zend_hash_add" requires 6 arguments, but only 3 given 1150 | zend_hash_add(Z_ARRVAL_P(&attrs), hash_key_zstring, &attr); | ^ In file included from /usr/include/php/Zend/zend.h:271, from /usr/include/php/main/php.h:34, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_hash.h:110: note: macro "zend_hash_add" defined here 110 | #define zend_hash_add(ht, arKey, nKeyLength, pData, nDataSize, pDest) \ | /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1150:4: error: 'zend_hash_add' undeclared (first use in this function); did you mean 'zend_hash_find'? 1150 | zend_hash_add(Z_ARRVAL_P(&attrs), hash_key_zstring, &attr); | ^~~~~~~~~~~~~ | zend_hash_find In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'zif_ssh2_auth_agent': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:55: warning: passing argument 1 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 96 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1181:2: note: in expansion of macro 'SSH2_FETCH_NONAUTHENTICATED_SESSION' 1181 | SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:45:36: warning: passing argument 2 of 'zend_fetch_resource' makes integer from pointer without a cast [-Wint-conversion] 45 | #define PHP_SSH2_SESSION_RES_NAME "SSH2 Session" | ^~~~~~~~~~~~~~ | | | char * /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:74: note: in expansion of macro 'PHP_SSH2_SESSION_RES_NAME' 96 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1181:2: note: in expansion of macro 'SSH2_FETCH_NONAUTHENTICATED_SESSION' 1181 | SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'int' but argument is of type 'char *' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:101: warning: passing argument 3 of 'zend_fetch_resource' makes pointer from integer without a cast [-Wint-conversion] 96 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~ | | | int /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1181:2: note: in expansion of macro 'SSH2_FETCH_NONAUTHENTICATED_SESSION' 1181 | SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: expected 'const char *' but argument is of type 'int' 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:28: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/php_ssh2.h:96:35: error: too few arguments to function 'zend_fetch_resource' 96 | if ((session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zsession), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session)) == NULL) { \ | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1181:2: note: in expansion of macro 'SSH2_FETCH_NONAUTHENTICATED_SESSION' 1181 | SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/php/Zend/zend_API.h:27, from /usr/include/php/main/php.h:38, from /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:25: /usr/include/php/Zend/zend_list.h:83:16: note: declared here 83 | ZEND_API void *zend_fetch_resource(zval **passed_id TSRMLS_DC, int default_id, const char *resource_type_name, int *found_resource_type, int num_resource_types, ...); | ^~~~~~~~~~~~~~~~~~~ /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: At top level: /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1247:35: error: unknown type name 'zend_resource'; did you mean 'term_source'? 1247 | static void php_ssh2_session_dtor(zend_resource *rsrc) | ^~~~~~~~~~~~~ | term_source /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1277:36: error: unknown type name 'zend_resource'; did you mean 'term_source'? 1277 | static void php_ssh2_listener_dtor(zend_resource *rsrc) | ^~~~~~~~~~~~~ | term_source /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1288:39: error: unknown type name 'zend_resource'; did you mean 'term_source'? 1288 | static void php_ssh2_pkey_subsys_dtor(zend_resource *rsrc) | ^~~~~~~~~~~~~ | term_source /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c: In function 'zm_startup_ssh2': /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1303:55: error: 'php_ssh2_session_dtor' undeclared (first use in this function); did you mean 'php_ssh2_session_data'? 1303 | le_ssh2_session = zend_register_list_destructors_ex(php_ssh2_session_dtor, NULL, PHP_SSH2_SESSION_RES_NAME, module_number); | ^~~~~~~~~~~~~~~~~~~~~ | php_ssh2_session_data /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1304:55: error: 'php_ssh2_listener_dtor' undeclared (first use in this function); did you mean 'php_ssh2_listener_data'? 1304 | le_ssh2_listener = zend_register_list_destructors_ex(php_ssh2_listener_dtor, NULL, PHP_SSH2_LISTENER_RES_NAME, module_number); | ^~~~~~~~~~~~~~~~~~~~~~ | php_ssh2_listener_data /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1305:52: error: 'php_ssh2_sftp_dtor' undeclared (first use in this function); did you mean 'php_ssh2_sftp_data'? 1305 | le_ssh2_sftp = zend_register_list_destructors_ex(php_ssh2_sftp_dtor, NULL, PHP_SSH2_SFTP_RES_NAME, module_number); | ^~~~~~~~~~~~~~~~~~ | php_ssh2_sftp_data /tmp/B.XUXv_v/BUILD/php54-pecl-ssh2-1.1.2/ssh2.c:1306:58: error: 'php_ssh2_pkey_subsys_dtor' undeclared (first use in this function); did you mean 'php_ssh2_pkey_subsys_data'? 1306 | le_ssh2_pkey_subsys = zend_register_list_destructors_ex(php_ssh2_pkey_subsys_dtor, NULL, PHP_SSH2_PKEY_SUBSYS_RES_NAME, module_number); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | php_ssh2_pkey_subsys_data make: *** [Makefile:191: ssh2.lo] Error 1 error: Bad exit status from /tmp/B.XUXv_v/BUILD/tmp/rpm-tmp.38225 (%build) RPM build errors: Bad exit status from /tmp/B.XUXv_v/BUILD/tmp/rpm-tmp.38225 (%build) ended at: Tue Aug 13 17:19:27 2019, done in 0:00:04.473413 error: No files produced. + chmod -R u+rwX /tmp/B.XUXv_v/BUILD + rm -rf /tmp/B.XUXv_v/tmp /tmp/B.XUXv_v/BUILD + rm -rf /tmp/B.XUXv_v Begin-PLD-Builder-Info Build-Time: user:16.78s sys:2.41s real:27.49s (faults io:0 non-io:736920) End-PLD-Builder-Info
[Back to list of logs] [View rpm -qa of builder]