Changes between Initial Version and Version 1 of Ticket #66824


Ignore:
Timestamp:
Feb 4, 2023, 2:46:12 AM (15 months ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

I'll have to investigate. The error in the log is:

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php70-mbstring/work/php-7.0.33/ext/mbstring/php_mbregex.c:455:15: error: incomplete definition of type 'struct php_mb_re_pattern_buffer'
        if (!rc || rc->options != options || rc->enc != enc || rc->syntax != syntax) {
                   ~~^
/opt/local/include/oniguruma.h:707: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
                                    ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php70-mbstring/work/php-7.0.33/ext/mbstring/php_mbregex.c:455:41: error: incomplete definition of type 'struct php_mb_re_pattern_buffer'
        if (!rc || rc->options != options || rc->enc != enc || rc->syntax != syntax) {
                                             ~~^
/opt/local/include/oniguruma.h:707: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
                                    ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php70-mbstring/work/php-7.0.33/ext/mbstring/php_mbregex.c:455:59: error: incomplete definition of type 'struct php_mb_re_pattern_buffer'
        if (!rc || rc->options != options || rc->enc != enc || rc->syntax != syntax) {
                                                               ~~^
/opt/local/include/oniguruma.h:707: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.
make: *** [php_mbregex.lo] Error 1

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #66824

    • Property Owner set to ryandesign
    • Property Status changed from new to assigned
    • Property Summary changed from php70-mbstring building error to php70-mbstring @7.0.33: error: incomplete definition of type 'struct php_mb_re_pattern_buffer'
    • Property Port php added; php70-mbstring removed
  • Ticket #66824 – Description

    initial v1  
    11I'm trying to install the port on my MacBook Air (M1) and getting the error. Here is the log from my terminal:
    22
     3{{{
    34# sudo port install php70-mbstring     
    45--->  Computing dependencies for php70-mbstring
     
    1213Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
    1314Error: Processing of port php70-mbstring failed
     15}}}
    1416
    1517I'm attaching the main.log file (compressed with gzip).