-
Notifications
You must be signed in to change notification settings - Fork 74
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
Fix a regression of windows build issue of undefined symbol #66
Conversation
This commit fixes the following build failure. + mingw32-make.exe binaries + bin/ctr.exe + bin/containerd.exe github.com/containerd/containerd/vendor/github.com/containerd/go-runc [error]vendor\github.com\containerd\go-runc\runc.go:66:16: undefined: unix.Signal [error]mingw32-make: *** [Makefile.windows:28: bin/containerd.exe] Error 2 [error]Process completed with exit code 2. Fixes containerd#65. Fixes: 421b4ca ("Change the type of PdeathSignal") Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
00409e4
to
d6ba496
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'm not sure go-runc should support Windows builds, unless it is really functional on Windows. Do you plan to use this for porting runU to Windows? |
I don't think the package needs to function on Windows, but it is imported into containerd and the file in question is compiled for all os/arch combinations. That means this package (currently) can't be vendor updated in containerd for valid os/arch (e.g. Linux) because it breaks CI on Windows. |
Would it be trivial to remove codes that import this package for Windows builds? |
no, in a short timeframe. again, as @estesp kindly explained, this is not related to darwin port at all; just trying to fix errors which I came across...
I would say no, though somebody may raise his/her hand to fix. |
This commit fixes the following build failure.
github.com/containerd/containerd/vendor/github.com/containerd/go-runc
[error]vendor\github.com\containerd\go-runc\runc.go:66:16: undefined: unix.Signal
[error]mingw32-make: *** [Makefile.windows:28: bin/containerd.exe] Error 2
[error]Process completed with exit code 2.
Fixes #65.
Fixes: 421b4ca ("Change the type of PdeathSignal")
Signed-off-by: Hajime Tazaki thehajime@gmail.com