#1152474 php-net-smtp: Compatibility with PHP 8.6

#1152474#5
Date:
2026-10-29 17:29:56 UTC
From:
To:
Hi,

The last (failed) run of the autopkgtest of php-net-smtp with php8.6
from experimental [1] shows several issues (0 PASSED TESTS, 0 SKIPPED
TESTS, and 3 FAILED TESTS) that I haven’t investigated.

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

X-Debbugs-Cced to the roundube maintainers since this package is a
dependency of roundcube-core.

Regards,

taffit

#1152474#14
Date:
2026-10-29 18:10:39 UTC
From:
To:
Hi,

Thanks for the report!  I just had a look, the issue is php-pear's use
of `report_memleaks`.  This spews a deprecation warning and fails the
autopkgtest due to the lack of `Restrictions: allow-stderr`.

Filed #1152479 against php-pear to that effect.  Leaving #-1 open for
now, but AFAICT backporting the PR linked there fixes the issue.  I
assume forky will ship with php-pear ≥1.10.18 in which case there is
nothing to do for src:php-net-smtp AFAICT.