php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63871 Making fails
Submitted: 2012-12-29 00:10 UTC Modified: 2012-12-29 00:52 UTC
From: bobwei9 at hotmail dot com Assigned: krakjoe (profile)
Status: Closed Package: pthreads (PECL)
PHP Version: master-Git-2012-12-28 (Git) OS: Mac OS X Mountain Lion
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:
Package:
Bug Type:
Summary:
From: bobwei9 at hotmail dot com
New email:
PHP Version: OS:

 

 [2012-12-29 00:10 UTC] bobwei9 at hotmail dot com
Description:
------------
Making fails now on OS X. Before one and a half day making worked...

phpize
./configure
make

And then:
…
/bin/sh /var/root/pthreads/libtool --mode=compile /usr/bin/llvm-gcc  -I. -I/var/root/pthreads -DPHP_ATOM_INC -I/var/root/pthreads/include -I/var/root/pthreads/main -I/var/root/pthreads -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/var/root/pthreads/.  -DHAVE_CONFIG_H  -g -O0   -c /var/root/pthreads/src/prepare.c -o src/prepare.lo 
 /usr/bin/llvm-gcc -I. -I/var/root/pthreads -DPHP_ATOM_INC -I/var/root/pthreads/include -I/var/root/pthreads/main -I/var/root/pthreads -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/var/root/pthreads/. -DHAVE_CONFIG_H -g -O0 -c /var/root/pthreads/src/prepare.c  -fno-common -DPIC -o src/.libs/prepare.o
/var/root/pthreads/src/prepare.c: In function 'pthreads_preparation_copy_trait_alias':
/var/root/pthreads/src/prepare.c:418: error: 'zend_trait_alias' has no member named 'function'
/var/root/pthreads/src/prepare.c:418: error: 'zend_trait_alias' has no member named 'function'
/var/root/pthreads/src/prepare.c: In function 'pthreads_preparation_copy_trait_precedence':
/var/root/pthreads/src/prepare.c:439: error: 'zend_trait_precedence' has no member named 'function'
/var/root/pthreads/src/prepare.c:439: error: 'zend_trait_precedence' has no member named 'function'
make: *** [src/prepare.lo] Error 1



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-12-29 00:21 UTC] krakjoe@php.net
-Status: Open +Status: Feedback
 [2012-12-29 00:21 UTC] krakjoe@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.4-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/
 [2012-12-29 00:23 UTC] bobwei9 at hotmail dot com
-Status: Feedback +Status: Open
 [2012-12-29 00:23 UTC] bobwei9 at hotmail dot com
I don't use a snapshot; I'm already using the newest version from git.php.net. (Downloaded: before 30 minutes).
 [2012-12-29 00:52 UTC] krakjoe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2012-12-29 00:52 UTC] krakjoe@php.net
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.

This has now been fixed in pthreads git master.

Thanks for the report, in future such errors can be avoided by compiling against 
a released version of PHP. By the time a release of PHP is rolled out, pthreads 
will be compatible.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 01:01:30 2024 UTC