Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918605 - dev-db/mongodb-5.0.16-r1 - ERROR: dev-db/mongodb-5.0.16-r1::gentoo failed (compile phase):
Summary: dev-db/mongodb-5.0.16-r1 - ERROR: dev-db/mongodb-5.0.16-r1::gentoo failed (co...
Status: CONFIRMED
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: 2023-11-26 13:20 UTC by Toralf Förster
Modified: 2024-04-29 12:22 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.37 KB, text/plain)
2023-11-26 13:20 UTC, Toralf Förster
Details
dev-db:mongodb-5.0.16-r1:20231126-125918.log (dev-db:mongodb-5.0.16-r1:20231126-125918.log,4.46 KB, text/plain)
2023-11-26 13:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,23.44 KB, text/plain)
2023-11-26 13:20 UTC, Toralf Förster
Details
environment (environment,141.92 KB, text/plain)
2023-11-26 13:20 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.13 KB, application/x-xz)
2023-11-26 13:20 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,14.57 KB, application/x-xz)
2023-11-26 13:20 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,620 bytes, application/x-xz)
2023-11-26 13:20 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,73.35 KB, text/plain)
2023-11-26 13:20 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,32.77 KB, application/x-xz)
2023-11-26 13:20 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-26 13:20:45 UTC
clang++ found in $PATH at /usr/lib/llvm/17/bin/clang++
/usr/lib/llvm/17/bin/clang++ resolves to /usr/lib/llvm/17/bin/clang-17
Checking if C++ compiler "clang++" is GCC... no
Checking if C++ compiler "clang++" is clang... no
Couldn't identify the C++ compiler
See /var/tmp/portage/dev-db/mongodb-5.0.16-r1/work/mongodb-src-r5.0.16/build/scons/config.log for details
 * ERROR: dev-db/mongodb-5.0.16-r1::gentoo failed (compile phase):
 *   (no error message)
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20231125-140008

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.5
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.5
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit 623f99eb46ae90ac71be346ae096e98032adb96d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 26 09:31:55 2023 +0000

    2023-11-26 09:31:55 UTC

emerge -qpvO dev-db/mongodb
[ebuild  N    ] dev-db/mongodb-5.0.16-r1  USE="ssl tools -debug -kerberos -lto -mongosh" CPU_FLAGS_X86="avx"
Comment 1 Toralf Förster gentoo-dev 2023-11-26 13:20:46 UTC
Created attachment 875714 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-26 13:20:47 UTC
Created attachment 875715 [details]
dev-db:mongodb-5.0.16-r1:20231126-125918.log
Comment 3 Toralf Förster gentoo-dev 2023-11-26 13:20:48 UTC
Created attachment 875716 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-11-26 13:20:49 UTC
Created attachment 875717 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-11-26 13:20:50 UTC
Created attachment 875718 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-26 13:20:51 UTC
Created attachment 875719 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-26 13:20:52 UTC
Created attachment 875720 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-11-26 13:20:53 UTC
Created attachment 875721 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-11-26 13:20:54 UTC
Created attachment 875722 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2023-11-26 13:21:40 UTC
maybe bashrc.clang/CC/CXX related ?
Comment 11 Robert Förster 2024-04-29 12:22:38 UTC
there is a workaround in https://bugs.gentoo.org/829340 for that - however, llvm 17 ICE's with mongodb at the moment ( https://github.com/llvm/llvm-project/issues/63675 ), i have not tried 18 yet, i might include that workaround in a later PR, though, not sure yet, the fact that it started failing in 16 makes it kinda difficult to make a good assumption here