[CentOS-devel] 2 golang SRPMS fail to build

Johnny Hughes johnny at centos.org
Fri Jun 20 13:01:33 UTC 2014


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20140620/6dbc4c56/attachment.sig>


More information about the CentOS-devel mailing list