[Pkg-php-pecl] Bug#750254: php-apcu: FTBFS: apc_cache.c:1004:53: error: 'IS_CONSTANT_INDEX' undeclared (first use in this function)

David Suárez david.sephirot at gmail.com
Mon Jun 2 18:15:58 UTC 2014


Source: php-apcu
Version: 4.0.4-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140601 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> /bin/bash /«PKGBUILDDIR»/obj-x86_64-linux-gnu/libtool --mode=compile cc -D_GNU_SOURCE -I. -I/«PKGBUILDDIR»/apcu-4.0.4 -DPHP_ATOM_INC -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/include -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/main -I/«PKGBUILDDIR»/apcu-4.0.4 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security   -c /«PKGBUILDDIR»/apcu-4.0.4/apc_cache.c -o apc_cache.lo 
> libtool: compile:  cc -D_GNU_SOURCE -I. -I/«PKGBUILDDIR»/apcu-4.0.4 -DPHP_ATOM_INC -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/include -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/main -I/«PKGBUILDDIR»/apcu-4.0.4 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c /«PKGBUILDDIR»/apcu-4.0.4/apc_cache.c  -fPIC -DPIC -o .libs/apc_cache.o
> /«PKGBUILDDIR»/apcu-4.0.4/apc_cache.c: In function 'apc_cache_update':
> /«PKGBUILDDIR»/apcu-4.0.4/apc_cache.c:1004:53: error: 'IS_CONSTANT_INDEX' undeclared (first use in this function)
>              switch(Z_TYPE_P((*slot)->value->val) & ~IS_CONSTANT_INDEX) {
>                                                      ^
> /«PKGBUILDDIR»/apcu-4.0.4/apc_cache.c:1004:53: note: each undeclared identifier is reported only once for each function it appears in
> /«PKGBUILDDIR»/apcu-4.0.4/apc_cache.c:1006:22: error: 'IS_CONSTANT_ARRAY' undeclared (first use in this function)
>                  case IS_CONSTANT_ARRAY:
>                       ^
> /«PKGBUILDDIR»/apcu-4.0.4/apc_cache.c: In function 'my_serialize_object':
> /«PKGBUILDDIR»/apcu-4.0.4/apc_cache.c:1127:34: error: 'IS_CONSTANT_INDEX' undeclared (first use in this function)
>          dst->type = src->type & ~IS_CONSTANT_INDEX; 
>                                   ^
> /«PKGBUILDDIR»/apcu-4.0.4/apc_cache.c: In function 'my_copy_zval':
> /«PKGBUILDDIR»/apcu-4.0.4/apc_cache.c:1360:10: error: 'IS_CONSTANT_ARRAY' undeclared (first use in this function)
>      case IS_CONSTANT_ARRAY:
>           ^
> make[1]: *** [apc_cache.lo] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/06/01/php-apcu_4.0.4-1_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-php-pecl mailing list