#1146185 golang-github-azure-go-autorest: FTBFS: Fails to build with golang-1.27

#1146185#5
Date:
2026-08-30 16:29:27 UTC
From:
To:
Dear maintainer,

to prepare the switch of the default golang version in unstable,
I've asked Santiago Vila to rebuild all packages which depend
on golang with Go 1.27. This package failed to build, but it
could be built successfully with Go 1.26.

The full build log is available here:

https://people.debian.org/~toddy/ftbfs-golang-1.27/

I'm filing this bug with severity important for now. Once the
default golang compiler has been switched in unstable, this
bug becomes release-critical. When that happens, I'll upgrade
the severity to serious.

Regards,
Tobias

#1146185#10
Date:
2026-09-25 15:11:05 UTC
From:
To:
Hello,

Bug #1146185 in golang-github-azure-go-autorest reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/go-team/packages/golang-github-azure-go-autorest/-/commit/7af01c296a638b70678abd238a01cb0a6a2bce77
------------------------------------------------------------------------
Add patch to fix FTBFS with go 1.27

With the new JSON implementation, the JSON parser fails faster
and returns less characters. Just compare the first 70 bytes.

Closes: #1146185
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1146185

#1146185#17
Date:
2026-09-25 15:34:02 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
golang-github-azure-go-autorest, 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 1146185@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dr. Tobias Quathamer <toddy@debian.org> (supplier of updated golang-github-azure-go-autorest 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)
Format: 1.8
Date: Fri, 25 Sep 2026 17:07:04 +0200
Source: golang-github-azure-go-autorest
Architecture: source
Version: 14.2.0+git20220726.711dde1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed-By: Dr. Tobias Quathamer <toddy@debian.org>
Closes: 1146185
Changes:
 golang-github-azure-go-autorest (14.2.0+git20220726.711dde1-3) unstable; urgency=medium
 .
   * Team upload.
   * Add patch to fix FTBFS with go 1.27.
     With the new JSON implementation, the JSON parser fails faster
     and returns less characters. Just compare the first 70 bytes.
     (Closes: #1146185)
   * Update d/watch to v5
   * Update d/salsa-ci.yml
   * Update d/rules
Checksums-Sha1:
 b6fda6dcc243d8758589adc0faebeee2f5be8fb8 2631 golang-github-azure-go-autorest_14.2.0+git20220726.711dde1-3.dsc
 a078dd85bbeeb36b88fd779c218aaa3e086670bb 4792 golang-github-azure-go-autorest_14.2.0+git20220726.711dde1-3.debian.tar.xz
 91dc8347d3d06f176f46130209dcfb7b3ffb2ab4 6214 golang-github-azure-go-autorest_14.2.0+git20220726.711dde1-3_amd64.buildinfo
Checksums-Sha256:
 2df02f4e8bfa505fbe3df2cf090497712b9634aa5e2d539ff4a46d37863cccda 2631 golang-github-azure-go-autorest_14.2.0+git20220726.711dde1-3.dsc
 59a1e66b902544640bc0ccf70fdf9e4cca10d6c1aa391376767114f833420cee 4792 golang-github-azure-go-autorest_14.2.0+git20220726.711dde1-3.debian.tar.xz
 79d69430df8b8647beae0a48f94a193d7195b13d00fe615bbdcf708638c588e0 6214 golang-github-azure-go-autorest_14.2.0+git20220726.711dde1-3_amd64.buildinfo
Files:
 5f9d7a45d748c9d66904f18515f87782 2631 golang optional golang-github-azure-go-autorest_14.2.0+git20220726.711dde1-3.dsc
 e112dbf0b333b6f84f6e0949a7d7b426 4792 golang optional golang-github-azure-go-autorest_14.2.0+git20220726.711dde1-3.debian.tar.xz
 6a8cbe4cff997c06dbb21358c0802cbd 6214 golang optional golang-github-azure-go-autorest_14.2.0+git20220726.711dde1-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE0cuPObxd7STF0seMEwLx8Dbr6xkFAmq2jvIACgkQEwLx8Dbr
6xk3Rw/+Os8ooELeVjTNTMnbIvIIIgHh0qa0iyZ3I7vdSkABbKJlZU6p7+ufgLgx
tSlqGLo7wDLhk35aF4/O+MV1idKLGMzsSA+L2suGBsjdNS1AQMyqaOIP3N/Y3vOf
HItgHkGQAzZ63Zx/i6GquxnVONen3+3wgMxoPmjFzvSAg1+8g8I/kl79u0di9Hsk
m8kNBHlzVNfPBhOvpzBCSNE8wPMBpNaN0+qw0FdePXAiVa0jIThKmUri78/ZN8Wl
hiQTfbqzEml61sRs92etC/AF4M+/eiy89eC/WUGJudPT0GNYWw4mBZQcut+yvLya
s9hj9WyDHjnlRAAhOrOluyfugjp8iqcM2wp3zmKl/xIDNWVs6kOANsXt73tgQ+8V
gvayjopCmHV41QUzAf5Rj6FcnVvl2kPHXqkcFj2LdsW32TK8lJBvxvCgF7KLanBl
GsOODrxmkoCR1MYFO1P4qGarzyS5Jh6h3FykcOlNZlbS721yatYneTki7I5KGozI
LanXdqOWenSv1AniR9MSWebDMkdUiY56xVfxS6QqjLjRl94LprfbQ+JziLYVEFxR
WDvqnlTafo8EWdbwE3U97EW7ON/yOCie8VfraSzhhJ52ahL9QaMqwOuS1OlPrO+I
GZIbwyRsYrwzazXa7Urf9rXzRfUzNapPQg7rpG4TN932u2Xnkjo=
=RdMh
-----END PGP SIGNATURE-----