Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 790722 - net-misc/gerbera-1.8.0 - /.../ffmpeg_handler.h: error: optional in namespace std does not name a template type
Summary: net-misc/gerbera-1.8.0 - /.../ffmpeg_handler.h: error: optional in namespace ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ian Whyman (thev00d00)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-05-17 19:39 UTC by Toralf Förster
Modified: 2021-06-13 17:24 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.78 KB, text/plain)
2021-05-17 19:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,501.84 KB, text/plain)
2021-05-17 19:39 UTC, Toralf Förster
Details
environment (environment,113.19 KB, text/plain)
2021-05-17 19:39 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,41.47 KB, application/x-bzip)
2021-05-17 19:39 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.58 KB, application/x-bzip)
2021-05-17 19:39 UTC, Toralf Förster
Details
net-misc:gerbera-1.8.0:20210517-192954.log (net-misc:gerbera-1.8.0:20210517-192954.log,57.88 KB, text/plain)
2021-05-17 19:39 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.92 KB, application/x-bzip)
2021-05-17 19:39 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-17 19:39:38 UTC
In file included from /var/tmp/portage/net-misc/gerbera-1.8.0/work/gerbera-1.8.0/src/metadata/ffmpeg_handler.cc:43:
/var/tmp/portage/net-misc/gerbera-1.8.0/work/gerbera-1.8.0/src/metadata/ffmpeg_handler.h:66:10: error: ‘optional’ in namespace ‘std’ does not name a template type
   66 |     std::optional<std::vector<std::byte>> readThumbnailCacheFile(const fs::path& movie_filename) const;
      |          ^~~~~~~~
/var/tmp/portage/net-misc/gerbera-1.8.0/work/gerbera-1.8.0/src/metadata/ffmpeg_handler.h:46:1: note: ‘std::optional’ is defined in header ‘<optional>’; did you forget to ‘#include <optional>’?
   45 | #include "metadata_handler.h"

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

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

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

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

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon May 17 18:20:14 UTC 2021

emerge -qpvO net-misc/gerbera
[ebuild  N    ] net-misc/gerbera-1.8.0  USE="curl exif exiv2 ffmpeg javascript lastfm magic matroska mysql taglib -debug -ffmpegthumbnailer -systemd"
Comment 1 Toralf Förster gentoo-dev 2021-05-17 19:39:40 UTC
Created attachment 709479 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-17 19:39:42 UTC
Created attachment 709482 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-17 19:39:43 UTC
Created attachment 709485 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-17 19:39:45 UTC
Created attachment 709488 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-17 19:39:46 UTC
Created attachment 709491 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-17 19:39:47 UTC
Created attachment 709494 [details]
net-misc:gerbera-1.8.0:20210517-192954.log
Comment 7 Toralf Förster gentoo-dev 2021-05-17 19:39:48 UTC
Created attachment 709497 [details]
temp.tar.bz2
Comment 8 Sam James archtester gentoo-dev Security 2021-06-13 17:24:30 UTC
Fixed in https://github.com/gerbera/gerbera/commit/91b51b85fb3c97ffc9bec5a37b231a50b9144029 which is in 1.8.2 in tree.