[Bug 262824] net/pecl-xmlrpc: build fail

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 26 Mar 2022 12:50:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262824

            Bug ID: 262824
           Summary: net/pecl-xmlrpc: build fail
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: rozhuk.im@gmail.com
                CC: dereks@lifeofadishwasher.com
             Flags: maintainer-feedback?(dereks@lifeofadishwasher.com)
                CC: dereks@lifeofadishwasher.com

--- xmlrpc-epi-php.lo ---
xmlrpc-epi-php.c:100:2: error: unknown type name 'XMLRPC_SERVER'
        XMLRPC_SERVER server_ptr;
        ^
xmlrpc-epi-php.c:109:2: error: unknown type name
'STRUCT_XMLRPC_REQUEST_OUTPUT_OPTIONS'
        STRUCT_XMLRPC_REQUEST_OUTPUT_OPTIONS xmlrpc_out;
        ^
xmlrpc-epi-php.c:166:1: error: unknown type name 'XMLRPC_VALUE_TYPE'
XMLRPC_VALUE_TYPE get_zval_xmlrpc_type(zval* value, zval* newvalue);
^
xmlrpc-epi-php.c:167:47: error: unknown type name 'XMLRPC_SERVER'
static void php_xmlrpc_introspection_callback(XMLRPC_SERVER server, void*
data);
                                              ^
xmlrpc-epi-php.c:168:40: error: unknown type name 'XMLRPC_VALUE_TYPE'
int sset_zval_xmlrpc_type(zval* value, XMLRPC_VALUE_TYPE type);
                                       ^
xmlrpc-epi-php.c:170:32: error: unknown type name 'XMLRPC_VALUE_TYPE'
const char* xmlrpc_type_as_str(XMLRPC_VALUE_TYPE type, XMLRPC_VECTOR_TYPE
vtype);
                               ^
xmlrpc-epi-php.c:170:56: error: unknown type name 'XMLRPC_VECTOR_TYPE'
const char* xmlrpc_type_as_str(XMLRPC_VALUE_TYPE type, XMLRPC_VECTOR_TYPE
vtype);
                                                       ^
xmlrpc-epi-php.c:171:1: error: unknown type name 'XMLRPC_VALUE_TYPE'
XMLRPC_VALUE_TYPE xmlrpc_str_as_type(const char* str);
^
xmlrpc-epi-php.c:172:1: error: unknown type name 'XMLRPC_VECTOR_TYPE'
XMLRPC_VECTOR_TYPE xmlrpc_str_as_vector_type(const char* str);
^
xmlrpc-epi-php.c:173:39: error: unknown type name 'XMLRPC_VALUE_TYPE'
int set_zval_xmlrpc_type(zval* value, XMLRPC_VALUE_TYPE type);
                                      ^
xmlrpc-epi-php.c:207:2: warning: implicit declaration of function
'XMLRPC_ServerDestroy' is invalid in C99 [-Wimplicit-function-declaration]
        XMLRPC_ServerDestroy(server->server_ptr);
        ^
xmlrpc-epi-php.c:254:54: warning: implicit declaration of function
'XMLRPC_GetVersionString' is invalid in C99 [-Wimplicit-function-declaration]
        php_info_print_table_row(2, "core library version",
XMLRPC_GetVersionString());
                                                            ^
xmlrpc-epi-php.c:320:33: error: use of undeclared identifier
'xmlrpc_version_1_0'; did you mean 'xmlrpc_version'?
                options->xmlrpc_out.version = xmlrpc_version_1_0;
                                              ^~~~~~~~~~~~~~~~~~
                                              xmlrpc_version
/usr/local/include/xmlrpc-c/base.h:62:1: note: 'xmlrpc_version' declared here
xmlrpc_version(unsigned int * const majorP,
^
xmlrpc-epi-php.c:322:49: error: use of undeclared identifier 'xml_elem_pretty'
                options->xmlrpc_out.xml_elem_opts.verbosity = xml_elem_pretty;
                                                              ^
xmlrpc-epi-php.c:323:48: error: use of undeclared identifier
'xml_elem_markup_escaping'
                options->xmlrpc_out.xml_elem_opts.escaping =
xml_elem_markup_escaping | xml_elem_non_ascii_escaping |
xml_elem_non_print_escaping;
                                                             ^
xmlrpc-epi-php.c:323:75: error: use of undeclared identifier
'xml_elem_non_ascii_escaping'
                options->xmlrpc_out.xml_elem_opts.escaping =
xml_elem_markup_escaping | xml_elem_non_ascii_escaping |
xml_elem_non_print_escaping;
                                                                               
        ^
xmlrpc-epi-php.c:323:105: error: use of undeclared identifier
'xml_elem_non_print_escaping'
                options->xmlrpc_out.xml_elem_opts.escaping =
xml_elem_markup_escaping | xml_elem_non_ascii_escaping |
xml_elem_non_print_escaping;
                                                                               
                                      ^
xmlrpc-epi-php.c:343:53: error: use of undeclared identifier
'xml_elem_no_white_space'
                                               
options->xmlrpc_out.xml_elem_opts.verbosity = xml_elem_no_white_space;
                                                                               
              ^
xmlrpc-epi-php.c:345:53: error: use of undeclared identifier
'xml_elem_newlines_only'
                                               
options->xmlrpc_out.xml_elem_opts.verbosity = xml_elem_newlines_only;
                                                                               
              ^
xmlrpc-epi-php.c:347:53: error: use of undeclared identifier 'xml_elem_pretty'
                                               
options->xmlrpc_out.xml_elem_opts.verbosity = xml_elem_pretty;
                                                                               
              ^
xmlrpc-epi-php.c:357:37: error: use of undeclared identifier
'xmlrpc_version_1_0'; did you mean 'xmlrpc_version'?
                                                options->xmlrpc_out.version =
xmlrpc_version_1_0;
                                                                             
^~~~~~~~~~~~~~~~~~
                                                                             
xmlrpc_version
/usr/local/include/xmlrpc-c/base.h:62:1: note: 'xmlrpc_version' declared here
xmlrpc_version(unsigned int * const majorP,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
*** [xmlrpc-epi-php.lo] Error code 1

make[1]: stopped in
/tmp/ports/usr/ports/net/pecl-xmlrpc/work-php80/xmlrpc-1.0.0RC3
1 error

-- 
You are receiving this mail because:
You are the assignee for the bug.