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

thin_archive.py scons Tool interferes with SCons error reporting

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.8
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Platforms 2017-05-29

      If the ThinArchive tool is enabled, and you add a non-existent library to LIBDEPS, or create a library dependency cycle, you get an error like this:

      scons: *** [build/optdebug/mongo/mongo] TypeError : __class__ assignment: 'Entry' object layout differs from 'ThinArchiveNode'
      

      Instead of the expected

      scons: *** [build/optdebug/mongo/libbase.so] Implicit dependency `src/mongo/libasdf.so' not found, needed by target `build/optdebug/mongo/libbase.so'.
      scons: done building targets (errors occurred during build).
      

      That happens when the thin_archive.py tool hasn't been loaded.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: