Your message dated Tue, 20 Jun 2017 09:05:42 +0200
with message-id <87efufm94p.fsf@midna.localhost>
and subject line Re: Bug#814690: dh-golang: doesn't have ability to distinguish 
between binary and dev packages
has caused the Debian Bug report #814690,
regarding dh-golang: doesn't have ability to distinguish between binary and dev 
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact

Debian Bug Tracking System
Contact with problems
--- Begin Message ---
Package: dh-golang
Version: 1.12
Severity: normal

Hello Michael,

I've recently received Bug#814488 against go-mtpfs, which is a package
providing a binary /usr/bin/go-mtpfs.  I've used dh-golang to build
it, and debian/rules basically says:

export DH_GOPKG :=

        dh $@ --buildsystem=golang --with=golang

(It was created using dh-make-golang.)  I've included run-time
dependencies on the relevant -dev packages which go-mtpfs requires in
order to build the package, since the source is included in the binary

But actually, this doesn't seem to make so much sense: the package
*user* only requires the binary /usr/bin/go-mtpfs.  It would be better
to split the package into two packages: go-mtpfs containing just the
binary, and go-mtpfs-dev which contains the Go source code.  I can
hack the debian/rules file to achieve this, but it would seem to make
sense to have a more general solution, as this is unlikely to be the
only package of this nature.

So perhaps something like --buildsystem=golang-bin in these cases, and
that places the source files in the -dev package?

Best wishes,


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dh-golang depends on:
ii  debhelper     9.20160115
ii  dpkg          1.18.4
ii  libdpkg-perl  1.18.4
ii  perl          5.22.1-5

dh-golang recommends no packages.

dh-golang suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi Julian,

Michael Stapelberg <> writes:
> That sounds reasonable to me. Can you send a pull request on
> please, or at least file an issue
> there?


Best regards,

--- End Message ---
Pkg-go-maintainers mailing list

Reply via email to