Bug 2256986
Summary: | Test wchar-char failing on s390x (only) | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Honza Horak <hhorak> |
Component: | postgresql-odbc | Assignee: | Jakub Čajka <jcajka> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 39 | CC: | fjanus, hhorak, jcajka, pkubat, praiskup, yselkowi |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | s390x | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-01-31 14:29:36 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 467765 |
Description
Honza Horak
2024-01-05 20:49:26 UTC
The test is disabled now on s390x in order to avoid FTBFS, this BZ should serve as a reminder that we need to look at it better. For the record the UTF part of the test fails due to conversion to the native endianity which it assumes to be LE, failing on the s390x. Working on patch for this. Still investigating the ANSI part. To note prior to the 16.0 the test has been actually always skipped, not executed due to some issue in the tests locale detection code, I don't plan to investigate that further. Took the liberty to take this BZ. I have opened PR https://src.fedoraproject.org/rpms/postgresql-odbc/pull-request/5 with fix. It fixes the inline data a endianity conversion and assures that the test output is checked against the "utf8" locale tests case making sure that possible silent failures in future don't happen. I think that the test case in general could use make over towards utf16/ucs2 literals and other bits from more contemporary C, but I do lack the general upstream context to attempt it. |