Your message dated Thu, 14 Oct 2021 13:54:12 +0000
with message-id <e1mb1bu-000bev...@fasolo.debian.org>
and subject line Bug#991970: fixed in piuparts 1.1.5
has caused the Debian Bug report #991970,
regarding piuparts: ftbfs with golang-1.16
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.)


-- 
991970: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991970
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: piuparts
Version: 1.1.4
Severity: important
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu impish

Dear Maintainer,

The attached patch will fix a FTBFS with golang-1.16.

This bug report was also filed in Ubuntu and can be found at
http://launchpad.net/bugs/1939171

The description, from Brian Murray, follows:

In 
https://launchpadlibrarian.net/551476957/buildlog_ubuntu-impish-amd64.piuparts_1.1.4_BUILDING.txt.gz
 we can see the following:

touch build-stamp
(cd helpers/debiman-piuparts-distill && go build)
go: go.mod file not found in current directory or any parent directory; see 'go 
help modules'
make[2]: *** [Makefile:61: build-master-stamp] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:12: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

This happens with piuparts version 1.1.4 and a test rebuild of 1.12 using 
golang-go (which depends on golang-1.16-go) also failed.

-- System Information:
Debian Release: 11.0
  APT prefers impish
  APT policy: (500, 'impish')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
>From 63a6d460c8578ec9b5e2c400d7d9ec5b22f14f81 Mon Sep 17 00:00:00 2001
From: Brian Murray <br...@ubuntu.com>
Date: Fri, 6 Aug 2021 12:49:18 -0700
Subject: [PATCH] Fix FTBFS w/ golang-1.16

---
 CONTRIBUTING     | 1 +
 Makefile         | 2 +-
 debian/changelog | 7 +++++++
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/CONTRIBUTING b/CONTRIBUTING
index 932bee56..5d1f732d 100644
--- a/CONTRIBUTING
+++ b/CONTRIBUTING
@@ -16,6 +16,7 @@ or to the tracking bug: <bugnumber>@bugs.debian.org.
 
 One possible workflow:
   git clone https://salsa.debian.org/debian/piuparts.git
+  cd piuparts
   git checkout origin/develop -b <topicname>
   <edits>
   git commit -a
diff --git a/Makefile b/Makefile
index df373eb5..ff7b7ca0 100644
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,7 @@ build-stamp: $(SCRIPTS_GENERATED) $(DOCS_GENERATED) Makefile
        touch $@
 
 build-master-stamp:
-       (cd helpers/debiman-piuparts-distill && go build)
+       (go mod init helpers/debiman-piuparts-distill && cd 
helpers/debiman-piuparts-distill && go build)
        touch $@
 
 build-doc: $(DOCS_GENERATED)
diff --git a/debian/changelog b/debian/changelog
index 251b90ee..6ec38e22 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+piuparts (1.1.5) UNRELEASED; urgency=medium
+
+  * Makefile: Execute go mod init before running go build, fixes FTBFS with
+    golang-1.16. (LP: #1939171)
+
+ -- Brian Murray <br...@ubuntu.com>  Fri, 06 Aug 2021 12:47:14 -0700
+
 piuparts (1.1.3) unstable; urgency=medium
 
   [ Michael Prokop ]
-- 
2.31.1


--- End Message ---
--- Begin Message ---
Source: piuparts
Source-Version: 1.1.5
Done: Holger Levsen <hol...@debian.org>

We believe that the bug you reported is fixed in the latest version of
piuparts, 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 991...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Holger Levsen <hol...@debian.org> (supplier of updated piuparts 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 14 Oct 2021 15:23:26 +0200
Source: piuparts
Architecture: source
Version: 1.1.5
Distribution: unstable
Urgency: medium
Maintainer: piuparts developers team <piuparts-de...@alioth-lists.debian.net>
Changed-By: Holger Levsen <hol...@debian.org>
Closes: 991970
Changes:
 piuparts (1.1.5) unstable; urgency=medium
 .
   [ Nicolas Dandrimont ]
   * pejacevic: update enabled suites for bullseye as stable, bookworm as
     testing.
   * Add news for the bullseye update.
   * Fix perjacevic typo in docs.
 .
   [ David Steele ]
   * Remove oldstable results from summary.json.
 .
   [ Athos Ribeiro ]
   * d/rules: set GO111MODULE to auto to maintain pre Go 1.16 behavior. Closes: 
#991970.
     (MR: debian/piuparts!35)
Checksums-Sha1:
 e597f0f949fb01071f43b8cf0cf6fac73403cbb8 2352 piuparts_1.1.5.dsc
 9b82b71f8f30117c06cefc402f0a917d23f87dfc 227216 piuparts_1.1.5.tar.xz
 dce71c2e6e182d8d1cbb4088f4b26149fc71edbd 8268 piuparts_1.1.5_source.buildinfo
Checksums-Sha256:
 67295561c043be7d341077b23e8fda27a207d3d392481ebbc7ea0ff631cefc38 2352 
piuparts_1.1.5.dsc
 a0f2c4fcc21eab1c958a9d58dee7d7dbc2767bbf94266ae2a18b3a99d7488726 227216 
piuparts_1.1.5.tar.xz
 b8c5736ce780f615db5ebe5df88fcf05af34d42ef8620f47c2b909a09f1d3420 8268 
piuparts_1.1.5_source.buildinfo
Files:
 fac67234a91f5b2786c33dcfa08be35e 2352 devel optional piuparts_1.1.5.dsc
 c5e7f0edfe3ede534e6c27d1ee6cee2f 227216 devel optional piuparts_1.1.5.tar.xz
 a2c4de39c0b1494efacdcf378c2d146e 8268 devel optional 
piuparts_1.1.5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmFoMLAACgkQCRq4Vgaa
qhzaFA//Xyi2oowJK3+4pIuDd2mTp5Br0FKqCZEABqsPHrkwjHV4kU3zLnwqZhJv
a0Us0xWW1ldI7uS9xA3hu4M55Ig1djCNmG4KP1E5dWAv9yUto99O53SA6B/b+uXt
rH8jIbFmHxlowGZNQ8Mj2is4ErQTXY9RtFChLKiFBbjA2FD5xDqQ77KrX5hKiheH
EcwQD62zak8S82eCQI8DSCKurVFpps8okahDUFOUZAQUCuZl98bhU1WPhcI+ID0u
MreOUxtENpSuutJjE7iKde/kH89mGUe6uOoa5A6cpE9294Btd4jAbHTaVM7gZ+vR
mX1GL4vjqHieGW3Kqij1yE0g84JDpLVBuHYtD7a4ouFa1BJ6Bn6ZJ/nDVDO+0BNN
XuXIuog35Kk0DlsHNvQpxyjUhhA44+kteaYpGN2Jr8N9u+plJIzg3OdiqdgU8eOp
aWKPRCe/D3+O7a9Kv8p3n5kxzZ+WzaduFkpG4AiWcN/n1EUWWGED8T+xI75gcczt
yXxj99cSslxSSQ/ZvfYDtrrwlMrLy9SEt9Zh/P3pgxV/lvjRAtS5U0qXeYlq1PZf
3hT1Xn0kcdY3J/sHm1gvC9Rzz01u+fdy8BU11/2SNvjSG4mro5lSfKtgDvO2AkPL
78aX6K5T1CICQuCLtfp3c5drlpZblui6PVyAUEy/OXpHZYsNMS8=
=M/n0
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to