8000 build failure on !linux !windows platforms · Issue #39437 · moby/moby · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
build failure on !linux !windows platforms #39437
Closed
@novas0x2a

Description

@novas0x2a

Description

#39292 broke compilation on !linux !windows build tags;

if err := realChroot(root); err != nil {
(build tag !windows) uses realChroot, defined here:
func realChroot(path string) error {
(implicit build tag linux)

I'm not sure I understand the nature of the security fix well enough to fix this myself.
Steps to reproduce the issue:

  1. go build with the build tag darwin

Describe the results you received:
github.com/docker/docker/pkg/chrootarchive/archive_unix.go:135:12: undefined: realChroot

Describe the results you expected:
working build :)

Additional information you deem important (e.g. issue happens only occasionally):
Should the call have been to chroot, not realChroot?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0