https://bugzilla.wikimedia.org/show_bug.cgi?id=68255

Alexandros Kosiaris <akosia...@wikimedia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |akosia...@wikimedia.org

--- Comment #6 from Alexandros Kosiaris <akosia...@wikimedia.org> ---
Having looked at this too I see that php5-parsekit may very well be non
compilable on trusty. I just tried and got pages upon pages of errors. The
first few are:

/tmp/buildd/php-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function
'php_parsekit_parse_node':
/tmp/buildd/php-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:81:66: error: 'union
<anonymous>' has no member named 'var'
   add_assoc_long(return_value, "var", node->u.var);
                                                                  ^
/tmp/buildd/php-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:82:92: error: 'union
<anonymous>' has no member named 'var'
   add_assoc_stringl(return_value, "varname", op_array->vars[node->u.var].name,
op_array->vars[node->u.var].name_len, 1);
                                                                               
            ^
/tmp/buildd/php-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:82:126: error: 'union
<anonymous>' has no member named 'var'
   add_assoc_stringl(return_value, "varname", op_array->vars[node->u.var].name,
op_array->vars[node->u.var].name_len, 1);
                                                                               
                                              ^
/tmp/buildd/php-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:88:77: error: 'union
<anonymous>' has no member named 'var'
   snprintf(sop, (sizeof(void *) * 2) + 1, "%X", (unsigned int)node->u.var); 
                                                                             ^
/tmp/buildd/php-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:92:67: error: 'union
<anonymous>' has no member named 'var'
    add_assoc_long(return_value, "var", node->u.var / sizeof(temp_variable));
                                                                   ^
/tmp/buildd/php-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:117:36: error: 'union
<anonymous>' has no member named 'var'
      ((unsigned int)((char*)node->u.var -
(char*)op_array->opcodes))/sizeof(zend_op));
                                    ^
/tmp/buildd/php-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:126:75: error: 'union
<anonymous>' has no member named 'EA'
    add_assoc_long(return_value, "EA.type", node->u.EA.type);
                                                                           ^
/tmp/buildd/php-parsekit-1.3.0/parsekit-1.3.0/parsekit.c: In function
'php_parsekit_parse_op':
/tmp/buildd/php-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:143:66: warning: cast
from pointer to integer of different size [-Wpointer-to-int-cast]
  add_assoc_long(return_value, "address", (unsigned int)(&(op->opcode)));
                                                                  ^
/tmp/buildd/php-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:152:3: warning:
passing argument 3 of 'php_parsekit_parse_node' from incompatible pointer type
[enabled by default]
   php_parsekit_parse_node(result, op_array, &(op->result), flags &
PHP_PARSEKIT_RESULT_USED, options TSRMLS_CC);
   ^
/tmp/buildd/php-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:66:13: note: expected
'struct znode *' but argument is of type 'union znode_op *'
 static void php_parsekit_parse_node(zval *return_value, zend_op_array
*op_array, znode *node, long flags, long options TSRMLS_DC)
             ^
/tmp/buildd/php-parsekit-1.3.0/parsekit-1.3.0/parsekit.c:161:3: warning:
passing argument 3 of 'php_parsekit_parse_node' from incompatible pointer type
[enabled by default]
   php_parsekit_parse_node(op1, op_array, &(op->op1), flags &
PHP_PARSEKIT_OP1_USED, options TSRMLS_CC);
   ^


Ideas ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to