Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786303 - media-sound/snapcast-0.20.0 - /.../message.hpp: error: shared_ptr in namespace std does not name a template type
Summary: media-sound/snapcast-0.20.0 - /.../message.hpp: error: shared_ptr in namespac...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jakov Smolić
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-04-28 07:17 UTC by Toralf Förster
Modified: 2021-04-29 11:46 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.77 KB, text/plain)
2021-04-28 07:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,372.71 KB, text/plain)
2021-04-28 07:17 UTC, Toralf Förster
Details
environment (environment,91.73 KB, text/plain)
2021-04-28 07:17 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,27.60 KB, application/x-bzip)
2021-04-28 07:17 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.42 KB, application/x-bzip)
2021-04-28 07:17 UTC, Toralf Förster
Details
media-sound:snapcast-0.20.0:20210428-065805.log (media-sound:snapcast-0.20.0:20210428-065805.log,36.29 KB, text/plain)
2021-04-28 07:17 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.27 KB, application/x-bzip)
2021-04-28 07:17 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-04-28 07:17:08 UTC
In file included from /var/tmp/portage/media-sound/snapcast-0.20.0/work/snapcast-0.20.0/client/time_provider.hpp:24,
                 from /var/tmp/portage/media-sound/snapcast-0.20.0/work/snapcast-0.20.0/client/time_provider.cpp:19:
/var/tmp/portage/media-sound/snapcast-0.20.0/work/snapcast-0.20.0/common/message/message.hpp:119:26: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  119 | using message_ptr = std::shared_ptr<msg::BaseMessage>;
      |                          ^~~~~~~~~~
/var/tmp/portage/media-sound/snapcast-0.20.0/work/snapcast-0.20.0/common/message/message.hpp:32:1: note: ‘std::shared_ptr’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
   31 | #include <vector>

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20210419-131016

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.3.0
 [3] 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.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0
  [2]   rust-1.51.0 *
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

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Apr 28 06:35:39 UTC 2021

emerge -qpvO media-sound/snapcast
[ebuild  N    ] media-sound/snapcast-0.20.0  USE="client expat flac opus server vorbis zeroconf -static-libs -tremor"
Comment 1 Toralf Förster gentoo-dev 2021-04-28 07:17:09 UTC
Created attachment 703140 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-28 07:17:11 UTC
Created attachment 703143 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-28 07:17:13 UTC
Created attachment 703146 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-04-28 07:17:14 UTC
Created attachment 703149 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-04-28 07:17:15 UTC
Created attachment 703152 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-28 07:17:16 UTC
Created attachment 703155 [details]
media-sound:snapcast-0.20.0:20210428-065805.log
Comment 7 Toralf Förster gentoo-dev 2021-04-28 07:17:17 UTC
Created attachment 703158 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-04-29 11:46:10 UTC
The bug has been closed via the following commit(s):

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

commit 87e3400916e51d3bcf26103ec35ad49d4cd867c3
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-04-29 11:01:13 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-04-29 11:46:05 +0000

    media-sound/snapcast: Fix compilation with gcc-11
    
    Closes: https://bugs.gentoo.org/786303
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 media-sound/snapcast/files/snapcast-0.20.0-gcc-11.patch | 11 +++++++++++
 media-sound/snapcast/snapcast-0.20.0.ebuild             |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)