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

2018-04-14 Thread Audrius Kažukauskas
Hi, Duncan,

On Sat, 2018-04-14 at 22:41:14 +1000, Duncan Roe wrote:
> Does "go help buildmode" work for you? What does "go version" show? I get
> > go version go1.4.2 gccgo (GCC) 5.3.0 linux/amd64

You're missing one bit that's described in google-go-lang's README (and
what Willy was hinting at):

  The tools are added to the path by putting go.sh and go.csh files in
  /etc/profile.d and letting the system's /etc/profile or /etc/csh.login
  pick it up.

Since you haven't logged out and logged in yet (or sourced
/etc/profile.d/go.sh manually), your shell session is still trying to
use gcc-go instead of google-go-lang.

-- 
Audrius Kažukauskas


signature.asc
Description: PGP 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/



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

2018-04-14 Thread Willy Sudiarto Raharjo
> I did that, no change. google-go-lang is recently installed:
>> 21:31:26# echo $GOROOT
>> /usr/lib64/go1.9.5/go
> What next?

Have you logged out from root and run "su -" again?
that should be working


-- 
Willy Sudiarto Raharjo



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/



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

2018-04-14 Thread Duncan Roe
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
> /usr/lib64/go1.9.5/go
What next?

Cheers ... Duncan.
___
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/