[CentOS-devel] What is the preferred approach to get golang >= 1.9.4 in buildroots in the CBS?

Fabian Arrotin arrfab at centos.org
Tue Oct 30 12:16:30 UTC 2018


On 30/10/18 10:05, Niels de Vos wrote:
> Hi,
> 
> It seems that the golang version (1.8) in the CentOS build (base?)
> repository is not recent enough to build one of the Gluster components.
> GlusterD2-5.0 needs golang >= 1.9.4.
> 
> There is a build of golang-1.10.2-1.el7 in the CBS, but that is only for
> x86_64, and I would need a version that has ppc64le and aarch64 as well.
> 
> Early on, golang was included in CentOS Extras, is that a possible
> location to keep a more recent version?
> 
> Thanks,
> Niels

Hi Niels,

golang 1.9.4 is available in base repo for all arches, like aarch64 and
ppc64le :

 *
http://mirror.centos.org/altarch/7/os/ppc64le/Packages/golang-1.9.4-1.el7.ppc64le.rpm

 *
http://mirror.centos.org/altarch/7/os/aarch64/Packages/golang-1.9.4-1.el7.aarch64.rpm


So do you mean that a gluster build is failing at your side ? if so,
haven't you in the past tagged a specific golang build for your
tags/targets ? if so that would explain why it ignores the base packages
but instead would use the tagged version

Can you verify this ?

-- 
Fabian Arrotin
The CentOS Project | https://www.centos.org
gpg key: 56BEC54E | twitter: @arrfab

-------------- 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/20181030/9577ae30/attachment.sig>


More information about the CentOS-devel mailing list