Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806773 - dev-db/mongodb-4.4.4 - src/.../thread.h: error: call to non-constexpr function long int sysconf(int)
Summary: dev-db/mongodb-4.4.4 - src/.../thread.h: error: call to non-constexpr functio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL: https://jira.mongodb.org/browse/SERVE...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: glibc-2.34
  Show dependency tree
 
Reported: 2021-08-06 08:10 UTC by Toralf Förster
Modified: 2021-08-20 18:07 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.36 KB, text/plain)
2021-08-06 08:10 UTC, Toralf Förster
Details
dev-db:mongodb-4.4.4:20210806-073236.log (dev-db:mongodb-4.4.4:20210806-073236.log,51.46 KB, text/plain)
2021-08-06 08:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,232.59 KB, text/plain)
2021-08-06 08:10 UTC, Toralf Förster
Details
environment (environment,128.72 KB, text/plain)
2021-08-06 08:10 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,34.08 KB, application/x-bzip)
2021-08-06 08:10 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.13 KB, application/x-bzip)
2021-08-06 08:10 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,33.80 KB, application/x-bzip)
2021-08-06 08:10 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 2021-08-06 08:10:20 UTC
                 from src/mongo/db/auth/authorization_session.h:39,
                 from src/mongo/s/commands/cluster_refine_collection_shard_key_cmd.cpp:34:
src/mongo/stdx/thread.h:110:56: error: call to non-‘constexpr’ function ‘long int sysconf(int)’
  110 |         std::max(kMongoMinSignalStackSize, std::size_t{MINSIGSTKSZ});
      |                                                        ^~~~~~~~~~~
In file included from /usr/include/boost/config/stdlib/libstdcpp3.hpp:78,
                 from /usr/include/boost/config.hpp:48,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j3-20210804-091539

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.54.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK JRE 8.292_p10 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit d5840017e851d439f09b5a66067f39b3371c5bea
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Aug 6 06:37:21 2021 +0000

    2021-08-06 06:37:19 UTC

emerge -qpvO dev-db/mongodb
[ebuild  N    ] dev-db/mongodb-4.4.4  USE="ssl tools -debug -kerberos -lto -test"
Comment 1 Toralf Förster gentoo-dev 2021-08-06 08:10:21 UTC
Created attachment 730792 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-06 08:10:22 UTC
Created attachment 730795 [details]
dev-db:mongodb-4.4.4:20210806-073236.log
Comment 3 Toralf Förster gentoo-dev 2021-08-06 08:10:24 UTC
Created attachment 730798 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-08-06 08:10:25 UTC
Created attachment 730801 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-08-06 08:10:27 UTC
Created attachment 730804 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-06 08:10:28 UTC
Created attachment 730807 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-08-06 08:10:29 UTC
Created attachment 730810 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-20 01:41:26 UTC
Does 4.4.8 work?
Comment 10 Larry the Git Cow gentoo-dev 2021-08-20 18:07:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af45f6a7cb10bc582a6490d7c1466fef512322fb

commit af45f6a7cb10bc582a6490d7c1466fef512322fb
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2021-08-20 14:57:19 +0000
Commit:     Alexys Jacob <ultrabug@gentoo.org>
CommitDate: 2021-08-20 18:07:18 +0000

    dev-db/mongodb: fix building with glibc-2.34
    
    Patch taken from https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/43608/11/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Do-not-use-MINSIGSTKSZ.patch
    
    Closes: https://bugs.gentoo.org/806773
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/22052
    Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>

 ...0.3-fix-scons.patch => mongodb-5.0.2-fix-scons.patch} |  0
 dev-db/mongodb/files/mongodb-5.0.2-glibc-2.34.patch      | 16 ++++++++++++++++
 ...3-no-compass.patch => mongodb-5.0.2-no-compass.patch} |  0
 ...ions.patch => mongodb-5.0.2-skip-no-exceptions.patch} |  0
 ...s-check.patch => mongodb-5.0.2-skip-reqs-check.patch} |  0
 dev-db/mongodb/mongodb-4.2.15.ebuild                     |  1 +
 dev-db/mongodb/mongodb-4.4.8.ebuild                      |  1 +
 dev-db/mongodb/mongodb-5.0.2.ebuild                      |  9 +++++----
 8 files changed, 23 insertions(+), 4 deletions(-)