6 | #include <unordered_map> +++ |+#include <memory> 7 | /var/tmp/portage/games-simulation/EmptyEpsilon-2022.03.16/work/SeriousProton-EE-2022.03.16/src/io/http/websocket.cpp: In constructor sp::io::http::Websocket::Websocket()’: /var/tmp/portage/games-simulation/EmptyEpsilon-2022.03.16/work/SeriousProton-EE-2022.03.16/src/io/http/websocket.cpp:47:5: error: socket’ was not declared in this scope; did you mean Websocket’? 47 | socket = std::make_unique<network::TcpSocket>(); | ^~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_systemd-j4-20220515-232600 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.1.0 * clang/llvm (if any): clang version 14.0.3 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.3 Python 3.9.13 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.60.0 [2] rust-1.60.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 system-vm [3] openjdk-bin-17 The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit d031166542ff56237b6db14da337c9cd6edffb76 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat May 21 21:17:58 2022 +0000 2022-05-21 21:17:57 UTC emerge -qpvO games-simulation/EmptyEpsilon [ebuild N ] games-simulation/EmptyEpsilon-2022.03.16
Created attachment 779888 [details] emerge-info.txt
Created attachment 779891 [details] emerge-history.txt.bz2
Created attachment 779894 [details] environment
Created attachment 779897 [details] etc.portage.tar.bz2
Created attachment 779900 [details] games-simulation:EmptyEpsilon-2022.03.16:20220521-221018.log.bz2
Created attachment 779903 [details] logs.tar.bz2
Created attachment 779906 [details] temp.tar.bz2
Root cause: In file included from /var/tmp/portage/games-simulation/EmptyEpsilon-2022.03.16/work/SeriousProton-EE-2022.03.16/src/io/http/websocket.cpp:1: /var/tmp/portage/games-simulation/EmptyEpsilon-2022.03.16/work/SeriousProton-EE-2022.03.16/src/io/http/websocket.h:61:10: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type 61 | std::unique_ptr<sp::io::network::TcpSocket> socket; | ^~~~~~~~~~ /var/tmp/portage/games-simulation/EmptyEpsilon-2022.03.16/work/SeriousProton-EE-2022.03.16/src/io/http/websocket.h:7:1: note: ‘std::unique_ptr’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’? 6 | #include <unordered_map> +++ |+#include <memory> 7 |
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df31905a60fab5a2db71994d7b2a2eeabeb31268 commit df31905a60fab5a2db71994d7b2a2eeabeb31268 Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2022-05-22 17:53:56 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2022-05-22 17:53:56 +0000 games-simulation/EmptyEpsilon: fix compilation with gcc 12 Closes: https://bugs.gentoo.org/846935 Signed-off-by: Florian Schmaus <flow@gentoo.org> .../EmptyEpsilon/EmptyEpsilon-2022.03.16.ebuild | 6 +++++- ...Add-missing-include-memory-to-websocket.h.patch | 23 ++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-)