Skip to content

BUG after merged pull request #38316 from dmandalidis/xattr-fix hack/make.sh binary failes #38361

Description

@antonmoeriksson

Description
After Merge pull request #38316 from dmandalidis/xattr-fix hack/make.sh binary, I checkout a previous commit and everything work fine before it. I run the following setup:

  • Distributor ID: Ubuntu
  • Description: Ubuntu 16.04.5 LTS
  • Release: 16.04
  • Codename: xenial

Briefly describe the problem you are having in a few paragraphs.
Cannot build the binary after the the PR #38316.

Steps to reproduce the issue:

  1. make BIND_DIR=. shell
  2. hack/make.sh binary
    Then the build fails.

Describe the results you received:
root@1b3250d9374b:/go/src/github.com/docker/docker# hack/make.sh binary

Removing bundles/

---> Making bundle: binary (in bundles/binary)
Building: bundles/binary-daemon/dockerd-dev
# github.com/docker/docker/container
container/container_unix.go:394:6: undefined: errors

Describe the results you expected:
Successful build.

Additional information you deem important (e.g. issue happens only occasionally):
Happens after the commit #38316

Output of docker version:

Client:
 Version:           18.06.1-ce
 API version:       1.38
 Go version:        go1.10.3
 Git commit:        e68fc7a
 Built:             Tue Aug 21 17:24:56 2018
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.06.1-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.10.3
  Git commit:       e68fc7a
  Built:            Tue Aug 21 17:23:21 2018
  OS/Arch:          linux/amd64
  Experimental:     false

Output of docker info:

Containers: 90
 Running: 0
 Paused: 0
 Stopped: 90
Images: 406
Server Version: 18.06.1-ce
Storage Driver: devicemapper
 Pool Name: docker-8:1-14977364-pool
 Pool Blocksize: 65.54kB
 Base Device Size: 10.74GB
 Backing Filesystem: ext4
 Udev Sync Supported: true
 Data file: /dev/loop13
 Metadata file: /dev/loop14
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Data Space Used: 51.12GB
 Data Space Total: 107.4GB
 Data Space Available: 56.25GB
 Metadata Space Used: 44.25MB
 Metadata Space Total: 2.147GB
 Metadata Space Available: 2.103GB
 Thin Pool Minimum Free Space: 10.74GB
 Deferred Removal Enabled: true
 Deferred Deletion Enabled: true
 Deferred Deleted Device Count: 0
 Library Version: 1.02.110 (2015-10-30)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 468a545b9edcd5932818eb9de8e72413e616e86e
runc version: 69663f0bd4b60df09991c08812a60108003fa340
init version: fec3683
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.15.0-39-generic
Operating System: Ubuntu 16.04.5 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.637GiB
Name: ame-Lenovo-ideapad-510S-13IKB
ID: M4XC:7KIY:2QQQ:FQ4H:HMIO:ZZCC:GXAE:7WSP:BCFC:S2GJ:U3EU:S3OT
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

WARNING: devicemapper: usage of loopback devices is strongly discouraged for production use.
         Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
WARNING: No swap limit support

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