Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 812659 - games-strategy/s25rttr-0.9.1 - /.../convertSounds.cpp: error: transform is not a member of std (maybe gcc-11 related)
Summary: games-strategy/s25rttr-0.9.1 - /.../convertSounds.cpp: error: transform is no...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-09-11 14:29 UTC by Toralf Förster
Modified: 2021-09-11 17:44 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.99 KB, text/plain)
2021-09-11 14:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,389.67 KB, text/plain)
2021-09-11 14:29 UTC, Toralf Förster
Details
environment (environment,115.55 KB, text/plain)
2021-09-11 14:29 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,32.96 KB, application/x-bzip)
2021-09-11 14:29 UTC, Toralf Förster
Details
games-strategy:s25rttr-0.9.1:20210911-111737.log (games-strategy:s25rttr-0.9.1:20210911-111737.log,440.81 KB, text/plain)
2021-09-11 14:29 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.62 KB, application/x-bzip)
2021-09-11 14:29 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,177.96 KB, application/x-bzip)
2021-09-11 14:29 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 2021-09-11 14:29:24 UTC
/var/tmp/portage/games-strategy/s25rttr-0.9.1/work/s25client_v0.9.1/libs/s25main/convertSounds.cpp: In lambda function:
/var/tmp/portage/games-strategy/s25rttr-0.9.1/work/s25client_v0.9.1/libs/s25main/convertSounds.cpp:37:16: error: ‘transform’ is not a member of ‘std’
   37 |           std::transform(sound->getData().begin(), sound->getData().end(), input.begin(), [](uint8_t value) {
      |                ^~~~~~~~~
/var/tmp/portage/games-strategy/s25rttr-0.9.1/work/s25client_v0.9.1/libs/s25main/convertSounds.cpp:44:16: error: ‘transform’ is not a member of ‘std’
   44 |           std::transform(output.begin(), output.begin() + result.output_frames_gen, data.begin(), [](float value) {

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/12
12.0.1
Python 3.9.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.54.0 *
The following VMs are available for generation-2:
The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 62783a79080091ca58bfdbd40b65166e1bf50a0b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 11 10:21:32 2021 +0000

    2021-09-11 10:21:31 UTC

emerge -qpvO games-strategy/s25rttr
[ebuild  N    ] games-strategy/s25rttr-0.9.1  USE="-test" LUA_SINGLE_TARGET="lua5-3"
Comment 1 Toralf Förster gentoo-dev 2021-09-11 14:29:25 UTC
Created attachment 738889 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-09-11 14:29:27 UTC
Created attachment 738892 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-09-11 14:29:29 UTC
Created attachment 738895 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-09-11 14:29:30 UTC
Created attachment 738898 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-09-11 14:29:32 UTC
Created attachment 738901 [details]
games-strategy:s25rttr-0.9.1:20210911-111737.log
Comment 6 Toralf Förster gentoo-dev 2021-09-11 14:29:33 UTC
Created attachment 738904 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-09-11 14:29:35 UTC
Created attachment 738907 [details]
temp.tar.bz2
Comment 8 James Le Cuirot gentoo-dev 2021-09-11 15:24:16 UTC
That's weird, it works fine here and I have the exact same GCC version.
Comment 9 Toralf Förster gentoo-dev 2021-09-11 15:26:51 UTC
I do wonder if it is by any chance openssl-3.x related ?
Comment 10 Andrey Volkov 2021-09-11 16:40:09 UTC
Boost 1.77 related (missing include <algorithm>)

https://github.com/Return-To-The-Roots/s25client/commit/7aa40a60821820314e7b9cead0e1d3627ee072ee

See also: #808767
Comment 11 Larry the Git Cow gentoo-dev 2021-09-11 17:44:51 UTC
The bug has been closed via the following commit(s):

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

commit 93e1192d84d813b10f3b5f75f431660be11ee9dd
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2021-09-11 17:44:34 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2021-09-11 17:44:34 +0000

    games-strategy/s25rttr: Restore missing include patch
    
    This issue only happens with Boost 1.77 so I didn't realise the patch
    was still needed.
    
    Closes: https://bugs.gentoo.org/812659
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 ...r-0.9.0_pre20200723-boost-1.77-missing-include.patch | 17 +++++++++++++++++
 games-strategy/s25rttr/s25rttr-0.9.1.ebuild             |  1 +
 2 files changed, 18 insertions(+)