Your message dated Tue, 23 Jul 2019 13:51:13 +0100 with message-id <[email protected]> and subject line fixed has caused the Debian Bug report #734787, regarding dh-golang: If go package is package main don't install into /usr/share/gocode/src/ 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 [email protected] immediately.) -- 734787: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734787 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: dh-golang Version: 1.5 Severity: normal Dear Maintainer, When creating a go binary package, if the go code is from package main it shouldn't install to /usr/share/gocode -- System Information: Debian Release: jessie/sid APT prefers trusty-updates APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty'), (100, 'trusty-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13.0-1-generic (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dh-golang depends on: ii debhelper 9.20131127ubuntu1 ii dpkg 1.17.1ubuntu1 ii libparse-debcontrol-perl 2.005-4 ii perl 5.18.1-5 dh-golang recommends no packages. dh-golang suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Package: dh-golang Version: 1.17 Hi, I only saw this bug today, but this issue has been fixed back in 2016 with the addition of the --no-source and --no-binaries options that limit what is installed in the debian/tmp directory. For most application packages, you would just add something like this to your debian/rules: override_dh_auto_install: dh_auto_install -- --no-source If you want to generate both a library and an application package, this is what I do instead: override_dh_auto_install: dh_auto_install dh_install -p$(LIBPKG) usr/share/gocode dh_install -p$(BINPKG) usr/bin -- Martina Ferrari (Tina, the artist formerly known as Tincho)
--- End Message ---

