Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux build: The dependency target "inject_debug_resources_coreclr" of target "runtimeinfo" does not exist. #51248

Closed
vcsjones opened this issue Apr 14, 2021 · 6 comments · Fixed by #51254
Labels
area-Infrastructure untriaged New issue has not been triaged by the area owner

Comments

@vcsjones
Copy link
Member

Sometime recently, I've become unable to build dotnet/runtime on Linux Ubuntu 20.04.2 LTS.

Steps:

  1. git pull (HEAD is now b80ddef)
  2. git clean -xdf (just for good measure)
  3. ./build.sh -s clr+libs -rc release

Result:

  -- Configuring done
  CMake Error at debug/runtimeinfo/CMakeLists.txt:34 (add_dependencies):
    The dependency target "inject_debug_resources_coreclr" of target
    "runtimeinfo" does not exist.
  
  
  -- Generating done
  CMake Generate step failed.  Build files cannot be regenerated correctly.
  /code/personal/dotnet/runtime/src/coreclr

I don't think anything in particular changed in my environment, and nor do I see any other error higher up in the build logs. I tried a branch that is a few weeks old and was able to build it successfully.

Any assistance getting the build working again would be appreciated.

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Apr 14, 2021
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@vcsjones
Copy link
Member Author

vcsjones commented Apr 14, 2021

I did a git bisect and it seems that the following commit is what broke it for me:

8c2158f is the first bad commit
commit 8c2158f
Author: Jeremy Koritzinsky <[email protected]>
Date: Mon Apr 5 09:28:04 2021 -0700

Make Ninja the default CMake generator on Windows for the repo (#49715)

@jkoritzinsky would you have any idea why your change might have caused me to start running in to this issue?

@jkoritzinsky
Copy link
Member

Are you trying to cross build or are you doing a non-cross build?

@vcsjones
Copy link
Member Author

@jkoritzinsky not a cross build, just ./build.sh -s clr+libs -rc release

@jkoritzinsky
Copy link
Member

I think I found the issue. Not sure how this didnt break earlier. I'll have a fix out soon.

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Apr 14, 2021
@ghost
Copy link

ghost commented Apr 15, 2021

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

Issue Details

Sometime recently, I've become unable to build dotnet/runtime on Linux Ubuntu 20.04.2 LTS.

Steps:

  1. git pull (HEAD is now b80ddef)
  2. git clean -xdf (just for good measure)
  3. ./build.sh -s clr+libs -rc release

Result:

  -- Configuring done
  CMake Error at debug/runtimeinfo/CMakeLists.txt:34 (add_dependencies):
    The dependency target "inject_debug_resources_coreclr" of target
    "runtimeinfo" does not exist.
  
  
  -- Generating done
  CMake Generate step failed.  Build files cannot be regenerated correctly.
  /code/personal/dotnet/runtime/src/coreclr

I don't think anything in particular changed in my environment, and nor do I see any other error higher up in the build logs. I tried a branch that is a few weeks old and was able to build it successfully.

Any assistance getting the build working again would be appreciated.

Author: vcsjones
Assignees: -
Labels:

area-Infrastructure, in pr, untriaged

Milestone: -

@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Apr 15, 2021
@ghost ghost locked as resolved and limited conversation to collaborators May 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure untriaged New issue has not been triaged by the area owner
Projects
None yet
3 participants