Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure in phpstan-php7.4 install-app-php-contacts #740

Closed
SwikritiT opened this issue Jul 11, 2022 · 1 comment · Fixed by #741
Closed

Failure in phpstan-php7.4 install-app-php-contacts #740

SwikritiT opened this issue Jul 11, 2022 · 1 comment · Fixed by #741
Assignees
Labels

Comments

@SwikritiT
Copy link
Contributor

The CI is constantly failing in install-app-php-contacts in nightly and needs further investigation

Builds:

log

+ cd /var/www/owncloud/server/apps/contacts
+ make composer
composer install --prefer-dist
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 1 install, 0 updates, 0 removals
  - Downloading bamarni/composer-bin-plugin (1.6.0)
  - Installing bamarni/composer-bin-plugin (1.6.0): Extracting archive
Generating autoload files
composer update --prefer-dist
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
  - Upgrading bamarni/composer-bin-plugin (1.6.0 => 1.7.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Downloading bamarni/composer-bin-plugin (1.7.0)
  - Upgrading bamarni/composer-bin-plugin (1.6.0 => 1.7.0): Extracting archive
Generating autoload files

In PluginManager.php(273) : eval()'d code line 119:
                                                                        
  [Error]                                                               
  Call to undefined method Bamarni\Composer\Bin\Config::fromComposer()  
                                                                        

Exception trace:
  at phar:///usr/bin/composer/src/Composer/Plugin/PluginManager.php(273) : eval()'d code:119
 Bamarni\Composer\Bin\Plugin_composer_tmp0->onEvent() at phar:///usr/bin/composer/src/Composer/Plugin/PluginManager.php(273) : eval()'d code:99
 Bamarni\Composer\Bin\Plugin_composer_tmp0->onPostAutoloadDump() at n/a:n/a
 call_user_func() at phar:///usr/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:202
 Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///usr/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php:125
 Composer\EventDispatcher\EventDispatcher->dispatchScript() at phar:///usr/bin/composer/src/Composer/Autoload/AutoloadGenerator.php:432
 Composer\Autoload\AutoloadGenerator->dump() at phar:///usr/bin/composer/src/Composer/Installer.php:341
 Composer\Installer->run() at phar:///usr/bin/composer/src/Composer/Command/UpdateCommand.php:241
 Composer\Command\UpdateCommand->execute() at phar:///usr/bin/composer/vendor/symfony/console/Command/Command.php:298
 Symfony\Component\Console\Command\Command->run() at phar:///usr/bin/composer/vendor/symfony/console/Application.php:1024
 Symfony\Component\Console\Application->doRunCommand() at phar:///usr/bin/composer/vendor/symfony/console/Application.php:299
 Symfony\Component\Console\Application->doRun() at phar:///usr/bin/composer/src/Composer/Console/Application.php:335
 Composer\Console\Application->doRun() at phar:///usr/bin/composer/vendor/symfony/console/Application.php:171
 Symfony\Component\Console\Application->run() at phar:///usr/bin/composer/src/Composer/Console/Application.php:130
 Composer\Console\Application->run() at phar:///usr/bin/composer/bin/composer:88
 require() at /usr/bin/composer:29

update [--with WITH] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-autoloader] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>...]

Makefile:111: recipe for target 'composer' failed
make: *** [composer] Error 1
@phil-davis
Copy link
Contributor

bamarni/composer-bin-plugin#122

IMO we need to "manually" update to bamarni/composer-bin-plugin (1.7.0) everyone to get around this transition problem from 1.6.0 to 1.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants