golang-1.15.git
5 years agoMerge golang-1.15 (1.15.2-1+rpi1) import into refs/heads/workingbranch
Peter Michael Green [Tue, 29 Sep 2020 13:05:34 +0000 (14:05 +0100)]
Merge golang-1.15 (1.15.2-1+rpi1) import into refs/heads/workingbranch

5 years agocmd/dist: fix build failure of misc/cgo/test on arm64
Xiangdong Ji [Wed, 5 Aug 2020 06:02:58 +0000 (06:02 +0000)]
cmd/dist: fix build failure of misc/cgo/test on arm64

Test7978 of misc/cgo/test fails in 'dist test' on arm64 if the C compiler
is of GCC-9.4 or above and its 'outline atomics' feature is enabled, since
the internal linking hasn't yet supported "__attribute__((constructor))"
and also mis-handles hidden visibility.

Two changes are made for 'misc/cgo/test' to fix the issue:
  1. passing "-tags=internal" for the internal linking PIE case.
  2. skipping Test7978 on arm64 for the internal linking cases.

This CL fixes 'dist test' failure only, user is expected to pass the option
'-mno-outline-atomics' via CGO_CFLAGS if running into the same problem when
building cgo program using internal linking.

Updates #39466
Change-Id: I2011bb051cae7c43eb0f1c78c7f4fbdb94bf78a6

Gbp-Pq: Name 0004-cmd-dist-fix-build-failure-of-misc-cgo-test-on-arm64.patch

5 years agocmd/go, cmd/cgo: pass -mfp32 and -mhard/soft-float to MIPS GCC
YunQiang Su [Tue, 9 Jun 2020 04:09:58 +0000 (04:09 +0000)]
cmd/go, cmd/cgo: pass -mfp32 and -mhard/soft-float to MIPS GCC

For mips32 currently, we are using FP32, while the gcc may be FPXX,
which may generate .MIPS.abiflags and .gnu.attributes section with
value as FPXX. So the kernel will treat the exe as FPXX, and may
choose to use FR=1 FPU mode for it.
Currently, in Go, we use 2 lwc1 to load both half of a double value
to a pair of even-odd FPR. This behavior can only work with FR=0 mode.

In FR=1 mode, all of 32 FPR are 64bit. If we lwc1 the high-half of a double
value to an odd FPR, and try to use the previous even FPR to compute, the
real high-half of even FPR will be unpredicatable.
We set -mfp32 to force the gcc generate FP32 code and section value.

More details about FP32/FPXX/FP64 are explained in:
https://web.archive.org/web/20180828210612/https://dmz-portal.mips.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking

When GOMIPS/GOMIPS64 is set as softfloat, we should also pass
 -msoft-float to gcc.

Here we also add -mno-odd-spreg option, since Loongson's CPU cannot use
odd-number FR in FR=0 mode.

Fixes #39435

Change-Id: I54026ad416a815fe43a9261ebf6d02e5519c3930

Gbp-Pq: Name 0003-cmd-go-cmd-cgo-pass-mfp32-and-mhard-soft-float-to-MI.patch

5 years agoFix Lintian warnings about wrong interpreter path
Dr. Tobias Quathamer [Thu, 1 Aug 2019 11:50:48 +0000 (13:50 +0200)]
Fix Lintian warnings about wrong interpreter path

The command used for this change is as follows:

grep -rH "/usr/bin/env perl" * | cut -d: -f1 | xargs -n1 sed -i -e "s,/usr/bin/env perl,/usr/bin/perl,"

Gbp-Pq: Name 0002-Fix-Lintian-warnings-about-wrong-interpreter-path.patch

5 years agoDisable test for UserHomeDir.
Dr. Tobias Quathamer [Wed, 19 Dec 2018 13:25:06 +0000 (14:25 +0100)]
Disable test for UserHomeDir.

On Debian buildds, the user home dir does not exist, so this test fails.

Gbp-Pq: Name 0001-Disable-test-for-UserHomeDir.patch

5 years agogolang-1.15 (1.15.2-1+rpi1) bullseye-staging; urgency=medium
Peter Michael Green [Tue, 29 Sep 2020 13:05:34 +0000 (14:05 +0100)]
golang-1.15 (1.15.2-1+rpi1) bullseye-staging; urgency=medium

  [changes brought forward from golang-1.10 1.10~rc2-1+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Sat, 24 Feb 2018 12:22:04 +0000]
  * Build with GOARM=6
  * Disable testsuite.
  * Fix clean target.

  [changes introduced in golang-1.12 1.12.7-3+rpi1 by Peter Michael Green]
  * Further clean target fixing.

[dgit import unpatched golang-1.15 1.15.2-1+rpi1]

5 years agoImport golang-1.15_1.15.2-1+rpi1.debian.tar.xz
Peter Michael Green [Tue, 29 Sep 2020 13:05:34 +0000 (14:05 +0100)]
Import golang-1.15_1.15.2-1+rpi1.debian.tar.xz

[dgit import tarball golang-1.15 1.15.2-1+rpi1 golang-1.15_1.15.2-1+rpi1.debian.tar.xz]

5 years agoMerge golang-1.15 (1.15.2-1) import into refs/heads/workingbranch
Michael Hudson-Doyle [Mon, 14 Sep 2020 21:51:42 +0000 (22:51 +0100)]
Merge golang-1.15 (1.15.2-1) import into refs/heads/workingbranch

5 years agoImport golang-1.15_1.15.2.orig.tar.gz
Michael Hudson-Doyle [Mon, 14 Sep 2020 21:51:42 +0000 (22:51 +0100)]
Import golang-1.15_1.15.2.orig.tar.gz

[dgit import orig golang-1.15_1.15.2.orig.tar.gz]

5 years agocmd/dist: fix build failure of misc/cgo/test on arm64
Xiangdong Ji [Wed, 5 Aug 2020 06:02:58 +0000 (06:02 +0000)]
cmd/dist: fix build failure of misc/cgo/test on arm64

Test7978 of misc/cgo/test fails in 'dist test' on arm64 if the C compiler
is of GCC-9.4 or above and its 'outline atomics' feature is enabled, since
the internal linking hasn't yet supported "__attribute__((constructor))"
and also mis-handles hidden visibility.

Two changes are made for 'misc/cgo/test' to fix the issue:
  1. passing "-tags=internal" for the internal linking PIE case.
  2. skipping Test7978 on arm64 for the internal linking cases.

This CL fixes 'dist test' failure only, user is expected to pass the option
'-mno-outline-atomics' via CGO_CFLAGS if running into the same problem when
building cgo program using internal linking.

Updates #39466
Change-Id: I2011bb051cae7c43eb0f1c78c7f4fbdb94bf78a6

Gbp-Pq: Name 0004-cmd-dist-fix-build-failure-of-misc-cgo-test-on-arm64.patch

5 years agocmd/go, cmd/cgo: pass -mfp32 and -mhard/soft-float to MIPS GCC
YunQiang Su [Tue, 9 Jun 2020 04:09:58 +0000 (04:09 +0000)]
cmd/go, cmd/cgo: pass -mfp32 and -mhard/soft-float to MIPS GCC

For mips32 currently, we are using FP32, while the gcc may be FPXX,
which may generate .MIPS.abiflags and .gnu.attributes section with
value as FPXX. So the kernel will treat the exe as FPXX, and may
choose to use FR=1 FPU mode for it.
Currently, in Go, we use 2 lwc1 to load both half of a double value
to a pair of even-odd FPR. This behavior can only work with FR=0 mode.

In FR=1 mode, all of 32 FPR are 64bit. If we lwc1 the high-half of a double
value to an odd FPR, and try to use the previous even FPR to compute, the
real high-half of even FPR will be unpredicatable.
We set -mfp32 to force the gcc generate FP32 code and section value.

More details about FP32/FPXX/FP64 are explained in:
https://web.archive.org/web/20180828210612/https://dmz-portal.mips.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking

When GOMIPS/GOMIPS64 is set as softfloat, we should also pass
 -msoft-float to gcc.

Here we also add -mno-odd-spreg option, since Loongson's CPU cannot use
odd-number FR in FR=0 mode.

Fixes #39435

Change-Id: I54026ad416a815fe43a9261ebf6d02e5519c3930

Gbp-Pq: Name 0003-cmd-go-cmd-cgo-pass-mfp32-and-mhard-soft-float-to-MI.patch

5 years agoFix Lintian warnings about wrong interpreter path
Dr. Tobias Quathamer [Thu, 1 Aug 2019 11:50:48 +0000 (13:50 +0200)]
Fix Lintian warnings about wrong interpreter path

The command used for this change is as follows:

grep -rH "/usr/bin/env perl" * | cut -d: -f1 | xargs -n1 sed -i -e "s,/usr/bin/env perl,/usr/bin/perl,"

Gbp-Pq: Name 0002-Fix-Lintian-warnings-about-wrong-interpreter-path.patch

5 years agoDisable test for UserHomeDir.
Dr. Tobias Quathamer [Wed, 19 Dec 2018 13:25:06 +0000 (14:25 +0100)]
Disable test for UserHomeDir.

On Debian buildds, the user home dir does not exist, so this test fails.

Gbp-Pq: Name 0001-Disable-test-for-UserHomeDir.patch

5 years agogolang-1.15 (1.15.2-1) unstable; urgency=medium
Michael Hudson-Doyle [Mon, 14 Sep 2020 21:51:42 +0000 (22:51 +0100)]
golang-1.15 (1.15.2-1) unstable; urgency=medium

  * New upstream version 1.15.2.

[dgit import unpatched golang-1.15 1.15.2-1]

5 years agoImport golang-1.15_1.15.2-1.debian.tar.xz
Michael Hudson-Doyle [Mon, 14 Sep 2020 21:51:42 +0000 (22:51 +0100)]
Import golang-1.15_1.15.2-1.debian.tar.xz

[dgit import tarball golang-1.15 1.15.2-1 golang-1.15_1.15.2-1.debian.tar.xz]

5 years agoMerge golang-1.14 (1.14.4-1) import into refs/heads/workingbranch
Dr. Tobias Quathamer [Mon, 15 Jun 2020 19:19:41 +0000 (20:19 +0100)]
Merge golang-1.14 (1.14.4-1) import into refs/heads/workingbranch

5 years agoFix FTBFS on $HOME managed with git.
Bryan C. Mills [Fri, 13 Mar 2020 16:51:09 +0000 (12:51 -0400)]
Fix FTBFS on $HOME managed with git.

This is a cherry-pick of
https://github.com/golang/go/commit/e2a9ea035d73df84c813132417366e8e01777c8d

cmd/go/internal/modload: suppress the 'go mod init' hint for GOROOT more aggressively

