-
Notifications
You must be signed in to change notification settings - Fork 34
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
Bug: Fail to build on s390x and 32-bit architectures #648
Comments
@folliehiyuki stacker for its isolation uses lxc which ties it closely to linux/amd64 arch (at least for now) We are looking to build for other platform/arch maybe using qemu. |
lxc on s390 should be fine. But github doesn't have s390x runners. @folliehiyuki do you by any chance have a s390 that could be used as a self-hosted github action runner? :-) |
I see that the PR has @folliehiyuki - unless you specifically want to include 32-bit platforms, would you be OK with adjusting this to just say |
Sadly I only have x86_64 machines to test the package on. For AlpineLinux, if the package isn't broken (on an "unusable" level) on a specific architecture, it's encouraged to build and provide the package in the repo for as many architectures as possible. With some naive patches, I've managed to get If upstream can benefit from having the package in AlpineLinux repository, and is interested in making it built on other platforms, I'm happy to disable the build on those failing architectures for the time being. |
Not sure what "upstream" means. But from stacker pov, we are happy to have it included/packaged as part of AlpineLinux repo. |
Sorry! I was talking with the perspective of a downstream distro's package maintainer, so "upstream" means this repo here. I've disabled the alpine build on platforms where it failed. |
https://pkgs.alpinelinux.org/packages?name=stacker ^ see this now. |
🥳 nice to see it in there. Thanks @folliehiyuki ! |
stacker version
v1.0.0
Describe the bug
I'm trying to package
stacker
for AlpineLinux at https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/60169. CI in the MR fails for different architectures as listed below:32-bit platforms (x86, armhf, armv7)
The error comes from building submodule https://github.com/project-machine/atomfs.
s390x
On s390x,
Statfs_t
struct has elementType
of uint32. The type is int32 for 32-bit platforms. Ref: https://cs.opensource.google/go/x/sys/+/refs/tags/v0.26.0:unix/ztypes_linux_s390x.goTo reproduce
Expected behavior
The build succeeds.
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: