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

scons 4.2.0 fails compilation of mongodb 5.0

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 5.0.2
    • Component/s: None
    • None
    • ALL
    • Dev Platform 2021-09-06

      See https://www.mongodb.com/community/forums/t/scons-4-2-0-fails-compilation/120611?u=r_k

       

      Compiling MongoDB with scons 4.2.0 fails (on FreeBSD). It fails from MongoDB 4.2 up until your git code from github. Scons 4.1.0 worked.

      The error I get while compiling from github is:

       

      Checking for C function sync_file_range()... noChecking for C header file x86intrin.h... yesChecking for C header file arm_neon.h... noTypeError: '<' not supported between instances of 'str' and 'NoneType': File "/root/src/mongo/SConstruct", line 5243: env.SConscript( File "/usr/local/lib/python3.8/site-packages/SCons/Script/SConscript.py", line 597: return _SConscript(self.fs, *files, **subst_kw)

      {{}}

      {{}}

            Assignee:
            ryan.egesdahl@mongodb.com Ryan Egesdahl (Inactive)
            Reporter:
            ronald-lists@klop.ws R K
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: