🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1152476: php-net-ldap2: Compatibility with PHP 8.6

#2624
From: David Prévot
Date: Thu, 29 Oct 2026 17:40
80 lines
3980 bytes
--R8XkECYHBEo/b8vH
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Source: php-net-ldap2
Version: 2.3.0-6
Severity: important
Tags: upstream
X-Debbugs-Cc: Debian Roundcube Maintainers <pkg-roundcube-maintainers@aliot=
h-lists.debian.net>
Control: block 1149581 by -1

Hi,

The last (failed) run of the autopkgtest of php-net-ldap2 with php8.6
=66rom experimental [1] shows several issues that I haven=E2=80=99t investi=
gated.

  1: https://ci.debian.net/packages/p/php-net-smtp/unstable/armhf/77230327/

X-Debbugs-Cced to the roundcube maintainers since this package is a
dependency of php-net-ldap3 that is a dependency of roundcube-core.

Regards,

taffit

P.-S.: the PHPUnit run seems to point out the root issue, at least one
of them.

PHPUnit 13.4.5 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.6.0RC3

=2E.....DDDIIIIDDEDDDDDD.D.I.III.IIIIIIIIIII....DD.............IIII 65 / 99=
 ( 65%)
IIIIIIIIIIIIIIIIIIIIIIF.D.D.D.....                                99 / 99 (=
100%)

Time: 00:00.308, Memory: 14.00 MB

There was 1 error:

1) Net_LDAP2Test::testMove
ValueError: ldap_modify(): Argument #3 ($entry) must not be empty

/usr/share/php/Net/LDAP2/Entry.php:885
/usr/share/php/Net/LDAP2.php:1369
/tmp/autopkgtest.1yBI0f/build.hzB/src/tests/Net_LDAP2Test.php:673

--

There was 1 failure:

1) Net_LDAP2_SearchTest::testSPLIterator
Failed asserting that 3 matches expected 2.

/tmp/autopkgtest.1yBI0f/build.hzB/src/tests/Net_LDAP2_SearchTest.php:266

ERRORS!
Tests: 99, Assertions: 1024, Errors: 1, Failures: 1, Deprecations: 44, Inco=
mplete: 45.

--R8XkECYHBEo/b8vH
Content-Type: application/pgp-signature; name=signature.asc

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

iQEzBAABCAAdFiEEeHVNB7wJXHRI941mBYwc+UT2vTwFAmrjg9kACgkQBYwc+UT2
vTx+7gf/SzTWQ6Uwj1/RKgblHQkAascFi0eDKlUH6CSy2fzhYnKETdxo0gBcg587
x/XB8o54w2mi3IvV6lWkiiqrnEHg2CRoGXOHsPtOmG4cf9KkRQUL8pxxqM+V8evW
kihx0Zn/C/ybhOGTUJ7KaDahBh4kyE5greUnGp2yFjt0nH/eWf1P+2EMWhTkrFfl
fhhyI5Q4myqH8LQdTXpH3KlTtXMMgsgpq2817MWXii+Kfal4+8xTF25jt/9iirLR
DCgi7zvuVskClq9I3VUSZ3i3gB2lMaTUbRl0DNXNFrddKiJzR76HWSgLV49gGmb0
Lp2iX2n67IagkwrPLhfiUYokBZEvXw==
=ag8M
-----END PGP SIGNATURE-----

--R8XkECYHBEo/b8vH--
Technical Details
Message-ID: <NTCgx-8EWS-11@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: David Prévot <taffit@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152476: php-net-ldap2: Compatibility with PHP 8.6
Date: Thu, 29 Oct 2026 18:40:01 +0100
Message-ID: <NTCgx-8EWS-11@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Oct 29 17:37:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: David Prévot <taffit@debian.org>, 1152476@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-roundcube-maintainers@alioth-lists.debian.net, pkg-php-pear@lists.alioth.debian.org
X-Debian-Pr-Message: report 1152476
X-Debian-Pr-Package: src:php-net-ldap2
X-Debian-Pr-Keywords: upstream
X-Debian-Pr-Source: php-net-ldap2
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="R8XkECYHBEo/b8vH"
Content-Disposition: inline
X-Reportbug-Version: 13.2.0+nmu1
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999573
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 80
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 29 Oct 2026 18:35:21 +0100
X-Original-Message-ID: <auOD2CppaqEn_kGU@brocoli.tilapin.org>