Open karanshetty53 opened 3 months ago
@karanshetty53 Could you try upgrading to the latest version of pip?
python3 -m pip --version
sudo python3 -m pip install -U pip
As Amazon Linux 2023 is based on Fedora, it might help to look at the Fedora CRIU RPM: https://src.fedoraproject.org/rpms/criu/blob/rawhide/f/criu.spec
@rst0git Thanks I have already upgraded pip and it still shows version errors on pycriu.
@adrianreber I did try Fedora RPM but it looks for certain version dependencies that are already upgraded and installed:
error: Failed dependencies:
python(abi) = 3.12 is needed by crit-3.19-4.fc40.x86_64
python3-criu = 3.19-4.fc40 is needed by crit-3.19-4.fc40.x86_64
rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by crit-3.19-4.fc40.x86_64
I am also willing to try any other recommended OS if it can be installed without any package version errors.
Appreciate your inputs on this.
I did not mean that you take the Fedora RPM directly. I linked to the spec file so that you can see how Fedora builds CRIU.
If you do not care about the distribution try Fedora, @rst0git and myself are the main group of people maintaining CRIU in Fedora. It usually is in a pretty good state. Also RHEL 9 and clones should work good. Ubuntu usually needs an external package which is also something we provide.
I was able to replicate the error when building CRIU in amazonlinux:2
container and confirm that it is not present with amazonlinux:latest
.
@karanshetty53 In addition to Adrian's suggestion, if you don't need crit and pycriu, you can use make install-criu
as a workaround for this problem.
A friendly reminder that this issue had no activity for 30 days.
After downloading criu 3.19 tar: http://github.com/checkpoint-restore/criu/archive/v3.19/criu-3.19.tar.gz
And downloading all the required packages from the install page: https://criu.org/Installation
I am unable to make install criu in Amazon linux due to below error:
Any help or pointers would be greatly appreciated!