[pkg-go] Bug#806297: dh-make-golang: wrong upper/downcase letters in go package name causing empty lines in debian/control

Michael Prokop mika at debian.org
Thu Nov 26 08:36:52 UTC 2015


Package: dh-make-golang
Version: 0.0~git20150913.0.1221041-1
Severity: normal

When running:

  % dh-make-golang -type=library github.com/drael/gonetstat

this emits:

  2015/11/26 09:27:36 Build-Dependency "" is not yet available in Debian

and resulting in the following debian/control file (note the two
empty lines breaking the control file syntax):

| Source: golang-github-drael-gonetstat
| [...]
| Build-Depends: debhelper (>= 9),
|                dh-golang,
|                golang-go,
|                
| Standards-Version: 3.9.6
| Homepage: https://github.com/drael/gonetstat
| Vcs-Browser: https://anonscm.debian.org/cgit/pkg-go/packages/golang-github-drael-gonetstat.git
| Vcs-Git: git://anonscm.debian.org/pkg-go/packages/golang-github-drael-gonetstat.git
| XS-Go-Import-Path: github.com/drael/gonetstat
| 
| Package: golang-github-drael-gonetstat-dev
| Architecture: all
| Depends: ${shlibs:Depends},
|          ${misc:Depends},
|          golang-go,
|          
| Description: Netstat implementation in Go
| [...]

When executing:

  % dh-make-golang -type=library github.com/drael/GOnetstat

instead this problem doesn't exist.

I just ran into this issue because the repository is (also)
available at https://github.com/drael/gonetstat and I did copy/waste
while the package is named github.com/drael/GOnetstat actually.

Thanks for dh-make-golang! :)

regards,
-mika-



More information about the Pkg-go-maintainers mailing list