#1146199 golang-github-google-go-github: FTBFS: Fails to build with golang-1.27

#1146199#5
Date:
2026-08-30 16:29:36 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

#1146199#12
Date:
2026-09-10 10:39:51 UTC
From:
To:
This package should goes away after we migrated to module-aware builds
with dh-go.

I have already forked this package repo to match with it's go import
path and uploaded `golang-github-google-go-github-v60`.

So now we have:
`
golang-github-google-go-github-v60-dev | 60.0.0-1      | buildd-unstable | all
golang-github-google-go-github-v60-dev | 60.0.0-1      | unstable        | all
`

Best regards,

#1146199#15
Date:
2026-09-27 20:34:18 UTC
From:
To:
Hello,

Bug #1146199 in golang-github-google-go-github 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-google-go-github/-/commit/a11febc6b3f152b81459d6e3534819dd8ac8ed3d
------------------------------------------------------------------------
debian/patches: Add patch to fix test failures with Go 1.27

Backport upstream commit 92a3830f to resolve test failures with
Go 1.27 in TestNewRequest_invalidJSON,
TestHookDelivery_ParsePayload_invalidPayload, and
TestSecurityAdvisoriesService_ListRepositorySecurityAdvisories*.

Closes: #1146199
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1146199

#1146199#20
Date:
2026-09-27 20:42:00 UTC
From:
To:
Hello,

Bug #1146199 in golang-github-google-go-github 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-google-go-github/-/commit/94504a038a0ac1fc859931444dc95546cf285b63
------------------------------------------------------------------------
debian/patches: Add patch to fix test failures with Go 1.27

Backport upstream commit 92a3830f to resolve test failures with
Go 1.27 in TestNewRequest_invalidJSON,
TestHookDelivery_ParsePayload_invalidPayload, and
TestSecurityAdvisoriesService_ListRepositorySecurityAdvisories*.

Closes: #1146199
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1146199

#1146199#23
Date:
2026-09-27 21:45:31 UTC
From:
To:
Hello,

Bug #1146199 in golang-github-google-go-github 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-google-go-github/-/commit/94504a038a0ac1fc859931444dc95546cf285b63
------------------------------------------------------------------------
debian/patches: Add patch to fix test failures with Go 1.27

Backport upstream commit 92a3830f to resolve test failures with
Go 1.27 in TestNewRequest_invalidJSON,
TestHookDelivery_ParsePayload_invalidPayload, and
TestSecurityAdvisoriesService_ListRepositorySecurityAdvisories*.

Closes: #1146199
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1146199

#1146199#28
Date:
2026-09-27 22:20:22 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
golang-github-google-go-github, 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 1146199@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Reinhard Tartler <siretart@tauware.de> (supplier of updated golang-github-google-go-github 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: Sun, 27 Sep 2026 18:01:45 -0400
Source: golang-github-google-go-github
Architecture: source
Version: 60.0.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed-By: Reinhard Tartler <siretart@tauware.de>
Closes: 1146199
Changes:
 golang-github-google-go-github (60.0.0-3) unstable; urgency=medium
 .
   * Team upload.
   * debian: switch to standard Salsa CI pipeline
   * debian/patches: Add patch to fix test failures with Go 1.27
     (Closes: #1146199)
   * debian/watch: Upgrade to format version 5
   * Declare compliance with Debian Policy 4.7.4
Checksums-Sha1:
 38f64dfef3ecfe2839246aa01479d0648808b168 2639 golang-github-google-go-github_60.0.0-3.dsc
 d3457173894c7390b44833627c21cdf0ad483b04 13572 golang-github-google-go-github_60.0.0-3.debian.tar.xz
Checksums-Sha256:
 6fd8698c5f7c5c5f658eedfef02ee156efb579090cd0c236809b9989973a64da 2639 golang-github-google-go-github_60.0.0-3.dsc
 18600747b5f53baea13750dd0ce6d9eed7171f766013398f8f75284d48857886 13572 golang-github-google-go-github_60.0.0-3.debian.tar.xz
Files:
 3888ff87b8d2d18cb04e765cbbdd5559 2639 golang optional golang-github-google-go-github_60.0.0-3.dsc
 ebd04ae1606dd69561a09b4faab7b0f6 13572 golang optional golang-github-google-go-github_60.0.0-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEMN59F2OrlFLH4IJQSadpd5QoJssFAmq5kqQUHHNpcmV0YXJ0
QHRhdXdhcmUuZGUACgkQSadpd5QoJsuD5BAAqXHnMgFxF1GcuPDKiH32UeVySoTa
XT8BlBBMUsKgGZ1YHdq7A2novOdZHZ37KCS2m5wTflIeqt3xKZyPLLcrzmtQ8D9e
WCb5Fj0AESoHyIdgMvS2PXIHILMpRBw7cvLGyGBSq+1ahINP1qPVd45OgnG0Y4ax
nfVwhIrnQ6Q1KN4Ppp8wAYs256l8bEKWfQEOzMub4NBj+Ycb5MMhE3MKAGeI2Khi
1KjX5Ew5oFJW8juIF5+LyxxD5b2Zkkf5vT8Y1xsTLF8KIxjp+0wKCrHNIwUYvjIc
SoxkYJvoEij+fy3k8cBPs8vACUSVUDtsiVk4RW/fRuSMuDIeVt2vrMAn/Tu5UQmK
nmdJS5zu5RkDTdtohYyo55gvAobahUWediZf6VXSUdw0mUiBnfq5fkjjBiKnBmRd
G0yPaHdFAA9PIviJEmzU8TO2JNME8OA3hq7pLEm3MptIDdSITiFg820Z/UnOu8q1
fZHe60dSziZoLsF1PhHLyZl6jDMEZtO7VQNwyM10P+vW195zlKwEcnrg+OJZ3zYR
fZh4zyp4H+LLqlGt31T/cvdiT2hOh27fUxzOuxUUxh2mhlhkhSQ9bu9HxX98qWaR
uzXc11LCEaUF6TOzuOjf+Qzee1UBG1r7PJDFXz7GAgiQEr7neUFyJDlNWW8E0Xt4
0pf8nHN4eLkbavo=
=ZHjV
-----END PGP SIGNATURE-----