https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-i18n/scim-m17n-0.2.3 fails to compile (lto). Discovered on: amd64 (internal ref: lto_tinderbox) NOTE: This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Created attachment 788120 [details] build.log build log and emerge --info
This is some amazingly vintage configure / libtool. Turns out it is a known bug, and yep, it *does* only get triggered when you build with LTO.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6287d789783e493e625a06a548c4691851563d36 commit 6287d789783e493e625a06a548c4691851563d36 Author: Eli Schwartz <eschwartz93@gmail.com> AuthorDate: 2024-03-06 04:16:43 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-06 05:29:50 +0000 app-i18n/scim-m17n: re-run autoreconf to fix LTO The 2009 era distfile is so old that it probably has many bugs. We are particularly concerned by nm detection failing under LTO causing: ``` generating symbol list for `m17n.la' /usr/bin/nm -B .libs/m17n_la-scim_m17n_imengine.o | | /usr/bin/sed 's/.* //' | sort | uniq > .libs/m17n.exp ../libtool: 1: eval: Syntax error: "|" unexpected ``` Bug: https://bugs.gentoo.org/553842 Closes: https://bugs.gentoo.org/854666 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> app-i18n/scim-m17n/scim-m17n-0.2.3.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)