Create a build marker when a project is not built due to upstream errors.

Fixed #1002320
Merge pull request #846 from dragos/issue/no-build-markers-downstream

Create a build marker when a project is not built due to upstream errors...