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

Update outdated packages #58337

Merged
merged 1 commit into from
Nov 22, 2021
Merged

Update outdated packages #58337

merged 1 commit into from
Nov 22, 2021

Conversation

scinos
Copy link
Contributor

@scinos scinos commented Nov 22, 2021

Background

Our docker image is failing to build with the error

12:06:52   #19 23.19 Fatal error: Uncaught ErrorException: preg_match_all(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in phar:///usr/local/bin/composer/vendor/symfony/console/Formatter/OutputFormatter.php:137
12:06:52   #19 23.19 Stack trace:
12:06:52   #19 23.19 #0 [internal function]: Composer\Util\ErrorHandler::handle()
12:06:52   #19 23.19 #1 phar:///usr/local/bin/composer/vendor/symfony/console/Formatter/OutputFormatter.php(137): preg_match_all()
12:06:52   #19 23.19 #2 phar:///usr/local/bin/composer/vendor/symfony/console/Output/Output.php(155): Symfony\Component\Console\Formatter\OutputFormatter->format()
12:06:52   #19 23.19 #3 phar:///usr/local/bin/composer/vendor/symfony/console/Output/Output.php(132): Symfony\Component\Console\Output\Output->write()
12:06:52   #19 23.19 #4 phar:///usr/local/bin/composer/vendor/symfony/console/Application.php(641): Symfony\Component\Console\Output\Output->writeln()
12:06:52   #19 23.19 #5 phar:///usr/local/bin/composer/vendor/symfony/console/Application.php(127): Symfony\Component\Console\Application->renderException()
12:06:52   #19 23.19 #6 phar:///usr/local/bin/composer/src/Composer/Console/Application.php(122): Symfony\Component\ in phar:///usr/local/bin/composer/vendor/symfony/console/Formatter/OutputFormatter.php on line 137
12:06:52   #19 23.19 PHP Fatal error:  Uncaught ErrorException: preg_match_all(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in phar:///usr/local/bin/composer/vendor/symfony/console/Formatter/OutputFormatter.php:137
12:06:52   #19 23.19 Stack trace:
12:06:52   #19 23.19 #0 [internal function]: Composer\Util\ErrorHandler::handle()
12:06:52   #19 23.19 #1 phar:///usr/local/bin/composer/vendor/symfony/console/Formatter/OutputFormatter.php(137): preg_match_all()
12:06:52   #19 23.19 #2 phar:///usr/local/bin/composer/vendor/symfony/console/Output/Output.php(155): Symfony\Component\Console\Formatter\OutputFormatter->format()
12:06:52   #19 23.19 #3 phar:///usr/local/bin/composer/vendor/symfony/console/Output/Output.php(132): Symfony\Component\Console\Output\Output->write()
12:06:52   #19 23.19 #4 phar:///usr/local/bin/composer/vendor/symfony/console/Application.php(641): Symfony\Component\Console\Output\Output->writeln()
12:06:52   #19 23.19 #5 phar:///usr/local/bin/composer/vendor/symfony/console/Application.php(127): Symfony\Component\Console\Application->renderException()
12:06:52   #19 23.19 #6 phar:///usr/local/bin/composer/src/Composer/Console/Application.php(122): Symfony\Component\ in phar:///usr/local/bin/composer/vendor/symfony/console/Formatter/OutputFormatter.php on line 137

This seems to come from running composer install.

This issue suggests it is reltaed to outdated system libraries, pcre specifically.

Changes

Update outadated system libraries before runnign composer install.

@scinos scinos self-assigned this Nov 22, 2021
@github-actions
Copy link

github-actions bot commented Nov 22, 2021

@scinos scinos requested a review from a team November 22, 2021 08:00
@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Nov 22, 2021
@matticbot
Copy link
Contributor

This PR does not affect the size of JS and CSS bundles shipped to the user's browser.

Generated by performance advisor bot at iscalypsofastyet.com.

Copy link
Member

@noahtallen noahtallen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good to me.

@noahtallen noahtallen merged commit 3fbe3ec into trunk Nov 22, 2021
@noahtallen noahtallen deleted the build/fix-wpcom-image branch November 22, 2021 21:00
@github-actions github-actions bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Nov 22, 2021
nelsonec87 pushed a commit that referenced this pull request Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants