Does not compile with go 1.12 (mknod.go:12:22: cannot use dev (type int) as type uint64 in argument to syscall.Mknod)

Summary

While trying to compile with go 1.12 following error message is displayed: ===> Building for gitlab-runner-11.7.0 executors/docker/bindata.go

github.com/docker/docker/pkg/system

src/github.com/docker/docker/pkg/system/mknod.go:12:22: cannot use dev (type int) as type uint64 in argument to syscall.Mknod *** Error code 2

Stop. make: stopped in /usr/ports/devel/gitlab-runner

Solution

Wait for https://github.com/moby/moby/pull/38818 to get merged and sorted out, update the dependency.

Edited Mar 04, 2019 by Steve Xuereb
Assignee Loading
Time tracking Loading