Source: php-uopz
Version: 7.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-uopz 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 -I/<<PKGBUILDDIR>>/build-8.4/.  
> -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_ENABLE_STATIC_TSRMLS_CACHE=1 -DZEND_COMPILE_DL_EXT=1 -c 
> /<<PKGBUILDDIR>>/build-8.4/src/handlers.c -o src/handlers.lo  -MMD -MF 
> src/handlers.dep -MT src/handlers.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 
> -I/<<PKGBUILDDIR>>/build-8.4/. -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_ENABLE_STATIC_TSRMLS_CACHE=1 
> -DZEND_COMPILE_DL_EXT=1 -c /<<PKGBUILDDIR>>/build-8.4/src/handlers.c -MMD -MF 
> src/handlers.dep -MT src/handlers.lo  -fPIC -DPIC -o src/.libs/handlers.o
> /<<PKGBUILDDIR>>/build-8.4/src/handlers.c:30:33: warning: ISO C does not 
> allow extra ';' outside of a function [-Wpedantic]
>    30 | ZEND_EXTERN_MODULE_GLOBALS(uopz);
>       |                                 ^
> /<<PKGBUILDDIR>>/build-8.4/src/handlers.c:127:27: error: 'ZEND_EXIT' 
> undeclared here (not in a function); did you mean 'ZEND_CAST'?
>   127 |         UOPZ_HANDLER_DECL(ZEND_EXIT,                                  
>   exit)
>       |                           ^~~~~~~~~
> /<<PKGBUILDDIR>>/build-8.4/src/handlers.c:81:42: note: in definition of macro 
> 'UOPZ_HANDLER_DECL'
>    81 | #define UOPZ_HANDLER_DECL(o, n)         {o, &zend_vm_##n, 
> uopz_vm_##n},
>       |                                          ^
> make[2]: *** [Makefile:224: src/handlers.lo] Error 1


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/php8.4-beta/2/php-uopz/php-uopz_7.1.1++-1+rebuild1726681413_amd64-2024-09-18T17:43:34Z.build

Reply via email to