#1041477 php-net-ftp: PHP Fatal error with Bookworm PHP 8.2

#1041477#5
Date:
2023-07-19 11:24:44 UTC
From:
To:
Dear Maintainer,

This package seem not compatible with the PHP 8.2 version included in
Debian Bookworn. I have the following PHP Fatal error when including the
/usr/share/php/Net/FTP.php file:

PHP Fatal error:  Array and string offset access syntax with curly braces
is no longer supported in /usr/share/php/Net/FTP.php on line 1181

This problem could be quickly fixed:

https://github.com/pear/Net_FTP/pull/9/commits/b8d35f51815619460daa67bbed67dda3f96ed1b5

Furthermore, we have PHP warnings about the $case_insensitive parameter
of define function:

PHP Warning:  define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported in /usr/share/php/Net/FTP.php on line 34
PHP Warning:  define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported in /usr/share/php/Net/FTP.php on line 43
PHP Warning:  define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported in /usr/share/php/Net/FTP.php on line 52
PHP Warning:  define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported in /usr/share/php/Net/FTP.php on line 61
PHP Warning:  define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported in /usr/share/php/Net/FTP.php on line 71
PHP Warning:  define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported in /usr/share/php/Net/FTP.php on line 83

This could be also quickly fixed:

https://github.com/pear/Net_FTP/pull/9/commits/d5a2bda1e3418c4c0a397f25afffb072d7f964d5

Regards,

#1041477#10
Date:
2024-03-09 10:49:03 UTC
From:
To:
control: tags -1 serious

Hi Benjamin,

Thank you for the report, and apologies nobody came back to you sooner.

Le Wed, Jul 19, 2023 at 11:24:44AM +0000, Benjamin Renard a écrit :
[…]

Also, this package has no reverse dependencies. Given the amount of care
it brought in the last few years, I believe it should be removed from
the archive. Bumping the severity to see it removed from testing ASAP,
maybe it should also be removed from (at least) Bookworm.

I intend to follow up with RM requests in a few months if nobody objects
(but feel free to beat me to it).

Regards

David

#1041477#15
Date:
2024-03-09 10:49:03 UTC
From:
To:
control: tags -1 serious

Hi Benjamin,

Thank you for the report, and apologies nobody came back to you sooner.

Le Wed, Jul 19, 2023 at 11:24:44AM +0000, Benjamin Renard a écrit :
[…]

Also, this package has no reverse dependencies. Given the amount of care
it brought in the last few years, I believe it should be removed from
the archive. Bumping the severity to see it removed from testing ASAP,
maybe it should also be removed from (at least) Bookworm.

I intend to follow up with RM requests in a few months if nobody objects
(but feel free to beat me to it).

Regards

David

#1041477#24
Date:
2024-03-13 23:19:24 UTC
From:
To:
Hi David,

Le 09/03/2024 à 11:49, David Prévot a écrit :

Thanks for return. I removed my dependencies on this package since I
discovered this problem. So, for me, feel free to remove this package, I
don't use it anymore :)

Freely,