|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68169 Build Fails
Submitted: 2014-10-06 21:36 UTC Modified: -
Avg. Score:4.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: ndschnbl at gmail dot com Assigned:
Status: Open Package: xdiff (PECL)
PHP Version: 5.5.17 OS: OS X 10.8.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ndschnbl at gmail dot com
New email:
PHP Version: OS:


 [2014-10-06 21:36 UTC] ndschnbl at gmail dot com
PECL xdiff, 1.4.1, does not compile under PHP 5.5.13. (This is the version that downloads using "PECL install xdiff)

libxdiff-0.23 is installed.

Expected result:
Successful "make".

Actual result:
$ sudo pecl install xdiff
downloading xdiff-1.4.1.tgz ...
Starting to download xdiff-1.4.1.tgz (8,623 bytes)
.....done: 8,623 bytes
4 source files, building
WARNING: php_bin /usr/local/php5/bin/php appears to have a suffix 5/bin/php, but config variable php_suffix does not match
running: phpize
Configuring for:
PHP Api Version:         20121113
Zend Module Api No:      20121212
Zend Extension Api No:   220121212
libxdiff library installation dir? [autodetect] : /usr/local/lib
building in /private/tmp/pear/temp/pear-build-rootzVUrZC/xdiff-1.4.1
running: /private/tmp/pear/temp/xdiff/configure --with-xdiff=/usr/local/lib
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-apple-darwin12.5.0
checking host system type... x86_64-apple-darwin12.5.0
checking target system type... x86_64-apple-darwin12.5.0
checking for PHP prefix... /usr/local/php5
checking for PHP includes... -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/php5/lib/php/extensions/no-debug-non-zts-20121212
checking for PHP installed headers prefix... /usr/local/php5/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking for xdiff support... yes, shared
checking for dlopen in -ldl... yes
checking for xdl_diff in -lxdiff... yes
checking for xdl_set_allocator in -lxdiff... yes
checking if xdiff memory allocator supports private data... yes
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin12.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /private/tmp/pear/temp/pear-build-rootzVUrZC/xdiff-1.4.1/libtool --mode=compile cc  -I. -I/private/tmp/pear/temp/xdiff -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootzVUrZC/xdiff-1.4.1/include -I/private/tmp/pear/temp/pear-build-rootzVUrZC/xdiff-1.4.1/main -I/private/tmp/pear/temp/xdiff -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib -I/usr/local/lib/include  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/xdiff/xdiff.c -o xdiff.lo
mkdir .libs
 cc -I. -I/private/tmp/pear/temp/xdiff -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootzVUrZC/xdiff-1.4.1/include -I/private/tmp/pear/temp/pear-build-rootzVUrZC/xdiff-1.4.1/main -I/private/tmp/pear/temp/xdiff -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib -I/usr/local/lib/include -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/xdiff/xdiff.c  -fno-common -DPIC -o .libs/xdiff.o
/private/tmp/pear/temp/xdiff/xdiff.c:39:5: warning: duplicate 'static' declaration specifier [-Wduplicate-decl-specifier]
    ZEND_BEGIN_ARG_INFO(xdiff_arg_force_ref, 0)
/usr/local/php5/include/php/Zend/zend_API.h:110:2: note: expanded from macro 'ZEND_BEGIN_ARG_INFO'
        ZEND_BEGIN_ARG_INFO_EX(name, pass_rest_by_reference, ZEND_RETURN_VALUE, -1)
/usr/local/php5/include/php/Zend/zend_API.h:107:2: note: expanded from macro 'ZEND_BEGIN_ARG_INFO_EX'
        static const zend_arg_info name[] = {                                                                                                                                           \
/private/tmp/pear/temp/xdiff/xdiff.c:113:1: error: unknown type name 'function_entry'
function_entry xdiff_functions[] = {
1 warning and 1 error generated.
make: *** [xdiff.lo] Error 1
ERROR: `make' failed


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Mon Nov 19 11:01:25 2018 UTC