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 failure during musl git clone #2

Closed
lshacham opened this issue Apr 16, 2018 · 4 comments
Closed

Build failure during musl git clone #2

lshacham opened this issue Apr 16, 2018 · 4 comments

Comments

@lshacham
Copy link

Build failure:

At sgx-lkl I run:

make

Phase "Submodule initialisation (one-shot after git clone)" fails while running
git submodule update --init

Fix/workaround:
I run:
git clone https://github.com/ifduyue/musl/ host-musl
Then run:
make

@cpriebe
Copy link
Collaborator

cpriebe commented Apr 16, 2018

Hi Liron,

thanks for your comment! I just tried with a fresh clone and initialising the host-musl submodule seems to work fine for me.

I assume either the official musl repository (http://git.musl-libc.org/cgit/musl) was down temporarily, or there is some other issue preventing you from cloning from the official repo. You might want to run the following to test whether it's a general issue:

git clone git://git.musl-libc.org/musl

However, your workaround should work. You might want to checkout the correct version of of the repository though by running

git checkout 39494a2

in the host-musl directory.

@prp
Copy link
Member

prp commented Apr 16, 2018

Note that the official musl repository only supports clones via the git protocol (and not https). The above problem could also be due to a firewall issue at your end.

@thomasknauth
Copy link

Yes, if there's a way to fetch all the submodules via http(s), that'd be great. Corporations like to deploy proxies that only allow http(s).

@cpriebe
Copy link
Collaborator

cpriebe commented Apr 17, 2018

@thomasknauth @lshacham We have now changed the host-musl submodule URL to use HTTPS with a github-hosted mirror. Fixed here: 28dcb2f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants