Created attachment 733177 [details] emerge --info '=app-office/libreoffice-7.1.3.2::gentoo' app-office/libreoffice-7.1.3.2 fails to compile on ~amd64, reporting "error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} "
Could you attach the full build.log? You may need to compress it.
Created attachment 733180 [details] Build log
(In reply to peter@prh.myzen.co.uk from comment #2) > Created attachment 733180 [details] > Build log Sorry for being impatient ;)
Oh, now I get it. You're running ~arch (hence GCC 11), but building stable LibreOffice. We can't yet guarantee all GCC 11 fixes have filtered down to stable. This seems to be https://bugs.documentfoundation.org/show_bug.cgi?id=142326 upstream. Can you please try the latest version in ~arch? (7.1.5.2)?
Ah, that makes sense. I'm compiling it now and I'll report when it's finished.
Version 7.1.5.2 compiled just fine. Thanks for pointing out the cause of my problem.
(In reply to peter@prh.myzen.co.uk from comment #6) > Version 7.1.5.2 compiled just fine. > > Thanks for pointing out the cause of my problem. Thank you for getting back to me!
shouldn't this block gcc-11 instead, then a LO-7.1.5.2 stable request block gcc-11-stable tracker?
Just another confirmation. I have a mostly stable amd64 system with some (~) packages. With gcc-11.2.0, failure as noted with libreoffice 7.1.3.2, successful emerge for libreoffice-7.1.5.2. Let me know if you want versions of any other packages.
(In reply to Andreas Sturmlechner from comment #8) > shouldn't this block gcc-11 instead, then a LO-7.1.5.2 stable request block > gcc-11-stable tracker? Given that ~arch works, I've been using gcc-11-stable to collect thing that need stabilisation.