[Debian-med-packaging] Bug#1015585: [Help] Re: Bug#1015585: plast: ftbfs with LTO (link time optimization) enabled

Andreas Tille andreas at an3as.eu
Wed Jul 20 09:07:12 BST 2022


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]

Any hint what to do?

Kind regards

      Andreas.


[1] https://salsa.debian.org/med-team/plast/-/commit/44fa4672de70d65af3e1b30dccf3c6c13fb2675b
[2] https://salsa.debian.org/med-team/plast/-/jobs/3017785

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list