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: | CLOSED WORKSFORME | 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: | --- | ||
| 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: | 2025-07-27 11:56:52 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: | 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
Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 4+ weeks. This is the second reminder (step 4) from the policy. Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug. Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ All subpackages of a package against which this bug was filled are now installable or removed from Fedora 43. Thanks for taking care of it! |