-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
libcontainer cannot be build due to runc-dmz (as a Go library for third party projects) : dmz_linux.go:21:12: pattern runc-dmz: no matching files found
#4096
Comments
-tags runc_nodmz added temporarily due to opencontainers/runc#4096
What's your arch? Also, please make sure to use |
I'm not building |
dmz_linux.go:21:12: pattern runc-dmz: no matching files found
alpine linux same problem。 |
It should be noted that The core issue is that The other alternative is to create an empty file with a different name, and then to use |
Does #4101 fix the issue for you? |
Description
With the latest
main
, projects using libcontainer cannot build unless they set-tags runc_nodmz
flag.Steps to reproduce the issue
go get github.com/opencontainers/runc@main
Describe the results you received and expected
Result:
../../../../../pkg/mod/github.com/opencontainers/runc@v1.1.1-0.20231025141802-edd00eb3cbd2/libcontainer/dmz/dmz_linux.go:21:12: pattern runc-dmz: no matching files found
This can work when adding
runc_nodmz
to build flags but is it expected that all libcontainer consumers do this?What version of runc are you using?
github.com/opencontainers/runc v1.1.1-0.20231025141802-edd00eb3cbd2
Host OS information
No response
Host kernel information
No response
The text was updated successfully, but these errors were encountered: