Terraform-provider-libvirt: CentOS binaries are not building

Created on 20 Jan 2019  路  8Comments  路  Source: dmacvicar/terraform-provider-libvirt

CentOS build can't find golang package. I can't recall if we had some magic for that, and why it stopped working.

  • I recall CentOS 7 never having golang package, but I think we had some magic to reuse the golang binary from a different target

https://build.opensuse.org/project/show/systemsmanagement:terraform:unstable

community help wanted

Most helpful comment

All 8 comments

Can you list out exact steps followed while packaging CentOS distribution?

Hi @rsjethani you will need to have obs knowledge on obs system, if you want to take this issue I will help on the road with all the infos

Can you list out exact steps followed while packaging CentOS distribution?

@rsjethani We just build the source in a .spec file against various distributions. Here is the spec:
https://build.opensuse.org/package/view_file/systemsmanagement:terraform:unstable/terraform-provider-libvirt/terraform-provider-libvirt.spec?expand=1

The result ends as a rpm. There is one step that copies the binary into a OTHER directory. That is used to also output plain tarballs with the binary (non-rpms).

Thanks @MalloZup @dmacvicar I will start by understanding obs and rpm basics

On centos7 golang is available via epel-release repo

I see the binaries are being built again... but I don't recall we did anything to fix it

no we didn't. to me is that on the obs side the unresolvable pkg for centos7 was fixed and consequently it fixed also our sub-problem.

thx for closing it :tulip:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tormath1 picture tormath1  路  3Comments

klauserber picture klauserber  路  6Comments

lifeofguenter picture lifeofguenter  路  5Comments

MalloZup picture MalloZup  路  3Comments

jdandrea picture jdandrea  路  4Comments