Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 841743 - app-office/lyx-2.3.6.1-r1 - lyxfind.cpp: error: ostream_iterator was not declared in this scope
Summary: app-office/lyx-2.3.6.1-r1 - lyxfind.cpp: error: ostream_iterator was not decl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-04-29 16:34 UTC by Toralf Förster
Modified: 2022-05-07 05:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.92 KB, text/plain)
2022-04-29 16:34 UTC, Toralf Förster
Details
app-office:lyx-2.3.6.1-r1:20220429-152924.log (app-office:lyx-2.3.6.1-r1:20220429-152924.log,191.67 KB, text/plain)
2022-04-29 16:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,113.30 KB, text/plain)
2022-04-29 16:34 UTC, Toralf Förster
Details
environment (environment,130.16 KB, text/plain)
2022-04-29 16:34 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.19 KB, application/x-bzip)
2022-04-29 16:34 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,13.75 KB, application/x-bzip)
2022-04-29 16:34 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,45.04 KB, application/x-bzip)
2022-04-29 16:34 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-04-29 16:34:38 UTC
/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"
Comment 1 Toralf Förster gentoo-dev 2022-04-29 16:34:39 UTC
Created attachment 775470 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-29 16:34:41 UTC
Created attachment 775473 [details]
app-office:lyx-2.3.6.1-r1:20220429-152924.log
Comment 3 Toralf Förster gentoo-dev 2022-04-29 16:34:42 UTC
Created attachment 775476 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-29 16:34:44 UTC
Created attachment 775479 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-29 16:34:45 UTC
Created attachment 775482 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-29 16:34:46 UTC
Created attachment 775485 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-29 16:34:47 UTC
Created attachment 775488 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-05-07 03:53:35 UTC
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(+)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-07 05:06:20 UTC
(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!