Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 954813 - dev-db/mongodb-5.0.30 - [gcc-15] src/.../utypes.h: error: type UErrorCode violates the C++ One Definition Rule [-Werror=odr]
Summary: dev-db/mongodb-5.0.30 - [gcc-15] src/.../utypes.h: error: type UErrorCode vio...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2025-04-27 19:21 UTC by Toralf Förster
Modified: 2025-04-27 19:21 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.53 KB, text/plain)
2025-04-27 19:21 UTC, Toralf Förster
Details
dev-db:mongodb-5.0.30:20250427-174606.log.xz (dev-db:mongodb-5.0.30:20250427-174606.log.xz,147.88 KB, application/x-xz)
2025-04-27 19:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,231.25 KB, text/plain)
2025-04-27 19:21 UTC, Toralf Förster
Details
environment (environment,114.13 KB, text/plain)
2025-04-27 19:21 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.61 KB, application/x-xz)
2025-04-27 19:21 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,50.89 KB, application/x-xz)
2025-04-27 19:21 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,298.30 KB, application/x-xz)
2025-04-27 19:21 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,63.30 KB, application/x-xz)
2025-04-27 19:21 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,30.87 KB, application/x-xz)
2025-04-27 19:21 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 2025-04-27 19:21:35 UTC
In file included from src/mongo/bson/bsonobjbuilder.h:46,
                 from build/gentoo/mongo/db/api_parameters_gen.h:19:
src/mongo/util/decimal_counter.h:49:23: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
   49 |     DecimalCounter<T>(T start = 0) : _lastDigitIndex(_getLastDigitIndex(start)), _counter(start) {}
      |                       ^
src/mongo/util/decimal_counter.h:49:23: note: remove the '< >'
src/third_party/icu4c-57.1/source/common/unicode/utypes.h:476:14: error: type 'UErrorCode' violates the C++ One Definition Rule [-Werror=odr]
  476 | typedef enum UErrorCode {
      |              ^

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

  KEYWORDED/UNMASKED

  [gcc-15] Requested by sam
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14
 [2] x86_64-pc-linux-gnu-15 *
clang version 20.1.3
llvm-config: 20.1.3
Python 3.12.10
go version go1.24.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.86.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.26_p4 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

  HEAD of ::gentoo
commit b3b751e9bf6f8005869ffa50453a1f577d35f6be
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Apr 27 17:35:23 2025 +0000

    2025-04-27 17:35:23 UTC

The tinderbox task was: dev-db/mongodb

emerge -qpvO =dev-db/mongodb-5.0.30
[ebuild  N    ] dev-db/mongodb-5.0.30  USE="ssl tools -debug -kerberos -mongosh" CPU_FLAGS_X86="avx"
Comment 1 Toralf Förster gentoo-dev 2025-04-27 19:21:36 UTC
Created attachment 926384 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-04-27 19:21:38 UTC
Created attachment 926385 [details]
dev-db:mongodb-5.0.30:20250427-174606.log.xz
Comment 3 Toralf Förster gentoo-dev 2025-04-27 19:21:39 UTC
Created attachment 926386 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-04-27 19:21:40 UTC
Created attachment 926387 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-04-27 19:21:41 UTC
Created attachment 926388 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-04-27 19:21:42 UTC
Created attachment 926389 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-04-27 19:21:44 UTC
Created attachment 926390 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-04-27 19:21:45 UTC
Created attachment 926391 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-04-27 19:21:46 UTC
Created attachment 926392 [details]
temp.tar.xz