| Summary: | converters/php56-mbstring does not compile against oniguruma-6.8.1 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Sigi <freebsd-bt> |
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> |
| Status: | Closed DUPLICATE | ||
| Severity: | Affects Some People | Flags: | bugzilla:
maintainer-feedback?
(ale) |
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
*** This bug has been marked as a duplicate of bug 226717 *** |
Does not compile. --- mbstring.lo --- /usr/ports/converters/php56-mbstring/work/php-5.6.34/ext/mbstring/mbstring.c:724:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] --- php_mbregex.lo --- /usr/ports/converters/php56-mbstring/work/php-5.6.34/ext/mbstring/php_mbregex.c:457:31: error: incomplete definition of type 'struct php_mb_re_pattern_buffer' if (found == FAILURE || (*rc)->options != options || (*rc)->enc != enc || (*rc)->syntax != syntax) { ~~~~~^ /usr/local/include/oniguruma.h:673:8: note: forward declaration of 'struct php_mb_re_pattern_buffer' struct re_pattern_buffer; ^ ./php_onig_compat.h:4:37: note: expanded from macro 're_pattern_buffer' #define re_pattern_buffer php_mb_re_pattern_buffer ^ /usr/ports/converters/php56-mbstring/work/php-5.6.34/ext/mbstring/php_mbregex.c:457:60: error: incomplete definition of type 'struct php_mb_re_pattern_buffer' if (found == FAILURE || (*rc)->options != options || (*rc)->enc != enc || (*rc)->syntax != syntax) { ~~~~~^ /usr/local/include/oniguruma.h:673:8: note: forward declaration of 'struct php_mb_re_pattern_buffer' struct re_pattern_buffer; ^ ./php_onig_compat.h:4:37: note: expanded from macro 're_pattern_buffer' #define re_pattern_buffer php_mb_re_pattern_buffer ^ /usr/ports/converters/php56-mbstring/work/php-5.6.34/ext/mbstring/php_mbregex.c:457:81: error: incomplete definition of type 'struct php_mb_re_pattern_buffer' if (found == FAILURE || (*rc)->options != options || (*rc)->enc != enc || (*rc)->syntax != syntax) { ~~~~~^ /usr/local/include/oniguruma.h:673:8: note: forward declaration of 'struct php_mb_re_pattern_buffer' struct re_pattern_buffer; ^ ./php_onig_compat.h:4:37: note: expanded from macro 're_pattern_buffer' #define re_pattern_buffer php_mb_re_pattern_buffer ^ 3 errors generated. *** [php_mbregex.lo] Error code 1 make[2]: stopped in /usr/ports/converters/php56-mbstring/work/php-5.6.34/ext/mbstring --- mbstring.lo --- while ((p2 = php_memnstr(p1, ",", 1, endp)) != NULL) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/ports/converters/php56-mbstring/work/php-5.6.34/ext/mbstring/mbstring.c:737:12: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] p2 = p = php_memnstr(p1, ",", 1, endp); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. 1 error make[2]: stopped in /usr/ports/converters/php56-mbstring/work/php-5.6.34/ext/mbstring ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/converters/php56-mbstring *** Error code 1