texlive-core configure process ends with error while trying to determine floating-point types endianness in the cairo library subdirectory if LTO is required: configure: error: Unknown float word ordering. You need to manually preset ax_cv_c_float_words_bigendian=no (or yes) according to your system. It's a long standing bug (at least 2 years)... A proposal patch allow to temporary disable LTO during cairo configuration. Reproducible: Always Steps to Reproduce: 1. Make sure '-flto' is set in compilation flags 2. Try to emerge texlive-core Actual Results: configuration of cairo libray fails Expected Results: Build to succeed
Created attachment 844259 [details] Output from emerge --info =app-text/texlive-core-2021-r2
Created attachment 844261 [details] Emerge failure build log
Created attachment 844263 [details, diff] Patch proposal to texlive-core build system to avoid this issue
Created attachment 844265 [details, diff] Patch proposal to the texlive-core ebuild to avoid this issue
Created attachment 844269 [details] Emerge build log with patches applied
commit f496f44c04b285b80c7c987eb12ea8d5eb5722a7 Author: Sam James <sam@gentoo.org> Date: Fri Sep 23 02:39:55 2022 +0100 app-text/texlive-core: backport slibtool patch May as well given there's nobody working on the 2022 bump right now. This was also one of the few (notable, at least) packages left which didn't build w/ slibtool. Closes: https://bugs.gentoo.org/775170 Thanks-to: Michael Orlitzky <mjo@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org> commit b5760171b4f4159669224f6a31652f1c781a517b Author: Sam James <sam@gentoo.org> Date: Wed Sep 21 02:17:13 2022 +0100 app-text/texlive-core: fix build with LTO using llvm-strings Bug in bundled Cairo, already fixed in x11-libs/cairo. Bug: https://bugs.gentoo.org/726200 Closes: https://bugs.gentoo.org/853121 Signed-off-by: Sam James <sam@gentoo.org> This is already fixed in ~arch, so just needs stabling. *** This bug has been marked as a duplicate of bug 853121 ***
OK, thanks.