Jens-G edited a comment on pull request #2288:
URL: https://github.com/apache/thrift/pull/2288#issuecomment-738343130


   ```
   make[3]: Leaving directory '/thrift/src/lib/php/test'
   make[3]: Entering directory '/thrift/src/lib/php'
   cd src/ext/thrift_protocol/ && make
   make[4]: Entering directory '/thrift/src/lib/php/src/ext/thrift_protocol'
   /bin/bash /thrift/src/lib/php/src/ext/thrift_protocol/libtool --mode=compile 
g++  -I. -I/thrift/src/lib/php/src/ext/thrift_protocol -DPHP_ATOM_INC 
-I/thrift/src/lib/php/src/ext/thrift_protocol/include 
-I/thrift/src/lib/php/src/ext/thrift_protocol/main 
-I/thrift/src/lib/php/src/ext/thrift_protocol -I/usr/include/php/20151012 
-I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM 
-I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext 
-I/usr/include/php/20151012/ext/date/lib  -DHAVE_CONFIG_H  -g -O2 -std=c++11   
-c /thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp -o 
php_thrift_protocol.lo 
   libtool: compile:  g++ -I. -I/thrift/src/lib/php/src/ext/thrift_protocol 
-DPHP_ATOM_INC -I/thrift/src/lib/php/src/ext/thrift_protocol/include 
-I/thrift/src/lib/php/src/ext/thrift_protocol/main 
-I/thrift/src/lib/php/src/ext/thrift_protocol -I/usr/include/php/20151012 
-I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM 
-I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext 
-I/usr/include/php/20151012/ext/date/lib -DHAVE_CONFIG_H -g -O2 -std=c++11 -c 
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp  -fPIC 
-DPIC -o .libs/php_thrift_protocol.o
   In file included from 
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp:27:0:
   
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol_arginfo.h:4:95: 
error: macro "ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX" requires 6 arguments, 
but only 5 given
    ITH_RETURN_TYPE_INFO_EX(arginfo_thrift_protocol_write_binary, 0, 6, 
IS_VOID, 0)
                                                                                
  ^
   
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol_arginfo.h:13:96:
 error: macro "ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX" requires 6 arguments, 
but only 5 given
    TH_RETURN_TYPE_INFO_EX(arginfo_thrift_protocol_read_binary, 0, 4, 
IS_OBJECT, 0)
                                                                                
  ^
   
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol_arginfo.h:4:1: 
error: 'ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX' does not name a type
    
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_thrift_protocol_write_binary, 0
    ^
   In file included from /usr/include/php/20151012/main/php.h:40:0,
                    from 
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol.cpp:23:
   /usr/include/php/20151012/Zend/zend_API.h:107:124: error: expected 
unqualified-id before ',' token
     type_hint, allow_null) { #name, NULL, type_hint, pass_by_ref, allow_null, 
0 },
                                                                                
  ^
   
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol_arginfo.h:5:2: 
note: in expansion of macro 'ZEND_ARG_TYPE_INFO'
     ZEND_ARG_TYPE_INFO(0, protocol, IS_OBJECT, 0)
     ^
   /usr/include/php/20151012/Zend/zend_API.h:107:70: error: expected 
unqualified-id before '{' token
    define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null) { 
#name, NU
                                                                        ^
   
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol_arginfo.h:6:2: 
note: in expansion of macro 'ZEND_ARG_TYPE_INFO'
     ZEND_ARG_TYPE_INFO(0, method_name, IS_STRING, 0)
     ^
   /usr/include/php/20151012/Zend/zend_API.h:107:124: error: expected 
unqualified-id before ',' token
     type_hint, allow_null) { #name, NULL, type_hint, pass_by_ref, allow_null, 
0 },
                                                                                
  ^
   
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol_arginfo.h:6:2: 
note: in expansion of macro 'ZEND_ARG_TYPE_INFO'
     ZEND_ARG_TYPE_INFO(0, method_name, IS_STRING, 0)
     ^
   /usr/include/php/20151012/Zend/zend_API.h:107:70: error: expected 
unqualified-id before '{' token
    define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null) { 
#name, NU
                                                                        ^
   
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol_arginfo.h:7:2: 
note: in expansion of macro 'ZEND_ARG_TYPE_INFO'
     ZEND_ARG_TYPE_INFO(0, msgtype, IS_LONG, 0)
     ^
   /usr/include/php/20151012/Zend/zend_API.h:107:124: error: expected 
unqualified-id before ',' token
     type_hint, allow_null) { #name, NULL, type_hint, pass_by_ref, allow_null, 
0 },
                                                                                
  ^
   
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol_arginfo.h:7:2: 
note: in expansion of macro 'ZEND_ARG_TYPE_INFO'
     ZEND_ARG_TYPE_INFO(0, msgtype, IS_LONG, 0)
     ^
   /usr/include/php/20151012/Zend/zend_API.h:107:70: error: expected 
unqualified-id before '{' token
    define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null) { 
#name, NU
                                                                        ^
   
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol_arginfo.h:8:2: 
note: in expansion of macro 'ZEND_ARG_TYPE_INFO'
     ZEND_ARG_TYPE_INFO(0, request_struct, IS_OBJECT, 0)
     ^
   /usr/include/php/20151012/Zend/zend_API.h:107:124: error: expected 
unqualified-id before ',' token
     type_hint, allow_null) { #name, NULL, type_hint, pass_by_ref, allow_null, 
0 },
                                                                                
  ^
   
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol_arginfo.h:8:2: 
note: in expansion of macro 'ZEND_ARG_TYPE_INFO'
     ZEND_ARG_TYPE_INFO(0, request_struct, IS_OBJECT, 0)
     ^
   /usr/include/php/20151012/Zend/zend_API.h:107:70: error: expected 
unqualified-id before '{' token
    define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null) { 
#name, NU
                                                                        ^
   
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol_arginfo.h:9:2: 
note: in expansion of macro 'ZEND_ARG_TYPE_INFO'
     ZEND_ARG_TYPE_INFO(0, seqID, IS_LONG, 0)
     ^
   /usr/include/php/20151012/Zend/zend_API.h:107:124: error: expected 
unqualified-id before ',' token
     type_hint, allow_null) { #name, NULL, type_hint, pass_by_ref, allow_null, 
0 },
                                                                                
  ^
   
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol_arginfo.h:9:2: 
note: in expansion of macro 'ZEND_ARG_TYPE_INFO'
     ZEND_ARG_TYPE_INFO(0, seqID, IS_LONG, 0)
     ^
   /usr/include/php/20151012/Zend/zend_API.h:107:70: error: expected 
unqualified-id before '{' token
    define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null) { 
#name, NU
                                                                        ^
   
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol_arginfo.h:10:2: 
note: in expansion of macro 'ZEND_ARG_TYPE_INFO'
     ZEND_ARG_TYPE_INFO(0, strict_write, _IS_BOOL, 0)
     ^
   /usr/include/php/20151012/Zend/zend_API.h:107:124: error: expected 
unqualified-id before ',' token
     type_hint, allow_null) { #name, NULL, type_hint, pass_by_ref, allow_null, 
0 },
                                                                                
  ^
   
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol_arginfo.h:10:2: 
note: in expansion of macro 'ZEND_ARG_TYPE_INFO'
     ZEND_ARG_TYPE_INFO(0, strict_write, _IS_BOOL, 0)
     ^
   /usr/include/php/20151012/Zend/zend_API.h:122:30: error: expected 
unqualified-id before '}' token
    #define ZEND_END_ARG_INFO()  };
                                 ^
   
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol_arginfo.h:11:1: 
note: in expansion of macro 'ZEND_END_ARG_INFO'
    ZEND_END_ARG_INFO()
    ^
   /usr/include/php/20151012/Zend/zend_API.h:122:30: error: expected 
declaration before '}' token
    #define ZEND_END_ARG_INFO()  };
                                 ^
   
/thrift/src/lib/php/src/ext/thrift_protocol/php_thrift_protocol_arginfo.h:11:1: 
note: in expansion of macro 'ZEND_END_ARG_INFO'
    ZEND_END_ARG_INFO()
    ^
   Makefile:194: recipe for target 'php_thrift_protocol.lo' failed
   make[4]: *** [php_thrift_protocol.lo] Error 1
   make[4]: Leaving directory '/thrift/src/lib/php/src/ext/thrift_protocol'
   Makefile:1328: recipe for target 
'src/ext/thrift_protocol/modules/thrift_protocol.so' failed
   make[3]: *** [src/ext/thrift_protocol/modules/thrift_protocol.so] Error 2
   make[3]: Leaving directory '/thrift/src/lib/php'
   Makefile:1018: recipe for target 'check-recursive' failed
   make[2]: *** [check-recursive] Error 1
   make[2]: Leaving directory '/thrift/src/lib/php'
   Makefile:579: recipe for target 'check-recursive' failed
   make[1]: *** [check-recursive] Error 1
   make[1]: Leaving directory '/thrift/src/lib'
   Makefile:679: recipe for target 'check-recursive' failed
   make: *** [check-recursive] Error 1
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to