Created attachment 208675 [details] 4.0.0-rc.2 Hi, Phalcon version 4 is a departure from previous versions so ideally a new port is created to follow its scheduled release. See more here: https://docs.phalcon.io/4.0/en/upgrade#requirements I couldn't find a sensible list of changes not spread over several alpha, beta and release candidates so we start directly with release candidate 2. Note the alpha says the following: "THIS RELEASE IS NOT BACKWARDS COMPATIBLE", see https://github.com/phalcon/cphalcon/releases/tag/v4.0.0-alpha1 Cheers, Franco
Hopefully we can add this to FreeBSD soon.
(In reply to Franco Fichtner from comment #0) Hello. As I can see the psr extension is missed. To get a full list of the required PHP extensions go to https://github.com/phalcon/cphalcon/blob/95484a06ff9f1f4624b83761aba4d9222026788f/config.json#L15-L20
Created attachment 208737 [details] 4.0.0-rc.2 with psr and session runtime modules Thanks for the review! Oops, turns out session module is needed as well which isn't in the standard package for FreeBSD. Runs fine now.
testbuild on current with php74 failed on current, see https://people.freebsd.org/~pi/logs/www__phalcon4-cur-1576485337.txt
Thnx for the report on the failing build. At the moment of creating this new port php74 wasn't released yet. We fixed some issues regarding php74 builds on osx in the meantime. I think this related to this issue. Some of these fixes are part of the RC.3 release, others will be part of the v4 stable release that will be dropped on Saturday (See you at the Online Release Party :D, https://blog.phalcon.io/post/release-party)
(In reply to Kurt Jaeger from comment #4) These bugs related to the internal PHP 7.4 changes. PHP team decided to remove uint and ulong typedefs support. This is why build fails. We're fixed this by releasing new Zephir version that produces C-code without uint and ulong typedefs. You have to regenerate C-code using lates stable Zephir to build Phalcon v4 without these typedefs.
There's no zephir port in FreeBSD right now. So how would it be regenerated ?
(In reply to Kurt Jaeger from comment #7) There are two ways: 1. Wait for a release (see https://blog.phalcon.io/post/release-party) 2. curl -s https://api.github.com/repos/phalcon/zephir/releases/latest \ | grep "browser_download_url.*phar" \ | cut -d : -f 2,3 \ | tr -d \" \ | wget -qi - - Use curl to get the JSON response for the latest release - Use grep to find the line containing file URL - Use cut and tr to extract the URL - Use wget to download it
I'd prefer a quick: IGNORE_WITH_PHP= 74 For the time being. We can reenable it in the release, ok? :) Cheers, Franco
(In reply to Franco Fichtner from comment #9) Yes, I think so.
Sounds good Franco let's try to get the new port in and upgrade to v4 release. As soon as possible
Committed, thanks!
A commit references this bug: Author: pi Date: Mon Dec 16 11:42:52 UTC 2019 New revision: 520250 URL: https://svnweb.freebsd.org/changeset/ports/520250 Log: New port: www/phalcon4 PhalconPHP is a web framework delivered as a C extension providing high performance and lower resource consumption. WWW: https://phalcon.io/ PR: 241569 Submitted by: Franco Fichtner <franco@opnsense.org> Reviewed by: sadhooklay@gmail.com, ruud@t-boonproductions.nl Changes: head/www/Makefile head/www/phalcon4/ head/www/phalcon4/Makefile head/www/phalcon4/distinfo
Thanks a lot <3
<3