Skip to content

Build is failing with php-src master #374

@mvorisek

Description

@mvorisek
...
mkdir:  cc -I. -I/tmp/pear/temp/igbinary -I/tmp/pear/temp/pear-build-defaultuserekdIGc/igbinary-3.2.13/include -I/tmp/pear/temp/pear-build-defaultuserekdIGc/igbinary-3.2.13/main -I/tmp/pear/temp/igbinary -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -D_GNU_SOURCE -g -O0 -O2 -Wall -Wpointer-arith -Wcast-align -Wwrite-strings -Wswitch -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/igbinary/src/php7/igbinary.c -MMD -MF src/php7/igbinary.dep -MT src/php7/igbinary.lo  -fPIC -DPIC -o src/php7/.libs/igbinary.o
cannot create directory ‘src/php7/.libs’: File exists
 cc -I. -I/tmp/pear/temp/igbinary -I/tmp/pear/temp/pear-build-defaultuserekdIGc/igbinary-3.2.13/include -I/tmp/pear/temp/pear-build-defaultuserekdIGc/igbinary-3.2.13/main -I/tmp/pear/temp/igbinary -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -D_GNU_SOURCE -g -O0 -O2 -Wall -Wpointer-arith -Wcast-align -Wwrite-strings -Wswitch -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/igbinary/src/php7/hash_si.c -MMD -MF src/php7/hash_si.dep -MT src/php7/hash_si.lo  -fPIC -DPIC -o src/php7/.libs/hash_si.o
/bin/sh /tmp/pear/temp/pear-build-defaultuserekdIGc/igbinary-3.2.13/libtool --mode=compile cc -I. -I/tmp/pear/temp/igbinary -I/tmp/pear/temp/pear-build-defaultuserekdIGc/igbinary-3.2.13/include -I/tmp/pear/temp/pear-build-defaultuserekdIGc/igbinary-3.2.13/main -I/tmp/pear/temp/igbinary -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O0 -D_GNU_SOURCE   -g  -O0 -O2 -Wall -Wpointer-arith -Wcast-align -Wwrite-strings -Wswitch -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/igbinary/src/php7/hash_si_ptr.c -o src/php7/hash_si_ptr.lo  -MMD -MF src/php7/hash_si_ptr.dep -MT src/php7/hash_si_ptr.lo
 cc -I. -I/tmp/pear/temp/igbinary -I/tmp/pear/temp/pear-build-defaultuserekdIGc/igbinary-3.2.13/include -I/tmp/pear/temp/pear-build-defaultuserekdIGc/igbinary-3.2.13/main -I/tmp/pear/temp/igbinary -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -D_GNU_SOURCE -g -O0 -O2 -Wall -Wpointer-arith -Wcast-align -Wwrite-strings -Wswitch -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/igbinary/src/php7/hash_si_ptr.c -MMD -MF src/php7/hash_si_ptr.dep -MT src/php7/hash_si_ptr.lo  -fPIC -DPIC -o src/php7/.libs/hash_si_ptr.o
In file included from /tmp/pear/temp/igbinary/src/php7/hash_si_ptr.c:20:
/tmp/pear/temp/igbinary/src/php7/hash_ptr.h:34:9: error: unknown type name 'zend_uintptr_t'
   34 |         zend_uintptr_t key; /**< The key: The address of a pointer, casted to an int (won't be dereferenced). */
      |         ^~~~~~~~~~~~~~
/tmp/pear/temp/igbinary/src/php7/hash_ptr.h:102:64: error: unknown type name 'zend_uintptr_t'
  102 | size_t hash_si_ptr_find_or_insert(struct hash_si_ptr *h, const zend_uintptr_t key, uint32_t value);
      |                                                                ^~~~~~~~~~~~~~
/tmp/pear/temp/igbinary/src/php7/hash_si_ptr.c:25:47: error: unknown type name 'zend_uintptr_t'; did you mean 'tsrm_uintptr_t'?
   25 | inline static uint32_t inline_hash_of_address(zend_uintptr_t ptr) {
      |                                               ^~~~~~~~~~~~~~
      |                                               tsrm_uintptr_t
/tmp/pear/temp/igbinary/src/php7/hash_si_ptr.c: In function 'hash_si_ptr_rehash':
/tmp/pear/temp/igbinary/src/php7/hash_si_ptr.c:110:39: warning: implicit declaration of function 'inline_hash_of_address' [-Wimplicit-function-declaration]
  110 |                         uint32_t hv = inline_hash_of_address(old_data[i].key) & mask;
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/igbinary/src/php7/hash_si_ptr.c: At top level:
/tmp/pear/temp/igbinary/src/php7/hash_si_ptr.c:133:64: error: unknown type name 'zend_uintptr_t'
  133 | size_t hash_si_ptr_find_or_insert(struct hash_si_ptr *h, const zend_uintptr_t key, uint32_t value) {
      |                                                                ^~~~~~~~~~~~~~
make: *** [Makefile:216: src/php7/hash_si_ptr.lo] Error 1
make: *** Waiting for unfinished jobs....
ERROR: `make -j2' failed

caused probably by php/php-src#10597

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions