Skip to content

[SR-9735] Ninja build to nonexistent subdirectories fails #783

Open
@swift-ci

Description

@swift-ci
Previous ID SR-9735
Radar None
Original Reporter ePirat (JIRA User)
Type Bug
Environment

llbuild git (b8f6f85)

Additional Detail from JIRA
Votes 0
Component/s llbuild
Labels Bug
Assignee None
Priority Medium

md5: 08bc34cc7672d45d30d1b2d3ca8325d3

Issue Description:

Trying to build a ninja manifest that declares an output file to a nonexistent subdirectory, the ninja implementation of llbuild fails to create the subdirectories, which results in build failure.

This does not match the upstream ninja behavior.

A minimal ninja file to reproduce this:

rule CAT
     command = cat ${in} > ${out}build

subdir/output: CAT input

This build file requires a file named `input` to exist in the directory where this is run.

Activity

swift-ci

swift-ci commented on Oct 31, 2019

@swift-ci
Author

Comment by Marc Byfield (JIRA)

Hello, I'm new and I want to look into this. Where can I look for guidance?

transferred this issue fromswiftlang/swifton May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @swift-ci

        Issue actions

          [SR-9735] Ninja build to nonexistent subdirectories fails · Issue #783 · swiftlang/swift-llbuild