Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917598 - app-office/gnucash-5.3 - /.../gnc-option-impl.hpp: error: find_if is not a member of std
Summary: app-office/gnucash-5.3 - /.../gnc-option-impl.hpp: error: find_if is not a me...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords: PullRequest
: 917608 (view as bug list)
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2023-11-19 19:58 UTC by Toralf Förster
Modified: 2024-01-20 11:48 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.19 KB, text/plain)
2023-11-19 19:58 UTC, Toralf Förster
Details
app-office:gnucash-5.3:20231119-180917.log (app-office:gnucash-5.3:20231119-180917.log,188.65 KB, text/plain)
2023-11-19 19:58 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,61.49 KB, application/x-xz)
2023-11-19 19:58 UTC, Toralf Förster
Details
environment (environment,144.60 KB, text/plain)
2023-11-19 19:58 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-11-19 19:58 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,22.92 KB, application/x-xz)
2023-11-19 19:58 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,68.52 KB, application/x-xz)
2023-11-19 19:58 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,38.49 KB, application/x-xz)
2023-11-19 19:58 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 2023-11-19 19:58:28 UTC
too long lines were shrinked:

[166/784] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DG_LOG_DOMAIN=\"gnc.engine\" -DHAVE_CONFIG_H -DHAVE_GUILE22 -D_GNU_SO
[167/784] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DG_LOG_DOMAIN=\"gnc.engine\" -DHAVE_CONFIG_H -DHAVE_GUILE22 -D_GNU_SO
FAILED: libgnucash/engine/CMakeFiles/gnc-engine.dir/gnc-option-impl.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DG_LOG_DOMAIN=\"gnc.engine\" -DHAVE_CONFIG_H -DHAVE_GUILE22 -D_GNU_SOURCE -Dgnc
In file included from /var/tmp/portage/app-office/gnucash-5.3/work/gnucash-5.3/libgnucash/engine/gnc-option-impl.cpp:24:
/var/tmp/portage/app-office/gnucash-5.3/work/gnucash-5.3/libgnucash/engine/gnc-option-impl.hpp: In member function uint16_t GncOptionMultichoiceValue::find_key(const std::string&) const:
/var/tmp/portage/app-office/gnucash-5.3/work/gnucash-5.3/libgnucash/engine/gnc-option-impl.hpp:724:26: error: find_if is not a member of std; did you mean find?
  724 |         auto iter = std::find_if(m_choices.begin(), m_choices.end(),
      |                          ^~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20231114-195007

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.5
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0
  [2]   rust-1.73.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
5)	Eclipse Temurin JRE 17.0.8.1_p1 [openjdk-jre-bin-17]
6)	Eclipse Temurin JRE 21.0.1_p12 [openjdk-jre-bin-21]
7)	Eclipse Temurin JRE 8.382_p05 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-21  system-vm
  [5]   openjdk-jre-bin-8 
  [6]   openjdk-jre-bin-17 
  [7]   openjdk-jre-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit dd52e82a867c3eddbbc5decba8819b01e43f3e93
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 19 17:32:00 2023 +0000

    2023-11-19 17:31:59 UTC

emerge -qpvO app-office/gnucash
[ebuild  N    ] app-office/gnucash-5.3  USE="gui nls -aqbanking -debug -doc -examples -gnome-keyring -mysql -ofx -postgres -python -quotes -smartcard -sqlite -test" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2023-11-19 19:58:29 UTC
Created attachment 875212 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-19 19:58:31 UTC
Created attachment 875213 [details]
app-office:gnucash-5.3:20231119-180917.log
Comment 3 Toralf Förster gentoo-dev 2023-11-19 19:58:32 UTC
Created attachment 875214 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-11-19 19:58:33 UTC
Created attachment 875215 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-11-19 19:58:34 UTC
Created attachment 875216 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-19 19:58:35 UTC
Created attachment 875217 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-19 19:58:36 UTC
Created attachment 875218 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-11-19 19:58:38 UTC
Created attachment 875219 [details]
temp.tar.xz
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-20 07:03:58 UTC
*** Bug 917608 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2024-01-20 11:48:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e85be751c4ed80c056dfe7e1bde1441bcea07d5d

commit e85be751c4ed80c056dfe7e1bde1441bcea07d5d
Author:     Christopher Fore <csfore@posteo.net>
AuthorDate: 2023-12-06 15:09:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-20 11:48:32 +0000

    app-office/gnucash: add algorithm patch to 5.3
    
    GCC 14 no longer includes <algorithm> by default, this will add a patch
    that will include it.
    
    Upstream's already accepted it and the patch should no longer be needed
    in 5.5.
    
    Upstream bug: https://bugs.gnucash.org/show_bug.cgi?id=799134
    
    Closes: https://bugs.gentoo.org/917598
    Signed-off-by: Christopher Fore <csfore@posteo.net>
    Closes: https://github.com/gentoo/gentoo/pull/34013
    Signed-off-by: Sam James <sam@gentoo.org>

 app-office/gnucash/files/gnucash-5.3-include-algorithm.patch | 12 ++++++++++++
 app-office/gnucash/gnucash-5.3.ebuild                        |  3 +++
 2 files changed, 15 insertions(+)