Skip to content

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

Closed
@mythi

Description

@mythi

Description

With the latest main, projects using libcontainer cannot build unless they set -tags runc_nodmz flag.

Steps to reproduce the issue

  1. pull latest go get github.com/opencontainers/runc@main
  2. build

Describe the results you received and expected

Result:
../../../../../pkg/mod/github.com/opencontainers/[email protected]/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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions