diff -Nru golang-github-sevlyar-go-daemon-0.1.5/debian/changelog golang-github-sevlyar-go-daemon-0.1.5/debian/changelog --- golang-github-sevlyar-go-daemon-0.1.5/debian/changelog 2020-02-10 05:30:40.000000000 -0600 +++ golang-github-sevlyar-go-daemon-0.1.5/debian/changelog 2021-09-15 14:56:54.000000000 -0500 @@ -1,3 +1,10 @@ +golang-github-sevlyar-go-daemon (0.1.5-1ubuntu1) impish; urgency=medium + + * Cherry pick upstream patch to remove darwin/386 architecture + and resolve FTBFS with Go 1.17 (LP: #1943761) + + -- William 'jawn-smith' Wilson Wed, 15 Sep 2021 14:56:54 -0500 + golang-github-sevlyar-go-daemon (0.1.5-1) unstable; urgency=medium * Team upload. diff -Nru golang-github-sevlyar-go-daemon-0.1.5/debian/control golang-github-sevlyar-go-daemon-0.1.5/debian/control --- golang-github-sevlyar-go-daemon-0.1.5/debian/control 2020-02-10 05:30:40.000000000 -0600 +++ golang-github-sevlyar-go-daemon-0.1.5/debian/control 2021-09-15 14:56:54.000000000 -0500 @@ -1,7 +1,8 @@ Source: golang-github-sevlyar-go-daemon Section: devel Priority: optional -Maintainer: Debian Go Packaging Team +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Go Packaging Team Uploaders: Dr. Tobias Quathamer , Build-Depends: debhelper-compat (= 12), dh-golang, diff -Nru golang-github-sevlyar-go-daemon-0.1.5/debian/patches/0001-cherry-pick-upstream-change-for-go-1.17.patch golang-github-sevlyar-go-daemon-0.1.5/debian/patches/0001-cherry-pick-upstream-change-for-go-1.17.patch --- golang-github-sevlyar-go-daemon-0.1.5/debian/patches/0001-cherry-pick-upstream-change-for-go-1.17.patch 1969-12-31 18:00:00.000000000 -0600 +++ golang-github-sevlyar-go-daemon-0.1.5/debian/patches/0001-cherry-pick-upstream-change-for-go-1.17.patch 2021-09-15 14:56:46.000000000 -0500 @@ -0,0 +1,21 @@ +Description: Fix FTBFS with Go 1.17 + As of Go 1.15, the architecture darwin/386 was deprecated, and + it has been fully removed in Go 1.17. This was causing a failure + in a build-time test of this package. For more information, see + https://github.com/golang/go/issues/37610 +Origin: upstream, https://github.com/sevlyar/go-daemon/commit/4575a85b8ba1ffd626da3ac85b9143300d6437eb +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/golang-github-sevlyar-go-daemon/+bug/1943761 +Applied-Upstream: https://bugs.launchpad.net/ubuntu/+source/golang-github-sevlyar-go-daemon/+bug/1943761 +Last-Update: 2021-09-15 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/compilation_test.go ++++ b/compilation_test.go +@@ -18,7 +18,6 @@ + } + + pairs := []string{ +- "darwin/386", + "darwin/amd64", + "dragonfly/amd64", + "freebsd/386", diff -Nru golang-github-sevlyar-go-daemon-0.1.5/debian/patches/series golang-github-sevlyar-go-daemon-0.1.5/debian/patches/series --- golang-github-sevlyar-go-daemon-0.1.5/debian/patches/series 1969-12-31 18:00:00.000000000 -0600 +++ golang-github-sevlyar-go-daemon-0.1.5/debian/patches/series 2021-09-15 14:47:27.000000000 -0500 @@ -0,0 +1 @@ +0001-cherry-pick-upstream-change-for-go-1.17.patch