[Slackbuilds-users] Unable to build runc (for docker)

Willy Sudiarto Raharjo willysr at slackbuilds.org
Sat Apr 14 10:50:43 UTC 2018


> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180414/11bf7e52/attachment.asc>


More information about the SlackBuilds-users mailing list