Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 901231 - games-strategy/freeorion-0.4.10.2-r1 - /.../ValueRefs.cpp: error: no match for operator= (operand types are std::function<const st
Summary: games-strategy/freeorion-0.4.10.2-r1 - /.../ValueRefs.cpp: error: no match fo...
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: https://github.com/freeorion/freeorio...
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-03-14 17:03 UTC by Toralf Förster
Modified: 2023-04-10 05:21 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.18 KB, text/plain)
2023-03-14 17:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,165.37 KB, text/plain)
2023-03-14 17:04 UTC, Toralf Förster
Details
environment (environment,137.82 KB, text/plain)
2023-03-14 17:04 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,695 bytes, application/x-bzip)
2023-03-14 17:04 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.11 KB, application/x-bzip)
2023-03-14 17:04 UTC, Toralf Förster
Details
games-strategy:freeorion-0.4.10.2-r1:20230314-163046.log (games-strategy:freeorion-0.4.10.2-r1:20230314-163046.log,188.98 KB, text/plain)
2023-03-14 17:04 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.15 KB, application/x-bzip)
2023-03-14 17:04 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,40.55 KB, application/x-bzip)
2023-03-14 17:04 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-03-14 17:03:57 UTC
too long lines were shrinked:

[92/270] /usr/bin/ccache /usr/bin/x86_64-pc-linux-gnu-g++ -DBINPATH=\"/usr/bin\" -DBOOST_ALL_DYN_LINK -DENABLE_BINRELOC -DFREEORION_BUILD_COMMON -DFREEORION_LINUX -DFREEORION_PYTHON_VERSION=\"3.10\" -DSHAREPATH=\"/usr/share\" -Dfreeorioncommon_EXPORTS -I/var/tmp/portage/games-strategy/freeorion-0.4.
[93/270] /usr/bin/ccache /usr/bin/x86_64-pc-linux-gnu-g++ -DBINPATH=\"/usr/bin\" -DBOOST_ALL_DYN_LINK -DENABLE_BINRELOC -DFREEORION_BUILD_COMMON -DFREEORION_LINUX -DFREEORION_PYTHON_VERSION=\"3.10\" -DSHAREPATH=\"/usr/share\" -Dfreeorioncommon_EXPORTS -I/var/tmp/portage/games-strategy/freeorion-0.4.
[94/270] /usr/bin/ccache /usr/bin/x86_64-pc-linux-gnu-g++ -DBINPATH=\"/usr/bin\" -DBOOST_ALL_DYN_LINK -DENABLE_BINRELOC -DFREEORION_BUILD_COMMON -DFREEORION_LINUX -DFREEORION_PYTHON_VERSION=\"3.10\" -DSHAREPATH=\"/usr/share\" -Dfreeorioncommon_EXPORTS -I/var/tmp/portage/games-strategy/freeorion-0.4.
FAILED: CMakeFiles/freeorioncommon.dir/universe/ValueRefs.cpp.o 
/usr/bin/ccache /usr/bin/x86_64-pc-linux-gnu-g++ -DBINPATH=\"/usr/bin\" -DBOOST_ALL_DYN_LINK -DENABLE_BINRELOC -DFREEORION_BUILD_COMMON -DFREEORION_LINUX -DFREEORION_PYTHON_VERSION=\"3.10\" -DSHAREPATH=\"/usr/share\" -Dfreeorioncommon_EXPORTS -I/var/tmp/portage/games-strategy/freeorion-0.4.10.2-r1/w
/var/tmp/portage/games-strategy/freeorion-0.4.10.2-r1/work/src-tarball/universe/ValueRefs.cpp: In member function T ValueRef::ComplexVariable<T>::Eval(const ScriptingContext&) const [with T = double]:
/var/tmp/portage/games-strategy/freeorion-0.4.10.2-r1/work/src-tarball/universe/ValueRefs.cpp:1809:122: error: no match for operator= (operand types are std::function<const std::map<int, float>&(const Empire&)> and ValueRef::ComplexVariable<double>::Eval(const ScriptingContext&) const::<lambda(const
 1809 |         empire_property = [](const Empire& empire){ return GetSupplyManager().PropagatedSupplyRanges(empire.EmpireID()); };
      |                                                                                                                          ^

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.67.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 8fa62e4bf47cd37624c7c0f9417236729b8166a9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Mar 14 15:02:06 2023 +0000

    2023-03-14 15:02:05 UTC

emerge -qpvO games-strategy/freeorion
[ebuild  N    ] games-strategy/freeorion-0.4.10.2-r1  USE="-dedicated -doc -test" PYTHON_SINGLE_TARGET="python3_10 -python3_9 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2023-03-14 17:03:58 UTC
Created attachment 857699 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-03-14 17:04:00 UTC
Created attachment 857701 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-03-14 17:04:01 UTC
Created attachment 857703 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-03-14 17:04:02 UTC
Created attachment 857705 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-03-14 17:04:03 UTC
Created attachment 857707 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-03-14 17:04:05 UTC
Created attachment 857709 [details]
games-strategy:freeorion-0.4.10.2-r1:20230314-163046.log
Comment 7 Toralf Förster gentoo-dev 2023-03-14 17:04:06 UTC
Created attachment 857711 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-03-14 17:04:07 UTC
Created attachment 857713 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-17 22:40:18 UTC
0.5 is currently at rc2, maybe we should just wait for that.
Comment 10 Alexey 2023-04-02 23:41:11 UTC
The wait has concluded, 0.5 was released a few hours ago
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-03 01:47:44 UTC
(In reply to Alexey from comment #10)
> The wait has concluded, 0.5 was released a few hours ago

PR welcome? :D
Comment 12 Larry the Git Cow gentoo-dev 2023-04-10 05:21:20 UTC
The bug has been closed via the following commit(s):

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

commit caf3802e7acd436a4a2c2b6bc2991921194b51e4
Author:     Alexey Sokolov <alexey+gentoo@asokolov.org>
AuthorDate: 2023-04-05 02:06:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-10 05:20:44 +0000

    games-strategy/freeorion: add 0.5
    
    Closes: https://bugs.gentoo.org/901231
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Closes: https://github.com/gentoo/gentoo/pull/30482
    Signed-off-by: Sam James <sam@gentoo.org>

 games-strategy/freeorion/Manifest                  |   1 +
 .../freeorion/files/freeorion-0.5-ccache.patch     |  18 +++
 games-strategy/freeorion/freeorion-0.5.ebuild      | 123 +++++++++++++++++++++
 games-strategy/freeorion/freeorion-9999.ebuild     |  21 ++--
 games-strategy/freeorion/metadata.xml              |   3 +
 5 files changed, 157 insertions(+), 9 deletions(-)