Bug#1074180: transition: php8.4
Hi Emilio,
I went through all the bugs filled against the PECL extensions in experimental
and closed them with correct version in experimental.
I think the rest of manageable...
I am looking at the rest of the bugs and they can be put into several categories:
1. Bugs that might or might not be related to PHP 8.4 (unit tests)
Some are related to PHPUnit
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082437
> 1) Doctrine\Tests\ORM\Tools\EntityGeneratorTest::testGeneratedEntityClass
> doctrine_66eab8b870698\EntityGeneratorBook::setAuthor(): Implicitly marking parameter $author as nullable is deprecated, the explicit nullable type must be used instead
>
> /<<PKGBUILDDIR>>/tests/Tests/ORM/Tools/EntityGeneratorTest.php:220
> /<<PKGBUILDDIR>>/tests/Tests/ORM/Tools/EntityGeneratorTest.php:220
> /<<PKGBUILDDIR>>/tests/Tests/ORM/Tools/EntityGeneratorTest.php:226
> /<<PKGBUILDDIR>>/tests/Tests/ORM/Tools/EntityGeneratorTest.php:266
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082439
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082444
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082460
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082470
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082472
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082473
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082474
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082476
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082478
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082483
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082487
The should be retested and marked as SERIOUS regardless of PHP 8.4.
2. Dependency problems
These are not real bugs, just the package manager is most
probably confused with the stuff in experimental vs unstable.
Like this:
> The following packages have unmet dependencies:
> sbuild-build-depends-main-dummy : Depends: php-pcov
> E: Unable to correct problems, you have held broken packages.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082438
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082441
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082443
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082445
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082450
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082451
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082454
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082455
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082471
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082488
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082489
3. Bugs that are related to PHP 8.4 and need to be bumped to SERIOUS
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082446
> PHP Fatal error: Uncaught ValueError: xml_set_element_handler(): Argument #2 ($start_handler) an object must be set via xml_set_object() to be able to lookup method in /<<PKGBUILDDIR>>/lib/Parser/RdfXml.php:90
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082448
> PHP Fatal error: Cannot make static method DOMXPath::quote() non static in class TheSeer\fDOM\fDOMXPath in /<<PKGBUILDDIR>>/src/fDOMXPath.php on line 153
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082457
> PHP Fatal error: Declaration of DateTime::createFromTimestamp(int|float $timestamp): PHPUnit\Util\FileLoader must be compatible with Carbon\CarbonInterface::createFromTimestamp($timestamp, $tz = null) in /<<PKGBUILDDIR>>/tests/CarbonPeriod/Fixtures/AbstractCarbon.php on line 0
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082458
> PHP Fatal error: Uncaught ValueError: idn_to_ascii(): Argument #1 ($domain) must not be empty in /<<PKGBUILDDIR>>/Net/PublicSuffix.php:89
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082461
> PHP Deprecated: fputcsv(): Passing a non-empty string to the $escape parameter is deprecated since 8.4 in /<<PKGBUILDDIR>>/src/Utils/CsvTrait.php on line 51
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082464
> Deprecated: Prophecy\Call\CallCenter::__construct(): Implicitly marking parameter $util as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Prophecy/Call/CallCenter.php on line 46
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082466
> Non-nullable typed properties cannot be removed/unset
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082468
> Deprecated: Passing E_USER_ERROR to trigger_error() is deprecated since 8.4, throw an exception or call exit with a string message instead in Standard input code on line 9
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082477
> PHP Deprecated: ctype_alnum(): Argument of type int will be interpreted as string in the future in /<<PKGBUILDDIR>>/src/Util/TestListenerTrait.php(116) : eval()'d code on line 12
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082485
> PHP Fatal error: Cannot make static method DOMXPath::quote() non static in class TheSeer\fDOM\fDOMXPath in /usr/share/php/TheSeer/fDOMDocument/fDOMXPath.php on line 153
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082486
> PHP Deprecated: Twig\Environment::getTemplateClass(): Implicitly marking parameter $index as nullable is deprecated, the explicit nullable type must be used instead in /usr/share/php/Twig/Environment.php on line 262
4. Manual **packaging** intervention needed:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082447
Ondrej
--
Ondřej Surý (He/Him)
ondrej@sury.org
> On 7. 11. 2024, at 13:16, Emilio Pozuelo Monfort <pochu@debian.org> wrote:
>
> On 22/09/2024 09:30, Ondřej Surý wrote:
>> Hi,
>> the upstream has announced:
>>> The next release will be RC 1, planned for 26 September 2024.
>> I would like to start the transition to PHP 8.4 as soon as possible after that,
>> so we have plenty of time to solve all the problems that comes with upgrading.
>
> What kind of problems do you anticipate? Also there's still too many bugs open. I count 54, of which 22 are on key packages. So I don't think we're prepared to do this transition for trixie unless that bug number decreases significantly.
>
> Actually it looks like many of those issues are just bd-uninst as the build-deps weren't updated? e.g. #1082469 which should have been built against php8.4-igbinary, and so on (there's 16 bugs with /unsatisfiable/. Looks like many of those are already prepared in experimental. Can you give a status update on what is done, and what is missing? And close the bugs that are no longer relevant so that we can have a better overview, see [1].
>
> Cheers,
> Emilio
>
> [1] https://udd.debian.org/cgi-bin/bts-usertags.cgi?user=pkg-php-pear%40lists.alioth.debian.org&tag=php8.4&state=open
Reply to: