FS#55281 - [gcc-go] and [gcc-go-multilib]: add `provides=('go')` to PKGBUILD

Attached to Project: Arch Linux
Opened by Dario Ostuni (dariost) - Friday, 25 August 2017, 15:01 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Monday, 04 September 2017, 06:29 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When you have a PKGBUILD which must build go source code you will need to add a `makedepends=('go')`, but this forces the user to have the package `go` installed, which conflicts with `gcc-go` and `gcc-go-multilib`. Since they provide the same functionalities my request is to add `provides=('go')` to both `gcc-go` and `gcc-go-multilib`.
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Monday, 04 September 2017, 06:29 GMT
Reason for closing:  Fixed
Comment by Allan McRae (Allan) - Friday, 25 August 2017, 21:31 GMT
This works for a while after each gcc release, then the go package gets updated to a new major version and the libraries are no longer compatible.
Comment by Bartłomiej Piotrowski (Barthalion) - Sunday, 03 September 2017, 18:20 GMT
In fact, it already happened, as GCC 7 ships Go 1.8, while I plan to put go-1.9 in [extra] tomorrow.

But from packaging perspective, it sounds reasonable. I will do it in trunk, but can't promise when I will care to perform the rebuild.

Loading...