#1003666 php-horde-crypt-blowfish: (autopkgtest) needs update for php8.1: deprecation warnings on stderr

#1003666#5
Date:
2022-01-13 12:15:59 UTC
From:
To:
Dear maintainer(s),

We are in the transition of replacing php7.4 with php8.1 [0]. With a
recent upload of php-defaults the autopkgtest of
php-horde-crypt-blowfish fails in testing when that autopkgtest is run
with the binary packages of php-defaults from unstable on armhf and i386
(both 32 bit architectures). It passes when run with only packages from
testing. In tabular form:

                          pass            fail
php-defaults             from testing    92
php-horde-crypt-blowfish from testing    1.1.3-2
versioned deps           from testing    from unstable
all others               from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of php-defaults to
testing [1]. https://www.php.net/ChangeLog-8.php list the changes since
7.4 and may help to identify what needs to be updated.

The test itself passes, but the autopkgtest fails because of deprecation
warnings on stderr. Output on stderr makes autopkgtest fail by default,
unless `allow-stderr` is added to the set of restrictions. As a flood of
deprecation warnings in server logs my be very unwanted, I'm not saying
that adding the restriction to autopkgtest is the right answer to this
issue, but because of the php8.1 transition, it needs to be resolved one
way or the other.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] https://bugs.debian.org/976811
[1] https://qa.debian.org/excuses.php?package=php-defaults

https://ci.debian.net/data/autopkgtest/testing/armhf/p/php-horde-crypt-blowfish/18255553/log.gz

PHPUnit 9.5.11 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.1.1
Configuration:
/tmp/autopkgtest-lxc.ojxdquu1/downtmp/build.tSW/src/Horde_Crypt_Blowfish-1.1.3/test/Horde/Crypt/Blowfish/phpunit.xml

Warning:       Test case class not matching filename is deprecated
                in
/tmp/autopkgtest-lxc.ojxdquu1/downtmp/build.tSW/src/Horde_Crypt_Blowfish-1.1.3/test/Horde/Crypt/Blowfish/CbcTest.php
                Class name was 'Horde_Crypt_Blowfish_CbcTest', expected
'CbcTest'
Warning:       Test case class not matching filename is deprecated
                in
/tmp/autopkgtest-lxc.ojxdquu1/downtmp/build.tSW/src/Horde_Crypt_Blowfish-1.1.3/test/Horde/Crypt/Blowfish/EcbTest.php
                Class name was 'Horde_Crypt_Blowfish_EcbTest', expected
'EcbTest'
Warning:       Test case class not matching filename is deprecated
                in
/tmp/autopkgtest-lxc.ojxdquu1/downtmp/build.tSW/src/Horde_Crypt_Blowfish-1.1.3/test/Horde/Crypt/Blowfish/Pbkdf2Test.php
                Class name was 'Horde_Crypt_Blowfish_Pbkdf2Test',
expected 'Pbkdf2Test'

.................................PHP Deprecated:  Implicit conversion
from float 2242054355 to int loses precision in
/tmp/autopkgtest-lxc.ojxdquu1/downtmp/build.tSW/src/Horde_Crypt_Blowfish-1.1.3/lib/Horde/Crypt/Blowfish/Php/Base.php
on line 334
PHP Deprecated:  Implicit conversion from float 2752067618 to int loses
precision in
/tmp/autopkgtest-lxc.ojxdquu1/downtmp/build.tSW/src/Horde_Crypt_Blowfish-1.1.3/lib/Horde/Crypt/Blowfish/Php/Base.php
on line 334
PHP Deprecated:  Implicit conversion from float 3964562569 to int loses
precision in
/tmp/autopkgtest-lxc.ojxdquu1/downtmp/build.tSW/src/Horde_Crypt_Blowfish-1.1.3/lib/Horde/Crypt/Blowfish/Php/Base.php
on line 334
PHP Deprecated:  Implicit conversion from float 3193202383 to int loses
precision in
/tmp/autopkgtest-lxc.ojxdquu1/downtmp/build.tSW/src/Horde_Crypt_Blowfish-1.1.3/lib/Horde/Crypt/Blowfish/Php/Base.php
on line 334
PHP Deprecated:  Implicit conversion from float 3232508343 to int loses
precision in
/tmp/autopkgtest-lxc.ojxdquu1/downtmp/build.tSW/src/Horde_Crypt_Blowfish-1.1.3/lib/Horde/Crypt/Blowfish/Php/Base.php
on line 334
PHP Deprecated:  Implicit conversion from float 3380367581 to int loses
precision in
/tmp/autopkgtest-lxc.ojxdquu1/downtmp/build.tSW/src/Horde_Crypt_Blowfish-1.1.3/lib/Horde/Crypt/Blowfish/Php/Base.php
on line 334
PHP Deprecated:  Implicit conversion from float 3041331479 to int loses
precision in
/tmp/autopkgtest-lxc.ojxdquu1/downtmp/build.tSW/src/Horde_Crypt_Blowfish-1.1.3/lib/Horde/Crypt/Blowfish/Php/Base.php
on line 334
PHP Deprecated:  Implicit conversion from float 2450970073 to int loses
precision in
/tmp/autopkgtest-lxc.ojxdquu1/downtmp/build.tSW/src/Horde_Crypt_Blowfish-1.1.3/lib/Horde/Crypt/Blowfish/Php/Base.php
on line 334
PHP Deprecated:  Implicit conversion from float 2306472731 to int loses
precision in
/tmp/autopkgtest-lxc.ojxdquu1/downtmp/build.tSW/src/Horde_Crypt_Blowfish-1.1.3/lib/Horde/Crypt/Blowfish/Php/Base.php
on line 334
PHP Deprecated:  Implicit conversion from float 4271102244 to int loses
precision in
/tmp/autopkgtest-lxc.ojxdquu1/downtmp/build.tSW/src/Horde_Crypt_Blowfish-1.1.3/lib/Horde/Crypt/Blowfish/Php/Base.php
on line 418

#1003666#12
Date:
2022-07-15 05:24:52 UTC
From:
To:
Control: close -1
Control: fixed -1 1.1.4-1


This issue should be resolved since upload of php-horde-crypt-blowfish
1.1.4-1.

Greets,
Mike