Bug 2042422
Summary: | [ruamel-yaml] ReaderError: unacceptable character on s390x architecture | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mark E. Fuller <mark.e.fuller> | ||||
Component: | python-ruamel-yaml-clib | Assignee: | Chandan Kumar <chkumar> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 35 | CC: | apevec, chkumar, code, dan, fweimer, jcajka, jcapitao, jmontleo, openstack-sig, smilner | ||||
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: | 2022-05-26 18:02:12 UTC | Type: | Bug | ||||
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, 2044056 | ||||||
Attachments: |
|
Description
Mark E. Fuller
2022-01-19 13:54:52 UTC
> The developer suggests patching to increase the buffer size Do you have a suggestion for the size or could you sent a PR at https://src.fedoraproject.org/rpms/python-ruamel-yaml/pull-requests ? Unfortunately no - I don't have any technical insight and the developer's comment on the issue on GH for cantera simply suggested a larger value than current. There is bunch of issues in the C(ython) code related to the implicit type casts few leading to the type demotions, information loss. AFAIK all of those are reported by the C compiler warnings. I have fix for the bit that causes issues on the s390x and break in fmf/tmt for me. I'm about to open MR/PR for the packaged with fix and update to the latest upstream versions, for both the clib and python bits of ruamel-yaml. Here is copr repo with the fixed and updated packages https://copr.fedorainfracloud.org/coprs/jcajka/tmt/. Just opened https://src.fedoraproject.org/rpms/python-ruamel-yaml-clib/pull-request/3 and https://src.fedoraproject.org/rpms/python-ruamel-yaml/pull-request/7 FTR, the Jakub's MR/PR have been merged, the packages built, and currently provided in rawhide. https://koji.fedoraproject.org/koji/taskinfo?taskID=87480513 https://koji.fedoraproject.org/koji/buildinfo?buildID=1965518 I can confirm that this issue is no longer present when building in rawhide or F36, but is still there in F35 (as expected) - closing and thank you EDIT: Still present in F36- as expected, fixed in rawhide Created attachment 2014343 [details] fix-typecasts-s390x.patch I had to tweak the patch some more to make the type errors go away. Upstream reference: https://sourceforge.net/p/ruamel-yaml-clib/tickets/22/ |