|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
19 + 2 = ?
Subscribe to this entry?

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


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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-12-29 00:21 UTC]
-Status: Open +Status: Feedback
 [2012-12-29 00:21 UTC]
Please try using this snapshot:
For Windows:
 [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 (Downloaded: before 30 minutes).
 [2012-12-29 00:52 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2012-12-29 00:52 UTC]
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

 For Windows:
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-2021 The PHP Group
All rights reserved.
Last updated: Mon Jan 25 05:01:23 2021 UTC