Control: retitle -1 roundcube: 1.4.15+dfsg.1-1+deb11u8 break PHP<7.1 
compatibility
Control: tag -1 = pending
Control: severity -1 normal

On Mon, 06 Apr 2026 at 20:23:29 +1200, Mark Foster wrote:
> after running a routine apt-get upgrade command the following packages were 
> updated:
>
> Upgrade: libpng16-16:amd64 (1.6.37-3+deb11u2, 1.6.37-3+deb11u3), 
> roundcube-core:amd64 (1.4.15+dfsg.1-1+deb11u7, 1.4.15+dfsg.1-1+deb11u8), 
> roundcube:amd64 (1.4.15+dfsg.1-1+deb11u7, 1.4.15+dfsg.1-1+deb11u8), 
> roundcube-mysql:amd64 (1.4.15+dfsg.1-1+deb11u7, 1.4.15+dfsg.1-1+deb11u8)
>
> On completion of the update attempts to access /roundcube/ logged the 
> following in my errors file:
>
> PHP Parse error: syntax error, unexpected '[' in 
> /usr/share/roundcube/program/lib/Roundcube/rcube_utils.php on line 433,

This file is loaded at upgrade time, so the fact that the upgrade was
successful suggests that your /usr/bin/php is PHP≥7.1 (otherwise the
upgrade path would have aborted with the above syntax error too) while
the runtime uses an older version.

This is not a supported system.  Breaking compatibility with ancient PHP
versions (buster has PHP7.3, stretch 7.0) is arguably a valid bug, but
not definitely not RC and nothing that warrants a regression update.

Bullseye LTS uses PHP7.4; that's also what is used for unit tests and
everything else is unsupported and untested.

-- 
Guilhem.

Attachment: signature.asc
Description: PGP signature

Reply via email to