Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713080 - 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
Summary: dev-db/mongodb-5.0.16-r1 fails to build with musl: src/.../processinfo_linux....
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-17 22:44 UTC by Toralf Förster
Modified: 2024-01-28 16:17 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.91 KB, text/plain)
2020-03-17 22:44 UTC, Toralf Förster
Details
dev-db:mongodb-4.2.3:20200317-224047.log (dev-db:mongodb-4.2.3:20200317-224047.log,28.40 KB, text/plain)
2020-03-17 22:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,48.03 KB, text/plain)
2020-03-17 22:44 UTC, Toralf Förster
Details
environment (environment,126.37 KB, text/plain)
2020-03-17 22:44 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.25 KB, application/x-bzip)
2020-03-17 22:44 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.16 KB, application/x-bzip)
2020-03-17 22:44 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,31.56 KB, application/x-bzip)
2020-03-17 22:44 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 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.