> 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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/

Reply via email to