Bug 2250682
| Summary: | mlir fails to build with Python 3.13: Test suite fails | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
| Component: | mlir | Assignee: | serge-sans-paille <sergesanspaille> |
| Status: | CLOSED COMPLETED | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 40 | CC: | kkleine, ksurma, mhroncok, npopov, sergesanspaille, tstellar, tuliom |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | mlir-18.1.6-2.fc41 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-09-04 16:01:10 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: | 2244836 | ||
|
Description
Karolina Surma
2023-11-20 14:36:41 UTC
There appears to be an issue very early:
[56/57] cd /builddir/build/BUILD/mlir-17.0.4.src/redhat-linux-build/test && /usr/bin/python3.13 /usr/bin/lit -sv /builddir/build/BUILD/mlir-17.0.4.src/redhat-linux-build/test
/usr/lib/python3.13/site-packages/lit/TestRunner.py:205: SyntaxWarning: invalid escape sequence '\c'
"""
/usr/lib/python3.13/site-packages/lit/TestRunner.py:1561: SyntaxWarning: invalid escape sequence '\s'
match = _caching_re_compile("^\s*%else\s*(%{)?").search(ln)
lit: /usr/lib/python3.13/site-packages/lit/discovery.py:250: warning: test suite 'MLIR-Unit' contained no tests
Then, most tests fail with:
FAIL: MLIR :: python/dialects/builtin.py (1609 of 1680)
******************** TEST 'MLIR :: python/dialects/builtin.py' FAILED ********************
Script:
--
: 'RUN: at line 1'; /usr/bin/python3.13 /builddir/build/BUILD/mlir-17.0.4.src/test/python/dialects/builtin.py | /usr/bin/FileCheck /builddir/build/BUILD/mlir-17.0.4.src/test/python/dialects/builtin.py
--
Exit Code: 2
Command Output (stderr):
--
FileCheck error: '<stdin>' is empty.
FileCheck command line: /usr/bin/FileCheck /builddir/build/BUILD/mlir-17.0.4.src/test/python/dialects/builtin.py
And 3 others had segmentation faults, e.g.:
FAIL: MLIR :: python/develoment_files.py (1611 of 1680)
******************** TEST 'MLIR :: python/develoment_files.py' FAILED ********************
Script:
--
: 'RUN: at line 1'; /usr/bin/python3.13 /builddir/build/BUILD/mlir-17.0.4.src/test/python/develoment_files.py 2>&1
--
Exit Code: 139
Command Output (stderr):
--
/builddir/build/BUILD/mlir-17.0.4.src/redhat-linux-build/test/python/Output/develoment_files.py.script: line 1: 1539915 Segmentation fault (core dumped) /usr/bin/python3.13 /builddir/build/BUILD/mlir-17.0.4.src/test/python/develoment_files.py 2>&1
The syntax warnings have already been fixed upstream in LLVM 18 with commit e919a83f96fe016378926855cb79f9b86102f6e4. This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle. Changing version to 40. |