Previously, we suppressed a `to create a module there, run: … go mod
init' warning only if the config file itself (such as .git/config) was
found in GOROOT. However, our release tarballs don't include the
.git/config, so that case was not encountered, and the warning could
occur based on a config file found in some parent directory (outside
of GOROOT entirely).

Instead, skip the directory walk completely if the working directory
is anywhere in GOROOT.

Fixes #34191

Change-Id: I9f774901bfbb53b700407c4882f37d6339d023fe
Reviewed-on: https://go-review.googlesource.com/c/go/+/223340
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Gbp-Pq: Name 0003-Fix-FTBFS-on-HOME-managed-with-git.patch

5 years agoFix Lintian warnings about wrong interpreter path
Dr. Tobias Quathamer [Thu, 1 Aug 2019 11:50:48 +0000 (13:50 +0200)]
Fix Lintian warnings about wrong interpreter path

The command used for this change is as follows:

grep -rH "/usr/bin/env perl" * | cut -d: -f1 | xargs -n1 sed -i -e "s,/usr/bin/env perl,/usr/bin/perl,"

Gbp-Pq: Name 0002-Fix-Lintian-warnings-about-wrong-interpreter-path.patch

5 years agoDisable test for UserHomeDir.
Dr. Tobias Quathamer [Wed, 19 Dec 2018 13:25:06 +0000 (14:25 +0100)]
Disable test for UserHomeDir.

On Debian buildds, the user home dir does not exist, so this test fails.

Gbp-Pq: Name 0001-Disable-test-for-UserHomeDir.patch

5 years agogolang-1.14 (1.14.4-1) unstable; urgency=medium
Dr. Tobias Quathamer [Mon, 15 Jun 2020 19:19:41 +0000 (20:19 +0100)]
golang-1.14 (1.14.4-1) unstable; urgency=medium

  * New upstream version 1.14.4
    - Refresh patches

[dgit import unpatched golang-1.14 1.14.4-1]

5 years agoImport golang-1.14_1.14.4.orig.tar.gz
Dr. Tobias Quathamer [Mon, 15 Jun 2020 19:19:41 +0000 (20:19 +0100)]
Import golang-1.14_1.14.4.orig.tar.gz

[dgit import orig golang-1.14_1.14.4.orig.tar.gz]

5 years agoImport golang-1.14_1.14.4-1.debian.tar.xz
Dr. Tobias Quathamer [Mon, 15 Jun 2020 19:19:41 +0000 (20:19 +0100)]
Import golang-1.14_1.14.4-1.debian.tar.xz

[dgit import tarball golang-1.14 1.14.4-1 golang-1.14_1.14.4-1.debian.tar.xz]

5 years agoMerge golang-1.14 (1.14.3-2) import into refs/heads/workingbranch
Dr. Tobias Quathamer [Sat, 16 May 2020 12:32:28 +0000 (13:32 +0100)]
Merge golang-1.14 (1.14.3-2) import into refs/heads/workingbranch

5 years agoFix FTBFS on $HOME managed with git.
Bryan C. Mills [Fri, 13 Mar 2020 16:51:09 +0000 (12:51 -0400)]
Fix FTBFS on $HOME managed with git.

This is a cherry-pick of
https://github.com/golang/go/commit/e2a9ea035d73df84c813132417366e8e01777c8d

cmd/go/internal/modload: suppress the 'go mod init' hint for GOROOT more aggressively

Previously, we suppressed a `to create a module there, run: … go mod
init' warning only if the config file itself (such as .git/config) was
found in GOROOT. However, our release tarballs don't include the
.git/config, so that case was not encountered, and the warning could
occur based on a config file found in some parent directory (outside
of GOROOT entirely).

Instead, skip the directory walk completely if the working directory
is anywhere in GOROOT.

Fixes #34191

Change-Id: I9f774901bfbb53b700407c4882f37d6339d023fe
Reviewed-on: https://go-review.googlesource.com/c/go/+/223340
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Gbp-Pq: Name 0003-Fix-FTBFS-on-HOME-managed-with-git.patch

5 years agoFix Lintian warnings about wrong interpreter path
Dr. Tobias Quathamer [Thu, 1 Aug 2019 11:50:48 +0000 (13:50 +0200)]
Fix Lintian warnings about wrong interpreter path

The command used for this change is as follows:

grep -rH "/usr/bin/env perl" * | cut -d: -f1 | xargs -n1 sed -i -e "s,/usr/bin/env perl,/usr/bin/perl,"

Gbp-Pq: Name 0002-Fix-Lintian-warnings-about-wrong-interpreter-path.patch

5 years agoDisable test for UserHomeDir.
Dr. Tobias Quathamer [Wed, 19 Dec 2018 13:25:06 +0000 (14:25 +0100)]
Disable test for UserHomeDir.

On Debian buildds, the user home dir does not exist, so this test fails.

Gbp-Pq: Name 0001-Disable-test-for-UserHomeDir.patch

5 years agogolang-1.14 (1.14.3-2) unstable; urgency=medium
Dr. Tobias Quathamer [Sat, 16 May 2020 12:32:28 +0000 (13:32 +0100)]
golang-1.14 (1.14.3-2) unstable; urgency=medium

  * Increase the test timeout that made some builds succeed
    there on slow hardware (such as emulated riscv64).
    Thanks to Gianfranco Costamagna (Closes: #960759)

[dgit import unpatched golang-1.14 1.14.3-2]

5 years agoImport golang-1.14_1.14.3-2.debian.tar.xz
Dr. Tobias Quathamer [Sat, 16 May 2020 12:32:28 +0000 (13:32 +0100)]
Import golang-1.14_1.14.3-2.debian.tar.xz

[dgit import tarball golang-1.14 1.14.3-2 golang-1.14_1.14.3-2.debian.tar.xz]

5 years agoImport golang-1.14_1.14.3.orig.tar.gz
Dr. Tobias Quathamer [Fri, 15 May 2020 13:24:43 +0000 (14:24 +0100)]
Import golang-1.14_1.14.3.orig.tar.gz

[dgit import orig golang-1.14_1.14.3.orig.tar.gz]

5 years agoMerge golang-1.14 (1.14.2-1) import into refs/heads/workingbranch
Dr. Tobias Quathamer [Fri, 10 Apr 2020 12:34:21 +0000 (13:34 +0100)]
Merge golang-1.14 (1.14.2-1) import into refs/heads/workingbranch

5 years agoFix FTBFS on $HOME managed with git.
Bryan C. Mills [Fri, 13 Mar 2020 16:51:09 +0000 (12:51 -0400)]
Fix FTBFS on $HOME managed with git.

This is a cherry-pick of
https://github.com/golang/go/commit/e2a9ea035d73df84c813132417366e8e01777c8d

cmd/go/internal/modload: suppress the 'go mod init' hint for GOROOT more aggressively

Previously, we suppressed a `to create a module there, run: … go mod
init' warning only if the config file itself (such as .git/config) was
found in GOROOT. However, our release tarballs don't include the
.git/config, so that case was not encountered, and the warning could
occur based on a config file found in some parent directory (outside
of GOROOT entirely).

Instead, skip the directory walk completely if the working directory
is anywhere in GOROOT.

Fixes #34191

Change-Id: I9f774901bfbb53b700407c4882f37d6339d023fe
Reviewed-on: https://go-review.googlesource.com/c/go/+/223340
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Gbp-Pq: Name 0003-Fix-FTBFS-on-HOME-managed-with-git.patch

5 years agoFix Lintian warnings about wrong interpreter path
Dr. Tobias Quathamer [Thu, 1 Aug 2019 11:50:48 +0000 (13:50 +0200)]
Fix Lintian warnings about wrong interpreter path

The command used for this change is as follows:

grep -rH "/usr/bin/env perl" * | cut -d: -f1 | xargs -n1 sed -i -e "s,/usr/bin/env perl,/usr/bin/perl,"

Gbp-Pq: Name 0002-Fix-Lintian-warnings-about-wrong-interpreter-path.patch

5 years agoDisable test for UserHomeDir.
Dr. Tobias Quathamer [Wed, 19 Dec 2018 13:25:06 +0000 (14:25 +0100)]
Disable test for UserHomeDir.

On Debian buildds, the user home dir does not exist, so this test fails.

Gbp-Pq: Name 0001-Disable-test-for-UserHomeDir.patch

5 years agogolang-1.14 (1.14.2-1) unstable; urgency=medium
Dr. Tobias Quathamer [Fri, 10 Apr 2020 12:34:21 +0000 (13:34 +0100)]
golang-1.14 (1.14.2-1) unstable; urgency=medium

  * New upstream version 1.14.2

[dgit import unpatched golang-1.14 1.14.2-1]

5 years agoImport golang-1.14_1.14.2.orig.tar.gz
Dr. Tobias Quathamer [Fri, 10 Apr 2020 12:34:21 +0000 (13:34 +0100)]
Import golang-1.14_1.14.2.orig.tar.gz

[dgit import orig golang-1.14_1.14.2.orig.tar.gz]

5 years agoImport golang-1.14_1.14.2-1.debian.tar.xz
Dr. Tobias Quathamer [Fri, 10 Apr 2020 12:34:21 +0000 (13:34 +0100)]
Import golang-1.14_1.14.2-1.debian.tar.xz

[dgit import tarball golang-1.14 1.14.2-1 golang-1.14_1.14.2-1.debian.tar.xz]

5 years agoMerge golang-1.14 (1.14.1-1) import into refs/heads/workingbranch
Dr. Tobias Quathamer [Sat, 21 Mar 2020 13:01:31 +0000 (13:01 +0000)]
Merge golang-1.14 (1.14.1-1) import into refs/heads/workingbranch

5 years agoFix FTBFS on $HOME managed with git.
Bryan C. Mills [Fri, 13 Mar 2020 16:51:09 +0000 (12:51 -0400)]
Fix FTBFS on $HOME managed with git.

This is a cherry-pick of
https://github.com/golang/go/commit/e2a9ea035d73df84c813132417366e8e01777c8d

cmd/go/internal/modload: suppress the 'go mod init' hint for GOROOT more aggressively

Previously, we suppressed a `to create a module there, run: … go mod
init' warning only if the config file itself (such as .git/config) was
found in GOROOT. However, our release tarballs don't include the
.git/config, so that case was not encountered, and the warning could
occur based on a config file found in some parent directory (outside
of GOROOT entirely).

Instead, skip the directory walk completely if the working directory
is anywhere in GOROOT.

Fixes #34191

Change-Id: I9f774901bfbb53b700407c4882f37d6339d023fe
Reviewed-on: https://go-review.googlesource.com/c/go/+/223340
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Gbp-Pq: Name 0003-Fix-FTBFS-on-HOME-managed-with-git.patch

5 years agoFix Lintian warnings about wrong interpreter path
Dr. Tobias Quathamer [Thu, 1 Aug 2019 11:50:48 +0000 (13:50 +0200)]
Fix Lintian warnings about wrong interpreter path

The command used for this change is as follows:

grep -rH "/usr/bin/env perl" * | cut -d: -f1 | xargs -n1 sed -i -e "s,/usr/bin/env perl,/usr/bin/perl,"

Gbp-Pq: Name 0002-Fix-Lintian-warnings-about-wrong-interpreter-path.patch

5 years agoDisable test for UserHomeDir.
Dr. Tobias Quathamer [Wed, 19 Dec 2018 13:25:06 +0000 (14:25 +0100)]
Disable test for UserHomeDir.

On Debian buildds, the user home dir does not exist, so this test fails.

Gbp-Pq: Name 0001-Disable-test-for-UserHomeDir.patch

5 years agogolang-1.14 (1.14.1-1) unstable; urgency=medium
Dr. Tobias Quathamer [Sat, 21 Mar 2020 13:01:31 +0000 (13:01 +0000)]
golang-1.14 (1.14.1-1) unstable; urgency=medium

  * New upstream version 1.14.1
    - Add new patch to fix FTBFS on $HOME managed with git.
      Thanks to Guillem Jover <gjover@sipwise.com> (Closes: #953276)

[dgit import unpatched golang-1.14 1.14.1-1]

5 years agoImport golang-1.14_1.14.1.orig.tar.gz
Dr. Tobias Quathamer [Sat, 21 Mar 2020 13:01:31 +0000 (13:01 +0000)]
Import golang-1.14_1.14.1.orig.tar.gz

[dgit import orig golang-1.14_1.14.1.orig.tar.gz]

5 years agoImport golang-1.14_1.14.1-1.debian.tar.xz
Dr. Tobias Quathamer [Sat, 21 Mar 2020 13:01:31 +0000 (13:01 +0000)]
Import golang-1.14_1.14.1-1.debian.tar.xz

[dgit import tarball golang-1.14 1.14.1-1 golang-1.14_1.14.1-1.debian.tar.xz]

5 years agoMerge golang-1.14 (1.14-2) import into refs/heads/workingbranch
Dr. Tobias Quathamer [Mon, 9 Mar 2020 13:00:39 +0000 (13:00 +0000)]
Merge golang-1.14 (1.14-2) import into refs/heads/workingbranch

5 years agoFix Lintian warnings about wrong interpreter path
Dr. Tobias Quathamer [Thu, 1 Aug 2019 11:50:48 +0000 (13:50 +0200)]
Fix Lintian warnings about wrong interpreter path

The command used for this change is as follows:

grep -rH "/usr/bin/env perl" * | cut -d: -f1 | xargs -n1 sed -i -e "s,/usr/bin/env perl,/usr/bin/perl,"

Gbp-Pq: Name 0002-Fix-Lintian-warnings-about-wrong-interpreter-path.patch

5 years agoDisable test for UserHomeDir.
Dr. Tobias Quathamer [Wed, 19 Dec 2018 13:25:06 +0000 (14:25 +0100)]
Disable test for UserHomeDir.

On Debian buildds, the user home dir does not exist, so this test fails.

Gbp-Pq: Name 0001-Disable-test-for-UserHomeDir.patch

5 years agogolang-1.14 (1.14-2) unstable; urgency=medium
Dr. Tobias Quathamer [Mon, 9 Mar 2020 13:00:39 +0000 (13:00 +0000)]
golang-1.14 (1.14-2) unstable; urgency=medium

  * Fix FTBFS if built twice in a row.
    Some paths of autogenerated files have been changed upstream,
    so that the removal of those files after the build did no
    longer succeed.
    Thanks to Guillem Jover (Closes: #953277)
  * Update Standards-Version to 4.5.0, no changes needed

[dgit import unpatched golang-1.14 1.14-2]

5 years agoImport golang-1.14_1.14-2.debian.tar.xz
Dr. Tobias Quathamer [Mon, 9 Mar 2020 13:00:39 +0000 (13:00 +0000)]
Import golang-1.14_1.14-2.debian.tar.xz

[dgit import tarball golang-1.14 1.14-2 golang-1.14_1.14-2.debian.tar.xz]

5 years agoImport golang-1.14_1.14.orig.tar.gz
Dr. Tobias Quathamer [Tue, 25 Feb 2020 20:33:50 +0000 (20:33 +0000)]
Import golang-1.14_1.14.orig.tar.gz

[dgit import orig golang-1.14_1.14.orig.tar.gz]

6 years agoMerge golang-1.13 (1.13.5-1) import into refs/heads/workingbranch
Dr. Tobias Quathamer [Thu, 5 Dec 2019 11:27:21 +0000 (11:27 +0000)]
Merge golang-1.13 (1.13.5-1) import into refs/heads/workingbranch

6 years agoFix Lintian warnings about wrong interpreter path
Dr. Tobias Quathamer [Thu, 1 Aug 2019 11:50:48 +0000 (13:50 +0200)]
Fix Lintian warnings about wrong interpreter path

The command used for this change is as follows:

grep -rH "/usr/bin/env perl" * | cut -d: -f1 | xargs -n1 sed -i -e "s,/usr/bin/env perl,/usr/bin/perl,"

Gbp-Pq: Name 0002-Fix-Lintian-warnings-about-wrong-interpreter-path.patch

6 years agoDisable test for UserHomeDir.
Dr. Tobias Quathamer [Wed, 19 Dec 2018 13:25:06 +0000 (14:25 +0100)]
Disable test for UserHomeDir.

On Debian buildds, the user home dir does not exist, so this test fails.

Gbp-Pq: Name 0001-Disable-test-for-UserHomeDir.patch

6 years agogolang-1.13 (1.13.5-1) unstable; urgency=medium
Dr. Tobias Quathamer [Thu, 5 Dec 2019 11:27:21 +0000 (11:27 +0000)]
golang-1.13 (1.13.5-1) unstable; urgency=medium

  * New upstream version 1.13.5

[dgit import unpatched golang-1.13 1.13.5-1]

6 years agoImport golang-1.13_1.13.5.orig.tar.gz
Dr. Tobias Quathamer [Thu, 5 Dec 2019 11:27:21 +0000 (11:27 +0000)]
Import golang-1.13_1.13.5.orig.tar.gz

[dgit import orig golang-1.13_1.13.5.orig.tar.gz]

6 years agoImport golang-1.13_1.13.5-1.debian.tar.xz
Dr. Tobias Quathamer [Thu, 5 Dec 2019 11:27:21 +0000 (11:27 +0000)]
Import golang-1.13_1.13.5-1.debian.tar.xz

[dgit import tarball golang-1.13 1.13.5-1 golang-1.13_1.13.5-1.debian.tar.xz]

6 years agoMerge golang-1.13 (1.13.4-1) import into refs/heads/workingbranch
Dr. Tobias Quathamer [Fri, 1 Nov 2019 20:07:16 +0000 (20:07 +0000)]
Merge golang-1.13 (1.13.4-1) import into refs/heads/workingbranch

6 years agoFix Lintian warnings about wrong interpreter path
Dr. Tobias Quathamer [Thu, 1 Aug 2019 11:50:48 +0000 (13:50 +0200)]
Fix Lintian warnings about wrong interpreter path

The command used for this change is as follows:

grep -rH "/usr/bin/env perl" * | cut -d: -f1 | xargs -n1 sed -i -e "s,/usr/bin/env perl,/usr/bin/perl,"

Gbp-Pq: Name 0002-Fix-Lintian-warnings-about-wrong-interpreter-path.patch

6 years agoDisable test for UserHomeDir.
Dr. Tobias Quathamer [Wed, 19 Dec 2018 13:25:06 +0000 (14:25 +0100)]
Disable test for UserHomeDir.

On Debian buildds, the user home dir does not exist, so this test fails.

Gbp-Pq: Name 0001-Disable-test-for-UserHomeDir.patch

6 years agogolang-1.13 (1.13.4-1) unstable; urgency=medium
Dr. Tobias Quathamer [Fri, 1 Nov 2019 20:07:16 +0000 (20:07 +0000)]
golang-1.13 (1.13.4-1) unstable; urgency=medium

  * New upstream version 1.13.4
    - Refresh patches

[dgit import unpatched golang-1.13 1.13.4-1]

6 years agoImport golang-1.13_1.13.4.orig.tar.gz
Dr. Tobias Quathamer [Fri, 1 Nov 2019 20:07:16 +0000 (20:07 +0000)]
Import golang-1.13_1.13.4.orig.tar.gz

[dgit import orig golang-1.13_1.13.4.orig.tar.gz]

6 years agoImport golang-1.13_1.13.4-1.debian.tar.xz
Dr. Tobias Quathamer [Fri, 1 Nov 2019 20:07:16 +0000 (20:07 +0000)]
Import golang-1.13_1.13.4-1.debian.tar.xz

[dgit import tarball golang-1.13 1.13.4-1 golang-1.13_1.13.4-1.debian.tar.xz]

6 years agoMerge golang-1.13 (1.13.3-1) import into refs/heads/workingbranch
Dr. Tobias Quathamer [Sat, 19 Oct 2019 11:30:36 +0000 (12:30 +0100)]
Merge golang-1.13 (1.13.3-1) import into refs/heads/workingbranch

6 years agoFix Lintian warnings about wrong interpreter path
Dr. Tobias Quathamer [Thu, 1 Aug 2019 11:50:48 +0000 (13:50 +0200)]
Fix Lintian warnings about wrong interpreter path

The command used for this change is as follows:

grep -rH "/usr/bin/env perl" * | cut -d: -f1 | xargs -n1 sed -i -e "s,/usr/bin/env perl,/usr/bin/perl,"

Gbp-Pq: Name 0002-Fix-Lintian-warnings-about-wrong-interpreter-path.patch

6 years agoDisable test for UserHomeDir.
Dr. Tobias Quathamer [Wed, 19 Dec 2018 13:25:06 +0000 (14:25 +0100)]
Disable test for UserHomeDir.

On Debian buildds, the user home dir does not exist, so this test fails.

Gbp-Pq: Name 0001-Disable-test-for-UserHomeDir.patch

6 years agogolang-1.13 (1.13.3-1) unstable; urgency=medium
Dr. Tobias Quathamer [Sat, 19 Oct 2019 11:30:36 +0000 (12:30 +0100)]
golang-1.13 (1.13.3-1) unstable; urgency=medium

  * New upstream version 1.13.3
    - Refresh patch
    - crypto/dsa: invalid public key causes panic in dsa.Verify.
      Fixes CVE-2019-17596. Closes: #942628
  * Update Standards-Version to 4.4.1, no changes needed

[dgit import unpatched golang-1.13 1.13.3-1]

6 years agoImport golang-1.13_1.13.3.orig.tar.gz
Dr. Tobias Quathamer [Sat, 19 Oct 2019 11:30:36 +0000 (12:30 +0100)]
Import golang-1.13_1.13.3.orig.tar.gz

[dgit import orig golang-1.13_1.13.3.orig.tar.gz]

6 years agoImport golang-1.13_1.13.3-1.debian.tar.xz
Dr. Tobias Quathamer [Sat, 19 Oct 2019 11:30:36 +0000 (12:30 +0100)]
Import golang-1.13_1.13.3-1.debian.tar.xz

[dgit import tarball golang-1.13 1.13.3-1 golang-1.13_1.13.3-1.debian.tar.xz]

6 years agoMerge golang-1.13 (1.13.1-1) import into refs/heads/workingbranch
Dr. Tobias Quathamer [Thu, 26 Sep 2019 09:32:14 +0000 (10:32 +0100)]
Merge golang-1.13 (1.13.1-1) import into refs/heads/workingbranch

6 years agoFix Lintian warnings about wrong interpreter path
Dr. Tobias Quathamer [Thu, 1 Aug 2019 11:50:48 +0000 (13:50 +0200)]
Fix Lintian warnings about wrong interpreter path

The command used for this change is as follows:

grep -rH "/usr/bin/env perl" * | cut -d: -f1 | xargs -n1 sed -i -e "s,/usr/bin/env perl,/usr/bin/perl,"

Gbp-Pq: Name 0002-Fix-Lintian-warnings-about-wrong-interpreter-path.patch

6 years agoDisable test for UserHomeDir.
Dr. Tobias Quathamer [Wed, 19 Dec 2018 13:25:06 +0000 (14:25 +0100)]
Disable test for UserHomeDir.

On Debian buildds, the user home dir does not exist, so this test fails.

Gbp-Pq: Name 0001-Disable-test-for-UserHomeDir.patch

6 years agogolang-1.13 (1.13.1-1) unstable; urgency=medium
Dr. Tobias Quathamer [Thu, 26 Sep 2019 09:32:14 +0000 (10:32 +0100)]
golang-1.13 (1.13.1-1) unstable; urgency=medium

  * New upstream version 1.13.1
    - net/textproto: don't normalize headers with spaces before the colon.
      Fixes CVE-2019-16276. See https://github.com/golang/go/issues/34541
      and Debian bug #941173

[dgit import unpatched golang-1.13 1.13.1-1]

6 years agoImport golang-1.13_1.13.1.orig.tar.gz
Dr. Tobias Quathamer [Thu, 26 Sep 2019 09:32:14 +0000 (10:32 +0100)]
Import golang-1.13_1.13.1.orig.tar.gz

[dgit import orig golang-1.13_1.13.1.orig.tar.gz]

6 years agoImport golang-1.13_1.13.1-1.debian.tar.xz
Dr. Tobias Quathamer [Thu, 26 Sep 2019 09:32:14 +0000 (10:32 +0100)]
Import golang-1.13_1.13.1-1.debian.tar.xz

[dgit import tarball golang-1.13 1.13.1-1 golang-1.13_1.13.1-1.debian.tar.xz]

6 years agoMerge golang-1.12 (1.12~beta2-1) import into refs/heads/workingbranch
Dr. Tobias Quathamer [Fri, 11 Jan 2019 16:14:43 +0000 (16:14 +0000)]
Merge golang-1.12 (1.12~beta2-1) import into refs/heads/workingbranch

6 years agoDisable test for UserHomeDir.
Dr. Tobias Quathamer [Wed, 19 Dec 2018 13:25:06 +0000 (14:25 +0100)]
Disable test for UserHomeDir.

On Debian buildds, the user home dir does not exist, so this test fails.

Gbp-Pq: Name 0004-Disable-test-for-UserHomeDir.patch

6 years agoarm64/arm64asm: recognise new ssbb/pssbb mnemonics from objdump
Michael Hudson-Doyle [Thu, 20 Sep 2018 07:20:31 +0000 (09:20 +0200)]
arm64/arm64asm: recognise new ssbb/pssbb mnemonics from objdump

Fixes golang/go#27754

Change-Id: I8fcc3bc3c718cf0d93afbd1d383df48316b522d4
Reviewed-on: https://go-review.googlesource.com/136455
Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Gbp-Pq: Name 0003-arm64-arm64asm-recognise-new-ssbb-pssbb-mnemonics-fr.patch

6 years agoFix Lintian warnings about wrong interpreter path
Dr. Tobias Quathamer [Wed, 19 Dec 2018 13:12:10 +0000 (14:12 +0100)]
Fix Lintian warnings about wrong interpreter path

The command used for this change is as follows:

grep -rH "/usr/bin/env perl" * | cut -d: -f1 | xargs -n1 sed -i -e "s,/usr/bin/env perl,/usr/bin/perl,"

Gbp-Pq: Name 0002-Fix-Lintian-warnings-about-wrong-interpreter-path.patch

6 years agogolang-1.12 (1.12~beta2-1) unstable; urgency=medium
Dr. Tobias Quathamer [Fri, 11 Jan 2019 16:14:43 +0000 (16:14 +0000)]
golang-1.12 (1.12~beta2-1) unstable; urgency=medium

  * New upstream version 1.12~beta2
    - Remove two patches, applied upstream. Refresh remaining patch.

[dgit import unpatched golang-1.12 1.12~beta2-1]

6 years agoImport golang-1.12_1.12~beta2.orig.tar.gz
Dr. Tobias Quathamer [Fri, 11 Jan 2019 16:14:43 +0000 (16:14 +0000)]
Import golang-1.12_1.12~beta2.orig.tar.gz

[dgit import orig golang-1.12_1.12~beta2.orig.tar.gz]

6 years agoImport golang-1.12_1.12~beta2-1.debian.tar.xz
Dr. Tobias Quathamer [Fri, 11 Jan 2019 16:14:43 +0000 (16:14 +0000)]
Import golang-1.12_1.12~beta2-1.debian.tar.xz

[dgit import tarball golang-1.12 1.12~beta2-1 golang-1.12_1.12~beta2-1.debian.tar.xz]

7 years agoMerge golang-1.10 (1.10.3-1) import into refs/heads/workingbranch
Michael Hudson-Doyle [Thu, 14 Jun 2018 02:55:58 +0000 (03:55 +0100)]
Merge golang-1.10 (1.10.3-1) import into refs/heads/workingbranch

7 years agoreproducible-BUILD_PATH_PREFIX_MAP
Go Compiler Team [Thu, 14 Jun 2018 02:55:58 +0000 (03:55 +0100)]
reproducible-BUILD_PATH_PREFIX_MAP

Gbp-Pq: Name 0002-reproducible-BUILD_PATH_PREFIX_MAP.patch

7 years agogolang-1.10 (1.10.3-1) unstable; urgency=medium
Michael Hudson-Doyle [Thu, 14 Jun 2018 02:55:58 +0000 (03:55 +0100)]
golang-1.10 (1.10.3-1) unstable; urgency=medium

  * New upstream version 1.10.3
  * Restore changelog entry for 1.10.1-3, and fix that for 1.10.2-1, oops.

[dgit import unpatched golang-1.10 1.10.3-1]

7 years agoImport golang-1.10_1.10.3.orig.tar.gz
Michael Hudson-Doyle [Thu, 14 Jun 2018 02:55:58 +0000 (03:55 +0100)]
Import golang-1.10_1.10.3.orig.tar.gz

[dgit import orig golang-1.10_1.10.3.orig.tar.gz]

7 years agoImport golang-1.10_1.10.3-1.debian.tar.xz
Michael Hudson-Doyle [Thu, 14 Jun 2018 02:55:58 +0000 (03:55 +0100)]
Import golang-1.10_1.10.3-1.debian.tar.xz

[dgit import tarball golang-1.10 1.10.3-1 golang-1.10_1.10.3-1.debian.tar.xz]

7 years agoMerge golang-1.10 (1.10.2-1) import into refs/heads/workingbranch
Michael Hudson-Doyle [Wed, 23 May 2018 03:24:03 +0000 (04:24 +0100)]
Merge golang-1.10 (1.10.2-1) import into refs/heads/workingbranch

7 years agoreproducible-BUILD_PATH_PREFIX_MAP
Go Compiler Team [Wed, 23 May 2018 03:24:03 +0000 (04:24 +0100)]
reproducible-BUILD_PATH_PREFIX_MAP

Gbp-Pq: Name 0002-reproducible-BUILD_PATH_PREFIX_MAP.patch

7 years agogolang-1.10 (1.10.2-1) unstable; urgency=medium
Michael Hudson-Doyle [Wed, 23 May 2018 03:24:03 +0000 (04:24 +0100)]
golang-1.10 (1.10.2-1) unstable; urgency=medium

  * Install the 'misc' and 'api' directories as part of the golang-1.10-src
    package as some tools (vgo, go tool trace) expect them to be there.
    (Closes: 894992¸ LP: #1743598)
  * New upstream version 1.10.2.
    - d/patches/0003-Backport_nopie_fix.patch: removed, now included upstream.

[dgit import unpatched golang-1.10 1.10.2-1]

7 years agoImport golang-1.10_1.10.2.orig.tar.gz
Michael Hudson-Doyle [Wed, 23 May 2018 03:24:03 +0000 (04:24 +0100)]
Import golang-1.10_1.10.2.orig.tar.gz

[dgit import orig golang-1.10_1.10.2.orig.tar.gz]

7 years agoImport golang-1.10_1.10.2-1.debian.tar.xz
Michael Hudson-Doyle [Wed, 23 May 2018 03:24:03 +0000 (04:24 +0100)]
Import golang-1.10_1.10.2-1.debian.tar.xz

[dgit import tarball golang-1.10 1.10.2-1 golang-1.10_1.10.2-1.debian.tar.xz]

7 years agoreproducible-BUILD_PATH_PREFIX_MAP
Go Compiler Team [Wed, 7 Feb 2018 21:46:52 +0000 (21:46 +0000)]
reproducible-BUILD_PATH_PREFIX_MAP

Gbp-Pq: Name 0002-reproducible-BUILD_PATH_PREFIX_MAP.patch

7 years agogolang-1.10 (1.10~rc2-1) unstable; urgency=medium
Michael Hudson-Doyle [Wed, 7 Feb 2018 21:46:52 +0000 (21:46 +0000)]
golang-1.10 (1.10~rc2-1) unstable; urgency=medium

  * New upstream version, fixing CVE-2018-6574.
  * d/patches/0001-os-signal-skip-TestTerminalSignal-if-posix_openpt-fa.patch,
    d/patches/0003-cmd-vendor-github.com-google-pprof-cherry-pick-fix-t.patch,
    d/patches/0004-cmd-link-internal-loadelf-fix-logic-for-computing-EL.patch:
    removed, now included upstream.

[dgit import unpatched golang-1.10 1.10~rc2-1]

7 years agoImport golang-1.10_1.10~rc2.orig.tar.gz
Michael Hudson-Doyle [Wed, 7 Feb 2018 21:46:52 +0000 (21:46 +0000)]
Import golang-1.10_1.10~rc2.orig.tar.gz

[dgit import orig golang-1.10_1.10~rc2.orig.tar.gz]

7 years agoImport golang-1.10_1.10~rc2-1.debian.tar.xz
Michael Hudson-Doyle [Wed, 7 Feb 2018 21:46:52 +0000 (21:46 +0000)]
Import golang-1.10_1.10~rc2-1.debian.tar.xz

[dgit import tarball golang-1.10 1.10~rc2-1 golang-1.10_1.10~rc2-1.debian.tar.xz]