Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-35703

SCons configure log is dumped when it shouldn't be.

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.0.0-rc6
    • Component/s: Build
    • None
    • ALL
    • v4.0
    • Platforms 2018-07-02

      The following error appears at compile time, but is ignore:

       [2018/06/20 12:05:41.293] scons: Configure: Checking for C function fallocate()...
       [2018/06/20 12:05:41.293] build/scons/cached/sconf_temp/conftest_73.c <-
       [2018/06/20 12:05:41.293]   |
       [2018/06/20 12:05:41.293]   |
       [2018/06/20 12:05:41.293]   |#include <assert.h>
       [2018/06/20 12:05:41.293]   |fcntl.h
       [2018/06/20 12:05:41.293]   |
       [2018/06/20 12:05:41.293]   |int main() {
       [2018/06/20 12:05:41.293]   |#if defined (__stub_fallocate) || defined (__stub___fallocate)
       [2018/06/20 12:05:41.293]   |  fail fail fail
       [2018/06/20 12:05:41.293]   |#else
       [2018/06/20 12:05:41.293]   |  fallocate();
       [2018/06/20 12:05:41.293]   |#endif
       [2018/06/20 12:05:41.293]   |
       [2018/06/20 12:05:41.293]   |  return 0;
       [2018/06/20 12:05:41.293]   |}
       [2018/06/20 12:05:41.293]   |
       [2018/06/20 12:05:41.293] /opt/mongodbtoolchain/v2/bin/gcc -o build/scons/cached/sconf_temp/conftest_73.o -c -std=c11 -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -Werror -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DPCRE_STATIC -DNDEBUG -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DHAVE_VERBOSE -Isrc/third_party/snappy-1.1.3 -Isrc/third_party/zlib-1.2.11 -Ibuild/cached/third_party/wiredtiger -Isrc/third_party/wiredtiger -I/opt/basis/rlp/rlp/include -I/opt/basis/rlp/utilities/include -Ibuild/cached/third_party/wiredtiger/src/include -Isrc/third_party/wiredtiger/src/include build/scons/cached/sconf_temp/conftest_73.c
       [2018/06/20 12:05:41.293] build/scons/cached/sconf_temp/conftest_73.c:4:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
       [2018/06/20 12:05:41.293]  fcntl.h
       [2018/06/20 12:05:41.293]       ^
      

            Assignee:
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: