Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 913738

Summary: media-sound/clementine-1.4.0_rc2-r2 - /.../span.h: error: Container was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Alexey <alexey+gentoo>
Status: RESOLVED FIXED    
Severity: normal CC: alexey+gentoo, leonchik1976, proxy-maint, sound
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=912853
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 912819    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
media-sound:clementine-1.4.0_rc2-r2:20230906-201020.log.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-09-06 20:49:05 UTC
  119 |   using Container = std::remove_const_t<T>;
      |                          ^~~~~~~~~~~~~~
      |                          remove_const
/usr/include/absl/types/internal/span.h:121:44: error: parse error in template argument list
  121 |       decltype(span_internal::GetData(std::declval<const Container&>()));
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/absl/types/internal/span.h:122:64: error: Container was not declared in this scope
  122 |   using MutData = decltype(span_internal::GetData(std::declval<Container&>()));
      |                                                                ^~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20230904-181042

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.72.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit 58334e683e2c8482f4807f999a65dc2bc9ced274
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Sep 6 19:02:27 2023 +0000

    2023-09-06 19:02:27 UTC

emerge -qpvO media-sound/clementine
[ebuild  N    ] media-sound/clementine-1.4.0_rc2-r2  USE="alsa cdda dbus ipod pulseaudio udisks -box -debug -dropbox -googledrive -lastfm -mms -moodbar -mtp -projectm -seafile -skydrive -test -wiimote"
Comment 1 Toralf Förster gentoo-dev 2023-09-06 20:49:06 UTC
Created attachment 869979 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-06 20:49:07 UTC
Created attachment 869980 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-06 20:49:08 UTC
Created attachment 869981 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-06 20:49:09 UTC
Created attachment 869982 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-06 20:49:10 UTC
Created attachment 869983 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-06 20:49:11 UTC
Created attachment 869984 [details]
media-sound:clementine-1.4.0_rc2-r2:20230906-201020.log.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-06 20:49:12 UTC
Created attachment 869985 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2023-10-17 05:24:16 UTC
The bug has been referenced in the following commit(s):

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

commit a19cfd05bb1bc1ed9ed84342a95bca123b347eb9
Author:     Alexey Sokolov <alexey+gentoo@asokolov.org>
AuthorDate: 2023-10-06 17:56:47 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2023-10-17 05:23:48 +0000

    media-sound/clementine: Fix build with new abseil and proto
    
    Bug: https://bugs.gentoo.org/912853
    Bug: https://bugs.gentoo.org/913738
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 .../clementine/clementine-1.4.0_rc2-r4.ebuild      | 168 +++++++++++++++++++++
 media-sound/clementine/clementine-9999.ebuild      |   6 +
 .../files/clementine-1.4.0_rc2-absl.patch          |  15 ++
 .../files/clementine-1.4.0_rc2-c17.patch           |  67 ++++++++
 4 files changed, 256 insertions(+)