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/
http://buildlogs.centos.org/c7-extras/golang-github-gorilla-context/
All the other golang things seem to build OK.
All the SRPMs are available in git.centos.org rpms:
https://git.centos.org/project/rpms
How to get SRPMs from git:
http://wiki.centos.org/Sources
Can anyone get a good x86_64 build of those 2 packages?
Thanks, Johnny Hughes
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
On 06/20/2014 07:36 AM, Patrick Laimbock wrote:
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
Thanks Patrick
For some reason, those files, /usr/lib/golang/pkg/tool/linux_amd64/6g and 6c, are in golang-pkg-linux-amd64-1.2.1-3.el7.noarch.rpm and not golang-pkg-bin-linux-amd64-1.2.1-3.el7.x86_64.rpm in the packages that are built for that golang ... not sure why.
On Fri, Jun 20, 2014 at 08:01:33AM -0500, Johnny Hughes wrote:
For some reason, those files, /usr/lib/golang/pkg/tool/linux_amd64/6g and 6c, are in golang-pkg-linux-amd64-1.2.1-3.el7.noarch.rpm and not golang-pkg-bin-linux-amd64-1.2.1-3.el7.x86_64.rpm in the packages that are built for that golang ... not sure why.
Probably a bug. Please file. (I notice that it's _not_ this way in the current Fedora packages.)