Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2018 21:42:41 +1100
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>, Carmel NY <carmel_ny@outlook.com>
Cc:        "tz@FreeBSD.org" <tz@FreeBSD.org>, Guido Falsi <madpilot@freebsd.org>
Subject:   Re: "converters/php72-mbstring" build failure
Message-ID:  <b87c08c6-1602-aa39-adfc-18cf1ff7e478@FreeBSD.org>
In-Reply-To: <9d83ad6c-c522-53b7-4ee8-e45aabd75d53@FreeBSD.org>
References:  <BN6PR2001MB17308039A7DF2965A25D3D2380D40@BN6PR2001MB1730.namprd20.prod.outlook.com> <9d83ad6c-c522-53b7-4ee8-e45aabd75d53@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 19/03/2018 9:33 pm, Kubilay Kocak wrote:
> On 19/03/2018 9:22 pm, Carmel NY wrote:
>> FreeBSD-11.1-RELEASE-p8
>>
>> I am attempting to update the "converters/php72-mbstring" port. The older
>> version build fine. The newest version fails with this error message:
>>
>> /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
>>                                     ^
>> /construction/xports/converters/php72-mbstring/work/php-7.2.3/ext/mbstring/php_mbregex.c:452:41:
>> error: incomplete definition of type 'struct php_mb_re_pattern_buffer' if (!rc
>> || 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
>>                                     ^
>> /construction/xports/converters/php72-mbstring/work/php-7.2.3/ext/mbstring/php_mbregex.c:452:59:
>> error: incomplete definition of type 'struct php_mb_re_pattern_buffer' if (!rc
>> || 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[1]: stopped
>> in /construction/xports/converters/php72-mbstring/work/php-7.2.3/ext/mbstring
>> 1 error
>>
>> make[1]: stopped
>> in /construction/xports/converters/php72-mbstring/work/php-7.2.3/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: stopped in /xports/converters/php72-mbstring
>>
>>
>> The complete build log file is available here:
>> https://www.seibercom.net/converters___php72-mbstring.log
>>
>> I routinely use "synth" to build my ports, if it makes any difference.
>>
> 
> Hi Carmel,
> 
> The issue was picked up in this thread:
> https://lists.freebsd.org/pipermail/svn-ports-all/2018-March/177869.html
> 
> 

Also now here (with patch):

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b87c08c6-1602-aa39-adfc-18cf1ff7e478>