Skip to content

Build of 8.1.31 failed installing pear #16863

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

Closed
andypost opened this issue Nov 19, 2024 · 2 comments
Closed

Build of 8.1.31 failed installing pear #16863

andypost opened this issue Nov 19, 2024 · 2 comments

Comments

@andypost
Copy link
Contributor

Description

Building the release for Alpinelinux packaging failed to install pear with following message

Installing PEAR environment:      /builds/alpine/aports/testing/php81/pkg/php81/usr/share/php81/
[PEAR] Archive_Tar    - installed: 1.4.14
[PEAR] Console_Getopt - installed: 1.4.3
[PEAR] Structures_Graph- installed: 1.1.1
[PEAR] XML_Util       - installed: 1.4.5
[PEAR] PEAR: Invalid tag order in <dependencies>, found <_content> expected one of "group"
[PEAR] PEAR: Parsing of package.xml from file "/tmp/pear/temp/pearabkIgh/package.xml" failed
Installing PDO headers:           /builds/alpine/aports/testing/php81/pkg/php81/usr/include/php81/ext/pdo/

Fill build log https://gitlab.alpinelinux.org/alpine/aports/-/jobs/1611222

PHP Version

PHP 8.1.31

Operating System

Alpinelinux

@nielsdos
Copy link
Member

Duplicate of #14834. In short: PHP 8.1.x is not compatible with a libxml version higher than libxml2.12. This is because the libxml project made some breaking changes and we don't do bugfix releases anymore for PHP 8.1, so the compatibility was only fixed in PHP 8.2 and up.
In theory backporting 67259e4 should suffice.

@andypost
Copy link
Contributor Author

@nielsdos Thank you! Using 67259e4 as a patch helped

@cmb69 cmb69 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 20, 2024
cmb69 added a commit to cmb69/php-src that referenced this issue Nov 20, 2024
While we should not make changes to a security to support new libxml2,
we should at least fail early to avoid confusion; see phpGH-16863.
cmb69 added a commit to cmb69/php-src that referenced this issue Nov 20, 2024
While we should not make changes to a security branch to support new
libxml2 versions, we should at least fail early to avoid confusion; see
phpGH-16863.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants