[Slackbuilds-users] Unable to build runc (for docker)
duncan_roe at optusnet.com.au
Sat Apr 14 11:34:48 UTC 2018
On Sat, Apr 14, 2018 at 05:50:43PM +0700, Willy Sudiarto Raharjo wrote:
> > When I ran runc.SlackBuild these errors appeared:
> >> go build -buildmode=pie -ldflags "-X main.gitCommit=4fc53a81fb7c994640722ac585fa9ca548971871 -X main.version=1.0.0-rc5 " -tags "seccomp" -o runc .
> >> flag provided but not defined: -buildmode
> >> usage: build [-o output] [-i] [build flags] [packages]
> > slackbuilds/development/google-go-lang/README advises to "see `go help
> > buildmode`", but:
> >> 20:41:40$ go help buildmode
> >> Unknown help topic `buildmode`. Run 'go help'.
> > I have an unpatched 14.2 system. Should I patch it to get this command to work?
> > (/usr/bin/go is provided by gcc-go-5.3.0-x86_64-3 but it would patch up to
> > gcc-go-5.5.0-x86_64-1).
> use "su -" instead of just su
> also, make sure to run the above command after installing/upgrading
> google-go-lang to make sure you grab the latest GOROOT environment
> Willy Sudiarto Raharjo
I did that, no change. google-go-lang is recently installed:
> 21:31:26# echo $GOROOT
Cheers ... Duncan.
More information about the SlackBuilds-users