Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25640

Fatal error when installing ezpublish5 version from git, using 5.4 branch

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: QA tracked issues
    • Component/s: Composer
    • Labels:
    • Environment:

      Operating System: Debian7
      PHP Version: 5.4.4
      and
      Operating System: Debian 8
      PHP Version: 5.6.14-0+deb8u1

      Description

      When doing a composer install of ezpublish5, using "5.4" branch, the following error is raised

      PHP Fatal error:  Call to undefined method eZ\Publish\Composer\LegacyKernelInstaller::removeBinaries() in /var/www/ezp54/ezpublish5/vendor/ezsystems/ezpublish-legacy-installer/src/eZ/Publish/Composer/LegacyKernelInstaller.php on line 81
      
      Steps to Reproduce

      The following output is raised, where the fatal error appears on the end:

      Loading composer repositories with package information
      Installing dependencies from lock file
      Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
        - Installing ezsystems/ezpublish-legacy-installer (v2.0.1)
          Loading from cache
      
        - Installing doctrine/lexer (v1.0.1)
          Loading from cache
      
        - Installing doctrine/annotations (v1.2.7)
          Loading from cache
      
        - Installing doctrine/collections (v1.3.0)
          Loading from cache
      
        - Installing twig/twig (v1.24.0)
          Loading from cache
      
        - Installing symfony/polyfill-apcu (v1.1.1)
          Loading from cache
      
        - Installing psr/log (1.0.0)
          Loading from cache
      
        - Installing paragonie/random_compat (v1.4.1)
          Loading from cache
      
        - Installing doctrine/inflector (v1.1.0)
          Loading from cache
      
        - Installing doctrine/cache (v1.6.0)
          Loading from cache
      
        - Installing doctrine/common (v2.6.1)
          Loading from cache
      
        - Installing symfony/symfony (v2.7.10)
          Loading from cache
      
        - Installing doctrine/doctrine-cache-bundle (1.3.0)
          Loading from cache
      
        - Installing egulias/listeners-debug-command-bundle (1.9.1)
          Loading from cache
      
        - Installing knplabs/knp-menu (v1.1.2)
          Loading from cache
      
        - Installing knplabs/knp-menu-bundle (v1.1.2)
          Loading from cache
      
        - Installing zetacomponents/base (1.9)
          Loading from cache
      
        - Installing zetacomponents/mail (1.8.1)
          Loading from cache
      
        - Installing tedivm/stash (v0.12.3)
          Loading from cache
      
        - Installing tedivm/stash-bundle (v0.4.2)
          Downloading: 100%         
      
        - Installing symfony-cmf/routing (1.3.0)
          Loading from cache
      
        - Installing sensio/framework-extra-bundle (v3.0.10)
          Downloading: 100%         
      
        - Installing sensiolabs/security-checker (v3.0.2)
          Loading from cache
      
        - Installing sensio/distribution-bundle (v3.0.33)
          Downloading: 100%         
      
        - Installing qafoo/rmf (1.0.0)
          Loading from cache
      
        - Installing pagerfanta/pagerfanta (v1.0.3)
          Loading from cache
      
        - Installing league/flysystem (0.5.12)
          Loading from cache
      
        - Installing oneup/flysystem-bundle (v0.5.0)
          Loading from cache
      
        - Installing zendframework/zend-eventmanager (3.0.1)
          Loading from cache
      
        - Installing zendframework/zend-code (2.6.2)
          Loading from cache
      
        - Installing ocramius/proxy-manager (1.0.2)
          Loading from cache
      
        - Installing nelmio/cors-bundle (1.3.3)
          Downloading: 100%         
      
        - Installing imagine/imagine (v0.6.3)
          Loading from cache
      
        - Installing liip/imagine-bundle (1.5.2)
          Loading from cache
      
        - Installing kriswallsmith/buzz (v0.15)
          Loading from cache
      
        - Installing hautelook/templated-uri-router (2.0.1)
          Loading from cache
      
        - Installing hautelook/templated-uri-bundle (2.0.0)
          Loading from cache
      
        - Installing guzzle/guzzle (v3.9.3)
          Loading from cache
      
        - Installing friendsofsymfony/http-cache (1.4.2)
          Loading from cache
      
        - Installing friendsofsymfony/http-cache-bundle (1.3.7)
          Loading from cache
      
        - Installing jdorn/sql-formatter (v1.2.17)
          Loading from cache
      
        - Installing doctrine/dbal (v2.5.4)
          Loading from cache
      
        - Installing doctrine/doctrine-bundle (1.6.2)
          Loading from cache
      
        - Installing ezsystems/ezpublish-kernel (v5.4.6)
          Loading from cache
      
        - Installing netgen/ngsymfonytools (1.1)
          Loading from cache
      
        - Installing ezsystems/ngsymfonytools-bundle (v1.0.5)
          Loading from cache
      
        - Installing ezsystems/comments-bundle (v5.4.2)
          Downloading: 100%         
      
        - Installing ezsystems/demobundle (v5.4.4)
          Loading from cache
      
        - Installing ezsystems/ezplatform-solr-search-engine (v1.0.2.2)
          Loading from cache
      
        - Installing zetacomponents/webdav (1.2)
          Loading from cache
      
        - Installing zetacomponents/system-information (1.1)
          Loading from cache
      
        - Installing zetacomponents/signal-slot (1.2)
          Loading from cache
      
        - Installing zetacomponents/persistent-object (1.8)
          Loading from cache
      
        - Installing zetacomponents/mvc-tools (1.2.1)
          Loading from cache
      
        - Installing zetacomponents/authentication (1.4)
          Loading from cache
      
        - Installing zetacomponents/mvc-authentication-tiein (1.1)
          Loading from cache
      
        - Installing zetacomponents/image-analysis (1.2)
          Loading from cache
      
        - Installing zetacomponents/image-conversion (1.4)
          Loading from cache
      
        - Installing zetacomponents/feed (1.4)
          Loading from cache
      
        - Installing zetacomponents/event-log (1.5)
          Loading from cache
      
        - Installing zetacomponents/debug (1.3)
          Loading from cache
      
        - Installing zetacomponents/database (1.5)
          Loading from cache
      
        - Installing zetacomponents/console-tools (1.7)
          Loading from cache
      
        - Installing zetacomponents/configuration (1.4)
          Loading from cache
      
        - Installing zetacomponents/cache (1.6)
          Loading from cache
      
        - Installing zetacomponents/authentication-database-tiein (1.2)
          Loading from cache
      
        - Installing zetacomponents/archive (1.5)
          Loading from cache
      
        - Installing ezsystems/ezwt-ls-extension (v5.3.8)
          Loading from cache
      
        - Installing ezsystems/ezstarrating-ls-extension (v5.3.1)
          Loading from cache
      
        - Installing ezsystems/ezsi-ls (v5.3.3)
          Downloading: 100%         
      
        - Installing ezsystems/ezscriptmonitor-ls (v5.3.1)
          Downloading: 100%         
      
        - Installing ezsystems/ezprestapiprovider-ls (v5.3.0)
          Loading from cache
      
        - Installing ezsystems/ezodf-ls (v5.3.8)
          Loading from cache
      
        - Installing ezsystems/ezmultiupload-ls (v5.3.0)
          Loading from cache
      
        - Installing ezsystems/ezmbpaex-ls (v5.3.2)
          Loading from cache
      
        - Installing ezsystems/ezie-ls (v5.3.1)
          Loading from cache
      
        - Installing ezsystems/ezgmaplocation-ls-extension (v5.3.1)
          Loading from cache
      
        - Installing ezsystems/ezflow-ls-extension (v5.3.8)
          Loading from cache
      
        - Installing ezsystems/ezdemo-ls-extension (v5.4.2)
          Loading from cache
      
        - Installing ezsystems/ezautosave-ls (v5.4.2)
          Loading from cache
      
        - Installing ezsystems/ezpublish-legacy (v5.4.6)
          Loading from cache
      
      PHP Fatal error:  Call to undefined method eZ\Publish\Composer\LegacyKernelInstaller::removeBinaries() in /var/www/ezp54/ezpublish5/vendor/ezsystems/ezpublish-legacy-installer/src/eZ/Publish/Composer/LegacyKernelInstaller.php on line 81
      PHP Stack trace:
      PHP   1. {main}() /var/www/ezp54/ezpublish5/composer.phar:0
      PHP   2. require() /var/www/ezp54/ezpublish5/composer.phar:25
      PHP   3. Composer\Console\Application->run() phar:///var/www/ezp54/ezpublish5/composer.phar/bin/composer:43
      PHP   4. Symfony\Component\Console\Application->run() phar:///var/www/ezp54/ezpublish5/composer.phar/src/Composer/Console/Application.php:99
      PHP   5. Composer\Console\Application->doRun() phar:///var/www/ezp54/ezpublish5/composer.phar/vendor/symfony/console/Application.php:123
      PHP   6. Symfony\Component\Console\Application->doRun() phar:///var/www/ezp54/ezpublish5/composer.phar/src/Composer/Console/Application.php:166
      PHP   7. Symfony\Component\Console\Application->doRunCommand() phar:///var/www/ezp54/ezpublish5/composer.phar/vendor/symfony/console/Application.php:192
      PHP   8. Symfony\Component\Console\Command\Command->run() phar:///var/www/ezp54/ezpublish5/composer.phar/vendor/symfony/console/Application.php:844
      PHP   9. Composer\Command\InstallCommand->execute() phar:///var/www/ezp54/ezpublish5/composer.phar/vendor/symfony/console/Command/Command.php:259
      PHP  10. Composer\Installer->run() phar:///var/www/ezp54/ezpublish5/composer.phar/src/Composer/Command/InstallCommand.php:134
      PHP  11. Composer\Installer->doInstall() phar:///var/www/ezp54/ezpublish5/composer.phar/src/Composer/Installer.php:228
      PHP  12. Composer\Installer\InstallationManager->execute() phar:///var/www/ezp54/ezpublish5/composer.phar/src/Composer/Installer.php:569
      PHP  13. Composer\Installer\InstallationManager->install() phar:///var/www/ezp54/ezpublish5/composer.phar/src/Composer/Installer/InstallationManager.php:139
      PHP  14. eZ\Publish\Composer\LegacyKernelInstaller->install() phar:///var/www/ezp54/ezpublish5/composer.phar/src/Composer/Installer/InstallationManager.php:152
      
      Fatal error: Call to undefined method eZ\Publish\Composer\LegacyKernelInstaller::removeBinaries() in /var/www/ezp54/ezpublish5/vendor/ezsystems/ezpublish-legacy-installer/src/eZ/Publish/Composer/LegacyKernelInstaller.php on line 81
      
      Call Stack:
          0.0080     422640   1. {main}() /var/www/ezp54/ezpublish5/composer.phar:0
          0.0082     424376   2. require('phar:///var/www/ezp54/ezpublish5/composer.phar/bin/composer') /var/www/ezp54/ezpublish5/composer.phar:25
          0.0517    4161344   3. Composer\Console\Application->run() phar:///var/www/ezp54/ezpublish5/composer.phar/bin/composer:43
          0.0571    4538568   4. Symfony\Component\Console\Application->run() phar:///var/www/ezp54/ezpublish5/composer.phar/src/Composer/Console/Application.php:99
          0.0586    4672984   5. Composer\Console\Application->doRun() phar:///var/www/ezp54/ezpublish5/composer.phar/vendor/symfony/console/Application.php:123
          0.0607    4825616   6. Symfony\Component\Console\Application->doRun() phar:///var/www/ezp54/ezpublish5/composer.phar/src/Composer/Console/Application.php:166
          0.0609    4826112   7. Symfony\Component\Console\Application->doRunCommand() phar:///var/www/ezp54/ezpublish5/composer.phar/vendor/symfony/console/Application.php:192
          0.0609    4826688   8. Symfony\Component\Console\Command\Command->run() phar:///var/www/ezp54/ezpublish5/composer.phar/vendor/symfony/console/Application.php:844
          0.0622    4832632   9. Composer\Command\InstallCommand->execute() phar:///var/www/ezp54/ezpublish5/composer.phar/vendor/symfony/console/Command/Command.php:259
          0.2653    9943672  10. Composer\Installer->run() phar:///var/www/ezp54/ezpublish5/composer.phar/src/Composer/Command/InstallCommand.php:134
          0.2917   11460504  11. Composer\Installer->doInstall() phar:///var/www/ezp54/ezpublish5/composer.phar/src/Composer/Installer.php:228
         30.1964   15147616  12. Composer\Installer\InstallationManager->execute() phar:///var/www/ezp54/ezpublish5/composer.phar/src/Composer/Installer.php:569
         30.1964   15147664  13. Composer\Installer\InstallationManager->install() phar:///var/www/ezp54/ezpublish5/composer.phar/src/Composer/Installer/InstallationManager.php:139
         30.1964   15148128  14. eZ\Publish\Composer\LegacyKernelInstaller->install() phar:///var/www/ezp54/ezpublish5/composer.phar/src/Composer/Installer/InstallationManager.php:152
      

      This error doesn't happen if the "master" branch is used.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              paulo.nunes-obsolete@ez.no Paulo Nunes (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: