Uploaded image for project: 'Swift'
  1. Swift
  2. SR-881

Use of WMO produces "unable to open dependencies file" in llbuild

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: llbuild
    • Labels:
      None
    • Environment:

      OSX 10.11.3 (15D21)
      swift-DEVELOPMENT-SNAPSHOT-2016-03-01-a

      Description

      When WMO is used, swift-llbuild outputs errors of the form:

      <unknown>:0: error: unable to open dependencies file '.atllbuild//llbuildtmp/Fisher-Yates_Shuffle.d'
      

      I guess this is because -emit-dependencies doesn't do anything in this case, but it is not clear how to resolve this. My current workaround is to compile twice, both with and without the flag, which I think is illogical.

      To reproduce, open the attached project, and run

      $ swift-build-tool -f .atllbuild/llbuild.yaml
      Compiling Swift Module 'example' (2 sources)
      <unknown>:0: error: unable to open dependencies file '.atllbuild//llbuildtmp/Fisher-Yates_Shuffle.d'
      <unknown>:0: error: build had 1 command failures
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              drewcrawford Drew Crawford
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: