thin_archive.py scons Tool interferes with SCons error reporting

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Andrew Morrow (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: