Source: php-yaml
Version: 2.2.3-2
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: php8.4

Hi,

During a test rebuild, php-yaml 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/parse.c -o parse.lo  -MMD -MF parse.dep -MT 
> parse.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/parse.c -MMD -MF 
> parse.dep -MT parse.lo  -fPIC -DPIC -o .libs/parse.o
> /<<PKGBUILDDIR>>/build-8.4/parse.c: In function 'handle_sequence':
> /<<PKGBUILDDIR>>/build-8.4/parse.c:534:39: error: passing argument 1 of 
> 'zval_ptr_dtor' from incompatible pointer type [-Wincompatible-pointer-types]
>   534 |                         zval_ptr_dtor(&retval);
>       |                                       ^~~~~~~
>       |                                       |
>       |                                       zval ** {aka struct 
> _zval_struct **}
> In file included from /usr/include/php/20230901/Zend/zend.h:36,
>                  from /usr/include/php/20230901/main/php.h:31,
>                  from /<<PKGBUILDDIR>>/build-8.4/php_yaml.h:46,
>                  from /<<PKGBUILDDIR>>/build-8.4/parse.c:36:
> /usr/include/php/20230901/Zend/zend_variables.h:80:35: note: expected 'zval 
> *' {aka 'struct _zval_struct *'} but argument is of type 'zval **' {aka 
> 'struct _zval_struct **'}
>    80 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
>       |                             ~~~~~~^~~~~~~~
> make[2]: *** [Makefile:208: parse.lo] Error 1


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/php8.4-beta/2/php-yaml/php-yaml_2.2.3-2+rebuild1726681523_amd64-2024-09-18T17:45:24Z.build

Reply via email to