Source: php8.2
Version: 8.2.16-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

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

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
>  x86_64-linux-gnu-gcc -Iext/standard/ -I/<<PKGBUILDDIR>>/ext/standard/ 
> -I/<<PKGBUILDDIR>>/ext-build/include -I/<<PKGBUILDDIR>>/ext-build/main 
> -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ext-build/ext/date/lib 
> -I/<<PKGBUILDDIR>>/ext/date/lib -I/usr/include/libxml2 
> -I/usr/include/x86_64-linux-gnu -I/usr/include/enchant-2 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/webp 
> -I/usr/include/c-client -I/<<PKGBUILDDIR>>/ext/mbstring/libmbfl 
> -I/<<PKGBUILDDIR>>/ext-build/ext/mbstring/libmbfl 
> -I/<<PKGBUILDDIR>>/ext/mbstring/libmbfl/mbfl 
> -I/<<PKGBUILDDIR>>/ext-build/ext/mbstring/libmbfl/mbfl 
> -I/usr/include/postgresql -I/usr/include/pspell -I/usr/include/editline 
> -I/usr/include/tidy -I/<<PKGBUILDDIR>>/ext-build/TSRM 
> -I/<<PKGBUILDDIR>>/ext-build/Zend -I/<<PKGBUILDDIR>>/main 
> -I/<<PKGBUILDDIR>>/Zend -I/<<PKGBUILDDIR>>/TSRM -I/<<PKGBUILDDIR>>/ext-build/ 
> -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/c-client 
> -fno-common -Wstrict-prototypes -Wformat-truncation -Wlogical-op 
> -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing 
> -Wno-unused-parameter -Wno-sign-compare -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -O2 -Wall -pedantic -fsigned-char 
> -fno-strict-aliasing -DOPENSSL_SUPPRESS_DEPRECATED -g -fvisibility=hidden 
> -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 
> -c /<<PKGBUILDDIR>>/ext/standard/ftp_fopen_wrapper.c -MMD -MF 
> ext/standard/ftp_fopen_wrapper.dep -MT ext/standard/ftp_fopen_wrapper.lo  
> -fPIC -DPIC -o ext/standard/ftp_fopen_wrapper.o >/dev/null 2>&1
> /<<PKGBUILDDIR>>/ext/standard/credits.c: In function ‘php_print_credits’:
> /<<PKGBUILDDIR>>/ext/standard/credits.c:130:9: error: implicit declaration of 
> function ‘php_print_packaging_credits’ [-Werror=implicit-function-declaration]
>   130 |         php_print_packaging_credits(flag, 0);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/ext/standard/credits.c: At top level:
> /<<PKGBUILDDIR>>/ext/standard/credits.c:138:13: warning: conflicting types 
> for ‘php_print_packaging_credits’; have ‘void(int,  int)’
>   138 | PHPAPI void php_print_packaging_credits(int flag, int top) /* {{{ */
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/ext/standard/credits.c:130:9: note: previous implicit 
> declaration of ‘php_print_packaging_credits’ with type ‘void(int,  int)’
>   130 |         php_print_packaging_credits(flag, 0);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/ext/standard/credits.c: In function 
> ‘php_print_packaging_credits’:
> /<<PKGBUILDDIR>>/ext/standard/credits.c:140:18: warning: logical ‘and’ 
> applied to non-boolean constant [-Wlogical-op]
>   140 |         if (flag && PHP_CREDITS_PACKAGING) {
>       |                  ^~
>  x86_64-linux-gnu-gcc -Iext/standard/ -I/<<PKGBUILDDIR>>/ext/standard/ 
> -I/<<PKGBUILDDIR>>/ext-build/include -I/<<PKGBUILDDIR>>/ext-build/main 
> -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/ext-build/ext/date/lib 
> -I/<<PKGBUILDDIR>>/ext/date/lib -I/usr/include/libxml2 
> -I/usr/include/x86_64-linux-gnu -I/usr/include/enchant-2 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/webp 
> -I/usr/include/c-client -I/<<PKGBUILDDIR>>/ext/mbstring/libmbfl 
> -I/<<PKGBUILDDIR>>/ext-build/ext/mbstring/libmbfl 
> -I/<<PKGBUILDDIR>>/ext/mbstring/libmbfl/mbfl 
> -I/<<PKGBUILDDIR>>/ext-build/ext/mbstring/libmbfl/mbfl 
> -I/usr/include/postgresql -I/usr/include/pspell -I/usr/include/editline 
> -I/usr/include/tidy -I/<<PKGBUILDDIR>>/ext-build/TSRM 
> -I/<<PKGBUILDDIR>>/ext-build/Zend -I/<<PKGBUILDDIR>>/main 
> -I/<<PKGBUILDDIR>>/Zend -I/<<PKGBUILDDIR>>/TSRM -I/<<PKGBUILDDIR>>/ext-build/ 
> -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/c-client 
> -fno-common -Wstrict-prototypes -Wformat-truncation -Wlogical-op 
> -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing 
> -Wno-unused-parameter -Wno-sign-compare -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -O2 -Wall -pedantic -fsigned-char 
> -fno-strict-aliasing -DOPENSSL_SUPPRESS_DEPRECATED -g -fvisibility=hidden 
> -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 
> -c /<<PKGBUILDDIR>>/ext/standard/url_scanner_ex.c -MMD -MF 
> ext/standard/url_scanner_ex.dep -MT ext/standard/url_scanner_ex.lo  -fPIC 
> -DPIC -o ext/standard/url_scanner_ex.o >/dev/null 2>&1
> cc1: some warnings being treated as errors
> make[2]: *** [Makefile:2243: ext/standard/credits.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/php8.2_8.2.16-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&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