[Bug 226728] converters/php56-mbstring does not compile against oniguruma-6.8.1

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 19 12:54:07 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226728

            Bug ID: 226728
           Summary: converters/php56-mbstring does not compile against
                    oniguruma-6.8.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale at FreeBSD.org
          Reporter: freebsd-bt at beatsnet.com
             Flags: maintainer-feedback?(ale at FreeBSD.org)
          Assignee: ale at FreeBSD.org

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

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


More information about the freebsd-ports-bugs mailing list