🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #1354

Bug#1150492: roundcube: FTBFS with PHP 8.5: TypeError in test_array_first

#1354
From: Guilhem Moulin
Date: Mon, 19 Oct 2026 15:40
47 lines
3651 bytes
--rz9+a6FwowUmb+2q
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Control: severity -1 wishlist

Hi,

On Sat, 10 Oct 2026 at 00:54:39 -0700, Viktor Pashaiev wrote:
> Under PHP 8.5, array_first(array $array) is a strictly typed native funct=
ion.
> Framework_Bootstrap::test_array_first asserted that non-array arguments
> (false, string) return null, which now throws TypeError:
> TypeError: array_first(): Argument #1 ($array) must be of type array, fal=
se given
>
> This causes the package test suite to fail under PHP 8.5.

AFAICT Roundcube 1.6.x is not officially supported with PHP 8.5, so I'm
lowering the severity accordingly.  I hope to find time to finalize
packaging 1.7.x for forky.

--=20
Guilhem.

--rz9+a6FwowUmb+2q
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEERpy6p3b9sfzUdbME05pJnDwhpVIFAmrWNzIACgkQ05pJnDwh
pVK17w//YQaBfifMIBrOvzX+0om0eZCZmdUTBUEP9kBX5g+QpekfM0nRepvzXaUm
9ZdJAaZzBieaGGOo2sjiEhxdrSDG/iTXgF4Gc4KZswSsaUTv5a2+MPoKZoAdLmIX
M0lrlMNCPCat+fjT1dLQTiS6EQDxAEwZWExnaDIuxnLOfaHjxaEbAgVl5/ovcTSx
5zRHaKedb8mnQbZnfwFL2R90m4/gPQgQlIegRxoAA4u65nNPrJu+oKqIE3Rl7fS5
qGeJgp++kTF8Kq6qEotF1TCeZKXUsCuye8CHQJc0Tau0nloXpRt8xfe2yxn4t+/q
PUPNg4qErwSyl6gMOib5vVi4mTE3QCCqc5LmRErWKIts9c99nvaeywaVk7QCxsos
Mt6fhc1ijQsNDUan6XsDUFaLdYkaJV0C0OkYJx/us3wslIRrgFnSRl0lukGau9Vg
iDXxAaBW7i3nuWM9FAEFImtwyEW9RBPE/j5K4u3SF5Hex2Mw0OJ9q2WPMHWxK39G
qL5mJoBddN59injHDx86xujA6BvuxCcTLgO6uLcbOqa7RosPBW6X3iXQs/s8HGQ1
Zfz4lpXvCcKRaoUHh388XtfWpSMWhbvQ/y3aYVQvdUv2Y6LtR/XkPhMwDnC2I1zN
bj6g9hfoiiWgvGGstCINf96dfbU1aeIae6eCSB1ncV6wb7Ywmto=
=icst
-----END PGP SIGNATURE-----

--rz9+a6FwowUmb+2q--
Technical Details
Message-ID: <NPXCV-6yKx-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <NMA9P-4Evw-3@gated-at.bofh.it> <NMA9P-4Evw-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Guilhem Moulin <guilhem@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150492: roundcube: FTBFS with PHP 8.5: TypeError in test_array_first
Date: Mon, 19 Oct 2026 17:40:01 +0200
Message-ID: <NPXCV-6yKx-9@gated-at.bofh.it>
References: <NMA9P-4Evw-3@gated-at.bofh.it> <NMA9P-4Evw-3@gated-at.bofh.it>
X-Original-To: Viktor Pashaiev <w.paszajew@gmail.com>, 1150492@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Oct 19 15:31:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Guilhem Moulin <guilhem@debian.org>, 1150492@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-roundcube-maintainers@alioth-lists.debian.net
X-Debian-Pr-Message: followup 1150492
X-Debian-Pr-Package: roundcube
X-Debian-Pr-Keywords: ftbfs patch
X-Debian-Pr-Source: roundcube
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="rz9+a6FwowUmb+2q"
Content-Disposition: inline
X-Debian-User: guilhem
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997541
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 47
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 19 Oct 2026 17:28:50 +0200
X-Original-Message-ID: <atY3MsSOPr8BkCyV@debian.org>
X-Original-References: <6ac9ef3f.7f5fc00d.19f568.d86b@mx.google.com> <6ac9ef3f.7f5fc00d.19f568.d86b@mx.google.com>