Skip to content

Windows_NT Formatting jobs failing  #40034

Closed

Description

@jashook

Windows formatting failure seems to be a configuration issue while configuring Cmake

/cc @jkoritzinsky @dotnet/jit-contrib


  $<TARGET_PROPERTY:prop> may only be used with binary targets.  It may not
  be used with add_custom_command or add_custom_target.  Specify the target
  to read a property from using the $<TARGET_PROPERTY:tgt,prop> signature
  instead.
CMake Error:
  Error evaluating generator expression:
    $<TARGET_PROPERTY:NAME>
  $<TARGET_PROPERTY:prop> may only be used with binary targets.  It may not
  be used with add_custom_command or add_custom_target.  Specify the target
  to read a property from using the $<TARGET_PROPERTY:tgt,prop> signature
  instead.
CMake Error:
  Error evaluating generator expression:
    $<TARGET_PROPERTY:NAME>
  $<TARGET_PROPERTY:prop> may only be used with binary targets.  It may not
  be used with add_custom_command or add_custom_target.  Specify the target
  to read a property from using the $<TARGET_PROPERTY:tgt,prop> signature
  instead.
CMake Error:
  Error evaluating generator expression:
    $<TARGET_PROPERTY:NAME>
  $<TARGET_PROPERTY:prop> may only be used with binary targets.  It may not
  be used with add_custom_command or add_custom_target.  Specify the target
  to read a property from using the $<TARGET_PROPERTY:tgt,prop> signature
  instead.
CMake Error:
  Error evaluating generator expression:
    $<TARGET_PROPERTY:NAME>

Activity

  1. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    and removed
    untriagedNew issue has not been triaged by the area owner
    on Jul 28, 2020
  2. jashook commented on Jul 28, 2020

    @jashook
    ContributorAuthor

    Based on conversations with @safern I will disable the job is it will fail consistently.

  3. added a commit that references this issue on Jul 28, 2020
  4. BruceForstall commented on Jul 28, 2020

    @BruceForstall
    Contributor

    Did the cmake version change on the build machines? What version is it? (btw, we should add cmake --version output in the logfiles). I can't repro this locally with cmake version 3.15.5

  5. am11 commented on Jul 28, 2020

    @am11
    Member

    Normally on Windows machine, cmake version should be same as

    "cmake": "3.14.5",
    (this cmake.exe gets downloaded locally from blob storage during the execution of build.cmd)

  6. added a commit that references this issue on Jul 28, 2020
  7. added
    disabled-testThe test is disabled in source code against the issue
    and removed
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    on Jul 31, 2020
  8. added this to the 5.0.0 milestone on Jul 31, 2020
  9. modified the milestones: 5.0.0, 6.0.0 on Aug 3, 2020
  10. sandreenko commented on Aug 7, 2020

    @sandreenko
    Contributor

    @jashook I am not sure why but it looks like the job was not disabled with your change, I see that all outer loop jobs are failing with Windows formatting job.
    Update: I have not noticed that the PR was disabling it only in PR testing, not in outer loop.

  11. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    and removed
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    on Aug 7, 2020
  12. BruceForstall commented on Mar 9, 2021

    @BruceForstall
    Contributor

    Fixed by #49025

  13. ghost locked as resolved and limited conversation to collaborators on Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions