Source: kakoune Version: 2024.05.18-2 Severity: wishlist 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.na...@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 -export DEB_BUILD_MAINT_OPTIONS = hardening=+all future=+lfs +export DEB_BUILD_MAINT_OPTIONS = hardening=+all future=+lfs optimize=-lto include /usr/share/dpkg/default.mk