Date: Mon, 22 Sep 2014 09:10:58 -0500 From: dweimer <dweimer@dweimer.net> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: PHP 5.6 and pecl-http Message-ID: <8b20048b467b3f2894db40a3cbfe34f7@dweimer.net>
next in thread | raw e-mail | index | archive | help
I decided it was time to give PHP 5.6 a try, and ran into an issue with the installation of www/pecl-http after the update. The output seems to indicate the issue is in the http_api.lo involving the sapi_request_info, has anyone else ran into this issue? The system is running 10.0-RELEASE-p9 Ports tree is running revision 368833 Here is the part of the build output with the error (full output of the entire build follows): --- http_api.lo --- /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_api.c:352:23: error: no member named 'raw_post_data' in 'sapi_request_info' if (SG(request_info).raw_post_data) { ~~~~~~~~~~~~~~~~ ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_api.c:353:30: error: no member named 'raw_post_data_length' in 'sapi_request_info' *length = SG(request_info).raw_post_data_length; ~~~~~~~~~~~~~~~~ ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_api.c:354:28: error: no member named 'raw_post_data' in 'sapi_request_info' *body = SG(request_info).raw_post_data; ~~~~~~~~~~~~~~~~ ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_api.c:385:20: error: no member named 'raw_post_data' in 'sapi_request_info' SG(request_info).raw_post_data = *body; ~~~~~~~~~~~~~~~~ ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_api.c:386:20: error: no member named 'raw_post_data_length' in 'sapi_request_info' SG(request_info).raw_post_data_length = *length; ~~~~~~~~~~~~~~~~ ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_api.c:403:23: error: no member named 'raw_post_data' in 'sapi_request_info' if (SG(request_info).raw_post_data) { ~~~~~~~~~~~~~~~~ ^ 6 errors generated. *** [http_api.lo] Error code 1 below is the output from the port build attempt: Script started on Mon Sep 22 08:45:26 2014 root@webmail-jail:/usr/ports # cd www/pecl-http/ root@webmail-jail:/usr/ports/www/pecl-http # make clean ===> Cleaning for pecl-http-1.7.6 root@webmail-jail:/usr/ports/www/pecl-http # make configure ===> pecl-http-1.7.6 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by pecl-http-1.7.6 for building ===> Extracting for pecl-http-1.7.6 => SHA256 Checksum OK for pecl_http-1.7.6.tgz. ===> Patching for pecl-http-1.7.6 ===> pecl-http-1.7.6 depends on file: /usr/local/bin/phpize - found ===> pecl-http-1.7.6 depends on file: /usr/local/bin/autoconf-2.69 - found ===> pecl-http-1.7.6 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so.7) ===> PHPizing for pecl-http-1.7.6 Configuring for: PHP Api Version: 20131106 Zend Module Api No: 20131226 Zend Extension Api No: 220131226 ===> Configuring for pecl-http-1.7.6 ===> FreeBSD 10 autotools fix applied to /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/build/libtool.m4 ===> FreeBSD 10 autotools fix applied to /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/acinclude.m4 ===> FreeBSD 10 autotools fix applied to /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/configure ===> FreeBSD 10 autotools fix applied to /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/aclocal.m4 configure: loading site script /usr/ports/Templates/config.site checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for a sed that does not truncate output... /usr/bin/sed 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... cpp 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... amd64-portbld-freebsd10.0 checking host system type... amd64-portbld-freebsd10.0 checking target system type... amd64-portbld-freebsd10.0 checking for PHP prefix... /usr/local checking for PHP includes... -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 checking for PHP extension directory... /usr/local/lib/php/20131226-zts checking for PHP installed headers prefix... /usr/local/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... (cached) /usr/bin/awk checking if /usr/bin/awk is broken... no checking whether to enable extended HTTP support... yes, shared checking whether to depend on extensions which have been built shared... yes checking whether to enable cURL HTTP request support... yes checking whether to enable libevent support fur cURL... yes checking whether to enable zlib encodings support... yes checking whether to enable response content type guessing... yes checking for egrep... (cached) /usr/bin/egrep checking for a sed that does not truncate output... (cached) /usr/bin/sed checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for netdb.h... (cached) yes checking for unistd.h... (cached) yes checking for gethostname... yes checking for getdomainname... yes checking for getservbyport... yes checking for getservbyname... yes checking for zlib.h... found in /usr checking for zlib version >= 1.2.0.4... 1.2.8 checking for curl/curl.h... found in /usr/local checking for curl-config... found: /usr/local/bin/curl-config checking for curl version >= 7.12.3... 7.38.0 checking for SSL support in libcurl... yes checking for openssl support in libcurl... yes checking openssl/crypto.h usability... yes checking openssl/crypto.h presence... yes checking for openssl/crypto.h... yes checking for gnutls support in libcurl... no checking for bundled SSL CA info... /usr/local/share/certs/ca-root-nss.crt checking for curl_share_strerror in -lcurl... yes checking for curl_multi_strerror in -lcurl... yes checking for curl_easy_strerror in -lcurl... yes checking for curl_easy_reset in -lcurl... yes checking for curl_formget in -lcurl... yes checking for curl_multi_setopt in -lcurl... yes checking for curl_multi_timeout in -lcurl... yes checking for ext/event support... no checking for event.h... not found configure: WARNING: continuing without libevent support checking for magic.h... found in /usr checking for ext/hash support... yes checking for php_hash.h... /usr/local/include/php/ext/hash checking for ext/iconv support... yes checking for ext/session support... yes checking whether to add a dependency on ext/hash... yes checking whether to add a dependency on ext/iconv... yes checking whether to add a dependency on ext/session... yes checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for dlfcn.h... (cached) yes checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd10.0 ld.so 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 checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... checking if c++ static flag works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd10.0 ld.so (cached) (cached) checking how to hardcode library paths into programs... unsupported configure: creating ./config.status config.status: creating config.h root@webmail-jail:/usr/ports/www/pecl-http # make ===> Building for pecl-http-1.7.6 --- missing.lo --- --- http.lo --- --- http_functions.lo --- --- phpstr/phpstr.lo --- --- http_util_object.lo --- --- http_message_object.lo --- --- missing.lo --- /bin/sh /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/libtool --mode=compile cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/missing.c -o missing.lo --- http.lo --- /bin/sh /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/libtool --mode=compile cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http.c -o http.lo --- http_functions.lo --- /bin/sh /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/libtool --mode=compile cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_functions.c -o http_functions.lo --- phpstr/phpstr.lo --- /bin/sh /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/libtool --mode=compile cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/phpstr/phpstr.c -o phpstr/phpstr.lo --- http_util_object.lo --- /bin/sh /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/libtool --mode=compile cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_util_object.c -o http_util_object.lo --- http_message_object.lo --- /bin/sh /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/libtool --mode=compile cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_message_object.c -o http_message_object.lo --- missing.lo --- mkdir .libs --- http.lo --- mkdir .libs mkdir: .libs: File exists --- missing.lo --- cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/missing.c -fPIC -DPIC -o .libs/missing.o --- http.lo --- cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http.c -fPIC -DPIC -o .libs/http.o --- http_functions.lo --- cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_functions.c -fPIC -DPIC -o .libs/http_functions.o --- phpstr/phpstr.lo --- mkdir phpstr/.libs --- http_message_object.lo --- cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_message_object.c -fPIC -DPIC -o .libs/http_message_object.o --- http_util_object.lo --- cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_util_object.c -fPIC -DPIC -o .libs/http_util_object.o --- phpstr/phpstr.lo --- cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/phpstr/phpstr.c -fPIC -DPIC -o phpstr/.libs/phpstr.o --- http_request_object.lo --- /bin/sh /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/libtool --mode=compile cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c -o http_request_object.lo --- http_request_pool_api.lo --- /bin/sh /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/libtool --mode=compile cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_pool_api.c -o http_request_pool_api.lo --- http_message_object.lo --- /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_message_object.c:518:23: warning: incompatible pointer types passing 'http_message_object *' (aka 'struct _http_message_object_t *') to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wincompatible-pointer-types] zend_object_std_init(o, ce TSRMLS_CC); ^ /usr/local/include/php/Zend/zend_objects.h:28:49: note: passing argument to parameter 'object' here ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC); ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_message_object.c:519:25: warning: incompatible pointer types passing 'http_message_object *' (aka 'struct _http_message_object_t *') to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wincompatible-pointer-types] object_properties_init(o, ce); ^ /usr/local/include/php/Zend/zend_API.h:372:51: note: passing argument to parameter 'object' here ZEND_API void object_properties_init(zend_object *object, zend_class_entry *class_type); ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_message_object.c:564:13: warning: incompatible pointer types passing 'http_message_object *' (aka 'struct _http_message_object_t *') to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wincompatible-pointer-types] freeObject(o); ^ ./php_http_std_defs.h:187:25: note: expanded from macro 'freeObject' zend_object_std_dtor(o TSRMLS_CC); \ ^ /usr/local/include/php/Zend/zend_objects.h:29:49: note: passing argument to parameter 'object' here ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC); ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_message_object.c:707:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_THROW_HTTP(); ^ ./php_http_std_defs.h:216:30: note: expanded from macro 'SET_EH_THROW_HTTP' # define SET_EH_THROW_HTTP() SET_EH_THROW_EX(http_exception_get_default()) ^ ./php_http_std_defs.h:217:30: note: expanded from macro 'SET_EH_THROW_EX' # define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_message_object.c:723:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_NORMAL(); ^ ./php_http_std_defs.h:218:26: note: expanded from macro 'SET_EH_NORMAL' # define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_message_object.c:739:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_THROW_HTTP(); ^ ./php_http_std_defs.h:216:30: note: expanded from macro 'SET_EH_THROW_HTTP' # define SET_EH_THROW_HTTP() SET_EH_THROW_EX(http_exception_get_default()) ^ ./php_http_std_defs.h:217:30: note: expanded from macro 'SET_EH_THROW_EX' # define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_message_object.c:751:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_NORMAL(); ^ ./php_http_std_defs.h:218:26: note: expanded from macro 'SET_EH_NORMAL' # define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_message_object.c:766:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_THROW_HTTP(); ^ ./php_http_std_defs.h:216:30: note: expanded from macro 'SET_EH_THROW_HTTP' # define SET_EH_THROW_HTTP() SET_EH_THROW_EX(http_exception_get_default()) ^ ./php_http_std_defs.h:217:30: note: expanded from macro 'SET_EH_THROW_EX' # define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_message_object.c:775:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_NORMAL(); ^ ./php_http_std_defs.h:218:26: note: expanded from macro 'SET_EH_NORMAL' # define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ --- http_functions.lo --- /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_functions.c:412:2: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] HTTP_CHECK_HEADERS_SENT(RETURN_FALSE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./php_http_api.h:110:3: note: expanded from macro 'HTTP_CHECK_HEADERS_SENT' HTTP_GET_OUTPUT_START(); \ ^~~~~~~~~~~~~~~~~~~~~~~ ./php_http_api.h:105:9: note: expanded from macro 'HTTP_GET_OUTPUT_START' char *output_start_filename = php_output_get_start_filename(TSRMLS_C); \ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_functions.c:449:2: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] HTTP_CHECK_HEADERS_SENT(RETURN_FALSE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./php_http_api.h:110:3: note: expanded from macro 'HTTP_CHECK_HEADERS_SENT' HTTP_GET_OUTPUT_START(); \ ^~~~~~~~~~~~~~~~~~~~~~~ ./php_http_api.h:105:9: note: expanded from macro 'HTTP_GET_OUTPUT_START' char *output_start_filename = php_output_get_start_filename(TSRMLS_C); \ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- http_message_object.lo --- /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_message_object.c:1156:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_THROW_HTTP(); ^ ./php_http_std_defs.h:216:30: note: expanded from macro 'SET_EH_THROW_HTTP' # define SET_EH_THROW_HTTP() SET_EH_THROW_EX(http_exception_get_default()) ^ ./php_http_std_defs.h:217:30: note: expanded from macro 'SET_EH_THROW_EX' # define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_message_object.c:1163:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_NORMAL(); ^ ./php_http_std_defs.h:218:26: note: expanded from macro 'SET_EH_NORMAL' # define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_message_object.c:1175:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_THROW_HTTP(); ^ ./php_http_std_defs.h:216:30: note: expanded from macro 'SET_EH_THROW_HTTP' # define SET_EH_THROW_HTTP() SET_EH_THROW_EX(http_exception_get_default()) ^ ./php_http_std_defs.h:217:30: note: expanded from macro 'SET_EH_THROW_EX' # define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_message_object.c:1185:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_NORMAL(); ^ ./php_http_std_defs.h:218:26: note: expanded from macro 'SET_EH_NORMAL' # define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_message_object.c:1229:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_THROW_HTTP(); ^ ./php_http_std_defs.h:216:30: note: expanded from macro 'SET_EH_THROW_HTTP' # define SET_EH_THROW_HTTP() SET_EH_THROW_EX(http_exception_get_default()) ^ ./php_http_std_defs.h:217:30: note: expanded from macro 'SET_EH_THROW_EX' # define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ --- http_response_object.lo --- /bin/sh /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/libtool --mode=compile cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_response_object.c -o http_response_object.lo --- http_message_object.lo --- /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_message_object.c:1353:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_NORMAL(); ^ ./php_http_std_defs.h:218:26: note: expanded from macro 'SET_EH_NORMAL' # define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ --- http_request_object.lo --- cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c -fPIC -DPIC -o .libs/http_request_object.o --- http_request_pool_api.lo --- cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_pool_api.c -fPIC -DPIC -o .libs/http_request_pool_api.o --- http_exception_object.lo --- /bin/sh /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/libtool --mode=compile cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_exception_object.c -o http_exception_object.lo --- http_response_object.lo --- cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_response_object.c -fPIC -DPIC -o .libs/http_response_object.o --- http_exception_object.lo --- cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_exception_object.c -fPIC -DPIC -o .libs/http_exception_object.o --- http_request_object.lo --- /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:496:23: warning: incompatible pointer types passing 'http_request_object *' (aka 'struct _http_request_object_t *') to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wincompatible-pointer-types] zend_object_std_init(o, ce TSRMLS_CC); ^ /usr/local/include/php/Zend/zend_objects.h:28:49: note: passing argument to parameter 'object' here ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC); ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:497:25: warning: incompatible pointer types passing 'http_request_object *' (aka 'struct _http_request_object_t *') to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wincompatible-pointer-types] object_properties_init(o, ce); ^ /usr/local/include/php/Zend/zend_API.h:372:51: note: passing argument to parameter 'object' here ZEND_API void object_properties_init(zend_object *object, zend_class_entry *class_type); ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:533:13: warning: incompatible pointer types passing 'http_request_object *' (aka 'struct _http_request_object_t *') to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wincompatible-pointer-types] freeObject(o); ^ ./php_http_std_defs.h:187:25: note: expanded from macro 'freeObject' zend_object_std_dtor(o TSRMLS_CC); \ ^ /usr/local/include/php/Zend/zend_objects.h:29:49: note: passing argument to parameter 'object' here ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC); ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:783:3: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] with_error_handling(EH_NORMAL, NULL) { ^ ./php_http_std_defs.h:228:3: note: expanded from macro 'with_error_handling' php_set_error_handling(eh, ec TSRMLS_CC); ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:785:5: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] } end_error_handling(); ^ ./php_http_std_defs.h:230:3: note: expanded from macro 'end_error_handling' php_set_error_handling(__eh, __ec TSRMLS_CC); \ ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:799:43: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] hash_key->h = zend_hash_func(pretty_key(hash_key->arKey, hash_key->nKeyLength - 1, 1, 0), hash_key->nKeyLength); ^~~~~~~~~~~~~~~ ./php_http_api.h:37:69: note: expanded from macro 'pretty_key' #define pretty_key(key, key_len, uctitle, xhyphen) _http_pretty_key(key, key_len, uctitle, xhyphen) ^ ./php_http_api.h:38:37: note: passing argument to parameter 'key' here extern char *_http_pretty_key(char *key, size_t key_len, zend_bool uctitle, zend_bool xhyphen); ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:877:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_THROW_HTTP(); ^ ./php_http_std_defs.h:216:30: note: expanded from macro 'SET_EH_THROW_HTTP' # define SET_EH_THROW_HTTP() SET_EH_THROW_EX(http_exception_get_default()) ^ ./php_http_std_defs.h:217:30: note: expanded from macro 'SET_EH_THROW_EX' # define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:889:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_NORMAL(); ^ ./php_http_std_defs.h:218:26: note: expanded from macro 'SET_EH_NORMAL' # define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:903:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_THROW_HTTP(); ^ ./php_http_std_defs.h:216:30: note: expanded from macro 'SET_EH_THROW_HTTP' # define SET_EH_THROW_HTTP() SET_EH_THROW_EX(http_exception_get_default()) ^ ./php_http_std_defs.h:217:30: note: expanded from macro 'SET_EH_THROW_EX' # define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:918:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_NORMAL(); ^ ./php_http_std_defs.h:218:26: note: expanded from macro 'SET_EH_NORMAL' # define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:1776:3: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_THROW_HTTP(); ^ ./php_http_std_defs.h:216:30: note: expanded from macro 'SET_EH_THROW_HTTP' # define SET_EH_THROW_HTTP() SET_EH_THROW_EX(http_exception_get_default()) ^ ./php_http_std_defs.h:217:30: note: expanded from macro 'SET_EH_THROW_EX' # define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:1783:3: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_NORMAL(); ^ ./php_http_std_defs.h:218:26: note: expanded from macro 'SET_EH_NORMAL' # define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here --- http_requestpool_object.lo --- --- http_request_object.lo --- static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:1798:3: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_THROW_HTTP(); ^ ./php_http_std_defs.h:216:30: note: expanded from macro 'SET_EH_THROW_HTTP' # define SET_EH_THROW_HTTP() SET_EH_THROW_EX(http_exception_get_default()) ^ ./php_http_std_defs.h:217:30: note: expanded from macro 'SET_EH_THROW_EX' # define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here --- http_requestpool_object.lo --- /bin/sh /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/libtool --mode=compile cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_requestpool_object.c -o http_requestpool_object.lo --- http_request_object.lo --- static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:1802:3: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_NORMAL(); ^ ./php_http_std_defs.h:218:26: note: expanded from macro 'SET_EH_NORMAL' # define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:1844:3: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_THROW_HTTP(); ^ ./php_http_std_defs.h:216:30: note: expanded from macro 'SET_EH_THROW_HTTP' # define SET_EH_THROW_HTTP() SET_EH_THROW_EX(http_exception_get_default()) ^ ./php_http_std_defs.h:217:30: note: expanded from macro 'SET_EH_THROW_EX' # define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:1851:3: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_NORMAL(); ^ ./php_http_std_defs.h:218:26: note: expanded from macro 'SET_EH_NORMAL' # define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:1904:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_THROW_HTTP(); ^ ./php_http_std_defs.h:216:30: note: expanded from macro 'SET_EH_THROW_HTTP' # define SET_EH_THROW_HTTP() SET_EH_THROW_EX(http_exception_get_default()) ^ ./php_http_std_defs.h:217:30: note: expanded from macro 'SET_EH_THROW_EX' # define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_object.c:1917:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_NORMAL(); ^ ./php_http_std_defs.h:218:26: note: expanded from macro 'SET_EH_NORMAL' # define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ --- http_response_object.lo --- /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_response_object.c:411:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_THROW_HTTP(); ^ ./php_http_std_defs.h:216:30: note: expanded from macro 'SET_EH_THROW_HTTP' # define SET_EH_THROW_HTTP() SET_EH_THROW_EX(http_exception_get_default()) ^ ./php_http_std_defs.h:217:30: note: expanded from macro 'SET_EH_THROW_EX' # define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_response_object.c:440:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_NORMAL(); ^ ./php_http_std_defs.h:218:26: note: expanded from macro 'SET_EH_NORMAL' # define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ --- http_message_object.lo --- 15 warnings generated. --- http_api.lo --- /bin/sh /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/libtool --mode=compile cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_api.c -o http_api.lo --- http_response_object.lo --- /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_response_object.c:733:2: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] HTTP_CHECK_HEADERS_SENT(RETURN_FALSE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./php_http_api.h:110:3: note: expanded from macro 'HTTP_CHECK_HEADERS_SENT' HTTP_GET_OUTPUT_START(); \ ^~~~~~~~~~~~~~~~~~~~~~~ ./php_http_api.h:105:9: note: expanded from macro 'HTTP_GET_OUTPUT_START' char *output_start_filename = php_output_get_start_filename(TSRMLS_C); \ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_response_object.c:887:2: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] HTTP_CHECK_HEADERS_SENT(RETURN_FALSE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./php_http_api.h:110:3: note: expanded from macro 'HTTP_CHECK_HEADERS_SENT' HTTP_GET_OUTPUT_START(); \ ^~~~~~~~~~~~~~~~~~~~~~~ ./php_http_api.h:105:9: note: expanded from macro 'HTTP_GET_OUTPUT_START' char *output_start_filename = php_output_get_start_filename(TSRMLS_C); \ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- http_cache_api.lo --- /bin/sh /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/libtool --mode=compile cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_cache_api.c -o http_cache_api.lo --- http_requestpool_object.lo --- cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_requestpool_object.c -fPIC -DPIC -o .libs/http_requestpool_object.o --- http_functions.lo --- 2 warnings generated. --- http_request_api.lo --- /bin/sh /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/libtool --mode=compile cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_api.c -o http_request_api.lo --- http_api.lo --- cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_api.c -fPIC -DPIC -o .libs/http_api.o --- http_cache_api.lo --- cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_cache_api.c -fPIC -DPIC -o .libs/http_cache_api.o --- http_response_object.lo --- 4 warnings generated. --- http_request_info.lo --- /bin/sh /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/libtool --mode=compile cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_info.c -o http_request_info.lo --- http_request_api.lo --- cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_api.c -fPIC -DPIC -o .libs/http_request_api.o --- http_requestpool_object.lo --- /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_requestpool_object.c:133:23: warning: incompatible pointer types passing 'http_requestpool_object *' (aka 'struct _http_requestpool_object_t *') to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wincompatible-pointer-types] zend_object_std_init(o, ce TSRMLS_CC); ^ /usr/local/include/php/Zend/zend_objects.h:28:49: note: passing argument to parameter 'object' here ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC); ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_requestpool_object.c:134:25: warning: incompatible pointer types passing 'http_requestpool_object *' (aka 'struct _http_requestpool_object_t *') to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wincompatible-pointer-types] object_properties_init(o, ce); ^ /usr/local/include/php/Zend/zend_API.h:372:51: note: passing argument to parameter 'object' here ZEND_API void object_properties_init(zend_object *object, zend_class_entry *class_type); ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_requestpool_object.c:152:13: warning: incompatible pointer types passing 'http_requestpool_object *' (aka 'struct _http_requestpool_object_t *') to parameter of type 'zend_object *' (aka 'struct _zend_object *') [-Wincompatible-pointer-types] freeObject(o); ^ ./php_http_std_defs.h:187:25: note: expanded from macro 'freeObject' zend_object_std_dtor(o TSRMLS_CC); \ ^ /usr/local/include/php/Zend/zend_objects.h:29:49: note: passing argument to parameter 'object' here ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC); ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_requestpool_object.c:172:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_THROW_HTTP(); ^ ./php_http_std_defs.h:216:30: note: expanded from macro 'SET_EH_THROW_HTTP' # define SET_EH_THROW_HTTP() SET_EH_THROW_EX(http_exception_get_default()) ^ ./php_http_std_defs.h:217:30: note: expanded from macro 'SET_EH_THROW_EX' # define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_requestpool_object.c:184:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_NORMAL(); ^ ./php_http_std_defs.h:218:26: note: expanded from macro 'SET_EH_NORMAL' # define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_requestpool_object.c:220:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_THROW_HTTP(); ^ ./php_http_std_defs.h:216:30: note: expanded from macro 'SET_EH_THROW_HTTP' # define SET_EH_THROW_HTTP() SET_EH_THROW_EX(http_exception_get_default()) ^ ./php_http_std_defs.h:217:30: note: expanded from macro 'SET_EH_THROW_EX' # define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_requestpool_object.c:228:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_NORMAL(); ^ ./php_http_std_defs.h:218:26: note: expanded from macro 'SET_EH_NORMAL' # define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_requestpool_object.c:241:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_THROW_HTTP(); ^ ./php_http_std_defs.h:216:30: note: expanded from macro 'SET_EH_THROW_HTTP' # define SET_EH_THROW_HTTP() SET_EH_THROW_EX(http_exception_get_default()) ^ ./php_http_std_defs.h:217:30: note: expanded from macro 'SET_EH_THROW_EX' # define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_requestpool_object.c:246:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_NORMAL(); ^ ./php_http_std_defs.h:218:26: note: expanded from macro 'SET_EH_NORMAL' # define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_requestpool_object.c:260:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_THROW_HTTP(); ^ ./php_http_std_defs.h:216:30: note: expanded from macro 'SET_EH_THROW_HTTP' # define SET_EH_THROW_HTTP() SET_EH_THROW_EX(http_exception_get_default()) ^ ./php_http_std_defs.h:217:30: note: expanded from macro 'SET_EH_THROW_EX' # define SET_EH_THROW_EX(ex) php_set_error_handling(EH_THROW, ex TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_requestpool_object.c:262:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] SET_EH_NORMAL(); ^ ./php_http_std_defs.h:218:26: note: expanded from macro 'SET_EH_NORMAL' # define SET_EH_NORMAL() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC) ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ --- http_request_info.lo --- cc -I. -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -DPHP_ATOM_INC -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/include -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/main -I/var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 -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 -I/usr/local/include -I/usr/local/include/php/ext/hash -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_info.c -fPIC -DPIC -o .libs/http_request_info.o --- http_api.lo --- /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_api.c:352:23: error: no member named 'raw_post_data' in 'sapi_request_info' if (SG(request_info).raw_post_data) { ~~~~~~~~~~~~~~~~ ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_api.c:353:30: error: no member named 'raw_post_data_length' in 'sapi_request_info' *length = SG(request_info).raw_post_data_length; ~~~~~~~~~~~~~~~~ ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_api.c:354:28: error: no member named 'raw_post_data' in 'sapi_request_info' *body = SG(request_info).raw_post_data; ~~~~~~~~~~~~~~~~ ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_api.c:385:20: error: no member named 'raw_post_data' in 'sapi_request_info' SG(request_info).raw_post_data = *body; ~~~~~~~~~~~~~~~~ ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_api.c:386:20: error: no member named 'raw_post_data_length' in 'sapi_request_info' SG(request_info).raw_post_data_length = *length; ~~~~~~~~~~~~~~~~ ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_api.c:403:23: error: no member named 'raw_post_data' in 'sapi_request_info' if (SG(request_info).raw_post_data) { ~~~~~~~~~~~~~~~~ ^ 6 errors generated. *** [http_api.lo] Error code 1 make[1]: stopped in /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 --- http_request_object.lo --- 18 warnings generated. --- http_requestpool_object.lo --- 11 warnings generated. --- http_request_api.lo --- /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_api.c:1192:2: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] with_error_handling(EH_NORMAL, NULL) { ^ ./php_http_std_defs.h:228:3: note: expanded from macro 'with_error_handling' php_set_error_handling(eh, ec TSRMLS_CC); ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6/http_request_api.c:1196:4: warning: 'php_set_error_handling' is deprecated [-Wdeprecated-declarations] } end_error_handling(); ^ ./php_http_std_defs.h:230:3: note: expanded from macro 'end_error_handling' php_set_error_handling(__eh, __ec TSRMLS_CC); \ ^ /usr/local/include/php/main/php.h:296:46: note: 'php_set_error_handling' declared here static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC) ^ 2 warnings generated. 1 error make[1]: stopped in /var/ports/usr/ports/www/pecl-http/work/pecl_http-1.7.6 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/www/pecl-http root@webmail-jail:/usr/ports/www/pecl-http # exit exit Script done on Mon Sep 22 08:46:23 2014 -- Thanks, Dean E. Weimer http://www.dweimer.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8b20048b467b3f2894db40a3cbfe34f7>