Package: ecl
Version: 21.2.1+ds-4.1
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu  ubuntu-patch

Dear maintainers,

ecl fails to build when LTO is enabled, basically hanging indefinitely until
hitting a timeout and being killed.

  https://launchpad.net/ubuntu/+source/ecl/21.2.1+ds-4.1/+build/27828342

LTO is enabled by default in Ubuntu, so we have worked around this there by
disabling LTO as in the attached patch.

LTO is not enabled by default in Debian, however there have been discussions
about doing so.  Therefore you may want to consider applying the attached
patch in Debian as well, to future-proof the package against toolchain
changes.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru ecl-21.2.1+ds/debian/rules ecl-21.2.1+ds/debian/rules
--- ecl-21.2.1+ds/debian/rules  2021-12-04 11:51:55.000000000 -0800
+++ ecl-21.2.1+ds/debian/rules  2024-03-27 22:26:54.000000000 -0700
@@ -3,6 +3,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+export DEB_BUILD_MAINT_OPTIONS=optimize=-lto
+
 %:
        dh $@
 

Reply via email to