Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917136 - net-misc/gerbera-1.12.1-r1 - /.../cds_objects.h: error: find_if is not a member of std
Summary: net-misc/gerbera-1.12.1-r1 - /.../cds_objects.h: error: find_if is not a memb...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Tietz
URL: https://github.com/gerbera/gerbera/is...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2023-11-10 19:14 UTC by Toralf Förster
Modified: 2023-11-22 11:38 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.96 KB, text/plain)
2023-11-10 19:14 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,61.44 KB, application/x-xz)
2023-11-10 19:14 UTC, Toralf Förster
Details
environment (environment,118.05 KB, text/plain)
2023-11-10 19:14 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-11-10 19:14 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,34.00 KB, application/x-xz)
2023-11-10 19:14 UTC, Toralf Förster
Details
net-misc:gerbera-1.12.1-r1:20231110-180503.log (net-misc:gerbera-1.12.1-r1:20231110-180503.log,27.10 KB, text/plain)
2023-11-10 19:14 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,73.34 KB, application/x-xz)
2023-11-10 19:14 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,29.09 KB, application/x-xz)
2023-11-10 19:14 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-11-10 19:14:07 UTC
too long lines were shrinked:

[1/127] /usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_SHARED -DGERBERA_VERSION=\"1.12.1\" -DHAVE_AVSTREAM_CODECPAR -DHAVE_FFMPEG -DHAVE_INOTIFY -DHAVE_JS -DHAVE_LIBEXIF -DHAVE_MAGIC -DHAVE_MATROSKA -DHAVE_NL_LANGINFO -DHAVE_SETLOCALE -DHAVE_TAGLIB -DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_INFO -DSPDLOG_COMPILED_L
FAILED: CMakeFiles/libgerbera.dir/src/cds/cds_container.cc.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DFMT_SHARED -DGERBERA_VERSION=\"1.12.1\" -DHAVE_AVSTREAM_CODECPAR -DHAVE_FFMPEG -DHAVE_INOTIFY -DHAVE_JS -DHAVE_LIBEXIF -DHAVE_MAGIC -DHAVE_MATROSKA -DHAVE_NL_LANGINFO -DHAVE_SETLOCALE -DHAVE_TAGLIB -DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_INFO -DSPDLOG_COMPILED_LIB -DSPD
In file included from /var/tmp/portage/net-misc/gerbera-1.12.1-r1/work/gerbera-1.12.1/src/cds/cds_container.h:33,
                 from /var/tmp/portage/net-misc/gerbera-1.12.1-r1/work/gerbera-1.12.1/src/cds/cds_container.cc:30:
/var/tmp/portage/net-misc/gerbera-1.12.1-r1/work/gerbera-1.12.1/src/cds/cds_objects.h: In member function std::string CdsObject::getMetaData(metadata_fields_t) const:
/var/tmp/portage/net-misc/gerbera-1.12.1-r1/work/gerbera-1.12.1/src/cds/cds_objects.h:238:24: error: find_if is not a member of std; did you mean find?
  238 |         auto it = std::find_if(metaData.begin(), metaData.end(), [=](auto&& md) { return md.first == field; });
      |                        ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20231105-205452

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.4
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0
  [2]   rust-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm
  [4]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 72f7e5daceba2ff4ee7c41b2613e084728eaef99
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 10 17:02:02 2023 +0000

    2023-11-10 17:02:01 UTC

emerge -qpvO net-misc/gerbera
[ebuild  N    ] net-misc/gerbera-1.12.1-r1  USE="exif ffmpeg javascript magic matroska systemd taglib -curl -debug -exiv2 -ffmpegthumbnailer -mysql"
Comment 1 Toralf Förster gentoo-dev 2023-11-10 19:14:08 UTC
Created attachment 874480 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-10 19:14:09 UTC
Created attachment 874481 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-11-10 19:14:10 UTC
Created attachment 874482 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-11-10 19:14:11 UTC
Created attachment 874483 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-11-10 19:14:12 UTC
Created attachment 874484 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-10 19:14:13 UTC
Created attachment 874485 [details]
net-misc:gerbera-1.12.1-r1:20231110-180503.log
Comment 7 Toralf Förster gentoo-dev 2023-11-10 19:14:14 UTC
Created attachment 874486 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-11-10 19:14:15 UTC
Created attachment 874487 [details]
temp.tar.xz
Comment 9 Christian Tietz 2023-11-14 16:16:26 UTC
Reported to upstream. See $URL.
Comment 10 Kostadin Shishmanov 2023-11-16 19:27:16 UTC
See also: https://github.com/gerbera/gerbera/pull/2899
Comment 11 Larry the Git Cow gentoo-dev 2023-11-22 11:38:02 UTC
The bug has been closed via the following commit(s):

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

commit 8bf8398982d432aa808c9a699217c635e4c34033
Author:     Kostadin Shishmanov <kocelfc@tutanota.com>
AuthorDate: 2023-11-16 20:58:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-11-22 11:37:07 +0000

    net-misc/gerbera: fix building with gcc 14
    
    Closes: https://bugs.gentoo.org/917136
    
    Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
    Closes: https://github.com/gentoo/gentoo/pull/33853
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/gerbera/files/gerbera-1.12.1-gcc14.patch | 81 +++++++++++++++++++++++
 net-misc/gerbera/gerbera-1.12.1-r1.ebuild         |  4 ++
 2 files changed, 85 insertions(+)