Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Failed to extract symfony/http-kernel #51995

Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
@loopy3025

Description

@loopy3025
Issue body actions

Symfony version(s) affected

symfony/http-kernel 6.3.5

Description

Getting this during composer install of acquia/drupal-environment-detector

Failed to extract symfony/http-kernel: (2) '/usr/bin/unzip' -qq '/Users/adam/projects/oursite/vendor/composer/tmp-6b324950550f341f3867311f5c0eb16d' -d '/Users/adam/projects/oursite/vendor/composer/0db9c232'

warning: filename too long--truncating.
[ o�6^P��WL^Bg%-^\g�C��]�&�+i�^IzY^G^B-�,6^T���]����!m)=#N���Cu�=��7�^M5>>��*^H^N�^F�^V�^Jn �^B�>+�-�^\l�p;+s%g$K^_�^X^G����4�K6�(�FY�)G^Mæ����- U��B�Ri�.���TU3-��^E&3^P<Ei(���.��J��^R+H6�8�v?_�+���p�|��^V��@��i|T[�-mA'�+�Z�H�2?�A^PHV�!^P-��{UVJ�+��V?PK^T$�V+!P^O?�Ҧ��/h���>^J��R�1+k1.���JZ�9�?=Z�A>�2�J-��o�:�+�?R���/��+-V��^W��Ѭe�f�{��n�~^^ϻL���{1�-��^E^_?�2�+++^Z-�#�g��V^S��!�^PMl--? ��-j�!b-� .��W+^Y^W^FF�2�^K���RY�8&-�&�^P}^X^X�^SbC�sV��_�R7��OJ�^D��5xp+~<^_��+a�A�s+���^Y^C�-̦�^X�'|K%^B^^R�^]J^C����-=Ӥ ] symfony-http-kernel-9f991a9/CacheWarmer/CacheWarmerInterface.php: mismatching "local" filename (o�6^P��WL^Bg%-^\g�C��]�&�+i�^IzY^G^B-�,6^T���]����!m)=#N���Cu�=��7�^M5>>��^H^N�^F�^V�^Jn �^B�>+�-�^\l�p;+s%g$K^_�^X^G����4�K6�(�FY�)G^Mæ����- U��B�Ri�.���TU3-��^E&3^P<Ei(���.��J��^R+H6�8�v?_�+���p�|��^V��@��i|T[�-mA'�+�Z�H�2?�A^PHV�!^P-��{UVJ�+��V?PK^T$�V+!P^O?�Ҧ��/h���>^J��R�1+k1.���JZ�9�?=Z�A>�2�J-��o�:�+�?R���/��+-V��^W��Ѭe�f�{��n�~^^ϻL���{1�-��^E^_?�2�+++^Z-�#�g��V^S��!�^PMl--? ��-*j�!b-� .��W+^Y^W^FF�2�^K���RY�8&-�&�^P}^X^X�^SbC�sV��_�R7��OJ�^D��5xp+~<^_��+a�A�s+���^Y^C�-̦�^X�'|K%^B^^R�^]J^C����-=Ӥ),
continuing with "central" filename version
error: invalid compressed data to inflate /Users/adam/projects/oursite/vendor/composer/0db9c232/symfony-http-kernel-9f991a9/CacheWarmer/CacheWarmerInterface.php
file #27: bad zipfile offset (local header sig): 19355
file #28: bad zipfile offset (local header sig): 19817
file #29: bad zipfile offset (local header sig): 19891
file #30: bad zipfile offset (local header sig): 20487
file #31: bad zipfile offset (local header sig): 20565
file #32: bad zipfile offset (local header sig): 22295
file #33: bad zipfile offset (local header sig): 22390
file #34: bad zipfile offset (local header sig): 23621
file #35: bad zipfile offset (local header sig): 24938
file #36: bad zipfile offset (local header sig): 25719
/Users/adam/projects/oursite/vendor/composer/0db9c232/symfony-http-kernel-9f991a9/Controller/ArgumentResolver/ServiceValueResolver.php bad CRC 2af263ca (should be b90d0c87)

The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class

79/88 [=========================>--] 89% Failed to extract acquia/drupal-environment-detector: (2) '/usr/bin/unzip' -qq '/Users/adam/projects/oursite/vendor/composer/tmp-60e1d14c9bf317b00863ef05f52bf858' -d '/Users/adam/projects/oursite/vendor/composer/da3d445e'

/Users/adam/projects/oursite/vendor/composer/da3d445e/acquia-drupal-environment-detector-396cc5e/composer.lock bad CRC 8caceb71 (should be 89f0b0a9)

The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class

Then, when Drupal attempts to bootstrap:

[error] Error: Class "Symfony\Component\HttpKernel\Controller\ArgumentResolver\DefaultValueResolver" not found in Drupal\Component\DependencyInjection\Container->createService() (line 259 of /var/www/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php) #0 /var/www/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php(455): Drupal\Component\DependencyInjection\Container->createService(Array, 'private__E5RB7E...')
#1 /var/www/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php(468): Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array)

There is only one build process occurring on this system.

I was forced to pin symfony/http-kernel to v6.3.3 in order to get Drupal to bootstrap. I am not entirely sure if this is a failing of Composer, Drupal, Symfony, or my system somehow. However, since 6.3.3 installs just fine, my money is on something was missed when zipping this up.

In composer, the reference for 6.3.5 seems correct (9f991a964368bee8d883e8d57ced4fe9fff04dfc) and when I attempt to manually download the zipball at https://api.github.com/repos/symfony/http-kernel/zipball/9f991a964368bee8d883e8d57ced4fe9fff04dfc, it does download. The "bad crc" error seems to indicate the file is corrupted, but I can easily manually extract the file manually. I am not sure where the disconnect is in composer.

How to reproduce

Attempt to unzip symfony/http-kernel 6.3.5 with composer, possibly in a Drupal 10 project and on a mac running ARM.

Possible Solution

No response

Additional Context

The build works remotely during Acquia Pipelines build.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.