Skip to content
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

cross compilation fails due to linuxInfo.Ctim.Sec #861

Closed
dkwo opened this issue May 9, 2024 · 0 comments · Fixed by #862
Closed

cross compilation fails due to linuxInfo.Ctim.Sec #861

dkwo opened this issue May 9, 2024 · 0 comments · Fixed by #862
Assignees
Labels
Bug Confirmed to be a bug Easy Good for new contributors
Milestone

Comments

@dkwo
Copy link

dkwo commented May 9, 2024

When updating to v6.1 on void linux void-linux/void-packages#50251 , those archs for which we cross build (build on 64 host for a 32 bit target) now fail with

internal/server/instance/drivers/driver_common.go:1539:19: cannot use linuxInfo.Ctim.Sec (variable of type int32) as int64 value in argument to time.Unix
internal/server/instance/drivers/driver_common.go:1539:39: cannot use linuxInfo.Ctim.Nsec (variable of type int32) as int64 value in argument to time.Unix

Is it possible something has to be fixed in incus? see e.g. #829
Thanks.

stgraber added a commit to stgraber/incus that referenced this issue May 9, 2024
Closes lxc#861

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
@stgraber stgraber self-assigned this May 9, 2024
@stgraber stgraber added Bug Confirmed to be a bug Easy Good for new contributors labels May 9, 2024
@stgraber stgraber added this to the incus-6.2 milestone May 9, 2024
stgraber added a commit that referenced this issue May 27, 2024
Closes #861

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed to be a bug Easy Good for new contributors
Development

Successfully merging a pull request may close this issue.

2 participants