Bug 226728 - converters/php56-mbstring does not compile against oniguruma-6.8.1
Summary: converters/php56-mbstring does not compile against oniguruma-6.8.1
Status: Closed DUPLICATE of bug 226717
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-19 12:54 UTC by Sigi
Modified: 2018-03-19 12:56 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (ale)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sigi 2018-03-19 12:54:05 UTC
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
Comment 1 Sigi 2018-03-19 12:56:49 UTC

*** This bug has been marked as a duplicate of bug 226717 ***