Source: php-yaml
Version: 2.2.3-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240728 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /bin/bash /<<PKGBUILDDIR>>/build-8.2/libtool --tag=CC --mode=compile cc -I. 
> -I/<<PKGBUILDDIR>>/build-8.2 -I/<<PKGBUILDDIR>>/build-8.2/include 
> -I/<<PKGBUILDDIR>>/build-8.2/main -I/<<PKGBUILDDIR>>/build-8.2 
> -I/usr/include/php/20220829 -I/usr/include/php/20220829/main 
> -I/usr/include/php/20220829/TSRM -I/usr/include/php/20220829/Zend 
> -I/usr/include/php/20220829/ext -I/usr/include/php/20220829/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.2/detect.c -o detect.lo  
> -MMD -MF detect.dep -MT detect.lo
> libtool: compile:  cc -I. -I/<<PKGBUILDDIR>>/build-8.2 
> -I/<<PKGBUILDDIR>>/build-8.2/include -I/<<PKGBUILDDIR>>/build-8.2/main 
> -I/<<PKGBUILDDIR>>/build-8.2 -I/usr/include/php/20220829 
> -I/usr/include/php/20220829/main -I/usr/include/php/20220829/TSRM 
> -I/usr/include/php/20220829/Zend -I/usr/include/php/20220829/ext 
> -I/usr/include/php/20220829/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.2/yaml.c -MMD -MF yaml.dep -MT yaml.lo  -fPIC -DPIC 
> -o .libs/yaml.o
> libtool: compile:  cc -I. -I/<<PKGBUILDDIR>>/build-8.2 
> -I/<<PKGBUILDDIR>>/build-8.2/include -I/<<PKGBUILDDIR>>/build-8.2/main 
> -I/<<PKGBUILDDIR>>/build-8.2 -I/usr/include/php/20220829 
> -I/usr/include/php/20220829/main -I/usr/include/php/20220829/TSRM 
> -I/usr/include/php/20220829/Zend -I/usr/include/php/20220829/ext 
> -I/usr/include/php/20220829/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.2/parse.c -MMD -MF parse.dep -MT parse.lo  -fPIC 
> -DPIC -o .libs/parse.o
> libtool: compile:  cc -I. -I/<<PKGBUILDDIR>>/build-8.2 
> -I/<<PKGBUILDDIR>>/build-8.2/include -I/<<PKGBUILDDIR>>/build-8.2/main 
> -I/<<PKGBUILDDIR>>/build-8.2 -I/usr/include/php/20220829 
> -I/usr/include/php/20220829/main -I/usr/include/php/20220829/TSRM 
> -I/usr/include/php/20220829/Zend -I/usr/include/php/20220829/ext 
> -I/usr/include/php/20220829/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.2/emit.c -MMD -MF emit.dep -MT emit.lo  -fPIC -DPIC 
> -o .libs/emit.o
> libtool: compile:  cc -I. -I/<<PKGBUILDDIR>>/build-8.2 
> -I/<<PKGBUILDDIR>>/build-8.2/include -I/<<PKGBUILDDIR>>/build-8.2/main 
> -I/<<PKGBUILDDIR>>/build-8.2 -I/usr/include/php/20220829 
> -I/usr/include/php/20220829/main -I/usr/include/php/20220829/TSRM 
> -I/usr/include/php/20220829/Zend -I/usr/include/php/20220829/ext 
> -I/usr/include/php/20220829/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.2/detect.c -MMD -MF detect.dep -MT detect.lo  -fPIC 
> -DPIC -o .libs/detect.o
> /<<PKGBUILDDIR>>/build-8.2/parse.c: In function 'handle_sequence':
> /<<PKGBUILDDIR>>/build-8.2/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/20220829/Zend/zend.h:36,
>                  from /usr/include/php/20220829/main/php.h:31,
>                  from /<<PKGBUILDDIR>>/build-8.2/php_yaml.h:46,
>                  from /<<PKGBUILDDIR>>/build-8.2/parse.c:36:
> /usr/include/php/20220829/Zend/zend_variables.h:79:35: note: expected 'zval 
> *' {aka 'struct _zval_struct *'} but argument is of type 'zval **' {aka 
> 'struct _zval_struct **'}
>    79 | ZEND_API void zval_ptr_dtor(zval *zval_ptr);
>       |                             ~~~~~~^~~~~~~~
> make[2]: *** [Makefile:214: parse.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/07/28/php-yaml_2.2.3-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240728;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240728&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to