Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 789474 - games-action/minetest-5.4.1 - /.../clientiface.h: error: shared_ptr in namespace std does not name a template type
Summary: games-action/minetest-5.4.1 - /.../clientiface.h: error: shared_ptr in namesp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL: https://github.com/minetest/minetest/...
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-05-11 16:15 UTC by Toralf Förster
Modified: 2021-05-13 15:33 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.93 KB, text/plain)
2021-05-11 16:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,92.68 KB, text/plain)
2021-05-11 16:15 UTC, Toralf Förster
Details
environment (environment,107.86 KB, text/plain)
2021-05-11 16:15 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.01 KB, application/x-bzip)
2021-05-11 16:15 UTC, Toralf Förster
Details
games-action:minetest-5.4.1:20210511-160628.log (games-action:minetest-5.4.1:20210511-160628.log,114.94 KB, text/plain)
2021-05-11 16:15 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.47 KB, application/x-bzip)
2021-05-11 16:15 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,51.91 KB, application/x-bzip)
2021-05-11 16:15 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-05-11 16:15:03 UTC
In file included from /var/tmp/portage/games-action/minetest-5.4.1/work/minetest-5.4.1/src/clientiface.cpp:21:
/var/tmp/portage/games-action/minetest-5.4.1/work/minetest-5.4.1/src/clientiface.h:444:36: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  444 |         ClientInterface(const std::shared_ptr<con::Connection> &con);
      |                                    ^~~~~~~~~~
In file included from /var/tmp/portage/games-action/minetest-5.4.1/work/minetest-5.4.1/src/clientiface.cpp:21:
/var/tmp/portage/games-action/minetest-5.4.1/work/minetest-5.4.1/src/clientiface.h:34:1: note: ‘std::shared_ptr’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j2-20210510-164836

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon May 10 19:50:37 UTC 2021

emerge -qpvO games-action/minetest
[ebuild  N    ] games-action/minetest-5.4.1  USE="client curl leveldb ncurses nls server sound truetype -doc -postgres -prometheus -redis -spatial -test" LUA_SINGLE_TARGET="luajit"
Comment 1 Toralf Förster gentoo-dev 2021-05-11 16:15:04 UTC
Created attachment 707082 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-11 16:15:06 UTC
Created attachment 707085 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-11 16:15:07 UTC
Created attachment 707088 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-11 16:15:09 UTC
Created attachment 707091 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-11 16:15:10 UTC
Created attachment 707094 [details]
games-action:minetest-5.4.1:20210511-160628.log
Comment 6 Toralf Förster gentoo-dev 2021-05-11 16:15:11 UTC
Created attachment 707097 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-05-11 16:15:12 UTC
Created attachment 707100 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-05-13 15:33:22 UTC
The bug has been closed via the following commit(s):

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

commit 28122e85fb3f6261a96d82ebbfb2ab917a564858
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2021-05-13 15:26:48 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2021-05-13 15:33:11 +0000

    games-action/minetest: allow building with gcc-11
    
    Backported upstream commit, should only be necessary
    until the next release.
    
    Closes: https://bugs.gentoo.org/789474
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 .../minetest/files/minetest-5.4.1-gcc11.patch       | 21 +++++++++++++++++++++
 games-action/minetest/minetest-5.4.1-r1.ebuild      |  1 +
 2 files changed, 22 insertions(+)