You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current heuristic is not precise. For example, when packaging github.com/coreos/dex, I got:
2017/10/21 18:19:49 Build-Dependency "golang-github-gtank-cryptopasta-dev" is not yet available in Debian
2017/10/21 18:19:49 Build-Dependency "golang-github-golang-protobuf-dev" is not yet available in Debian
2017/10/21 18:19:49 Build-Dependency "golang-gopkg-ldap.v2-dev" is not yet available in Debian
2017/10/21 18:19:49 Build-Dependency "golang-github-cockroachdb-cockroach-go-dev" is not yet available in Debian
2017/10/21 18:19:49 Build-Dependency "golang-gopkg-square-go-jose.v2-dev" is not yet available in Debian
2017/10/21 18:19:49 Build-Dependency "golang-github-beevik-etree-dev" is not yet available in Debian
2017/10/21 18:19:49 Build-Dependency "golang-github-russellhaering-goxmldsig-dev" is not yet available in Debian
But, github.com/golang/protobuf and gopkg.in/ldap.v2 are in fact packaged (in golang-goprotobuf-dev and golang-github-go-ldap-ldap-dev, respectively).
We should switch dh-make-golang to make use of that, and convert all of our remaining packages to set XS-Go-Import-Path (I’ll analyze which these are in a bit).
The text was updated successfully, but these errors were encountered:
While running dh-make-golang on a package today, I got this line in the output.
2018/02/04 11:03:42 Could not check for existing Go packages in Debian: getting "https://api.ftp-master.debian.org/binary/by\_metadata/Go-Import-Path": %!v(MISSING)
Is it related to this issue?
I asked this on IRC, after no replies there posting here.
The current heuristic is not precise. For example, when packaging github.com/coreos/dex, I got:
But,
github.com/golang/protobuf
andgopkg.in/ldap.v2
are in fact packaged (ingolang-goprotobuf-dev
andgolang-github-go-ldap-ldap-dev
, respectively).@paultag suggested using the
XS-Go-Import-Path
field indebian/control
instead of settingDH_GOPKG
(see also https://manpages.debian.org/unstable/dh-golang/Debian::Debhelper::Buildsystem::golang.3pm.en.html), which allows us to precisely list all binary packages by their Go import path.I recently implemented a query for this in dakweb, see https://lists.debian.org/debian-dak/2017/10/msg00012.html for the patch.
We should switch dh-make-golang to make use of that, and convert all of our remaining packages to set
XS-Go-Import-Path
(I’ll analyze which these are in a bit).The text was updated successfully, but these errors were encountered: