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

build failures on a clean checkout #9421

Closed
vargaz opened this issue Jul 4, 2018 · 3 comments
Closed

build failures on a clean checkout #9421

vargaz opened this issue Jul 4, 2018 · 3 comments

Comments

@vargaz
Copy link
Contributor

vargaz commented Jul 4, 2018

Steps to Reproduce

git clone git@github.com:mono/mono.git
cd mono/
./autogen.sh --disable-boehm

Current Behavior

fatal: destination path '/Users/vargaz/git/foo/mono/external/corefx' already exists and is not an empty directory.
fatal: clone of 'git://github.com/mono/corefx.git' into submodule path '/Users/vargaz/git/foo/mono/external/corefx' failed
Failed to clone 'external/corefx' a second time, aborting

Expected Behavior

On which platforms did you notice this

[x ] macOS
[ ] Linux
[ ] Windows

Version Used:
master

So what happens is that metadata/Makefile.am refers to files from external/corefx, so autoconf generates dep files for it in external/corefx/src/Native/Unix/System.Native/.deps/, so by the time git submodule init/update is ran, the external/corefx dir is no longer empty.

Caused by eec6abc.

@NattyNarwhal
Copy link
Contributor

Workaround: run git submodule update --init before autogen, or run git clone with --recursive?

@marek-safar
Copy link
Member

Any objections to run submodule update before autogen?

@vargaz
Copy link
Contributor Author

vargaz commented Jul 9, 2018

We can run it before the AOT_OUTPUT line, no idea when automake generates these .dep files.

vargaz added a commit to vargaz/mono that referenced this issue Jul 19, 2018
marek-safar pushed a commit that referenced this issue Jul 20, 2018
jonpryor pushed a commit to xamarin/xamarin-android that referenced this issue Dec 6, 2018
Bumps to mono/api-snapshot@b99fc87c.
Bumps to mono/bockbuild@5af573e7.
Bumps to mono/boringssl@41221b45.
Bumps to mono/corefx@23d0b584.
Bumps to mono/corert@af496fc1.
Bumps to dotnet/linker@7af03ce0.
Bumps to mono/NUnitLite@00e259a4.
Bumps to mono/reference-assemblies@93258263.
Bumps to mono/roslyn-binaries@249709fa.
Bumps to mono/xunit-binaries@bb583470.

	$ git diff --shortstat b63e5378..23f2024a      # mono 
	 1630 files changed, 50926 insertions(+), 92212 deletions(-)

Fixes: mono/mono#6352
Fixes: mono/mono#6947
Fixes: mono/mono#6992
Fixes: mono/mono#7615
Fixes: mono/mono#8340
Fixes: mono/mono#8407
Fixes: mono/mono#8575
Fixes: mono/mono#8627
Fixes: mono/mono#8707
Fixes: mono/mono#8766
Fixes: mono/mono#8848
Fixes: mono/mono#8866
Fixes: mono/mono#8935
Fixes: mono/mono#9010
Fixes: mono/mono#9023
Fixes: mono/mono#9031
Fixes: mono/mono#9033
Fixes: mono/mono#9106
Fixes: mono/mono#9109
Fixes: mono/mono#9155
Fixes: mono/mono#9179
Fixes: mono/mono#9232
Fixes: mono/mono#9234
Fixes: mono/mono#9262
Fixes: mono/mono#9277
Fixes: mono/mono#9292
Fixes: mono/mono#9318
Fixes: mono/mono#9318
Fixes: mono/mono#9332
Fixes: mono/mono#9407
Fixes: mono/mono#9421
Fixes: mono/mono#9505
Fixes: mono/mono#9542
Fixes: mono/mono#9581
Fixes: mono/mono#9623
Fixes: mono/mono#9684
Fixes: mono/mono#9750
Fixes: mono/mono#9753
Fixes: mono/mono#9772
Fixes: mono/mono#9839
Fixes: mono/mono#9869
Fixes: mono/mono#9921
Fixes: mono/mono#9943
Fixes: mono/mono#9947
Fixes: mono/mono#9973
Fixes: mono/mono#9996
Fixes: mono/mono#10000
Fixes: mono/mono#10031
Fixes: mono/mono#10035
Fixes: mono/mono#10227
Fixes: mono/mono#10243
Fixes: mono/mono#10303
Fixes: mono/mono#10448
Fixes: mono/mono#10483
Fixes: mono/mono#10488
Fixes: mono/mono#10863
Fixes: mono/mono#11123
Fixes: mono/mono#11138
Fixes? mono/mono#11146
Fixes: mono/mono#11202
Fixes: mono/mono#11378
Fixes: mono/mono#11479
Fixes: mono/mono#11613
Fixes: #1951
Fixes: xamarin/xamarin-macios#4347
Fixes: xamarin/xamarin-macios#4617
Fixes: xamarin/xamarin-macios#4984
picenka21 pushed a commit to picenka21/runtime that referenced this issue Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants