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 
packages
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 ow...@bugs.debian.org
immediately.)


-- 
814690: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814690
Debian Bug Tracking System
Contact ow...@bugs.debian.org 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 := github.com/hanwen/go-mtpfs

%:
        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
package.

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,

   Julian

-- 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 <stapelb...@debian.org> writes:
> That sounds reasonable to me. Can you send a pull request on
> https://github.com/Debian/dh-make-golang please, or at least file an issue
> there?

Filed https://github.com/Debian/dh-make-golang/issues/57

-- 
Best regards,
Michael

--- End Message ---
_______________________________________________
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

Reply via email to