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

Transient Error on Php 8.3.x build amd64 with imagick: make: *** [Makefile:196: /tmp/pear/temp/imagick/Imagick_arginfo.h] Error 1 #55

Open
en-jschuetze opened this issue Nov 29, 2023 · 5 comments

Comments

@en-jschuetze
Copy link
Collaborator

#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/Parser.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/Parser/
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/Parser/Php7.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/Parser/Php8.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/ParserAbstract.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/ParserFactory.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/PhpVersion.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/PrettyPrinter.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/PrettyPrinter/
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/PrettyPrinter/Standard.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/PrettyPrinterAbstract.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/Token.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/compatibility_tokens.php
#38 11.32 PHP-Parser-5.0.0alpha3/phpstan-baseline.neon
#38 11.32 PHP-Parser-5.0.0alpha3/phpstan.neon.dist
#38 11.34 Saved /tmp/pear/temp/imagick/ImagickPixel_arginfo.h
#38 11.34 Saved /tmp/pear/temp/imagick/ImagickPixelIterator_arginfo.h
#38 11.35 Parse /tmp/pear/temp/imagick/ImagickKernel.stub.php to generate /tmp/pear/temp/imagick/ImagickKernel_arginfo.h
#38 11.35 Saved /tmp/pear/temp/imagick/ImagickDraw_arginfo.h
#38 11.38 In /tmp/pear/temp/imagick/Imagick.stub.php:
#38 11.38 Unterminated preprocessor conditions
#38 11.39 make: *** [Makefile:196: /tmp/pear/temp/imagick/Imagick_arginfo.h] Error 1
#38 11.39 make: *** Waiting for unfinished jobs....
#38 11.41 Saved /tmp/pear/temp/imagick/ImagickKernel_arginfo.h
#38 11.41 Installing header files:          /tmp/pear/temp/pear-build-defaultuserhbpaOF/install-imagick-3.7.0/usr/include/php83/
#38 11.44 ERROR: `make INSTALL_ROOT="/tmp/pear/temp/pear-build-defaultuserhbpaOF/install-imagick-3.7.0" install' failed

e.g. in https://github.com/Endava/docker-php/actions/runs/7009886813/job/19071577630

But a rerun does not show any of those "PHP-Parser-5.0.0alpha3" anymore and it NEVER happens on arm - only amd64!

@en-jschuetze
Copy link
Collaborator Author

Same error at Imagick/imagick#582

@en-jschuetze
Copy link
Collaborator Author

@en-jschuetze
Copy link
Collaborator Author

Added ticket upstream Imagick/imagick#643

@mryfan
Copy link

mryfan commented Nov 30, 2023

#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/Parser.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/Parser/
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/Parser/Php7.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/Parser/Php8.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/ParserAbstract.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/ParserFactory.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/PhpVersion.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/PrettyPrinter.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/PrettyPrinter/
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/PrettyPrinter/Standard.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/PrettyPrinterAbstract.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/Token.php
#38 11.32 PHP-Parser-5.0.0alpha3/lib/PhpParser/compatibility_tokens.php
#38 11.32 PHP-Parser-5.0.0alpha3/phpstan-baseline.neon
#38 11.32 PHP-Parser-5.0.0alpha3/phpstan.neon.dist
#38 11.34 Saved /tmp/pear/temp/imagick/ImagickPixel_arginfo.h
#38 11.34 Saved /tmp/pear/temp/imagick/ImagickPixelIterator_arginfo.h
#38 11.35 Parse /tmp/pear/temp/imagick/ImagickKernel.stub.php to generate /tmp/pear/temp/imagick/ImagickKernel_arginfo.h
#38 11.35 Saved /tmp/pear/temp/imagick/ImagickDraw_arginfo.h
#38 11.38 In /tmp/pear/temp/imagick/Imagick.stub.php:
#38 11.38 Unterminated preprocessor conditions
#38 11.39 make: *** [Makefile:196: /tmp/pear/temp/imagick/Imagick_arginfo.h] Error 1
#38 11.39 make: *** Waiting for unfinished jobs....
#38 11.41 Saved /tmp/pear/temp/imagick/ImagickKernel_arginfo.h
#38 11.41 Installing header files:          /tmp/pear/temp/pear-build-defaultuserhbpaOF/install-imagick-3.7.0/usr/include/php83/
#38 11.44 ERROR: `make INSTALL_ROOT="/tmp/pear/temp/pear-build-defaultuserhbpaOF/install-imagick-3.7.0" install' failed

e.g. in https://github.com/Endava/docker-php/actions/runs/7009886813/job/19071577630

But a rerun does not show any of those "PHP-Parser-5.0.0alpha3" anymore and it NEVER happens on arm - only amd64!

image
I have the same

@david-zamora-minderest
Copy link

The same here with php8.3 amd64:

#0 90.09 PHP-Parser-5.0.0/lib/PhpParser/PhpVersion.php
#0 90.09 PHP-Parser-5.0.0/lib/PhpParser/PrettyPrinter.php
#0 90.09 PHP-Parser-5.0.0/lib/PhpParser/PrettyPrinter/
#0 90.09 PHP-Parser-5.0.0/lib/PhpParser/PrettyPrinter/Standard.php
#0 90.09 PHP-Parser-5.0.0/lib/PhpParser/PrettyPrinterAbstract.php
#0 90.09 PHP-Parser-5.0.0/lib/PhpParser/Token.php
#0 90.09 PHP-Parser-5.0.0/lib/PhpParser/compatibility_tokens.php
#0 90.09 PHP-Parser-5.0.0/phpstan-baseline.neon
#0 90.09 PHP-Parser-5.0.0/phpstan.neon.dist
#0 90.13 Saved /tmp/pear/temp/imagick/ImagickDraw_arginfo.h
#0 90.14 Parse /tmp/pear/temp/imagick/ImagickPixelIterator.stub.php to generate /tmp/pear/temp/imagick/ImagickPixelIterator_arginfo.h
#0 90.20 Saved /tmp/pear/temp/imagick/ImagickPixelIterator_arginfo.h
#0 90.20 Parse /tmp/pear/temp/imagick/ImagickPixel.stub.php to generate /tmp/pear/temp/imagick/ImagickPixel_arginfo.h
#0 90.27 Saved /tmp/pear/temp/imagick/ImagickPixel_arginfo.h
#0 90.27 Parse /tmp/pear/temp/imagick/Imagick.stub.php to generate /tmp/pear/temp/imagick/Imagick_arginfo.h
#0 90.36 In /tmp/pear/temp/imagick/Imagick.stub.php:
#0 90.36 Unterminated preprocessor conditions
#0 90.36 make: *** [Makefile:196: /tmp/pear/temp/imagick/Imagick_arginfo.h] Error 1
#0 90.38 ERROR: `make INSTALL_ROOT="/tmp/pear/temp/pear-build-defaultuserIG9g8g/install-imagick-3.7.0" install' failed
failed to solve: process "/bin/sh -c apt-get install -y libmagickwand-dev && pecl install imagick-3.7.0 && docker-php-ext-enable imagick" did not complete successfully: exit code: 1

nohn added a commit to nohn/watermeter that referenced this issue Jun 21, 2024
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

No branches or pull requests

3 participants