- Issue created by @utcwebdev
- πΊπΈUnited States utcwebdev
Looks like that patch is related to contrib module requirement: https://www.drupal.org/project/media_library_media_modify β
- π©πͺGermany daniel.bosen
Thanks for reporting! I cannot reproduce the error. Can you apply patches at all? Or is this the only patch, that fails for you?
- π©πͺGermany daniel.bosen
If you are using MacOS this might be your problem:
https://github.com/cweagans/composer-patches/issues/423
If that is the case install gpatch should help. See:
https://github.com/cweagans/composer-patches/issues/423#issuecomment-130...
- πΊπΈUnited States utcwebdev
@daniel.bosen Confirmed, yes I am using MacOS Ventura, recently updated to 13.4.1 (22F82).
Patching works well in all of my other projects, except for this new Thunder 7 install. I tried the various preliminary suggestions in the composer-patches issue 423, and some of them allowed some of the patches to complete, but it still failed at some point.
I installed gpatch via brew update && install gpatch. This did allow Thunder 7 composer install to complete.
I very much appreciate your assistance! You may close this issue or leave it open if you think it may help others.
- Status changed to Fixed
over 1 year ago 7:03pm 7 July 2023 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
over 1 year ago 1:42pm 15 August 2023 - πΊπΈUnited States Gastonia
A head's up that this isn't just a MacOs issue. It's happening in all our linux based custom docker images where GNU patch isn't installed.
The solution is to of course install it
ex:
apt-get install patch -y
# inside Dockerfile
RUN apt-get install patch -y