Bug 2242372 - swig FTBFS swig-4.1.1/Examples/test-suite/php/director_finalizer_runme.php:20: Calling get_parent_class() without arguments is deprecated
Summary: swig FTBFS swig-4.1.1/Examples/test-suite/php/director_finalizer_runme.php:20...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: swig
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jitka Plesnikova
QA Contact: Fedora Extras Quality Assurance
URL: https://koji.fedoraproject.org/koji/t...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-05 18:13 UTC by Richard W.M. Jones
Modified: 2023-10-24 06:40 UTC (History)
3 users (show)

Fixed In Version: swig-4.1.1-11.fc40
Clone Of:
Environment:
Last Closed: 2023-10-24 06:40:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github swig swig issues 2685 0 None open director_finalizer_runme.php is failing with PHP 8.3 2023-10-10 11:31:24 UTC

Description Richard W.M. Jones 2023-10-05 18:13:53 UTC
swig fails to build from source as you can see in this log:

https://koji.fedoraproject.org/koji/taskinfo?taskID=107098973

checking php testcase director_conversion_operators
checking php testcase director_default (with run test)
checking php testcase director_detect (with run test)
checking php testcase director_enum (with run test)
checking php testcase director_exception (with run test)
checking php testcase director_exception_catches (with run test)
checking php testcase director_exception_nothrow (with run test)
checking php testcase director_extend (with run test)
checking php testcase director_finalizer (with run test)
/builddir/build/BUILD/swig-4.1.1/Examples/test-suite/php/director_finalizer_runme.php:20: Calling get_parent_class() without arguments is deprecated
make[2]: *** [../../../Examples/Makefile:1216: php_run] Error 1
make[1]: *** [Makefile:53: director_finalizer.cpptest] Error 2

Reproducible: Always

Steps to Reproduce:
1. Build swig in Koji

Actual Results:  
Fails to build

Expected Results:  
Should have built

See the Koji logs etc here:
https://koji.fedoraproject.org/koji/taskinfo?taskID=107098832

Note this only happened for me on s390x, but I'm unclear if that's
down to the bug or randomness.

Comment 1 Richard W.M. Jones 2023-10-05 19:21:09 UTC
Actually seems to happen on x86-64 too:
https://koji.fedoraproject.org/koji/taskinfo?taskID=107098969

Comment 2 Jitka Plesnikova 2023-10-10 11:31:24 UTC
The test is failing due to change [1] in PHP 8.3

[1] https://php.watch/versions/8.3/get_class-get_parent_class-parameterless-deprecated


Note You need to log in before you can comment on or make changes to this bug.