Bug 2365821
Summary: | criu fails to build with Python 3.14: protobuf - TypeError: Metaclasses with custom tp_new are not supported. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
Component: | criu | Assignee: | Adrian Reber <adrian> |
Status: | ON_QA --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | adrian, fti-bugs, ksurma, mhroncok, rstoyano |
Target Milestone: | --- | Flags: | mhroncok:
needinfo?
(adrian) |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | criu-4.1-4.fc43 | Doc Type: | --- |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 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: | 2343969 | ||
Bug Blocks: | 2322407, 2339432, 2339435 |
Description
Karolina Surma
2025-05-13 08:52:25 UTC
*** Bug 2371700 has been marked as a duplicate of this bug. *** This is fixed but the build is failing gating tests: TASK [standard-test-source : Extract and setup the sources] ******************** changed: [sut] => { "changed": true, "cmd": "rm -rf \"/var/str//source\"\nrpmbuild -bp /var/str//*.spec --nodeps --define \"_sourcedir /var/str//\" --define \"_builddir /var/str//source\"\n", "delta": "0:00:00.182291", "end": "2025-06-17 20:22:51.809883", "rc": 0, "start": "2025-06-17 20:22:51.627592" } STDOUT: setting SOURCE_DATE_EPOCH=1750118400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.qHgL05 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vx9C7Q Patch #0 (2653.patch): patching file criu/cr-restore.c patching file criu/include/net.h patching file criu/net.c Patch #99 (criu.pc.patch): patching file lib/c/criu.pc.in STDERR: + umask 022 + cd /var/str//source/criu-4.1-build + cd /var/str/source/criu-4.1-build + rm -rf criu-4.1 + /usr/lib/rpm/rpmuncompress -x /var/str/criu-4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd criu-4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (2653.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 + echo 'Patch #99 (criu.pc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 + RPM_EC=0 ++ jobs -p + exit 0 TASK [standard-test-source : Discover the build directory] ********************* changed: [sut] => { "changed": true, "cmd": "rpmbuild -bc --short-circuit --define \"_builddir /var/str//source\" --define \"__spec_build_pre echo XXX %{_builddir}; exit 0\" /var/str//*.spec | grep XXX | cut -d\" \" -f2\n", "delta": "0:00:00.031088", "end": "2025-06-17 20:22:52.056487", "rc": 0, "start": "2025-06-17 20:22:52.025399" } STDOUT: /var/str//source/criu-4.1-build TASK [standard-test-source : Flatten sources] ********************************** fatal: [sut]: FAILED! => {} MSG: The conditional check 'rpm_vercheck.rc == 0' failed. The error was: error while evaluating conditional (rpm_vercheck.rc == 0): 'rpm_vercheck' is undefined. 'rpm_vercheck' is undefined The error appears to be in '/usr/share/ansible/roles/standard-test-source/tasks/main.yml': line 107, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Flatten sources ^ here PLAY RECAP ********************************************************************* sut : ok=21 changed=9 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Collection community.general does not support Ansible version 2.14.6 ---^---^---^---^---^--- https://bodhi.fedoraproject.org/updates/FEDORA-2025-ca2b7d6e8f |