/usr/lib/gcc/x86_64-pc-linux-gnu/12.0.1/include/g++-v12/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ lyxfind.cpp: In function bool lyx::{anonymous}::regex_replace(const std::string&, std::string&, const std::string&, const std::string&)’: lyxfind.cpp:677:9: error: ostream_iterator’ was not declared in this scope 677 | ostream_iterator<char, char> it(oss); | ^~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j4-20220428-090005 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.0.1 * clang/llvm (if any): clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.1 Python 3.9.11 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby31 (with Rubygems) * Available Rust versions: [1] rust-1.60.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11] 2) Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 02ba051c8a9fc74232ef2b51879a5f3e19e65454 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Apr 29 14:49:56 2022 +0000 2022-04-29 14:49:56 UTC emerge -qpvO app-office/lyx [ebuild N ] app-office/lyx-2.3.6.1-r1 USE="X cups dia nls svg -aspell -debug -dot -enchant -gnumeric -html -hunspell -latex -monolithic-build -rcs -rtf" L10N="-he" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
Created attachment 775470 [details] emerge-info.txt
Created attachment 775473 [details] app-office:lyx-2.3.6.1-r1:20220429-152924.log
Created attachment 775476 [details] emerge-history.txt
Created attachment 775479 [details] environment
Created attachment 775482 [details] etc.portage.tar.bz2
Created attachment 775485 [details] logs.tar.bz2
Created attachment 775488 [details] temp.tar.bz2
Patch in https://src.fedoraproject.org/rpms/lyx/blob/rawhide/f/lyx-2.3.6-fix-gcc12.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c4c4cb2567ec797af16cbdb1e072ff6fef0c0bf commit 8c4c4cb2567ec797af16cbdb1e072ff6fef0c0bf Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-07 03:52:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-07 03:53:28 +0000 app-office/lyx: fix build with GCC 12 Also, add Python 3.10 (add a patch from Fedora too). Closes: https://bugs.gentoo.org/841743 Signed-off-by: Sam James <sam@gentoo.org> app-office/lyx/files/lyx-2.3.6.1-gcc12.patch | 22 +++ app-office/lyx/files/lyx-2.3.6.1-python.patch | 50 +++++++ app-office/lyx/lyx-2.3.6.1-r2.ebuild | 187 ++++++++++++++++++++++++++ 3 files changed, 259 insertions(+)
(In reply to Pacho Ramos from comment #8) > Patch in > https://src.fedoraproject.org/rpms/lyx/blob/rawhide/f/lyx-2.3.6-fix-gcc12. > patch Thanks!