On 7/20/22 1:37 PM, Andreas Tille wrote:
Control: forwarded -1 https://github.com/PLAST-software/plast-library/issues/11 Control: tags -1 upstream Control: tags -1 help Am Tue, Jul 19, 2022 at 04:58:12PM +0000 schrieb Matthias Klose:Please try to fix the build with lto enabled, fixing the packaging or forwarding the issue upstream.I've reported the issue upstream (see above)If the issue cannot be fixed, explicitly disallow building the package with lto by adding to your rules file: export DEB_BUILD_MAINT_OPTIONS = optimize=-lto or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS.... and did so as well[1]/usr/bin/ld: /tmp/ccyGOu1N.ltrans11.ltrans.o: in function `query_retr': ./obj-sse3/./src/index/impl/retrievall.c:1159: undefined reference to `get_packed_value' /usr/bin/ld: ./obj-sse3/./src/index/impl/retrievall.c:1160: undefined reference to `get_packed_value' /usr/bin/ld: ./obj-sse3/./src/index/impl/retrievall.c:1161: undefined reference to `get_packed_value' /usr/bin/ld: /tmp/ccyGOu1N.ltrans11.ltrans.o: in function `query_retr_b':Unfortunately my attempt to disable LTO did not worked[2]
There is an ongoing discussion on -devel to not enable lto by default. I suppose it would be okay to wait to fix this bug, after we reach a concensus. There are several packages that are breaking.
[1] https://salsa.debian.org/med-team/plast/-/commit/44fa4672de70d65af3e1b30dccf3c6c13fb2675b [2] https://salsa.debian.org/med-team/plast/-/jobs/3017785
[3]: https://lists.debian.org/debian-devel/2022/07/msg00174.html -- Regards, Nilesh
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature