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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0, 4.4.2
    • Component/s: IDL
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Steps To Reproduce:
      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.
    • Sprint:
      Platforms 2018-08-27, Platforms 2018-09-10, Dev Platform 2020-11-02

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: