Source: owfs Version: 3.2p4+dfsg1-4 Severity: serious Tags: ftbfs Justification: ftbfs Control: block 976811 by -1
Dear maintainer, During a rebuild of your package for the php8.1 it fails to build from source. https://buildd.debian.org/status/package.php?p=owfs The amd64 log ends thus: make[4]: Entering directory '/<<PKGBUILDDIR>>/module/swig/php' /usr/bin/swig -php -o ow_wrap.c ../ow.i /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -fexceptions -I.. -I../../../src/include -I../../../module/owlib/src/include -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_DEFAULT_SOURCE -I/usr/include/libusb-1.0 -pthread -D_REENTRANT -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -m64 -std=c99 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_DEFAULT_SOURCE -c -o ow_wrap.lo ow_wrap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -fexceptions -I.. -I../../../src/include -I../../../module/owlib/src/include -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_DEFAULT_SOURCE -I/usr/include/libusb-1.0 -pthread -D_REENTRANT -I/usr/include/php/20210902 -I/usr/include/php/20210902/main -I/usr/include/php/20210902/TSRM -I/usr/include/php/20210902/Zend -I/usr/include/php/20210902/ext -I/usr/include/php/20210902/ext/date/lib -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -m64 -std=c99 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_DEFAULT_SOURCE -c ow_wrap.c -fPIC -DPIC -o .libs/ow_wrap.o ow_wrap.c:748:3: error: #error These bindings need PHP7 - to generate PHP5 bindings use: SWIG < 4.0.0 and swig -php5 748 | # error These bindings need PHP7 - to generate PHP5 bindings use: SWIG < 4.0.0 and swig -php5 | ^~~~~ ow_wrap.c: In function ‘SWIG_ConvertPtr’: ow_wrap.c:939:54: warning: passing argument 1 of ‘z->value.obj->handlers->get_properties’ from incompatible pointer type [-Wincompatible-pointer-types] 939 | HashTable * ht = Z_OBJ_HT_P(z)->get_properties(z); | ^ | | | zval * {aka struct _zval_struct *} ow_wrap.c:939:54: note: expected ‘zend_object *’ {aka ‘struct _zend_object *’} but argument is of type ‘zval *’ {aka ‘struct _zval_struct *’} ow_wrap.c: At top level: ow_wrap.c:1438:2: warning: implicit declaration of function ‘ZEND_ARG_PASS_INFO’; did you mean ‘ZEND_ARG_TYPE_INFO’? [-Wimplicit-function-declaration] 1438 | ZEND_ARG_PASS_INFO(0) | ^~~~~~~~~~~~~~~~~~ | ZEND_ARG_TYPE_INFO ow_wrap.c:1438:2: warning: initialization of ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] ow_wrap.c:1438:2: note: (near initialization for ‘swig_arginfo_0[1].name’) ow_wrap.c:1438:2: error: initializer element is not constant ow_wrap.c:1438:2: note: (near initialization for ‘swig_arginfo_0[1].name’) ow_wrap.c:1441:2: warning: initialization of ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1441 | ZEND_ARG_PASS_INFO(0) | ^~~~~~~~~~~~~~~~~~ ow_wrap.c:1441:2: note: (near initialization for ‘swig_arginfo_00[1].name’) ow_wrap.c:1441:2: error: initializer element is not constant ow_wrap.c:1441:2: note: (near initialization for ‘swig_arginfo_00[1].name’) ow_wrap.c:1442:2: error: expected ‘}’ before ‘ZEND_ARG_PASS_INFO’ 1442 | ZEND_ARG_PASS_INFO(0) | ^~~~~~~~~~~~~~~~~~ In file included from ow_wrap.c:743: /usr/include/php/20210902/Zend/zend_API.h:193:54: note: to match this ‘{’ 193 | static const zend_internal_arg_info name[] = { \ | ^ ow_wrap.c:1440:1: note: in expansion of macro ‘ZEND_BEGIN_ARG_INFO_EX’ 1440 | ZEND_BEGIN_ARG_INFO_EX(swig_arginfo_00, 0, 0, 0) | ^~~~~~~~~~~~~~~~~~~~~~ make[4]: *** [Makefile:614: ow_wrap.lo] Error 1 make[4]: Leaving directory '/<<PKGBUILDDIR>>/module/swig/php' make[3]: *** [Makefile:513: all-recursive] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/module/swig' make[2]: *** [Makefile:523: all-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>/module' make[1]: *** [Makefile:578: all-recursive] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j4 returned exit code 2 make: *** [debian/rules:67: binary-arch] Error 25 dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2 Paul