Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786681 - dev-db/mongodb-4.4.4 - src/.../plan_stats.h: error: optional in namespace std does not name a template type
Summary: dev-db/mongodb-4.4.4 - src/.../plan_stats.h: error: optional in namespace std...
Status: RESOLVED DUPLICATE of bug 768339
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-29 07:19 UTC by Toralf Förster
Modified: 2021-04-30 06:51 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.19 KB, text/plain)
2021-04-29 07:19 UTC, Toralf Förster
Details
dev-db:mongodb-4.4.4:20210429-035358.log (dev-db:mongodb-4.4.4:20210429-035358.log,655.83 KB, text/plain)
2021-04-29 07:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,200.50 KB, text/plain)
2021-04-29 07:19 UTC, Toralf Förster
Details
environment (environment,128.47 KB, text/plain)
2021-04-29 07:19 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.49 KB, application/x-bzip)
2021-04-29 07:19 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.15 KB, application/x-bzip)
2021-04-29 07:19 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,39.63 KB, application/x-bzip)
2021-04-29 07:19 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-29 07:19:46 UTC
                 from src/mongo/db/query/explain.h:32,
                 from src/mongo/db/query/explain.cpp:32:
src/mongo/db/exec/plan_stats.h:214:10: error: ‘optional’ in namespace ‘std’ does not name a template type
  214 |     std::optional<std::string> replanReason;
      |          ^~~~~~~~
src/mongo/db/exec/plan_stats.h:41:1: note: ‘std::optional’ is defined in header ‘<optional>’; did you forget to ‘#include <optional>’?
   40 | #include "mongo/util/container_size_helper.h"

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

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

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

gcc-config -l:
 [1] 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 *
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 23:50:13 UTC 2021

emerge -qpvO dev-db/mongodb
[ebuild  N    ] dev-db/mongodb-4.4.4  USE="ssl tools -debug -kerberos (-libressl) -lto -test"
Comment 1 Toralf Förster gentoo-dev 2021-04-29 07:19:47 UTC
Created attachment 703686 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-29 07:19:49 UTC
Created attachment 703689 [details]
dev-db:mongodb-4.4.4:20210429-035358.log
Comment 3 Toralf Förster gentoo-dev 2021-04-29 07:19:51 UTC
Created attachment 703692 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-29 07:19:52 UTC
Created attachment 703695 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-29 07:19:53 UTC
Created attachment 703698 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-29 07:19:55 UTC
Created attachment 703701 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-29 07:19:56 UTC
Created attachment 703704 [details]
temp.tar.bz2
Comment 8 Ionen Wolkens gentoo-dev 2021-04-30 06:51:17 UTC

*** This bug has been marked as a duplicate of bug 768339 ***