Summary: | <dev-db/mongodb-3.4.4: src/mongo/shell/bench.cpp:677:9: error: 'string' was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jura <me> |
Component: | Current packages | Assignee: | Ultrabug <ultrabug> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bkohler, harrisl, hydrapolic, joost.ruis, jstein, ktomczyk, proxy-maint, ultrabug |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=631688 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
Modified ebuild for patch Patch for 3.0.14 |
Description
Jura
2017-07-27 10:11:55 UTC
I am having the same problem with dev-db/mongodb-3.4.6 Just in case cause I've been having a similar error: could you try to rebuild boost (emerge -1 boost) and retry afterwards ? Junra, Ultrabug: Now it builds. Syncing portage brought the patch mongodb-3.4.4-Replace-string-with-explicit-std-string.patch! I see the same error with versions 3.2.12, 3.2.13, 3.2.15, and 3.0.14. I can reproduce it on 2 different gentoo systems. Recompiling boost didn't help, but I was able to modify the patch mentioned above to compile 3.2.12 version. Any chance of the 3.4.4 fix being backported to the current stable? I think this should handle it: https://github.com/gentoo/gentoo/pull/5527 I need this patch also. Can the PR request be approved and merged, please? It must be higher prio to fix stable packages right? If 3.0.14 should be marked as stable as it is. Is it possible to backport this patch to latest stable (3.0.14) ? Created attachment 495632 [details]
Modified ebuild for patch
Here is the new ebuild file!
Created attachment 495634 [details, diff]
Patch for 3.0.14
Here is a working patch for 3.0.14. please confirm and add it to portage!
(In reply to Tony Vroon from comment #5) > Any chance of the 3.4.4 fix being backported to the current stable? I have fixed a patch for 3.0.14 (Current stable) now. Compile works! @Ultrabug Can you add this patch to gentoo.git? commit 4fb6b5123a834fbb1d1726aaeebee2ec3ad79fa4 (HEAD -> master, origin/master, origin/HEAD) Author: Tomas Mozes <hydrapolic@gmail.com> AuthorDate: Tue Sep 5 18:09:31 2017 +0200 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: Thu Sep 21 21:50:01 2017 +0200 dev-db/mongodb: fix building with newer libpcre/glibc. Gentoo-Bug: https://bugs.gentoo.org/580768 Gentoo-Bug: https://bugs.gentoo.org/625148 Gentoo-Bug: https://bugs.gentoo.org/626342 Package-Manager: Portage-2.3.8, Repoman-2.3.2 ...6-Replace-string-with-explicit-std-string.patch | 283 +++++++++++++++++++++ dev-db/mongodb/mongodb-3.2.16.ebuild | 23 +- 2 files changed, 294 insertions(+), 12 deletions(-) create mode 100644 dev-db/mongodb/files/mongodb-3.2.16-Replace-string-with-explicit-std-string.patch |