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

mkdir error message from bash function setup_dirs #34342

Open
RobertHenry6bev opened this issue Mar 31, 2020 · 2 comments
Open

mkdir error message from bash function setup_dirs #34342

RobertHenry6bev opened this issue Mar 31, 2020 · 2 comments
Labels
area-Infrastructure-coreclr help wanted [up-for-grabs] Good issue for external contributors
Milestone

Comments

@RobertHenry6bev
Copy link
Contributor

RobertHenry6bev commented Mar 31, 2020

Initial cost estimate: 2 days
Initial contacts: @safern, @trylek

Running on ubuntu 19.10.

The 2nd of 3 invocation of the function setup_dirs from file eng/native/build-commons.sh is being called with $__IntermediatesDir either unset or set to the empty string. The result is a call
mkdir -p ""
which results in this error message:

mkdir: cannot create directory ‘’: No such file or directory

Please aggressively use the shell flags -u (fail on undefined variable) and -e (fail on subcommand fail) to find errors like this.

I invoke the build thusly:
bash ./build.sh -subsetCategory coreclr --configuration Debug --clang9

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-Infrastructure-coreclr untriaged New issue has not been triaged by the area owner labels Mar 31, 2020
@ghost
Copy link

ghost commented Mar 31, 2020

Area Owners

@jeffschwMSFT, @jashook, @trylek

@danmoseley
Copy link
Member

Thanks @RobertHenry6bev . Do you have any interest in offering a PR?

@jashook jashook removed the untriaged New issue has not been triaged by the area owner label May 11, 2020
@jashook jashook added this to the Future milestone Jul 17, 2020
@trylek trylek added the help wanted [up-for-grabs] Good issue for external contributors label Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Infrastructure-coreclr help wanted [up-for-grabs] Good issue for external contributors
Projects
Status: No status
Development

No branches or pull requests

5 participants