Skip to content
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

[BUG]: compile issue since 5.9.0 #16722

Open
shyim opened this issue Mar 9, 2025 · 3 comments
Open

[BUG]: compile issue since 5.9.0 #16722

shyim opened this issue Mar 9, 2025 · 3 comments
Assignees
Labels
bug A bug report status: unverified Unverified

Comments

@shyim
Copy link

shyim commented Mar 9, 2025

Questions? Forum: https://phalcon.io/forum or Discord: https://phalcon.io/discord

Describe the bug

2025/03/09 00:08:07 WARN /home/build/ext/phalcon.c: In function 'php_zephir_init_globals':
2025/03/09 00:08:07 WARN /home/build/ext/phalcon.c:1345:57: error: assignment to 'zend_string *' {aka 'struct _zend_string *'} from incompatible pointer type 'char *' [-Wincompatible-pointer-types]
2025/03/09 00:08:07 WARN  1345 |         phalcon_globals->orm.resultset_prefetch_records = ZSTR_VAL(zend_string_init(ZEND_STRL("0"), 0));
2025/03/09 00:08:07 WARN       |                                                         ^
2025/03/09 00:08:07 WARN make: *** [Makefile:210: phalcon.lo] Error 1
2025/03/09 00:08:08 ERRO failed to build package: unable to run package php-frankenphp-8.3-phalcon pipeline: unable to run pipeline: exit status 2

I am compiling against PHP 8.3. See for full build logs: https://github.com/shyim/wolfi-php/actions/runs/13742722967/job/38433836013?pr=869

@shyim shyim added bug A bug report status: unverified Unverified labels Mar 9, 2025
@Jeckerson Jeckerson self-assigned this Mar 10, 2025
@Jeckerson
Copy link
Member

Could you provide commands that are executed?

Jeckerson added a commit that referenced this issue Mar 10, 2025
@shyim
Copy link
Author

shyim commented Mar 10, 2025

phpize
./configure
make install

@Jeckerson
Copy link
Member

Ideally install it via pecl, but it seems that build/ directory wasn't regenerated...
@shyim Could you try to compile from this PR - #16723 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report status: unverified Unverified
Projects
None yet
Development

No branches or pull requests

2 participants