Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278278 - dev-php5/ZendFramework-1.8.3: PHP with tokenizer USE flag required
Summary: dev-php5/ZendFramework-1.8.3: PHP with tokenizer USE flag required
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Bjarke Istrup Pedersen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-18 19:25 UTC by Jacek Sowiński
Modified: 2009-07-19 11:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacek Sowiński 2009-07-18 19:25:45 UTC
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'
Comment 1 Jacek Sowiński 2009-07-19 00:00:42 UTC
I also think that 'require_php_with_use' should rather be called from pkg_setup than from src_unpack.
Comment 2 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2009-07-19 11:45:32 UTC
You are right, it should be in pkg_setup :-)

Fixed now, and now it requires tokenizer too, if cli is selected.