Description of problem: With PHP 8, "arginfo" is now mandatory: $ php -n -d extension=./php/extension/.libs/guestfs_php.so Warning: Missing arginfo for guestfs_create() in Unknown on line 0 Warning: Missing arginfo for guestfs_last_error() in Unknown on line 0 Warning: Missing arginfo for guestfs_acl_delete_def_file() in Unknown on line 0 Warning: Missing arginfo for guestfs_acl_get_file() in Unknown on line 0 ... Version-Release number of selected component (if applicable): php-8.0.3-1.fc35.x86_64 How reproducible: 100% Steps to Reproduce: 1. See above. Additional info: This is a bunch of extra work. See: https://www.seidengroup.com/2020/12/07/porting-extensions-to-php-8/
[Libguestfs] libguestfs "test-mdadm.sh" and php tests failing? https://listman.redhat.com/archives/libguestfs/2022-February/msg00205.html
This has now been fixed upstream: https://github.com/libguestfs/libguestfs/commit/ec27979398b0871c1a3e0e244849f8435c9c9a8d Could we see the php bindings shipped in Fedora and RHEL now?
I'll enable them in Rawhide. As for RHEL I don't think we have ever enabled PHP bindings. They are disabled explicitly in RHEL 7 & 8, and in RHEL 9 they didn't work because of this issue. Who would use them?
https://koji.fedoraproject.org/koji/taskinfo?taskID=88322237