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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2020 The PHP Group
All rights reserved.
Last updated: Thu Feb 27 18:01:29 2020 UTC