composer/composer — Issue #418: error on a symfony 2.1.0-dev project when install a package that depends on zf2
Author: titomiguelcosta
Created: 2012-03-09 14:49:43+00:00
State: open

I'm trying to install the [IvoryLuceneSearchBundle](https://github.com/egeloen/IvoryLuceneSearchBundle) bundle that has as a requirement zf2 in my symfony 2.1.0-dev project and i get the following error when running $php composer.phar update

Updating dependencies

[Composer\DependencyResolver\SolverProblemsException]

[Job(cmd=install, target=egeloen/lucene-search-bundle, packages=[egeloen/lucene-search-bundle-9999999-dev]), ]

Here you have the contents of my composer.json file:

{
"name": "symfony/framework-standard-edition",
"autoload": {
"psr-0": { "": "src/" }
},
"require": {
"php": ">=5.3.2",
"symfony/symfony": "2.1.",
"doctrine/orm": "2.2.0",
"doctrine/doctrine-bundle": "dev-master",
"twig/extensions": "dev-master",
"symfony/assetic-bundle": "dev-master",
"symfony/swiftmailer-bundle": "dev-master",
"symfony/monolog-bundle": "dev-master",
"sensio/distribution-bundle": "dev-master",
"sensio/framework-extra-bundle": "dev-master",
"sensio/generator-bundle": "dev-master",
"jms/security-extra-bundle": "dev-master",
"friendsofsymfony/user-bundle": "1.1.",
"doctrine/doctrine-migrations-bundle": "dev-master",
"knplabs/knp-menu-bundle": "dev-master",
"knplabs/knp-paginator-bundle": "dev-master",
"stof/doctrine-extensions-bundle": "dev-master",
"mopa/bootstrap-bundle": "dev-master",
"friendsofsymfony/comment-bundle": "dev-master",
"friendsofsymfony/rest-bundle": "dev-master",
"jms/serializer-bundle": "dev-master",
"friendsofsymfony/rest-bundle": "dev-master",
"friendsofsymfony/comment-bundle": "dev-master",
"vich/uploader-bundle": "dev-master",
"egeloen/lucene-search-bundle": "dev-master"
},
"scripts": {
"post-install-cmd": [
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets"
],
"post-update-cmd": [
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache",
"Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets"
]
},
"config": {
"bin-dir": "bin"
},
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web"
}
}

What might be wrong, i would expect composer to download the contents from zend framework repository. Do i need to install zend separately, like with php? they have kind of the same configuration in the [bundle composer.json](https://github.com/egeloen/IvoryLuceneSearchBundle/blob/master/composer.json) file.