Source: php-ast Version: 1.1.1-1 Severity: normal Justification: FTBFS Tags: trixie sid ftbfs User: pkg-php-p...@lists.alioth.debian.org Usertags: php8.4
Hi, During a test rebuild, php-ast was found to fail to build with php8.4 8.4.0~beta4-1 available in experimental. There are intentions to transition to php8.4 for trixie, please see #1074180. To reproduce this locally, you need to install php8.4 and php-defaults from experimental on an unstable system or build chroot. Relevant part (hopefully): > /bin/bash /<<PKGBUILDDIR>>/build-8.4/libtool --tag=CC --mode=compile cc -I. > -I/<<PKGBUILDDIR>>/build-8.4 -I/usr/include/php/20230901 > -I/usr/include/php/20230901/main -I/usr/include/php/20230901/TSRM > -I/usr/include/php/20230901/Zend -I/usr/include/php/20230901/ext > -I/usr/include/php/20230901/ext/date/lib -Wdate-time -D_FORTIFY_SOURCE=2 > -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wall -pedantic -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c > /<<PKGBUILDDIR>>/build-8.4/ast.c -o ast.lo -MMD -MF ast.dep -MT ast.lo > libtool: compile: cc -I. -I/<<PKGBUILDDIR>>/build-8.4 > -I/usr/include/php/20230901 -I/usr/include/php/20230901/main > -I/usr/include/php/20230901/TSRM -I/usr/include/php/20230901/Zend > -I/usr/include/php/20230901/ext -I/usr/include/php/20230901/ext/date/lib > -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -g -O2 > -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -Wall -pedantic -D_GNU_SOURCE > -DZEND_COMPILE_DL_EXT=1 -c /<<PKGBUILDDIR>>/build-8.4/ast.c -MMD -MF ast.dep > -MT ast.lo -fPIC -DPIC -o .libs/ast.o > In file included from /usr/include/php/20230901/main/php.h:423, > from /<<PKGBUILDDIR>>/build-8.4/ast.c:5: > /<<PKGBUILDDIR>>/build-8.4/ast.c: In function 'zm_startup_ast': > /<<PKGBUILDDIR>>/build-8.4/ast.c:1518:62: error: > 'ZEND_DIM_ALTERNATIVE_SYNTAX' undeclared (first use in this function) > 1518 | ast_register_flag_constant("DIM_ALTERNATIVE_SYNTAX", > ZEND_DIM_ALTERNATIVE_SYNTAX); > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/php/20230901/Zend/zend_constants.h:58:146: note: in definition > of macro 'REGISTER_NS_LONG_CONSTANT' > 58 | #define REGISTER_NS_LONG_CONSTANT(ns, name, lval, flags) > zend_register_long_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, > name))-1, (lval), (flags), module_number) > | > > ^~~~ > /<<PKGBUILDDIR>>/build-8.4/ast.c:1518:9: note: in expansion of macro > 'ast_register_flag_constant' > 1518 | ast_register_flag_constant("DIM_ALTERNATIVE_SYNTAX", > ZEND_DIM_ALTERNATIVE_SYNTAX); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/build-8.4/ast.c:1518:62: note: each undeclared identifier is > reported only once for each function it appears in > 1518 | ast_register_flag_constant("DIM_ALTERNATIVE_SYNTAX", > ZEND_DIM_ALTERNATIVE_SYNTAX); > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/php/20230901/Zend/zend_constants.h:58:146: note: in definition > of macro 'REGISTER_NS_LONG_CONSTANT' > 58 | #define REGISTER_NS_LONG_CONSTANT(ns, name, lval, flags) > zend_register_long_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, > name))-1, (lval), (flags), module_number) > | > > ^~~~ > /<<PKGBUILDDIR>>/build-8.4/ast.c:1518:9: note: in expansion of macro > 'ast_register_flag_constant' > 1518 | ast_register_flag_constant("DIM_ALTERNATIVE_SYNTAX", > ZEND_DIM_ALTERNATIVE_SYNTAX); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > make[2]: *** [Makefile:203: ast.lo] Error 1 The full build log is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/php8.4-beta/2/php-ast/php-ast_1.1.1-1+rebuild1726671120_amd64-2024-09-18T14:52:01Z.build