See https://fedoraproject.org/wiki/Changes/php80 Related to swig bug #1934995
From a build log: make[2]: Entering directory '/builddir/build/BUILD/redland-bindings-1.0.16.1/php' swig -v -php7 -I. -DREDLAND_POST_I -DREDLAND_INIT_I -DREDLAND_DECL_I -DREDLAND_TYPEMAP_I -noproxy -module redland -o redland_wrap.c /usr/share/redland/Redland.i Language subdirectory: php Search paths: ./ ./ ./swig_lib/php/ /usr/share/swig/4.0.2/php/ ./swig_lib/ /usr/share/swig/4.0.2/ Preprocessing... Starting language-specific parse... Processing unnamed structs... Processing types... C++ analysis... Generating wrappers... rm -f redland.php gcc -DHAVE_CONFIG_H -I. -DREDLAND_POST_I -DREDLAND_INIT_I -DREDLAND_DECL_I -DREDLAND_TYPEMAP_I -UHAVE_CONFIG_H -I/usr/include/raptor2 -I/usr/include/rasqal -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DREDLAND_BINDINGS_VERSION=\"1.0.16.1\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/raptor2 -I/usr/include/rasqal -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC redland_wrap.c -c -o redland_wrap.o In file included from redland_wrap.c:1104: ./redland-post.i: In function 'librdf_php_check_exception': ./redland-post.i:113:45: error: expected ')' before 'TSRMLS_CC' 113 | librdf_php_log_code TSRMLS_CC); | ^~~~~~~~~~ | )
*** Bug 1943062 has been marked as a duplicate of this bug. ***
FYI TSRMLS_* macros, unneeded in PHP 7 have been removed in PHP 8. Usually, trivial define works. See: https://github.com/php/php-src/blob/PHP-7.4/TSRM/TSRM.h#L182
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.
Automation has figured out the package is retired in rawhide. If you like it to be unretired, please open a ticket at https://pagure.io/releng/new_issue?template=package_unretirement