thecodingmachine / mouf

The Mouf PHP framework: an open-source PHP framework providing an easy way to download, install, use and reuse components, with a graphical user interface.
MIT License
54 stars 28 forks source link

Install broken with new versions of Composer #61

Closed moufmouf closed 10 years ago

moufmouf commented 10 years ago

Using new versions of Composer, there is an error triggered during initial composer install (during Mouf2 install phase)

moufmouf commented 10 years ago

Seems to be coming from Composer's call to install within an "install". It was not a problem before, it is now. However, trying to get the latest version from Git and compile it again, i'm not getting any problem.... Waiting to see, if it gets fixed magically in Composer.

moufmouf commented 10 years ago

Problem is back. This time, it seems to happen in the generation of the optimized autoload file.

Generating optimized autoload files

  [Exception]                                      
  An error occured while running Mouf2 installer.  

Exception trace:
 () at /home/david/projects/mouf/test/vendor/mouf/mouf-installer/src/Mouf/Installer/MoufFrameworkInstaller.php:81
 Mouf\Installer\MoufFrameworkInstaller->installMouf() at /home/david/projects/mouf/test/vendor/mouf/mouf-installer/src/Mouf/Installer/MoufFrameworkInstaller.php:45
 Mouf\Installer\MoufFrameworkInstaller->install() at phar:///home/david/projects/mouf/test/composer.phar/src/Composer/Installer/InstallationManager.php:153
 Composer\Installer\InstallationManager->install() at phar:///home/david/projects/mouf/test/composer.phar/src/Composer/Installer/InstallationManager.php:140
 Composer\Installer\InstallationManager->execute() at phar:///home/david/projects/mouf/test/composer.phar/src/Composer/Installer.php:525
 Composer\Installer->doInstall() at phar:///home/david/projects/mouf/test/composer.phar/src/Composer/Installer.php:215
 Composer\Installer->run() at phar:///home/david/projects/mouf/test/composer.phar/src/Composer/Command/UpdateCommand.php:123
 Composer\Command\UpdateCommand->execute() at phar:///home/david/projects/mouf/test/composer.phar/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:241
 Symfony\Component\Console\Command\Command->run() at phar:///home/david/projects/mouf/test/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:892
 Symfony\Component\Console\Application->doRunCommand() at phar:///home/david/projects/mouf/test/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:191
 Symfony\Component\Console\Application->doRun() at phar:///home/david/projects/mouf/test/composer.phar/src/Composer/Console/Application.php:117
 Composer\Console\Application->doRun() at phar:///home/david/projects/mouf/test/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:121
 Symfony\Component\Console\Application->run() at phar:///home/david/projects/mouf/test/composer.phar/src/Composer/Console/Application.php:83
 Composer\Console\Application->run() at phar:///home/david/projects/mouf/test/composer.phar/bin/composer:43
 require() at /home/david/projects/mouf/test/composer.phar:15
moufmouf commented 10 years ago

Bug due to a signature change (return value) in Composer Installer::install method. Fixed.