Date: Mon, 19 Mar 2018 10:16:50 +0100 From: Guido Falsi <madpilot@FreeBSD.org> To: Yuri Victorovich <yuri@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r464983 - in head: devel/libslang2 devel/oniguruma lang/mosh lang/php56 lang/php70 lang/php71 lang/php72 mail/sylpheed textproc/jq www/libevhtp Message-ID: <9c01b556-d371-a006-ecec-6c0a16bb7598@FreeBSD.org> In-Reply-To: <201803190603.w2J63GtZ075879@repo.freebsd.org> References: <201803190603.w2J63GtZ075879@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/19/18 07:03, Yuri Victorovich wrote: > Author: yuri > Date: Mon Mar 19 06:03:16 2018 > New Revision: 464983 > URL: https://svnweb.freebsd.org/changeset/ports/464983 > > Log: > devel/oniguruma: Update to 6.8.1 > > Only changed the shared object version (forgotten on the previous release). > After this commit I'm unable to compile php72-mbstring with the following errors(I'm using poudriere): --- php_mbregex.lo --- cc -I. -I/wrkdirs/usr/ports/converters/php72-mbstring/work/php-7.2.3/ext/mbstring -DPHP_ATOM_INC -I/wrkdirs/usr/ports/converters/php72-mbstring/work/php-7.2.3/ext/mbstring/include -I/wrkdirs/usr/ports/converters/php72-mbstring/work/php-7.2.3/ext/mbstring/main -I/wrkdirs/usr/ports/converters/php72-mbstring/work/php-7.2.3/ext/mbstring -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -I/wrkdirs/usr/ports/converters/php72-mbstring/work/php-7.2.3/ext/mbstring/libmbfl -I/wrkdirs/usr/ports/converters/php72-mbstring/work/php-7.2.3/ext/mbstring/libmbfl/mbfl -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -I/wrkdirs/usr/ports/converters/php72-mbstring/work/php-7.2.3/ext/mbstring/libmbfl -I/wrkdirs/usr/ports/converters/php72-mbstring/work/php-7.2.3/ext/mbstring/libmbfl/mbfl -DHAVE_CONFIG_H -O2 -pipe -fstack-protector -fno-strict-aliasing -c /wrkdirs/usr/ports/converters/php72-mbstring/work/php-7.2.3/ext/mbstring/php_mbregex.c -fPIC -DPIC -o .libs/php_mbregex.o /wrkdirs/usr/ports/converters/php72-mbstring/work/php-7.2.3/ext/mbstring/php_mbregex.c:452:15: 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 ^ /wrkdirs/usr/ports/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 ^ /wrkdirs/usr/ports/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 /wrkdirs/usr/ports/converters/php72-mbstring/work/php-7.2.3/ext/mbstring 1 error make[1]: stopped in /wrkdirs/usr/ports/converters/php72-mbstring/work/php-7.2.3/ext/mbstring ===> Compilation failed unexpectedly. I'm trying to understand the cause and a possible fix. Looks like something actually changed in oniguruma which causes the breakage. -- Guido Falsi <madpilot@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9c01b556-d371-a006-ecec-6c0a16bb7598>