From owner-freebsd-ports@freebsd.org Tue Mar 20 10:32:52 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D8115F6610D for ; Tue, 20 Mar 2018 10:32:51 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [144.76.30.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.bsd4all.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6CBBF6BDE1 for ; Tue, 20 Mar 2018 10:32:50 +0000 (UTC) (envelope-from herbert@gojira.at) Date: Tue, 20 Mar 2018 11:32:43 +0100 From: "Herbert J. Skuhra" To: freebsd-ports@freebsd.org Subject: Re: "converters/php72-mbstring" build failure Message-ID: <20180320103243.GB1964@mail.bsd4all.net> References: <9d83ad6c-c522-53b7-4ee8-e45aabd75d53@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2018 10:32:52 -0000 On Tue, Mar 20, 2018 at 10:20:38AM +0000, Carmel NY wrote: > On Mon, 19 Mar 2018 21:42:41 +1100, Kubilay Kocak stated: > > >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 > > Has a patch been committed for this bug? Why don't you check the status of the PR? > I am getting error messages from > other programs now: > > PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring.so' (tried: /usr/local/lib/php/20170718/mbstring.so (Shared object "libonig.so.4" not found, required by "mbstring.so"), /usr/local/lib/php/20170718/mbstring.so.so (Cannot open "/usr/local/lib/php/20170718/mbstring.so.so")) in Unknown on line 0 > > I just updated my ports tree; however, it still shows "php72-mbstring-7.2.3_2" Have you tried to rebuild converters/php72-mbstring? -- Herbert