#1137556 delve: FTBFS with golang-1.26 (1.26.3-2): TestDisassPosCmd fails

Package:
src:delve
Source:
src:delve
Submitter:
Juan M. Méndez Rey
Date:
2026-06-26 11:05:02 UTC
Severity:
normal
Tags:
#1137556#5
Date:
2026-05-25 05:08:53 UTC
From:
To:
delve 1.26.1-1 fails to build from source in sid with golang-1.26
(1.26.3-2). The test TestDisassPosCmd fails because the disassembly
output shows raw addresses instead of resolved symbol names.

The package built successfully on buildd with golang-1.26-go 1.26.2-1
(see https://buildd.debian.org/status/package.php?p=delve&suite=sid),
but fails with golang-1.26-go 1.26.3-2 currently in sid.

Reproduced with:

sbuild -d sid delve_1.26.1-1.dsc

Go version installed in chroot:

Unpacking golang-1.26-go (1.26.3-2) ...

Test failure:

=== RUN TestDisassPosCmd
command_test.go:1468: "> main.main() /build/reproducible-path/delve-1.26.1/obj-x86_64-linux-gnu/src/github.com/go-delve/delve/_fixtures/testvariables2.go:439 (PC: 0x4b1fb9)\n\ttestvariables2.go:435\t0x4b1f84\t48c78424d02800001a000000\tmov qword ptr [rsp+0x28d0], 0x1a\n\ttestvariables2.go:435\t0x4b1f90\t48c78424d82800001a000000\tmov qword ptr [rsp+0x28d8], 0x1a\n\ttestvariables2.go:437\t0x4b1f9c\t48c784249024000001000000\tmov qword ptr [rsp+0x2490], 0x1\n\ttestvariables2.go:438\t0x4b1fa8\te8f321faff\t\t\tcall 0x4541a0\n\ttestvariables2.go:439\t0x4b1fad\t48c784248824000000000000\tmov qword ptr [rsp+0x2488], 0x0\n=>\ttestvariables2.go:439\t0x4b1fb9\teb00\t\t\t\tjmp 0x4b1fbb\n\ttestvariables2.go:439\t0x4b1fbb\t4883bc24882400000a\t\tcmp qword ptr [rsp+0x2488], 0xa\n\ttestvariables2.go:439\t0x4b1fc4\t7c05\t\t\t\tjl 0x4b1fcb\n\ttestvariables2.go:439\t0x4b1fc6\te9af000000\t\t\tjmp 0x4b207a\n\ttestvariables2.go:440\t0x4b1fcb\t440f11bc2428400000\t\tmovups xmmword ptr [rsp+0x4028], xmm15\n\ttestvariables2.go:440\t0x4b1fd4\t488d8c2428400000\t\tlea rcx, ptr [rsp+0x4028]\n"
command_test.go:1470: output doesn't look like disassembly
--- FAIL: TestDisassPosCmd (0.59s)

The test expects the step-instruction output to contain either
"call $runtime.Breakpoint" or "CALL runtime.Breakpoint(SB)", but
the output shows "call 0x4541a0" (raw address). The disassembly
code in delve has not changed between 1.26.1 and 1.26.3, so this
appears to be caused by a change in Go 1.26.3 binary output.

Found while running reverse-dependency rebuilds (ratt) for the
golang-golang-x-arch 0.13.0 -> 0.27.0 transition.

#1137556#10
Date:
2026-06-15 15:44:19 UTC
From:
To:
I have a fix that skips the failing test with a reference to this bug:
https://salsa.debian.org/go-team/packages/delve/-/merge_requests/3

Details on the MR description

sbuild and autopkgtest pass with the patch.

#1137556#15
Date:
2026-06-15 20:01:51 UTC
From:
To:
#1137556#18
Date:
2026-06-16 08:03:21 UTC
From:
To:
Hello,

Bug #1137556 in delve 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/delve/-/commit/2a0313d227949985ecfa98add75b768b162bbaed
------------------------------------------------------------------------
Merge branch 'master' into 'master'

Skip TestDisassPosCmd which fails with Go 1.26.3 (Closes: #1137556)

See merge request go-team/packages/delve!4
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1137556

#1137556#23
Date:
2026-06-16 08:03:21 UTC
From:
To:
Hello,

Bug #1137556 in delve 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/delve/-/commit/a1ed3a2f69a7690f4a30abad759f9b4f1da63530

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1137556

#1137556#28
Date:
2026-06-16 08:36:36 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
delve, 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 1137556@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Juan Manuel Mendez Rey <juan.mendezr@proton.me> (supplier of updated delve 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: Mon, 15 Jun 2026 17:00:36 +0200
Source: delve
Architecture: source
Version: 1.26.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed-By: Juan Manuel Mendez Rey <juan.mendezr@proton.me>
Closes: 1137556
Changes:
 delve (1.26.1-2) unstable; urgency=medium
 .
   * Team upload.
   * d/p/0009-Skip-TestDisassPosCmd-fails-with-Go-1.26.3.patch:
     Skip test that fails with Go 1.26.3 (Closes: #1137556).
Checksums-Sha1:
 3df4724ce23cc10558dedba0c7522fd457877309 2702 delve_1.26.1-2.dsc
 b6ebf2360dd3059f47d90ebf3a5b04bd24d0f13e 6706012 delve_1.26.1.orig.tar.xz
 9e13b7e21e3e579c9dc68b698e388abe19526bf6 9000 delve_1.26.1-2.debian.tar.xz
 0b9554e848edbbb4fec1976e07054fd4327705dc 6446 delve_1.26.1-2_source.buildinfo
Checksums-Sha256:
 85603dce421a5affaf06c33fbc43b802c5e5b295b2df6367374993097758f67d 2702 delve_1.26.1-2.dsc
 40e039f8a8b02c98cbefdce4feb25fb0e8221e0da474f7d94e20792b297d131a 6706012 delve_1.26.1.orig.tar.xz
 c677b99437205efafc7ca396a6c7cfb58a05cd95f273b3466a81be834aa6f096 9000 delve_1.26.1-2.debian.tar.xz
 604577b8441c4e127737966fc37c6bfc90b50b1811f3daf4873c5f527f3f1878 6446 delve_1.26.1-2_source.buildinfo
Files:
 dd78a49fd9fbd5b177dbe2cd162c31a0 2702 golang optional delve_1.26.1-2.dsc
 66e6d863a94a43b6ae13d7c7f0c4646a 6706012 golang optional delve_1.26.1.orig.tar.xz
 00d8d45b82a16b50e3a622dc9326159d 9000 golang optional delve_1.26.1-2.debian.tar.xz
 26b0d6cd4f3cd591933503e5cde036a1 6446 golang optional delve_1.26.1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE703UlH90QYpfEyJV58vhUqwX+XMFAmoxA3UACgkQ58vhUqwX
+XNOrg//Zxk5/qDMFafyNhUk8qutGaPmV7lbOPBxeZz67EVdxMPUuqqBf5u44x5U
abcI757WhG/GLba6s40XWG5NcEtN3Zm47NWYE4uwk5dUIj/vRGHOyLpy8wMg5srp
TazS4R+zOuO9x/UgupgK+RTBLIw2iyDQa6uTIowvYRGmMfNL//n1jfzmNhDDnMK8
GrcYMcqn9Uw74yfiCbuH4eHZVXEy/OVspV1E33G4oNXXl4aW09zanquqTACDMHck
IKwy4gwEmV1K67PS+EZ0irKZ2c00QgdSkqZqUBDPhqrlH/WeWHJvPBi6oST65e/R
Jdgg33Wap7YRCBxX5QprbZOsDuD3ILoIn5ldiA+jiSRT9W9oxbB2bLno2QeC6pF6
ghmccYnYOZajwCjRiC/sc4TMKBJqyndzKKKrwPp0PstT0H+PxXInbSX8Wp1Fk07F
W2BqkBZtilB/twQ+tXf+QnFqTgHVgeTVuLW0RGchzng3F2BpHQdvh1f+vKaMT1wL
Kb+BzE28baEDils6jhsEJpj6JPD5wMtnq5KJOIKxWf3XV4chaGnohk0CLUToGCtG
9sEoY4mgN2d+Qfb9ISvzJq3lxi6nvEW4LUQfqIlRgSuqe8TU7QlBDYJ6LcGs/BKk
yGO4a9o5zb6Rg8w5k5ERvlx15KSD+ynoNSbr2zZICcNp32xtwSw=
=raCM
-----END PGP SIGNATURE-----

#1137556#33
Date:
2026-06-26 11:04:17 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pwru, 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 1137556@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Juan Manuel Méndez Rey <juan.mendezr@proton.me> (supplier of updated pwru 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: Tue, 23 Jun 2026 12:00:00 +0200
Source: pwru
Architecture: source
Version: 1.0.5+ds1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed-By: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Closes: 1137556
Changes:
 pwru (1.0.5+ds1-4) unstable; urgency=medium
 .
   * Team upload.
   * d/p/fix-compat-cilium-ebpf-0.21.patch: Port from removed
     btf.TypesIterator, ProgramOptions.LogSize, and
     CollectionSpec.RewriteConstants() to APIs available
     in cilium/ebpf >= 0.21. (Closes: #1137556)
   * d/p/fix-ftbfs-with-new-cilium-ebpf.patch: Dropped, folded into
     fix-compat-cilium-ebpf-0.21.patch.
   * d/p/fix-ftbfs-epbf-clang.patch: Fix typo in filename.
Checksums-Sha1:
 6a507e16f2dc02e345c667e79819fd93a122e2fd 2452 pwru_1.0.5+ds1-4.dsc
 9219715142a602edfc0c6d8318f096f1473207c2 1252308 pwru_1.0.5+ds1.orig.tar.gz
 b6325ca7ba32db68a0a675a2175ce8b19eac95c9 11044 pwru_1.0.5+ds1-4.debian.tar.xz
 9150a653868a52bce282caa1a47e2bbb2491c08b 6308 pwru_1.0.5+ds1-4_source.buildinfo
Checksums-Sha256:
 62950102f937baf76be0369adfefbfcf9e0f99bc5d1620f15e8c4eab144f7a78 2452 pwru_1.0.5+ds1-4.dsc
 3c158f8bd25910d52a4446a165319f91db569becf496c0dd9342ff27d487a61a 1252308 pwru_1.0.5+ds1.orig.tar.gz
 e751b15679190cf137d47da719b989f52bf6d051a7ba98f2dd97cb27684c3d22 11044 pwru_1.0.5+ds1-4.debian.tar.xz
 b4914114aefc8b08db1fe6e616be52265428a389b580ce7f3724c225b629f59b 6308 pwru_1.0.5+ds1-4_source.buildinfo
Files:
 e6be54572c8b1c66e4eb9e0db36262f8 2452 golang optional pwru_1.0.5+ds1-4.dsc
 84ba2fa5291ec98f43dd0d2bcb2cf511 1252308 golang optional pwru_1.0.5+ds1.orig.tar.gz
 7e71151227a0b0a3b6a349d0880f8ad2 11044 golang optional pwru_1.0.5+ds1-4.debian.tar.xz
 028458d1d874c8a3ec82251b7b56252a 6308 golang optional pwru_1.0.5+ds1-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE703UlH90QYpfEyJV58vhUqwX+XMFAmo+WJsACgkQ58vhUqwX
+XNBFxAAzjHnUnJFR5gCEeyBHULA5OA/qlclvMLTWtk0j+sFe3N2zCZjinQ6rlgo
3NjnYSvetrCG7E8anfk7sB3fcv9kvj2TR1ei7halFOkOQArSTpk2Hm5G6f77MuO3
dCXU9qjkPOU4fAyuPkmz08DR0RrvrAP/7zoADX/j5iqTVs39HW7Ywitbf8T8RuYa
szINxm/45WqWg19A2yxKZBDibsSxiv3REdyd9kRhXcgd4jo+CR8wCed9J/aWhGm0
4EA/U0q3j6x+pOQT3A+ffQ5ZY0HgPp+xTqyCq+vvoghR8OhrQetN3hpuOINwoiaI
i2nyTCvieS0sIjlA4j10khJc10sEIpSEyHUaEkMAX6EDJgzviQazfOUXrIy67Dp5
BCpVZKMWf4qwKaPvIp8B0B8Jjohm+FcGiV692+2j5iZqR+rWPpVBf+BjtzbXx/wF
w2akmd/hZdfet8iAW+mpakVSDpleNUeKgtPKVr1JmsLl0vMsRYUHdtDqZYiIOm2a
IsuB6B6BgqYofWnSYAsU120tqIwFFj6ij/DstlVpXVoV3z+IzRDsYaaXsbz5t/KK
Sy1owxLpQxWBnY7IOjycqsCuKDxWnRtPDaLFDLG5b/nKN4rURBpOdNmxrffqS6g9
RlhMZ0OCpLkZYjfDQ/uQ7G96tdk5IXeAg54t5Gywh0xJcbnR0Sg=
=fNNM
-----END PGP SIGNATURE-----