Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712990 - dev-db/mongodb-4.2.3 : src/.../sysinfo.cc: error: _environ was not declared in this scope
Summary: dev-db/mongodb-4.2.3 : src/.../sysinfo.cc: error: _environ was not declared i...
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: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-17 14:25 UTC by Toralf Förster
Modified: 2020-03-21 15:22 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.37 KB, text/plain)
2020-03-17 14:25 UTC, Toralf Förster
Details
dev-db:mongodb-4.2.3:20200317-093410.log (dev-db:mongodb-4.2.3:20200317-093410.log,37.14 KB, text/plain)
2020-03-17 14:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,31.68 KB, text/plain)
2020-03-17 14:25 UTC, Toralf Förster
Details
environment (environment,125.83 KB, text/plain)
2020-03-17 14:25 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.42 KB, application/x-bzip)
2020-03-17 14:25 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.15 KB, application/x-bzip)
2020-03-17 14:25 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.60 KB, application/x-bzip)
2020-03-17 14:25 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 14:25:30 UTC
Compiling build/opt/third_party/gperftools-2.7/dist/src/base/sysinfo.o
src/third_party/gperftools-2.7/dist/src/base/sysinfo.cc: In function const char* GetenvBeforeMain(const char*):
src/third_party/gperftools-2.7/dist/src/base/sysinfo.cc:158:7: error: __environ was not declared in this scope; did you mean environ?
  158 |   if (__environ) {            // can exist but be NULL, if statically linked
      |       ^~~~~~~~~
      |       environ

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

  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 *
/usr/lib/llvm/8
8.0.1
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 08:39:33 +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 14:25:33 UTC
Created attachment 620890 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-17 14:25:36 UTC
Created attachment 620892 [details]
dev-db:mongodb-4.2.3:20200317-093410.log
Comment 3 Toralf Förster gentoo-dev 2020-03-17 14:25:39 UTC
Created attachment 620894 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-17 14:25:42 UTC
Created attachment 620896 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-17 14:25:44 UTC
Created attachment 620898 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-17 14:25:47 UTC
Created attachment 620900 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-17 14:25:50 UTC
Created attachment 620902 [details]
temp.tbz2