From owner-freebsd-ports@freebsd.org Sun Jan 27 13:45:51 2019 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 5F46F14AC744 for ; Sun, 27 Jan 2019 13:45:51 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [212.12.50.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gilb.zs64.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 788AB69BE3; Sun, 27 Jan 2019 13:45:50 +0000 (UTC) (envelope-from stb@lassitu.de) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 4C17D20B0C0; Sun, 27 Jan 2019 13:45:46 +0000 (UTC) From: Stefan Bethke Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: net-mgmt/icingaweb2 fails to build with PHP 7.3 Message-Id: <8D035901-29E6-45D9-B8C7-6B4E26CB96C7@lassitu.de> Date: Sun, 27 Jan 2019 14:45:45 +0100 Cc: FreeBSD Ports To: "lme@freebsd.org" X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 788AB69BE3 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of stb@lassitu.de designates 212.12.50.234 as permitted sender) smtp.mailfrom=stb@lassitu.de X-Spamd-Result: default: False [0.96 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[lassitu.de]; NEURAL_SPAM_MEDIUM(0.21)[0.206,0]; NEURAL_SPAM_SHORT(0.95)[0.949,0]; NEURAL_HAM_LONG(-0.41)[-0.406,0]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[cached: gilb.zs64.net]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[234.50.12.212.list.dnswl.org : 127.0.10.0]; IP_SCORE(0.02)[asn: 13135(0.13), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13135, ipnet:212.12.48.0/21, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2019 13:45:51 -0000 It appears that (older?) versions of icingaweb2 do not work correctly = with PHP 7.3. =46rom my poudriere build log: > =3D=3D=3D> Staging for icingaweb2-2.6.2_1 > =3D=3D=3D> Generating temporary packing list > /bin/mkdir -p = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/share/examples= /icingaweb2/bash_completion.d/ > install -m 0644 = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/icingaweb2-2.6.2/etc/bash_comp= letion.d/icingacli = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/share/examples= /icingaweb2/bash_completion.d > (cd /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/icingaweb2-2.6.2 && = /bin/rm -f -r .mailmap changelog.py icingaweb2.spec = bin/license_writer.py packages test) > (/usr/bin/find = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/icingaweb2-2.6.2 -name = "*.bak" -delete) > /bin/mkdir -p = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/www/icingaweb2= > (cd /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/icingaweb2-2.6.2 && = /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 = >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh = -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec = /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' = COPYTREE_SHARE . = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/www/icingaweb2= ) > /bin/chmod 755 = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/www/icingaweb2= /bin/icingacli > install -l rs = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/www/icingaweb2= /bin/icingacli = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/bin/icingacli > /bin/mkdir -p = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/etc/icingaweb2= > /bin/mkdir -p = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/share/examples= /icingaweb2/apache > (cd = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/www/icingaweb2= && ICINGAWEB_CONFIGDIR=3D/nonexistent ./bin/icingacli setup config = webserver apache --path=3D/icingaweb2 = --root=3D/usr/local/www/icingaweb2/public = --config=3D/usr/local/etc/icingaweb2 = --file=3D/wrkdirs/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/share= /examples/icingaweb2/apache/icingaweb2.conf) >=20 > Fatal error: Uncaught ErrorException: "continue" targeting switch is = equivalent to "break". Did you mean to use "continue 2"? in = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/www/icingaweb2= /library/Icinga/Application/Modules/Module.php:689 > Stack trace: > #0 = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/www/icingaweb2= /library/Icinga/Application/ClassLoader.php(303): = Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(2, = '"continue" targ...', '/wrkdirs/usr/po...', 689, Array) > #1 = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/www/icingaweb2= /library/Icinga/Application/ClassLoader.php(303): require() > #2 [internal function]: = Icinga\Application\ClassLoader->loadClass('Icinga\\Applicat...') > #3 = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/www/icingaweb2= /library/Icinga/Application/Modules/Manager.php(227): = spl_autoload_call('Icinga\\Applicat...') > #4 = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/www/icingaweb2= /library/Icinga/Application/Application in = /wrkdirs/usr/ports/net-mgmt/icingaweb2/work/stage/usr/local/www/icingaweb2= /library/Icinga/Application/Modules/Module.php on line 689 > *** Error code 255 >=20 > Stop. > make: stopped in /usr/ports/net-mgmt/icingaweb2 I=E2=80=99ve also found this Debian issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D914457 Are you working on a fix? Otherwise, I might give porting the Debian = change as a local patch. Stefan --=20 Stefan Bethke Fon +49 151 14070811