-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken build with PHP 7.1 #12055
Comments
This fix in yaf extension gives a part of solution ;) |
Can upgrade zephir, rebuild phalcon it's ok. |
Better, but still broken with latest zephy snapshot (22f6632) Build:
Load: |
@remicollet Whether delete |
@dreamsxin same error. |
@sergeyklay Get it. |
@remicollet Could you please try now by using the latest Zephir from git clone git@github.com:phalcon/cphalcon.git
cd cphalcon
git checkout 3.0.x
zephir fullclean
zephir build |
Tagged version 3.0.1 NTS build fine with latest zephyr (0.9.4 rev 23856e1)
But not the ZTS one
Strange... no error message... |
Did you compile phalcon for zts ? ZTS php is totally different php and you need to install phalcon separately for it. I mean you sure this path even exists like Check syslog or something then. |
Yes, like all other >160 extensions I build ;) |
Then check any logs maybe ? Maybe some seg fault or something. |
This also happen for NTS build on some distro (RHEL-6 and 7, not on Fedora...) |
Anything in logs ? |
Read previous comments => "no error message." |
I wasn't asking for error message, i was asking for logs, like syslog etc. |
v3.0.2 using latest zephyr cae68c4205a93a7a1ea6165bcd5ce5cb470f5bdd still broken. PHP 7.1.0 is planed for Dec 1st. |
@remicollet https://seld.be/notes/php-versions-stats-2016-2-edition In my opinion there are many enterprise/corporate projects. They use Composer more rarely. So the proportion of the 5th version is bigger. And when someone asks me about 7.1 (before release) it sounds strange to me. The time is our resource; We can spend it either for fixing bugs and stabilizing the work, or for supporting 7.1 (which will be used by 1% of users) |
First of all, is there any really crucial and needed advantage in php 7.1 so we need to support it as soon as possible ? |
I agree with @sergeyklay, just one thing is that "new users" that are seeking for php framework might get pushed away by a fact that a specific framework doesn`t support the "latest php". While i don`t say this is the most important issue i still think it should be fixed at early stage so people can see framework is always up to date and they have nothing to worry about. At least , this is what i think |
@Jurigag @sergeyklay Do I understand it correctly that at the moment Phalcon 3.0,2 will not compile with PHP 7.1? I did try it, and got segfaults - so that's not a good sign. Prevents us from moving to PHP 7.1. |
Yes. Just stay at php 7 until this is fixed. |
We're using phalcon in production on PHP 7 and we'd like to upgrade to 7.1, so looking forward to these changes. Thanks! |
+1 for a fix, would like to go to 7.1 |
It will be really soon i think. |
+1 for a fix, would like to go to 7.1 |
It's theoritcally fixed here - #12747 on build using latest zephir Though it could be nice if someone with big test suite in their application could test it before we release it:
|
Fixed in the |
@sergeyklay do you plan to tag a new Zephir release ? At least before 3.1.x next version |
3.1.2 will be released on few days so there will be no need to use zephir. Just use master zephir. |
Please tag. |
What's a problem with master? Zephir is still being fixed etc, changes are happening almost each day so i don't see a point with a tag. |
Building a stable version (phalcon 3.1.2) with a unstable Zephir snapshot seems... messy, ugly, and terribly bad practice. |
But 3.1.x is not stable version either. |
From https://github.com/phalcon/cphalcon/releases 3.1.1 is Latest Release, so I suppose it is "stable", thus will be upcoming 3.1.2, when tagged... Definitively, I think I will never understand how this project works. |
When 3.1.2 will be released you won't need zephir to install it. To install latest NOT STABLE phalcon you need zephir, what's a difference if you will compile unstable phalcon with stable or non-stable zephir? |
I'm used to rebuild from tagged sources, using zephir, at least because I need to patch sources to drop the damned fucking non-free part (2 years old bug #10118) |
Oh okay then. |
@remicollet No problem. We'll release new Zephir version |
thanks |
Released |
I can even confirm, phalcon 3.1.1 build without any issue using zephir 0.9.7. So, added to the few extensions list I can provide as RPM in my repo (for Fedora / RHEL and CentOS). |
Thank you for all the help @remicollet |
Good news :) |
thank you boys! |
With 7.1.0beta1
The text was updated successfully, but these errors were encountered: