Debian Bug report logs -
#821000
dh-golang: matched no packages; no buildable Go source files
Reported by: Dmitry Smirnov <onlyjob@debian.org>
Date: Thu, 14 Apr 2016 12:48:06 UTC
Severity: serious
Found in version dh-golang/1.14
Fixed in version dh-golang/1.15
Done: Michael Stapelberg <stapelberg@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Michael Stapelberg <stapelberg@debian.org>:
Bug#821000; Package dh-golang.
(Thu, 14 Apr 2016 12:48:09 GMT) (full text, mbox, link).
Acknowledgement sent
to Dmitry Smirnov <onlyjob@debian.org>:
New Bug report received and forwarded. Copy sent to Michael Stapelberg <stapelberg@debian.org>.
(Thu, 14 Apr 2016 12:48:10 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: dh-golang
Version: 1.14
Severity: serious
1.14 is completely broken and unable to build golang packages any more,
failing with warning "matched no packages" and error "no buildable Go source
files".
--
Regards,
Dmitry Smirnov
GPG key : 4096R/53968D1B
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#821000; Package dh-golang.
(Thu, 14 Apr 2016 14:57:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Stapelberg <stapelberg@debian.org>:
Extra info received and forwarded to list.
(Thu, 14 Apr 2016 14:57:04 GMT) (full text, mbox, link).
Message #10 received at 821000@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Michael Hudson-Doyle, can you take a look at this please?
Dmitry, can you please provide steps to reproduce?
On Thu, Apr 14, 2016 at 2:46 PM, Dmitry Smirnov <onlyjob@debian.org> wrote:
> Package: dh-golang
> Version: 1.14
> Severity: serious
>
> 1.14 is completely broken and unable to build golang packages any more,
> failing with warning "matched no packages" and error "no buildable Go
> source
> files".
>
> --
> Regards,
> Dmitry Smirnov
> GPG key : 4096R/53968D1B
>
--
Best regards,
Michael
[Message part 2 (text/html, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Michael Stapelberg <stapelberg@debian.org>:
Bug#821000; Package dh-golang.
(Thu, 14 Apr 2016 21:21:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Hudson-Doyle <michael.hudson@canonical.com>:
Extra info received and forwarded to list. Copy sent to Michael Stapelberg <stapelberg@debian.org>.
(Thu, 14 Apr 2016 21:21:04 GMT) (full text, mbox, link).
Message #15 received at 821000@bugs.debian.org (full text, mbox, reply):
Sure, I'll take a look. Some details would be nice...
On 15 April 2016 at 02:53, Michael Stapelberg <stapelberg@debian.org> wrote:
> Michael Hudson-Doyle, can you take a look at this please?
>
> Dmitry, can you please provide steps to reproduce?
>
> On Thu, Apr 14, 2016 at 2:46 PM, Dmitry Smirnov <onlyjob@debian.org> wrote:
>>
>> Package: dh-golang
>> Version: 1.14
>> Severity: serious
>>
>> 1.14 is completely broken and unable to build golang packages any more,
>> failing with warning "matched no packages" and error "no buildable Go
>> source
>> files".
>>
>> --
>> Regards,
>> Dmitry Smirnov
>> GPG key : 4096R/53968D1B
>
>
>
>
> --
> Best regards,
> Michael
Information forwarded
to debian-bugs-dist@lists.debian.org, Michael Stapelberg <stapelberg@debian.org>:
Bug#821000; Package dh-golang.
(Thu, 14 Apr 2016 21:51:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Hudson-Doyle <michael.hudson@canonical.com>:
Extra info received and forwarded to list. Copy sent to Michael Stapelberg <stapelberg@debian.org>.
(Thu, 14 Apr 2016 21:51:05 GMT) (full text, mbox, link).
Message #20 received at 821000@bugs.debian.org (full text, mbox, reply):
---
Sorry about this.
debian/changelog | 6 ++++++
lib/Debian/Debhelper/Buildsystem/golang.pm | 1 +
2 files changed, 7 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index e9dba09..dcd21e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+dh-golang (1.15) UNRELEASED; urgency=medium
+
+ * Restore setting of GOPATH during build removed by mistake in 1.14.
+
+ -- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Fri, 15 Apr 2016 09:31:13 +1200
+
dh-golang (1.14) unstable; urgency=medium
[ Michael Hudson-Doyle ]
diff --git a/lib/Debian/Debhelper/Buildsystem/golang.pm b/lib/Debian/Debhelper/Buildsystem/golang.pm
index fbdf510..4d73d99 100644
--- a/lib/Debian/Debhelper/Buildsystem/golang.pm
+++ b/lib/Debian/Debhelper/Buildsystem/golang.pm
@@ -161,6 +161,7 @@ sub get_targets {
sub build {
my $this = shift;
+ $this->_set_gopath();
if (exists($ENV{DH_GOLANG_GO_GENERATE}) && $ENV{DH_GOLANG_GO_GENERATE} == 1) {
$this->doit_in_builddir("go", "generate", "-v", @_, get_targets());
}
--
2.5.0
Information forwarded
to debian-bugs-dist@lists.debian.org, Michael Stapelberg <stapelberg@debian.org>:
Bug#821000; Package dh-golang.
(Thu, 14 Apr 2016 23:03:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Tianon Gravi <tianon@debian.org>:
Extra info received and forwarded to list. Copy sent to Michael Stapelberg <stapelberg@debian.org>.
(Thu, 14 Apr 2016 23:03:06 GMT) (full text, mbox, link).
Message #25 received at 821000@bugs.debian.org (full text, mbox, reply):
On Fri, 15 Apr 2016 09:46:34 +1200 Michael Hudson-Doyle
<michael.hudson@canonical.com> wrote:
> --- a/lib/Debian/Debhelper/Buildsystem/golang.pm
> +++ b/lib/Debian/Debhelper/Buildsystem/golang.pm
> @@ -161,6 +161,7 @@ sub get_targets {
> sub build {
> my $this = shift;
>
> + $this->_set_gopath();
> if (exists($ENV{DH_GOLANG_GO_GENERATE}) && $ENV{DH_GOLANG_GO_GENERATE} == 1) {
> $this->doit_in_builddir("go", "generate", "-v", @_, get_targets());
> }
This definitely matches what my conclusion was for the breakage (and
my proposed fix on the pkg-go ML where mwhudson pointed me to this
bug). :)
♥,
- Tianon
4096R / B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4
Information forwarded
to debian-bugs-dist@lists.debian.org, Michael Stapelberg <stapelberg@debian.org>:
Bug#821000; Package dh-golang.
(Fri, 15 Apr 2016 00:24:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Dmitry Smirnov <onlyjob@debian.org>:
Extra info received and forwarded to list. Copy sent to Michael Stapelberg <stapelberg@debian.org>.
(Fri, 15 Apr 2016 00:24:04 GMT) (full text, mbox, link).
Message #30 received at 821000@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Thursday, 14 April 2016 4:53:08 PM AEST Michael Stapelberg wrote:
> Dmitry, can you please provide steps to reproduce?
Just re-build any golang- package. They all fail with same problem, just like
recent upload of gogoprotobuf:
https://buildd.debian.org/status/package.php?p=golang-gogoprotobuf
This is reproducible with simplest packages produced by dh-make-golang.
--
Cheers,
Dmitry Smirnov.
---
The choice for mankind lies between freedom and happiness and for the great
bulk of mankind, happiness is better.
-- George Orwell, 1984
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Michael Stapelberg <stapelberg@debian.org>:
You have taken responsibility.
(Fri, 15 Apr 2016 07:09:25 GMT) (full text, mbox, link).
Notification sent
to Dmitry Smirnov <onlyjob@debian.org>:
Bug acknowledged by developer.
(Fri, 15 Apr 2016 07:09:25 GMT) (full text, mbox, link).
Message #35 received at 821000-close@bugs.debian.org (full text, mbox, reply):
Source: dh-golang
Source-Version: 1.15
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 821000@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Stapelberg <stapelberg@debian.org> (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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 15 Apr 2016 08:50:49 +0200
Source: dh-golang
Binary: dh-golang
Architecture: source all
Version: 1.15
Distribution: unstable
Urgency: medium
Maintainer: Michael Stapelberg <stapelberg@debian.org>
Changed-By: Michael Stapelberg <stapelberg@debian.org>
Description:
dh-golang - debhelper add-on for packaging software written in Go (golang)
Closes: 821000
Changes:
dh-golang (1.15) unstable; urgency=medium
.
[ Michael Hudson-Doyle ]
* Restore setting of GOPATH during build removed by mistake in 1.14.
(Closes: #821000)
Checksums-Sha1:
90053b10be3bc66fbd45e0c01687ca4b35790724 1559 dh-golang_1.15.dsc
326289a13dc533a8e66afaaa05e7cc1b9b4fbca7 6336 dh-golang_1.15.tar.xz
35905348a07cdad21029b09c20b177bbfd72452f 8218 dh-golang_1.15_all.deb
Checksums-Sha256:
67c97b244bc73fe043e0bc7346130b5d1fcf341972fe79c04386617220f789b3 1559 dh-golang_1.15.dsc
019c7ec5f6aa36966766204abe0d3290bbb8d77010f0e3c2f8dbcdfc59d95000 6336 dh-golang_1.15.tar.xz
2a3d8fb1cf88069de2fd288bf918eb72a136d84254a55d824559ecd857fb0f83 8218 dh-golang_1.15_all.deb
Files:
9c0559f91699da3b3a2c6740b8ecb352 1559 devel extra dh-golang_1.15.dsc
777752c726eb88430f805c15d1d8f2f7 6336 devel extra dh-golang_1.15.tar.xz
35e7fa7e36b2dc20e64c0313bdd18a14 8218 devel extra dh-golang_1.15_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJXEI/cAAoJEE5xYO1KyO4dzn8QAM6do/rKfXb9Jm+bcYBfDQn8
Qpl3DkqcP+wHJiG4KBocGZvgsY1tAv2sjPv7Lkr+0i47uA6vJT2+LA+gQEgCbUdN
rxRpxijOEdrYjWRVfNXXoXxkAZorisaHVt6oBhr8z1eRkUGxvNgcE22nYRB9fl99
b92Eihb7pR1uitoUTPLPOaL6x1ILSYdfMlrxe2kYD5gNsy5QWVcgVCe3pQpbkWLt
OmfCdtLD04DYhnFhpwjr3BqlrmB7JsQkSWa/i++EES9GPAu6zJiVLFQ0VMSjJxWW
2ewf4dBVzsh5wtdDgJ1RJyBch/1hzkjtDvZz1ynmwQ747jhDQHRvA45i28j/b7p4
I00aGTx11TgnmSradUbhjM5tJurEkVS6zQtzsmdoa44zAYM5OmDpn8eRr8CmN9nM
jfLs3PHlA3heOlFpYrbaSDk2XS2Ay4Qy0iemr3zvWLm1cExswbGkciavyGddzWRI
BFdC1ctIhlUvUyv/MCSk+hr9gnzu41CaiCE+9/LbirgIrdfYbJOBgj4DqwX/Q1dL
OvhW+tDhJx9QZM+A/qr01mcwgmIee5fpYVpF/b2+vVYyFrI0fF9Hv6qHXuIoNIfE
iiNIFm2pNjLdyOKmeyencXu27exsGBiks7J7Gb5vgGy2TNe48GQ3FPsfPLj/uOOM
WvWdKU4YoU20UZdo7PmM
=CoOG
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 13 May 2016 07:25:07 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jan 6 20:08:56 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.