[CentOS-devel] 2 golang SRPMS fail to build

Fri Jun 20 12:36:52 UTC 2014
Patrick Laimbock <patrick at laimbock.com>

Hi Johnny,

On 20-06-14 13:38, Johnny Hughes wrote:
> All,
>
> We are also trying to build the extras tree (which contains docker).
> Part of the build requirements are golang and its helpers.  I am having
> issues getting 2 of the golang SRPMs to build .. can anyone see what I
> am doing wrong?
>
> Repo trying to build is c7-extras here:
>
> http://buildlogs.centos.org/c7-extras/
>
> Specifically, trying to build golang* on x86_64 and these 2 keep failing
> x86_64:
>
> http://buildlogs.centos.org/c7-extras/golang-github-syndtr-gocapability/

Failure seems to be caused by:
go tool: no such tool "6g"

On Fedora that file is provided by:

golang-1.2.2-7.fc20.x86_64 : The Go Programming Language
Repo        : fedora-updates-local
Matched from:
Filename    : /usr/share/bash-completion/completions/6g

golang-pkg-bin-linux-amd64-1.2.2-7.fc20.x86_64 : Golang compiler tool 
for linux amd64
Repo        : fedora-updates-local
Matched from:
Filename    : /usr/lib/golang/pkg/tool/linux_amd64/6g

golang-src-1.2.2-7.fc20.noarch : Golang compiler source tree
Repo        : fedora-updates-local
Matched from:
Filename    : /usr/lib/golang/src/cmd/6g

Are the BuildRequires ok?

> http://buildlogs.centos.org/c7-extras/golang-github-gorilla-context/

Failure seems to be caused by:
go tool: no such tool "6c"

On Fedora that file is provided by:

golang-1.1.2-3.fc20.x86_64 : The Go Programming Language
Repo        : fedora-local
Matched from:
Filename    : /usr/lib64/golang/src/cmd/6c
Filename    : /usr/lib64/golang/pkg/tool/linux_amd64/6c

Same here?

Are those 6c & 6g files actually included in the golang, 
golang-pkg-bin-linux-amd64 and golang-src packages?

HTH,
Patrick