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

IDL targets don't work right on external build paths.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0, 4.4.2
    • Affects Version/s: None
    • Component/s: IDL
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.4
    • Hide

      Build from a directory called "mongo" and use an external build artifacts path.

      Show
      Build from a directory called "mongo" and use an external build artifacts path.
    • Platforms 2018-08-27, Platforms 2018-09-10, Dev Platform 2020-11-02

      If the directory that the source code lives in is called `mongo` for its last pathname element, then IDL and SCons both get confused and don't do the right thing.

      IDL doesn't emit the right pathnames for `#include` statements, but this is an easy fix.

      SCons doesn't seem to understand that it needs to build some IDL headers, however.

      This does not seem to be an issue if the source code directory is named something OTHER than `mongo` (or at least doesn't contain the string "mongo" within the name)

            Assignee:
            daniel.moody@mongodb.com Daniel Moody
            Reporter:
            adam.martin@mongodb.com ADAM Martin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: