dev-php5/ZendFramework-1.8.3 with USE="cli" requires dev-lang/php to be compiled with the tokenizer USE flag. Reproducible: Always Steps to Reproduce: 1. $ zf create project test && cd test 2. $ zf create controller test 3. $ zf create action test test Actual Results: Creating an action named test inside controller at [path]/test/application/controllers/TestController.php Fatal error: Call to undefined function token_get_all() in /usr/share/php5/Zend/Reflection/File.php on line 300 Expected Results: Creating an action named test inside controller at [path]/test/application/controllers/TestController.php Updating project profile '[path]/test/.zfproject.xml' Creating a view script for the test action method at [path]/test/application/views/scripts/test/test.phtml Updating project profile '[path]/test/.zfproject.xml'
I also think that 'require_php_with_use' should rather be called from pkg_setup than from src_unpack.
You are right, it should be in pkg_setup :-) Fixed now, and now it requires tokenizer too, if cli is selected.