You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to apply a valid patch for drupal core but it always fails when I call composer install,
bash-5.1$ rm -rf web/core/
bash-5.1$ composer install
Gathering patches for root package.
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
Gathering patches for root package.
Gathering patches for dependencies. This might take a minute.
- Installing drupal/core (9.4.3): Extracting archive
- Applying patches for drupal/core
https://www.drupal.org/files/issues/2020-07-18/2086125-71.patch (https://www.drupal.org/project/drupal/issues/2086125)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2020-07-18/2086125-71.patch
In Patches.php line 326:
Cannot apply patch https://www.drupal.org/project/drupal/issues/2086125 (https://www.drupal.org/files/issues/2020-07-18/2086125-71.patch)!
The same patch (with the same composer.json, same php-version) applies when I require the core with --prefer-source
bash-5.1$ composer require drupal/core --prefer-source
Info from https://repo.packagist.org: #StandWithUkraine
Using version ^9.4 for drupal/core
./composer.json has been updated
Running composer update drupal/core
Gathering patches for root package.
Removing package drupal/core so that it can be re-installed and re-patched.
- Removing drupal/core (9.4.3)
Deleting web/core - deleted
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Syncing drupal/core (9.4.3) into cache
Gathering patches for root package.
Gathering patches for dependencies. This might take a minute.
- Installing drupal/core (9.4.3): Cloning 7b1a403c09 from cache
- Applying patches for drupal/core
https://www.drupal.org/files/issues/2020-07-18/2086125-71.patch (https://www.drupal.org/project/drupal/issues/2086125)
This happens inside an alpine 3.16 container with php 7.4 & php 8.0
Outside the container on my ubuntu workstation composer installis working as expected
$ rm -rf web/core
$ composer install
Gathering patches for root package.
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
Gathering patches for root package.
Gathering patches for dependencies. This might take a minute.
- Installing drupal/core (9.4.3): Extracting archive
- Applying patches for drupal/core
https://www.drupal.org/files/issues/2020-07-18/2086125-71.patch (https://www.drupal.org/project/drupal/issues/2086125)
I think there is nothin special inside the compser.json:
My best guess is that there are difference in php-libraries or php.ini that results in that behaviour, but I have no idea which settings should be changed, can anyone push me into the right direction?
The text was updated successfully, but these errors were encountered:
I'm trying to apply a valid patch for drupal core but it always fails when I call
composer install
,The same patch (with the same composer.json, same php-version) applies when I require the core with
--prefer-source
This happens inside an alpine 3.16 container with php 7.4 & php 8.0
Outside the container on my ubuntu workstation
composer install
is working as expectedI think there is nothin special inside the
compser.json
:My best guess is that there are difference in php-libraries or php.ini that results in that behaviour, but I have no idea which settings should be changed, can anyone push me into the right direction?
The text was updated successfully, but these errors were encountered: