Bug #64285 [Asn->Csd]: Build failure: unknown type name 'php_socket'
| From: | cataphract@php.net | Date: | Sat, 23 Feb 2013 23:50:18 +0000 |
| Subject: | Bug #64285 [Asn->Csd]: Build failure: unknown type name 'php_socket' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-177364@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64285&edit=1
ID: 64285
Updated by: cataphract@php.net
Reported by: php-bugs-2013 at ryandesign dot com
Summary: Build failure: unknown type name 'php_socket'
-Status: Assigned
+Status: Closed
Type: Bug
Package: Sockets related
Operating System: OS X 10.8.2
PHP Version: 5.5.0alpha5
Assigned To: glopes
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2013-02-23 11:42:12] laruence@php.net
glopes, please look at this.
------------------------------------------------------------------------
[2013-02-23 10:48:46] php-bugs-2013 at ryandesign dot com
Description:
------------
I'm the maintainer of PHP in MacPorts, trying to update our php55 packages. In
5.5.0alpha4 everything built fine but with 5.5.0alpha5 the sockets extension
does not build. The first error is:
/bin/sh
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55-
sockets/work/php-5.5.0alpha5/ext/sockets/libtool --mode=compile /usr/bin/clang
-I. -
I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55-
sockets/work/php-5.5.0alpha5/ext/sockets -DPHP_ATOM_INC -
I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55-
sockets/work/php-5.5.0alpha5/ext/sockets/include -
I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55-
sockets/work/php-5.5.0alpha5/ext/sockets/main -
I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55-
sockets/work/php-5.5.0alpha5/ext/sockets -I/opt/local/include/php55/php -
I/opt/local/include/php55/php/main -I/opt/local/include/php55/php/TSRM -
I/opt/local/include/php55/php/Zend -I/opt/local/include/php55/php/ext -
I/opt/local/include/php55/php/ext/date/lib -I/opt/local/include -
I/opt/local/include -DHAVE_CONFIG_H -pipe -O2 -arch x86_64 -c
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55-
sockets/work/php-5.5.0alpha5/ext/sockets/conversions.c -o conversions.lo
/usr/bin/clang -I. -
I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55-
sockets/work/php-5.5.0alpha5/ext/sockets -DPHP_ATOM_INC -
I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55-
sockets/work/php-5.5.0alpha5/ext/sockets/include -
I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55-
sockets/work/php-5.5.0alpha5/ext/sockets/main -
I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55-
sockets/work/php-5.5.0alpha5/ext/sockets -I/opt/local/include/php55/php -
I/opt/local/include/php55/php/main -I/opt/local/include/php55/php/TSRM -
I/opt/local/include/php55/php/Zend -I/opt/local/include/php55/php/ext -
I/opt/local/include/php55/php/ext/date/lib -I/opt/local/include -
I/opt/local/include -DHAVE_CONFIG_H -pipe -O2 -arch x86_64 -c
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55-
sockets/work/php-5.5.0alpha5/ext/sockets/conversions.c -fno-common -DPIC -o
.libs/conversions.o
In file included from
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php55-
sockets/work/php-5.5.0alpha5/ext/sockets/conversions.c:1:
./sockaddr_conv.h:19:65: error: unknown type name 'php_socket'; did you mean
'php_socket_t'?
int php_set_inet6_addr(struct sockaddr_in6 *sin6, char *string, php_socket
*php_sock TSRMLS_DC);
^~~~~~~~~~
php_socket_t
/opt/local/include/php55/php/main/php_network.h:95:13: note: 'php_socket_t'
declared here
typedef int php_socket_t;
^
The sockets extension appears to have undergone extensive changes between
5.5.0alpha4 and 5.5.0alpha5 and I don't know how to fix this problem.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64285&edit=1