Lintian ReportsBETA

Tag versions

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

The tag is present in Lintian version 2.114.55. 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 8053610. For merge requests, please use the latest version in the Lintian check languages/golang/import-path.

Visibility: info

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 following 9 source packages in the archive triggered the tag 9 times (in any Lintian version).

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