Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894742 - media-sound/snapcast-0.26.0-r2 - /.../pcm_chunk.hpp: error: const class SampleFormat has no member named rate
Summary: media-sound/snapcast-0.26.0-r2 - /.../pcm_chunk.hpp: error: const class Sampl...
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:
: 899766 (view as bug list)
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-16 08:27 UTC by Toralf Förster
Modified: 2023-04-15 09:32 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.41 KB, text/plain)
2023-02-16 08:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,166.14 KB, text/plain)
2023-02-16 08:27 UTC, Toralf Förster
Details
environment (environment,96.95 KB, text/plain)
2023-02-16 08:27 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,707 bytes, application/x-bzip)
2023-02-16 08:27 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,34.73 KB, application/x-bzip)
2023-02-16 08:27 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.23 KB, application/x-bzip)
2023-02-16 08:27 UTC, Toralf Förster
Details
media-sound:snapcast-0.26.0-r2:20230216-073207.log (media-sound:snapcast-0.26.0-r2:20230216-073207.log,24.69 KB, text/plain)
2023-02-16 08:27 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.44 KB, application/x-bzip)
2023-02-16 08:27 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-02-16 08:27:34 UTC
      |                        ^~~~~
/var/tmp/portage/media-sound/snapcast-0.26.0-r2/work/snapcast-0.26.0/common/sample_format.hpp: In member function double SampleFormat::nsRate() const:
/var/tmp/portage/media-sound/snapcast-0.26.0-r2/work/snapcast-0.26.0/common/sample_format.hpp:93:24: error: rate_ was not declared in this scope
   93 |         return (double)rate_ / 1000000000.;
      |                        ^~~~~
/var/tmp/portage/media-sound/snapcast-0.26.0-r2/work/snapcast-0.26.0/common/message/pcm_chunk.hpp: In constructor msg::PcmChunk::PcmChunk(const SampleFormat&, uint32_t):
/var/tmp/portage/media-sound/snapcast-0.26.0-r2/work/snapcast-0.26.0/common/message/pcm_chunk.hpp:40:35: error: const class SampleFormat has no member named rate; did you mean msRate?
   40 |         : WireChunk((sampleFormat.rate() * ms / 1000) * sampleFormat.frameSize()), format(sampleFormat), idx_(0)
      |                                   ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20230214-230019

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] 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-1.67.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.2 *

  HEAD of ::gentoo
commit 874396b2853862adb883bcd5951dcd3002901ec4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Feb 16 06:46:51 2023 +0000

    2023-02-16 06:46:51 UTC

emerge -qpvO media-sound/snapcast
[ebuild  N    ] media-sound/snapcast-0.26.0-r2  USE="client expat flac opus server vorbis zeroconf -tremor"
Comment 1 Toralf Förster gentoo-dev 2023-02-16 08:27:36 UTC
Created attachment 851724 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-16 08:27:37 UTC
Created attachment 851726 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-02-16 08:27:38 UTC
Created attachment 851728 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-02-16 08:27:39 UTC
Created attachment 851730 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-16 08:27:40 UTC
Created attachment 851732 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-16 08:27:41 UTC
Created attachment 851734 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-16 08:27:42 UTC
Created attachment 851736 [details]
media-sound:snapcast-0.26.0-r2:20230216-073207.log
Comment 8 Toralf Förster gentoo-dev 2023-02-16 08:27:43 UTC
Created attachment 851738 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-15 09:20:59 UTC
*** Bug 899766 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2023-04-15 09:32:43 UTC
The bug has been closed via the following commit(s):

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

commit d8019a4a12ab3f015ca2fe4f49ef6f8fd581a1a4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-15 09:23:01 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-15 09:32:29 +0000

    media-sound/snapcast: fix build w/ gcc 13
    
    Closes: https://bugs.gentoo.org/894742
    Signed-off-by: Sam James <sam@gentoo.org>

 .../snapcast/files/snapcast-0.27.0-gcc13.patch     | 26 ++++++++++++++++++++++
 media-sound/snapcast/snapcast-0.27.0.ebuild        |  4 ++++
 2 files changed, 30 insertions(+)