Lintian ReportsBETA

missing-xs-go-import-path-for-golang-package

This Golang source does not declare a XS-Go-Import-Path field in the debian/control file..

Many tools like dh-make-golang(1) use the field to resolve resolve prerequisites correctly. It is also used in the Golang team's CI.

When using dh-golang, the field's value should be the same as DH_GOPKG in debian/rules. The dh-golang build system then automatically sets DH_GOPKG to the value from XS-Go-Import-Path.

For packages that do not use dh-golang, or for packages whose upstream does not publish the sources in a way compatible with go get (and hence does not have a canonical import path) you should use a fake import path. Please contact the Golang team at for more advice.

For more information please consult:

The tag is present in Lintian version 2.114.163. That is the most recent version we know about.

We use semantic versions. The patch number is a commit step indicator relative to the 2.114.0 release tag in our Git repository.

You can find the detection logic for this version at commit c1c05b0. For merge requests, please use the latest version in the Lintian check languages/golang/import-path.

Visibility: info

The following 11 source packages in the archive triggered the tag 11 times (in any Lintian version).

We found 1 overrides. The tag performed 91% of the time.