-
Notifications
You must be signed in to change notification settings - Fork 22
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
PHP7: php-mustache do not pass "make test" (segfaults) #21
Comments
@macbre Can you give me more information about your environment (php --version, distro, libmustache version, etc)? The Travis builds run on Precise, and I've run the tests on Trusty. Yes, it's supposed to work in PHP7. Although, depending on your use case, the MustacheData class is probably not necessary. |
PHP:
libmustache: 0.4.0 Distro:
|
Strange, pretty close to my environment: 7.0.3-5+deb.sury.org~trusty+1 Can you post your gcc version and check if libmustache and php-mustache were both compiled with I assume you're using either master or 0.7 of the extension? |
|
Maybe, can you send me this part of
Do any of the other tests fail? I can't seem to replicate. Your packages seem a bit older than mine, but I'm skeptical that's the issue. Maybe try recompiling with |
156 tests out of 187 are failing when using |
I re-ran Travis on Trusty: https://travis-ci.org/jbboehr/php-mustache/jobs/114873764 https://travis-ci.org/jbboehr/libmustache/builds/114874158 Can you think of anything about your environment that might be different? I don't really have any ideas at this point, and can't replicate. You might try updating your packages. |
You might try recompiling libmustache with |
@jbboehr, many thanks for your help and hints! I'll try to recompile libmustache and get back with the results. |
@jbboehr, success :) Recompiling libmustache did the trick!
|
Did it work after recompiling without the |
Yes, it did I was previously relying on our home made deb package with libmustache. After recompiling the lib from source it works like a charm. Thank you for your help! |
I'm trying to compile
php-mustache
using PHP 7.0 and can't manage to makemake test
pass without causing segfaults.Example test run:
Backtrace from
gdb
:I assume that
php-mustache
is ready to be used in PHP7.The text was updated successfully, but these errors were encountered: