Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MongoDB fails with rc/mongo/shell/bench.cpp:373:9: error: 's
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Sun Sep 10, 2017 11:30 pm    Post subject: MongoDB fails with rc/mongo/shell/bench.cpp:373:9: error: 's Reply with quote

Trying to emerge mongodb 3.0.14 on a new gentoo installation. It's marked stable in portage. Any ideas what is wrong?

Code:
Generating placeholder library build/build/mongo/libscripting_common.a
Skipping ranlib for build/build/mongo/libscripting_common.a
x86_64-pc-linux-gnu-g++ -o build/build/mongo/shell/shell_utils_extended.o -c -pipe -std=c++11 -fno-omit-frame-pointer -fPIC -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -D_SCONS -DMONGO_EXPOSE_MACROS -DPCRE_STATIC -DSUPPORT_UTF8 -DMONGO_OPTIMIZED_BUILD -DMONGO_BYTE_ORDER=1234 -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_CXX11_ATOMICS -DMONGO_HAVE_STD_IS_TRIVIALLY_COPYABLE -DMONGO_SSL -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_VERSION=2 -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DMONGO_HAVE_EXECINFO_BACKTRACE -Isrc/third_party/s2 -Ibuild/build -Isrc src/mongo/shell/shell_utils_extended.cpp
src/mongo/shell/bench.cpp: In member function 'void mongo::BenchRunWorker::generateLoadOnConnection(mongo::DBClientBase*)':
src/mongo/shell/bench.cpp:373:9: error: 'string' was not declared in this scope
         string errmsg;
         ^
