Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 713080

Summary: dev-db/mongodb-5.0.16-r1 fails to build with musl: src/.../processinfo_linux.cpp: fatal error: gnu/libc-version.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: hydrapolic, jah, ultrabug
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-db:mongodb-4.2.3:20200317-224047.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-17 22:44:23 UTC
Compiling build/opt/mongo/util/processinfo.o
Compiling build/opt/mongo/util/processinfo_linux.o
src/mongo/util/processinfo_linux.cpp:50:10: fatal error: gnu/libc-version.h: No such file or directory
   50 | #include <gnu/libc-version.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 17 Mar 2020 21:38:32 +0000
emerge -qpvO dev-db/mongodb
[ebuild  N    ] dev-db/mongodb-4.2.3  USE="ssl tools -debug -kerberos -libressl -lto -test"
Comment 1 Toralf Förster gentoo-dev 2020-03-17 22:44:26 UTC
Created attachment 621076 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-17 22:44:29 UTC
Created attachment 621078 [details]
dev-db:mongodb-4.2.3:20200317-224047.log
Comment 3 Toralf Förster gentoo-dev 2020-03-17 22:44:32 UTC
Created attachment 621080 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-17 22:44:35 UTC
Created attachment 621082 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-17 22:44:37 UTC
Created attachment 621084 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-17 22:44:40 UTC
Created attachment 621086 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-17 22:44:43 UTC
Created attachment 621088 [details]
temp.tbz2
Comment 8 Agostino Sarubbo gentoo-dev 2022-02-03 07:40:42 UTC
tinderbox_musl has reproduced this issue with version 5.0.2-r1 - Updating summary.
Comment 9 Mattias Merilai 2023-07-29 14:43:32 UTC
Hitting the same on a fresh install of stage3-amd64-musl-llvm-20230709T170149Z.tar.xz
Is compiling mongodb on musl/llvm supposed to work anyway?
Comment 10 Agostino Sarubbo gentoo-dev 2024-01-28 16:17:55 UTC
tinderbox_musl has reproduced this issue with version 5.0.16-r1 - Updating summary.