Your message dated Thu, 14 Jul 2016 05:33:31 +0000
with message-id <[email protected]>
and subject line Bug#827226: fixed in dh-golang 1.19
has caused the Debian Bug report #827226,
regarding incorrect preparation of build directory when pre-installed package 
is re-built
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.)


-- 
827226: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827226
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dh-golang
Version: 1.17
Severity: normal

--buildsystem=golang does a nice job preparing build directory in 
`dh_auto_configure` by symlinking source packages from under
"/usr/share/gocode/src" to directory specified with "--builddirectory" 
argument.

However it works incorrectly when $(DH_GOPKG) package (i.e. current package 
to build) is pre-installed because in such case installed and new version of 
the package are merged in build directory.

Suppose you are building a "golang-github-foo-bar" package which no longer 
provides "github.com/foo/bar/obsolete-feature". If previous version of the 
package is installed then dh_golang incorrectly symlink
"/usr/share/gocode/src/github.com/foo/bar/obsolete-feature" into build 
directory.

This problem should be easy to detect and avoid as dh_golang already knows 
which package not to link from $(DH_GOPKG) or XS-Go-Import-Path header.
I suppose we just need to ignore/skip pre-installed package which is build.

Also it would be nice to produce a warning to notify maintainer about 
potential problem.

Arguably circular dependencies are not in scope of what dh_golang should be 
doing but there are cases when package can be re-built (staged) on 
maintainer's machine in presence of previous version of the same package. 
Correct handling of such situations would be useful.

Thanks.

-- 
Regards,
 Dmitry Smirnov
 GPG key : 4096R/53968D1B

---

Truth — Something somehow discreditable to someone.
        -- H. L. Mencken, 1949

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
--- Begin Message ---
Source: dh-golang
Source-Version: 1.19

We believe that the bug you reported is fixed in the latest version of
dh-golang, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Smirnov <[email protected]> (supplier of updated dh-golang package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 14 Jul 2016 15:07:49 +1000
Source: dh-golang
Binary: dh-golang
Architecture: source all
Version: 1.19
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team 
<[email protected]>
Changed-By: Dmitry Smirnov <[email protected]>
Description:
 dh-golang  - debhelper add-on for packaging software written in Go (golang)
Closes: 827226 829302
Changes:
 dh-golang (1.19) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Paul Tagliamonte ]
   * Use a secure transport for the Vcs-Git and Vcs-Browser URL
 .
   [ Dmitry Smirnov ]
   * Perlcritic corrections for "Glob written as <...>".
   * Avoid linking pre-installed DH_GOPKG package to itself (Closes: #827226).
   * Respect "--parallel" and "--max-parallel" options (Closes: #829302).
Checksums-Sha1:
 b3b35192d83104c5d7ed9c6938ad42ba2e28ac38 1639 dh-golang_1.19.dsc
 8c8409b5f85dfba281f5e0e1821e7672ef063479 7560 dh-golang_1.19.tar.xz
 141661afca709319e574bdf7e1c49676d1b0fd34 9548 dh-golang_1.19_all.deb
Checksums-Sha256:
 a0ac4050660e9b3e9cd7fd43f14ea2900cf0be3bea28aa6be2fea86a244f9685 1639 
dh-golang_1.19.dsc
 4cf164f6bc302f9a9d5fe40b8618714a3ef1898bcaa884e0fc5fd49dc71b5574 7560 
dh-golang_1.19.tar.xz
 4d0953899130c1da1d47df0812c0c9c97b3a0ae7fbabfa5388c8d58de9b1bcb3 9548 
dh-golang_1.19_all.deb
Files:
 a8b4cc936806e58d0d9dc6e7789483a7 1639 devel extra dh-golang_1.19.dsc
 96d5fd68a477cac53a6b08910629aba2 7560 devel extra dh-golang_1.19.tar.xz
 41f91a1858eafc771427191106e9f966 9548 devel extra dh-golang_1.19_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXhyF/AAoJEFK2u9lTlo0bpMMP/Rrwqnl7K+KDAWF/wq4W38xy
aJ5YNVJY8Nc/5ZFqNZm7RpSNArN6z2BIomgD0DYOg6VYSF0zZRRATtGSEVf3RiSQ
ZpdKanJvLVpyI/Otr7ZcKxk3vy9CFa8CSPD76QZq9ulbbh+v/o4lKG5Bdn16UwLm
bz9CYc5gYOUSJqV9VOHTz7HOD4X+/c9WrdNI1ggtMmdDBtQGlsjgio76lSHWxQmp
b6vPXNlSPB/gAIAkngAKYXm5b0LQuKyc7VnKwPW2BKypUUDjHRFzeqvWrZPw0c13
TtlZLH+fIOoVP1BLOrYFbsl319jCCs5dhXFyKF7pl4Psjp7ocmM9j8x0cWR6gIHE
acShj4zZ3bqMbxzP07aBwtHCWzNs8KzW6ClGDRhOao7aPU8HQpOnmrV349M/y7zk
OdPma6EPWBaqDHTqdq7V2qYrXcDccW2Q61m25UstQzpm8ZpX+xsqMwXJ70gxu8mq
ZWLKiuqDm/l2spofoiEBy67YQdwh3XdT2eGTAK55ukk6G0vagP7v4VU67HF6XRPv
guNgMHxpfyXZAa1+vls+nEsrDfPEuDRiQ0QKzqCEY5Ekse090Zl5rrBcoA2KfZ/G
b3B+OQkx3f+G3H929Sl50FDFfewivrKpL1elI8IUk7ELvfP5WPTJWq5tX7eb0tc7
uubEdMmVGJkh9TEkyy31
=nOpv
-----END PGP SIGNATURE-----

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

Reply via email to