src/mongo/shell/bench.cpp:373:9: note: suggested alternatives:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/string:39:0,
                 from src/mongo/shell/bench.h:31,
                 from src/mongo/shell/bench.cpp:35:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stringfwd.h:74:33: note:   'std::__cxx11::string'
   typedef basic_string<char>    string;
                                 ^
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stringfwd.h:74:33: note:   'std::__cxx11::string'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stringfwd.h:74:33: note:   'std::__cxx11::string'
src/mongo/shell/bench.cpp:374:72: error: 'errmsg' was not declared in this scope
         if (!conn->auth("admin", _config->username, _config->password, errmsg)) {
                                                                        ^
src/mongo/shell/bench.cpp:387:13: error: 'string' was not declared in this scope
             string ns = e["ns"].String();
             ^
src/mongo/shell/bench.cpp:387:13: note: suggested alternatives:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/string:39:0,
                 from src/mongo/shell/bench.h:31,
                 from src/mongo/shell/bench.cpp:35:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stringfwd.h:74:33: note:   'std::__cxx11::string'
   typedef basic_string<char>    string;
                                 ^
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stringfwd.h:74:33: note:   'std::__cxx11::string'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stringfwd.h:74:33: note:   'std::__cxx11::string'
src/mongo/shell/bench.cpp:388:20: error: expected ';' before 'op'
             string op = e["op"].String();
                    ^
src/mongo/shell/bench.cpp:406:70: error: 'ns' was not declared in this scope
                     scope = globalScriptEngine->getPooledScope(&txn, ns, "benchrun");
                                                                      ^
src/mongo/shell/bench.cpp:425:21: error: 'op' was not declared in this scope
                 if (op == "nop") {
                     ^
src/mongo/shell/bench.cpp:432:43: error: 'ns' was not declared in this scope
                             conn->findOne(ns, fixQuery(e["query"].Obj(), bsonTemplateEvaluator));
                                           ^
src/mongo/shell/bench.cpp:455:47: error: 'ns' was not declared in this scope
                         ok = conn->runCommand(ns,
                                               ^
src/mongo/shell/bench.cpp:494:62: error: 'ns' was not declared in this scope
                         count = conn->query(castedDoNothing, ns, fixedQuery, &filter, options);
                                                              ^
src/mongo/shell/bench.cpp:498:41: error: 'ns' was not declared in this scope
                             conn->query(ns, fixedQuery, limit, skip, &filter, options, batchSize);
                                         ^
src/mongo/shell/bench.cpp:503:55: error: 'ns' was not declared in this scope
                         cout << "bench query on: " << ns << " expected: " << expected
                                                       ^
src/mongo/shell/bench.cpp:540:78: error: 'ns' was not declared in this scope
                             builder.append("update", nsToCollectionSubstring(ns));
                                                                              ^
src/mongo/shell/bench.cpp:552:42: error: 'ns' was not declared in this scope
                             conn->update(ns, query, update, upsert, multi);
                                          ^
src/mongo/shell/bench.cpp:577:46: error: expected primary-expression before '(' token
                             throw DBException((string) "From benchRun GLE" +
                                              ^
src/mongo/shell/bench.cpp:577:56: error: expected ')' before string constant
                             throw DBException((string) "From benchRun GLE" +
                                                        ^
src/mongo/shell/bench.cpp:592:78: error: 'ns' was not declared in this scope
                             builder.append("insert", nsToCollectionSubstring(ns));
                                                                              ^
src/mongo/shell/bench.cpp:617:46: error: 'ns' was not declared in this scope
                                 conn->insert(ns, insertArray);
                                              ^
src/mongo/shell/bench.cpp:620:46: error: 'ns' was not declared in this scope
                                 conn->insert(ns, insertDoc);
                                              ^
src/mongo/shell/bench.cpp:646:46: error: expected primary-expression before '(' token
                             throw DBException((string) "From benchRun GLE" +
                                              ^
src/mongo/shell/bench.cpp:646:56: error: expected ')' before string constant
                             throw DBException((string) "From benchRun GLE" +
                                                        ^
src/mongo/shell/bench.cpp:661:78: error: 'ns' was not declared in this scope
                             builder.append("delete", nsToCollectionSubstring(ns));
                                                                              ^
src/mongo/shell/bench.cpp:673:42: error: 'ns' was not declared in this scope
                             conn->remove(ns, predicate, !multi);
                                          ^
src/mongo/shell/bench.cpp:698:46: error: expected primary-expression before '(' token
                             throw DBException((string) "From benchRun GLE " +
                                              ^
src/mongo/shell/bench.cpp:698:56: error: expected ')' before string constant
                             throw DBException((string) "From benchRun GLE " +
                                                        ^
src/mongo/shell/bench.cpp:703:39: error: 'ns' was not declared in this scope
                     conn->ensureIndex(ns, e["key"].Obj(), false, "", false);
                                       ^
src/mongo/shell/bench.cpp:705:37: error: 'ns' was not declared in this scope
                     conn->dropIndex(ns, e["key"].Obj());
                                     ^
src/mongo/shell/bench.cpp:707:28: error: expected ';' before 'target'
                     string target = e["target"].eoo() ? string() : e["target"].String();
                            ^
src/mongo/shell/bench.cpp:713:55: error: 'target' was not declared in this scope
                     bsonTemplateEvaluator.setVariable(target,
                                                       ^
src/mongo/shell/bench.cpp: In member function 'void mongo::BenchRunWorker::run()':
src/mongo/shell/bench.cpp:797:13: error: 'string' was not declared in this scope
             string errmsg;
             ^
src/mongo/shell/bench.cpp:797:13: note: suggested alternatives:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/string:39:0,
                 from src/mongo/shell/bench.h:31,
                 from src/mongo/shell/bench.cpp:35:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stringfwd.h:74:33: note:   'std::__cxx11::string'
   typedef basic_string<char>    string;
                                 ^
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stringfwd.h:74:33: note:   'std::__cxx11::string'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stringfwd.h:74:33: note:   'std::__cxx11::string'
src/mongo/shell/bench.cpp:798:76: error: 'errmsg' was not declared in this scope
             if (!conn->auth("admin", _config->username, _config->password, errmsg)) {
                                                                            ^
src/mongo/shell/bench.cpp: In member function 'void mongo::BenchRunner::start()':
src/mongo/shell/bench.cpp:829:13: error: 'string' was not declared in this scope
             string errmsg;
             ^
src/mongo/shell/bench.cpp:829:13: note: suggested alternatives:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/string:39:0,
                 from src/mongo/shell/bench.h:31,
                 from src/mongo/shell/bench.cpp:35:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stringfwd.h:74:33: note:   'std::__cxx11::string'
   typedef basic_string<char>    string;
                                 ^
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stringfwd.h:74:33: note:   'std::__cxx11::string'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stringfwd.h:74:33: note:   'std::__cxx11::string'
src/mongo/shell/bench.cpp:830:76: error: 'errmsg' was not declared in this scope
             if (!conn->auth("admin", _config->username, _config->password, errmsg)) {
                                                                            ^
src/mongo/shell/bench.cpp: In member function 'void mongo::BenchRunner::stop()':
src/mongo/shell/bench.cpp:865:13: error: 'string' was not declared in this scope
             string errmsg;
             ^
src/mongo/shell/bench.cpp:865:13: note: suggested alternatives:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/string:39:0,
                 from src/mongo/shell/bench.h:31,
                 from src/mongo/shell/bench.cpp:35:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stringfwd.h:74:33: note:   'std::__cxx11::string'
   typedef basic_string<char>    string;
                                 ^
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stringfwd.h:74:33: note:   'std::__cxx11::string'
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/stringfwd.h:74:33: note:   'std::__cxx11::string'
src/mongo/shell/bench.cpp:867:76: error: 'errmsg' was not declared in this scope
             if (!conn->auth("admin", _config->username, _config->password, errmsg)) {
                                                                            ^
scons: *** [build/build/mongo/shell/bench.o] Error 1
scons: building terminated because of errors.
 * ERROR: dev-db/mongodb-3.0.14::gentoo failed (compile phase):
 *   escons failed.
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_compile
 *   environment, line 3344:  Called escons '--variant-dir=build' '--cc=x86_64-pc-linux-gnu-gcc' '--cxx=x86_64-pc-linux-gnu-g++' '--c++11' '--disable-warnings-as-errors' '--use-system-boost' '--use-system-pcre' '--use-system-snappy' '--use-system-stemmer' '--use-system-yaml' '--ssl' 'core' 'tools'
 *   environment, line 1596:  Called die
 * The specific snippet of code:
 *                   die "escons failed."
 *
 * If you need support, post the output of `emerge --info '=dev-db/mongodb-3.0.14::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/mongodb-3.0.14::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-db/mongodb-3.0.14/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mongodb-3.0.14/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/mongodb-3.0.14/work/mongodb-src-r3.0.14'
 * S: '/var/tmp/portage/dev-db/mongodb-3.0.14/work/mongodb-src-r3.0.14'

>>> Failed to emerge dev-db/mongodb-3.0.14, Log file:


[Moderator edit: added [code] tags to preserve output layout. -Hu]
_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Mon Sep 11, 2017 12:47 am    Post subject: Reply with quote

Quote:
std::__cxx11::string


Evidently, you did not pay attention to the news, to recompile your system after switching to gcc-5...

Read this news, and follow the directions, to resolve this issue
https://www.gentoo.org/support/news-items/2015-10-22-gcc-5-new-c++11-abi.html
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Mon Sep 11, 2017 4:21 am    Post subject: Reply with quote

Thanks! :)
_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Mon Sep 11, 2017 4:25 am    Post subject: Reply with quote

ugh...actually it failed again with the same error.

Before, I did:

Code:
development ~ # revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc



Any suggestions, please?
Code:


Portage 2.3.6 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r4, 4.12.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.5-gentoo-x86_64-QEMU_Virtual_CPU_version_2.0.0-with-gentoo-2.3
KiB Mem:     5005680 total,   1988404 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 10 Sep 2017 17:30:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.28::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.15-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT=""
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules multilib ncurses nls nptl openmp pam pcre readline seccomp session sse sse2 ssl tcpd unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Mon Sep 11, 2017 5:13 am    Post subject: Reply with quote

First off, we will need the full build.log so that we can see the actual error message(s).

If it is saying something like std::__cxx11::string, then more likely something was missed on being rebuilt. If revdep-rebuild did not completely go through all the packages, then it did not finish it's job (it should have recompiled a large amount of packages when you ran it). If you ran revdep-rebuild without the --library part, it did not do it's job...

On a side note:
Quote:
KiB Mem: 5005680 total, 1988404 free
KiB Swap: 0 total, 0 free

Trying to compile your system with only 5G of ram and no swap may cause you issues on running out of memory... I recommend you have a swap file/partition setup so that you don't run into issues due to OOM.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Mon Sep 11, 2017 5:14 am    Post subject: Reply with quote

ct85711 wrote:
If it is saying something like std::__cxx11::string, then more likely something was missed on being rebuilt.

Add also --keep-going option on command (only if is same __cxx11 error)
Code:
development ~ # revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc --keep-going

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Mon Sep 11, 2017 6:49 am    Post subject: Reply with quote

The exact command I ran, from my cmd history for the rebuild, was
Code:
revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc
.. It took a few hours for the rebuild to finish. After the rebuild finished successfully, I tried to emerge mongodb.

I checked dmesg and did not see any messages of running out of errors.

Here is the complete build log:

http://dpaste.com/1H0J2Z4

Sorry about the ctrl characters...not sure why they show up in the paste services
_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Mon Sep 11, 2017 8:26 am    Post subject: Reply with quote

As I wrote in previous post use --keep-going option and then rebuild manually package that fail
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Mon Sep 11, 2017 12:42 pm    Post subject: Reply with quote

The MongoDB package is not installed yet, so revdep-rebuild does not do anything with mongodb. There is no reason to use --keep-going since revdep-rebuild is successful, correct?
_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30996
Location: here

PostPosted: Mon Sep 11, 2017 12:58 pm    Post subject: Reply with quote

dman777 wrote:
There is no reason to use --keep-going since revdep-rebuild is successful, correct?

Correct. Sorry my mistake I hadn't read.
There is a bug in mongodb, but patch for this problem is applied only to mongodb 3.4.x version.
You can try to backport the patch
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Mon Sep 11, 2017 1:21 pm    Post subject: Reply with quote

Cool, thanks! :)
_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Tue Sep 12, 2017 1:06 am    Post subject: Reply with quote

Actually, that one will not compile ether.......... but with a different error

Code:



<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c: In function '__bid128_pow':
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1013:6: note: in expansion of macro '__add_192_192'
      __add_192_192(ans,ans,loc);
      ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1013:6: note: in expansion of macro '__add_192_192'
      __add_192_192(ans,ans,loc);
      ^
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1052:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1052:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1056:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1056:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1060:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1060:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1064:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1064:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1068:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1068:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1072:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1072:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1076:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1076:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1080:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1080:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:744:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S1,CA1,(X).w[1],(Y).w[1],CA0);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1084:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:695:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         CY = ((S<X1) || (X1<CI)) ? 1 : 0;          \
                            ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:745:4: note: in expansion of macro '__add_carry_in_out'
    __add_carry_in_out(S2,CA2,(X).w[2],(Y).w[2],CA1);      \
    ^
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_pow.c:1084:3: note: in expansion of macro '__add_192_192'
   __add_192_192(sx,sx,cxp);
   ^
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_quantize.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_rem.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_round_integral.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalb.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_scalbl.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sin.o
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sinh.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_sqrt.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_string.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tan.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tanh.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_tgamma.o
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int16.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int32.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int64.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_int8.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint16.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint32.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint64.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid128_to_uint8.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acos.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_acosh.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_add.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asin.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_asinh.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan.o
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atan2.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_atanh.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cbrt.o
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_compare.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cos.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_cosh.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_div.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erf.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_erfc.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp10.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_exp2.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_expm1.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fdimd.o
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fma.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_fmod.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_frexp.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_hypot.o
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_ldexp.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_lgamma.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_llrintd.o
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log.o
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
Compiling build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_log10.o
In file included from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_internal.h:39:0,
                 from src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_llrintd.c:30:
src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_functions.h:4426:45: error: expected ';', ' ' or ')' before '_EXA_MASKS_PARAM'
                                             _EXC_MASKS_PARAM
                                             ^
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
scons: *** [build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_llrintd.o] Error 1
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
scons: building terminated because of errors.
build/opt/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid32_llrintd.o failed: Error 1
 * ERROR: dev-db/mongodb-3.4.6::gentoo failed (compile phase):
 *   escons failed.
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_compile
 *   environment, line 3344:  Called escons 'CC=x86_64-pc-linux-gnu-gcc' 'CXX=x86_64-pc-linux-gnu-g++' '--disable-warnings-as-errors' '--use-system-boost' '--use-system-pcre' '--use-system-snappy' '--use-system-stemmer' '--use-system-yaml' '--use-system-zlib' '--ssl' 'core' 'tools'
 *   environment, line 1595:  Called die
 * The specific snippet of code:
 *                   die "escons failed."
 *
 * If you need support, post the output of `emerge --info '=dev-db/mongodb-3.4.6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/mongodb-3.4.6::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-db/mongodb-3.4.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mongodb-3.4.6/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/mongodb-3.4.6/work/mongodb-src-r3.4.6'
 * S: '/var/tmp/portage/dev-db/mongodb-3.4.6/work/mongodb-src-r3.4.6'

[/code]
_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
jenkler
Apprentice
Apprentice


Joined: 28 Apr 2003
Posts: 222
Location: Sweden - Stockholm

PostPosted: Mon Sep 18, 2017 3:39 pm    Post subject: Reply with quote

Is mongodb 3.0.14 broken for all installations? Do we need a backport to get this to work with 3.0.14?

Tried the revdep stuff without success, I guess this is related to the bug!
_________________
Hello from me: Jenkler IT AB (swedish) (use google translate). Check out my Linux manpages for web in english.
Back to top
View user's profile Send private message
jenkler
Apprentice
Apprentice


Joined: 28 Apr 2003
Posts: 222
Location: Sweden - Stockholm

PostPosted: Mon Sep 18, 2017 4:26 pm    Post subject: Reply with quote

Maybe make a mongodb-3.4.4-Replace-string-with-explicit-std-string.patch for 3.0.14 or set 3.4.4 as stable?
_________________
Hello from me: Jenkler IT AB (swedish) (use google translate). Check out my Linux manpages for web in english.
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Tue Sep 19, 2017 8:13 am    Post subject: Reply with quote

jenkler wrote:
Maybe make a mongodb-3.4.4-Replace-string-with-explicit-std-string.patch for 3.0.14 or set 3.4.4 as stable?


dunno if it applies here.
to make mongodb compile i had to change the following files:

src/mongo/shell/bench.cpp
src/mongo/db/dbwebserver.cpp
src/mongo/db/matcher/expression_leaf.cpp
src/mongo/db/repl/master_slave.cpp
src/mongo/util/net/miniwebserver.cpp

on each file i added:

#include <string>
using namespace std;

* latest mongodb(3.4.9) compiles with gcc-7.2.0 without string problems.
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
jenkler
Apprentice
Apprentice


Joined: 28 Apr 2003
Posts: 222
Location: Sweden - Stockholm

PostPosted: Tue Sep 19, 2017 6:26 pm    Post subject: Reply with quote

It must be higher prio to fix stable packages right? If 3.0.14 should be marked as stable as it is.

Does anyone have a good solution for 3.0.14?
_________________
Hello from me: Jenkler IT AB (swedish) (use google translate). Check out my Linux manpages for web in english.
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Tue Sep 19, 2017 7:29 pm    Post subject: Reply with quote

Quote:
It must be higher prio to fix stable packages right? If 3.0.14 should be marked as stable as it is.


You must be confusing what stable actually means around here. Gentoo DOES NOT follow what upstream says is stable. Upstream says 3.4.9 is currently marked as stable release. So when developers upstream make a patches, they make it to their version of stable. Stable around Gentoo means it is server stable wise; as it what companies would use, so old outdated software that has been tested for several months or more before it is considered to be marked as stable.

As far as the patch goes, there are several times that a patch is not back ported for various reasons. I haven't looked at the patch to see if you can back port it or not, considering you are comparing a package released about a year ago to one this year...
Back to top
View user's profile Send private message
jenkler
Apprentice
Apprentice


Joined: 28 Apr 2003
Posts: 222
Location: Sweden - Stockholm

PostPosted: Tue Sep 19, 2017 10:16 pm    Post subject: Reply with quote

Yes I know that Gentoo stable is not equal to upstream stable. The problem is when a package is marked as stable in Gentoo it should compile.

In this case when it's broken because of a bug what will the process be?
1. Fix the ebuild so it will compile?
2. Use some other version as stable?
3. Mark everything non stable?

I guess that it's more Gentooers like me that uses mongodb ebuild file :)
_________________
Hello from me: Jenkler IT AB (swedish) (use google translate). Check out my Linux manpages for web in english.
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Tue Sep 19, 2017 10:47 pm    Post subject: Reply with quote

jenkler wrote:
It must be higher prio to fix stable packages right? If 3.0.14 should be marked as stable as it is.

Does anyone have a good solution for 3.0.14?


what do you really mean by a "good solution"?
did you try the one above? did it work or it didn't work? others may like to know.
sorry, but it seems to me that you like a lot of talking, though! I might be wrong.
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
jenkler
Apprentice
Apprentice


Joined: 28 Apr 2003
Posts: 222
Location: Sweden - Stockholm

PostPosted: Wed Sep 20, 2017 4:35 pm    Post subject: Reply with quote

At the moment I need this version 3.0.14.

1. I have not tried to patch it myself with the info from the other patch.
2. I have not tried a newer version, just because I need 3.0.14

A newer version will work indeed and maybe thats the only solution :)

"what do you really mean by a "good solution"?" <-- Is there a working patch for 3.0.14?
_________________
Hello from me: Jenkler IT AB (swedish) (use google translate). Check out my Linux manpages for web in english.
Back to top
View user's profile Send private message
jenkler
Apprentice
Apprentice


Joined: 28 Apr 2003
Posts: 222
Location: Sweden - Stockholm

PostPosted: Wed Sep 20, 2017 4:40 pm    Post subject: Reply with quote

tranquilcool wrote:
jenkler wrote:
Maybe make a mongodb-3.4.4-Replace-string-with-explicit-std-string.patch for 3.0.14 or set 3.4.4 as stable?


dunno if it applies here.
to make mongodb compile i had to change the following files:

src/mongo/shell/bench.cpp
src/mongo/db/dbwebserver.cpp
src/mongo/db/matcher/expression_leaf.cpp
src/mongo/db/repl/master_slave.cpp
src/mongo/util/net/miniwebserver.cpp

on each file i added:

#include <string>
using namespace std;

* latest mongodb(3.4.9) compiles with gcc-7.2.0 without string problems.


"to make mongodb compile i had to change the following files:" <-- Is that for 3.4.9 or 3.0.14?

In my case I use "gcc version 5.4.0"
Is it possible to get the patch into portage tree within a small time frame if we could fix a working patch for 3.0.14. A lot of people need to verify and approve it first right?

Edit w8: I will fix the patch :P
_________________
Hello from me: Jenkler IT AB (swedish) (use google translate). Check out my Linux manpages for web in english.
Back to top
View user's profile Send private message
jenkler
Apprentice
Apprentice


Joined: 28 Apr 2003
Posts: 222
Location: Sweden - Stockholm

PostPosted: Wed Sep 20, 2017 6:09 pm    Post subject: Reply with quote

Patch for 3.0.14 created, and yes it compiles now :P

Ebuild file: https://bugs.gentoo.org/attachment.cgi?id=495632
Patch: https://bugs.gentoo.org/attachment.cgi?id=495634
BUG: https://bugs.gentoo.org/626342

I hope we can get this into portage :)
_________________
Hello from me: Jenkler IT AB (swedish) (use google translate). Check out my Linux manpages for web in english.
Back to top
View user's profile Send private message
jenkler
Apprentice
Apprentice


Joined: 28 Apr 2003
Posts: 222
Location: Sweden - Stockholm

PostPosted: Fri Sep 22, 2017 4:30 pm    Post subject: Reply with quote

I got the patch into portage, now version 3.0.14 compiles!
_________________
Hello from me: Jenkler IT AB (swedish) (use google translate). Check out my Linux manpages for web in english.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum