Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Dependency Problem #615

schmunk42 opened this Issue · 4 comments

2 participants


Taken from (links, etc...):!topic/composer-dev/v1ioLtNldaM

when I try to composer.phar update from this json file, everything works fine. Eg. p3widgets has a dependency to p3extensions, and p3extensions get downloaded first.
The dependency is correctly resolved and the update runs fine, lock file is created.

However, when I try to composer.phar install with the above lock file, I get this error:

Updating config in protected/yiic.php...
  - Package phundament/themes/p3bootstrap (dev-master)
    Cloning 295c1abc00012028743644df76717a0c4a699799

  - Package phundament/p3widgets (dev-master)
    Cloning 8d37209e8c9f052fdba65ec14652f0ffa6a0c764

PHP Fatal error:  main(): Failed opening required '/phundament-app-32607ca/protected/extensions/phundament/p3extensions/components/P3Configuration.php' (include_path='.:/usr/local/lib/php:/opt/local/lib/php') in /phundament-app-32607ca/protected/config/main.p3.php on line 283

Looks like, p3extensions does not get downloaded before p3widgets, although it's a dependency.
I can only fix this, by moving p3extensions some lines down in the lock file, so it gets downloaded before p3widgets.


Broken revision for testing: phundament/app@32607ca


@naderman confirmed that the solver is lacking a bit in that regard and that it should be fixed.


refs #655 I believe.


Closing in favor of #655 since they are about the same problem. It should hopefully be addressed in the coming week.

@Seldaek Seldaek closed this
@outrightmental outrightmental referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.