[php-src] Issue #13764: `xsl` cannot build on PHP 8.4
| From: | mvorisek | Date: | Wed, 20 Mar 2024 08:51:02 +0000 |
| Subject: | [php-src] Issue #13764: `xsl` cannot build on PHP 8.4 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246619@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/13764
Author: mvorisek
### Description
```
...
#11 212.5 cc -I. -I/usr/src/php/ext/xsl -I/usr/src/php/ext/xsl/main -I/usr/src/php/ext/xsl
-I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
-I/usr/include/libxml2 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/xsl/php_xsl.c -MMD
-MF php_xsl.dep -MT php_xsl.lo -fPIC -DPIC -o .libs/php_xsl.o
#11 212.5 cc -I. -I/usr/src/php/ext/xsl -I/usr/src/php/ext/xsl/main -I/usr/src/php/ext/xsl
-I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
-I/usr/include/libxml2 -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /usr/src/php/ext/xsl/xsltprocessor.c
-MMD -MF xsltprocessor.dep -MT xsltprocessor.lo -fPIC -DPIC -o .libs/xsltprocessor.o
#11 212.7 /usr/src/php/ext/xsl/xsltprocessor.c:26:10: fatal error: ext/dom/php_dom.h: No such file
or directory
#11 212.7 26 | #include "ext/dom/php_dom.h"
#11 212.7 | ^~~~~~~~~~~~~~~~~~~
#11 212.7 compilation terminated.
#11 212.7 make: *** [Makefile:212: xsltprocessor.lo] Error 1
```
full CI log: https://github.com/mvorisek/image-php/actions/runs/8340233004/job/22823773226#step:9:8463
The issue is simillar to https://github.com/php/php-src/issues/13745,
the issue is present when the module is build separately, ie. there is some linking issue.
### PHP Version
master
### Operating System
any (tested Debian and Alpine)