Fedora Account System
Red Hat Associate
Red Hat Customer
llvm fails to build with Python 3.15.0a7. TEST 'lit :: shtest-ulimit-nondarwin.py' FAILED Exit Code: 1 Command Output (stdout): -- # RUN: at line 7 not env -u FILECHECK_OPTS "/usr/bin/python3" /builddir/build/BUILD/llvm-22.1.1-build/llvm-project-22.1.1.src/llvm/utils/lit/lit.py -j1 --order=lexical -v Inputs/shtest-ulimit-nondarwin | FileCheck /builddir/build/BUILD/llvm-22.1.1-build/llvm-project-22.1.1.src/llvm/redhat-linux-build/utils/lit/tests/shtest-ulimit-nondarwin.py # executed command: not env -u FILECHECK_OPTS /usr/bin/python3 /builddir/build/BUILD/llvm-22.1.1-build/llvm-project-22.1.1.src/llvm/utils/lit/lit.py -j1 --order=lexical -v Inputs/shtest-ulimit-nondarwin # note: command had no output on stdout or stderr # executed command: FileCheck /builddir/build/BUILD/llvm-22.1.1-build/llvm-project-22.1.1.src/llvm/redhat-linux-build/utils/lit/tests/shtest-ulimit-nondarwin.py # .---command stderr------------ # | /builddir/build/BUILD/llvm-22.1.1-build/llvm-project-22.1.1.src/llvm/redhat-linux-build/utils/lit/tests/shtest-ulimit-nondarwin.py:21:10: error: CHECK: expected string not found in input # | # CHECK: RLIMIT_FSIZE=-1 # | ^ # | <stdin>:53:20: note: scanning from here # | ulimit -f unlimited # | ^ # | <stdin>:62:5: note: possible intended match here # | # | RLIMIT_FSIZE=18446744073709551615 # | ^ # | # | Input file: <stdin> # | Check file: /builddir/build/BUILD/llvm-22.1.1-build/llvm-project-22.1.1.src/llvm/redhat-linux-build/utils/lit/tests/shtest-ulimit-nondarwin.py # | # | -dump-input=help explains the following input dump. # | # | Input was: # | <<<<<< # | . # | . # | . # | 48: # | RLIMIT_NOFILE=10000 # | 49: # | RLIMIT_STACK=8388608 # | 50: # | RLIMIT_FSIZE=5 # | 51: # `----------------------------- # | 52: # RUN: at line 3 # | 53: ulimit -f unlimited # | check:21'0 X error: no match found # | 54: # executed command: ulimit -f unlimited # | check:21'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 55: # RUN: at line 4 # | check:21'0 ~~~~~~~~~~~~~~~~~ # | 56: "/usr/bin/python3" /builddir/build/BUILD/llvm-22.1.1-build/llvm-project-22.1.1.src/llvm/redhat-linux-build/utils/lit/tests/Inputs/shtest-ulimit-nondarwin/../shtest-ulimit/print_limits.py # | check:21'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 57: # executed command: /usr/bin/python3 /builddir/build/BUILD/llvm-22.1.1-build/llvm-project-22.1.1.src/llvm/redhat-linux-build/utils/lit/tests/Inputs/shtest-ulimit-nondarwin/../shtest-ulimit/print_limits.py # | check:21'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 58: # .---command stdout------------ # | check:21'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 59: # | RLIMIT_AS=18446744073709551615 # | check:21'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 60: # | RLIMIT_NOFILE=10000 # | check:21'0 ~~~~~~~~~~~~~~~~~~~~~~~~ # | 61: # | RLIMIT_STACK=8388608 # | check:21'0 ~~~~~~~~~~~~~~~~~~~~~~~~~ # | 62: # | RLIMIT_FSIZE=18446744073709551615 # | check:21'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | check:21'1 ? possible intended match # | 63: # `----------------------------- # | check:21'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 64: # RUN: at line 6 # | check:21'0 ~~~~~~~~~~~~~~~~~ # | 65: not echo return # | check:21'0 ~~~~~~~~~~~~~~~~ # | 66: # executed command: not echo return # | check:21'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 67: # .---command stdout------------ # | check:21'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | . # | . # | . # | >>>>>> https://docs.python.org/3.15/whatsnew/3.15.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.15/fedora-rawhide-x86_64/10236545-llvm/ For all our attempts to build llvm with Python 3.15, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/llvm/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.15: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/ Let us know here if you have any questions. Python 3.15 is planned to be included in Fedora 45. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
This behavior change is related to https://github.com/python/cpython/commit/0324c726dea702282a0300225e989b19ae23b759
https://github.com/llvm/llvm-project/pull/190953
https://src.fedoraproject.org/rpms/llvm/pull-request/584