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

Package:
dh-make-golang
Source:
dh-make-golang
Description:
tool that converts Go packages into Debian package source
Submitter:
Michael Prokop
Date:
2015-11-26 08:39:05 UTC
Severity:
normal
#806297#5
Date:
2015-11-26 08:36:52 UTC
From:
To:
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-