New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rust agent cgroups crate ftbfs on ARM #770
Comments
@jodh-intel Are you a DD? I missed abbreviations like "FTBFS" for a long time since I hadn't played with Debian. |
A related issue: kata-containers/cgroups-rs#9 |
@jodh-intel @Kvasscn maybe I find the root cause. the parameter of libc:rmdir can be i8 in x86 and u8 in aarch64. |
@gnawux - alas, no :) I was a DM for a few packages but also used to work with doko, so fbtfs was mentioned a lot around him ;) @jongwu - nice work! @lifupan - could you tal at this and update https://github.com/kata-containers/cgroups-rs maybe? |
Yeah, the root cause was just as jongwu said, there was difference between x86 and aarch64 on c_char's definition. And the PR kata-containers/cgroups-rs#10 had fixed, I'll send a PR to update the cgroup-rs crate in agent to fix it. |
Thanks @lifupan! |
Update cgroups crate to fix the building issue on Aarch64. Fixes: kata-containers#770 Signed-off-by: fupan.lfp <fupan.lfp@antfin.com>
FYI, this error is encountered on ppc64le as well. Thanks @jodh-intel, @jongwu and @lifupan for fixing it. |
Update cgroups crate to fix the building issue on Aarch64. Fixes: kata-containers#770 Signed-off-by: fupan.lfp <fupan.lfp@antfin.com>
Update cgroups crate to fix the building issue on Aarch64. Fixes: kata-containers#770 Signed-off-by: fupan.lfp <fupan.lfp@antfin.com>
Update cgroups crate to fix the building issue on Aarch64. Fixes: #770 Signed-off-by: fupan.lfp <fupan.lfp@antfin.com>
Seen on Jenkins ARM CI for #735 (http://jenkins.katacontainers.io/job/kata-containers-2.0-ubuntu-ARM-PR/305/console):
/cc @lifupan, @jongwu, @justin-he
The text was updated successfully, but these errors were encountered: