Skip to content

Test failures with musl libc #22413

Description

@orlitzky

Description

Follow-up to #13696. Musl is partially tested on the CI, but the Alpine job installs gnu-libiconv-dev which hides the following errors. With the latest php-8.5.7 release:

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #48147 (iconv with //IGNORE cuts the string) [ext/iconv/tests/bug48147.phpt]
Bug #52211 (iconv() returns part of string on error) [ext/iconv/tests/bug52211.phpt]
Bug #76249 (stream filter convert.iconv leads to infinite loop on invalid sequence) [ext/iconv/tests/bug76249.phpt]
EUC-JP to ISO-2022-JP [ext/iconv/tests/eucjp2iso2022jp.phpt]
iconv_mime_encode() [ext/iconv/tests/iconv_mime_encode.phpt]

I have an old PR at #16840 whose details I've mostly forgotten. I can start by cherry-picking the easy parts of that.

PHP Version

PHP 8.5.7

Operating System

Gentoo linux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions