Open zhsj opened 6 years ago
This seems hard to resolve, since we set Go-Import-Path
on source packages. And it can't be set on binary packages.
Would it be an improvement to select all matching packages instead of just the first one? That way, we’ll have a little bit of overhead for transitional packages, but the build at least succeeds.
The build doesn't fail if transitional package has been selected. Actually nothing breaks. Even golang-golang-x-oauth2-google-dev
is selected, golang-golang-x-oauth2-dev
will be selected by depends.
I think it's only "nice" level to have this issue been fixed.
Thanks, updated the title to reflect that.
Not knowing about issues being tracked here, I've rediscovered this issue on my own, and brainstormed possible ideas on the debian-go mailing list:
Adding pointers here in case somebody wanted to pick those up (or shoot them down). :)
For example,
It should be golang-golang-x-text-dev instead.
Go through the meta source, following import paths have two or more -dev packages,
Most are caused by transitional package, but
golang.org/x/oauth2
is caused by package splits.It should be
golang-golang-x-oauth2-dev
.