- Package:
- src:kakoune
- Source:
- src:kakoune
- Submitter:
- Adrien Nader
- Date:
- 2026-09-01 16:07:04 UTC
- Severity:
- normal
This issue was spotted on Ubuntu which builds with LTO by default. I'm forwarding it here at least for future-proofing. I've reproduced it on Debian too. I'm pasting my ubuntu diff below (minus the maintainer change) which simply adds optimize=-lto to DEB_BUILD_MAINT_OPTIONS. You'll want to adapt the changelog version and distribution before uploading. diff -Nru kakoune-2024.05.18/debian/changelog kakoune-2024.05.18/debian/changelog --- kakoune-2024.05.18/debian/changelog 2024-09-03 15:47:12.000000000 +0200 +++ kakoune-2024.05.18/debian/changelog 2025-01-22 15:56:47.000000000 +0100 @@ -1,3 +1,10 @@ +kakoune (2024.05.18-2ubuntu1) plucky; urgency=medium + + * Add optimize=-lto to DEB_BUILD_MAINT_OPTIONS as LTO builds require + more than 17GB of memory and hadn't finished after 30 minutes here + + -- Adrien Nader <adrien.nader@canonical.com> Wed, 22 Jan 2025 15:56:47 +0100 + kakoune (2024.05.18-2) unstable; urgency=medium * Fix FTBFS with debhelper 13.17 and later: we override dh_auto_install, diff -Nru kakoune-2024.05.18/debian/rules kakoune-2024.05.18/debian/rules --- kakoune-2024.05.18/debian/rules 2024-09-03 15:47:12.000000000 +0200 +++ kakoune-2024.05.18/debian/rules 2025-01-22 15:48:30.000000000 +0100 @@ -1,6 +1,6 @@ #!/usr/bin/make -f
We believe that the bug you reported is fixed in the latest version of
kakoune, 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 1093860@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Iliya Abolghasemi <gfaerny@gmail.com> (supplier of updated kakoune 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, 01 Sep 2026 01:14:47 +0330
Source: kakoune
Architecture: source
Version: 2026.05.21-2
Distribution: unstable
Urgency: medium
Maintainer: Iliya Abolghasemi <gfaerny@gmail.com>
Changed-By: Iliya Abolghasemi <gfaerny@gmail.com>
Closes: 1066018 1093860 1143017
Changes:
kakoune (2026.05.21-2) unstable; urgency=medium
.
* New maintainer (Adopt package). Closes: #1143017
* debian/patches:
- Drop 03-readme.patch and handle path replacements directly in
debian/rules recipe.
- Add 10-docinstall-remove.patch. Closes: #1066018
* debian/rules:
- Append optimize=-lto to DEB_BUILD_MAINT_OPTIONS. Closes: #1093860
* debian/control:
- Add ${misc:Depends} to binary Depends field to fix Lintian
debhelper-but-no-misc-depends warning.
Checksums-Sha1:
2a7f6feea681c1a148b09cca6037633273d1c297 2001 kakoune_2026.05.21-2.dsc
26b34f781f544902201bbacf3fcae6308f2a023b 7820 kakoune_2026.05.21-2.debian.tar.xz
3e6147976faf089ecbc7e2556a79867ebf2e7a38 6835 kakoune_2026.05.21-2_source.buildinfo
Checksums-Sha256:
57a96ac448476ddd11977fa6495bfb98865d41dec217df7b3827c0dc8c7e46ac 2001 kakoune_2026.05.21-2.dsc
b4f5d2f604d22e15bbce94368827e5420101494e02c6d6d42a78d3dadca6e572 7820 kakoune_2026.05.21-2.debian.tar.xz
c3699bb8402a009d3214fff77bd6a9383c3346778a0171d09928420805256d49 6835 kakoune_2026.05.21-2_source.buildinfo
Files:
7b80d372b9e8d851c3afc3e9f3ea99b2 2001 editors optional kakoune_2026.05.21-2.dsc
494f5c84c8d214c2e7f83b2e2ea061be 7820 editors optional kakoune_2026.05.21-2.debian.tar.xz
62ca4b9f9f2269540b194df378ace378 6835 editors optional kakoune_2026.05.21-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmqW9UYACgkQ4n8s+EWM
L6TbJg//bBnLoIwgL8m7XsmMbA+rWecb+0eMKZ7VXKQuQka8GAg7rBw0bp36fNEg
FNNerm6UCcB6gxvz4gdEPoX4sx8Nf113CIWzO6NqJapyckR8pr4+y3eVdkv2UNjR
0pVJbLSEUIsmv0GqT6gf8Vnh2YkPd9ox86tT8lF3t3Vj8WhQYKDhYONQg2DHC8Ij
Zl38lqfGMS2adzGB4au237cLwjPxeNhFtVfLWNZxXJbsRChYhYe6mRBVtmRW0Dak
RyuvslI+w/ijQ//QqFKqUEJw/y6qY5qZ71Np/NkAIh7zMu4+usmlhAhhHDumXK3M
vyAtPgR4RmnWrKismEzNvP3MkDX6NnaqY31/XvUbuv8Del3aMFb/XtNbpFx1aJYR
Zje8KSnY8hZ70IUMnTaOxj2pJs3gjxyW23bR6emoPXB4iZ7AVogW0JYSYWP7bKz4
EQ0OJWM+1Bn6qdrqxoK+wVIkh6gA4WHjgbrIaLVspuItckrAAp5zSaeFWZTBvzVk
5NboYCb179wlJob5EyCREthidO+5L0mkYr47Z0HmO3Es0xElY8fUVgbH4U3Kz2bL
zz7tYvKAgnV7OqGDCgju/iBQhw6ZuBUxlRW1Ufexraxoor5BFagOal+K6+24wh3j
wv8FaEHebHx3+mNnvr2KNy6C1sDmPORaWUFOegcxUSkAKH3w8Ec=
=QW5B
-----END PGP SIGNATURE-----