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

windows 10 build aosp fail #45

Open
liaolintao opened this issue May 27, 2019 · 0 comments
Open

windows 10 build aosp fail #45

liaolintao opened this issue May 27, 2019 · 0 comments

Comments

@liaolintao
Copy link

liaolintao commented May 27, 2019

I use git bash to execute shell .

$ bash ./build-nougat.sh
+ '[' '' = docker ']'
+ aosp_url=https://raw.githubusercontent.com/kylemanna/docker-aosp/master/utils/aosp
+ args='bash run.sh docker'
+++ dirname ./build-nougat.sh
++ cd .
++ pwd -P
++ basename ./build-nougat.sh
+ export 'AOSP_EXTRA_ARGS=-v /d/docker/docker-aosp/tests/build-nougat.sh:/usr/local/bin/run.sh:ro'
+ AOSP_EXTRA_ARGS='-v /d/docker/docker-aosp/tests/build-nougat.sh:/usr/local/bin/run.sh:ro'
+ '[' -n '' ']'
+ '[' -x ../docker_aosp ']'
+ ../docker_aosp bash run.sh docker
AOSP IMAGE weishu/build-aosp
aosp: Checking if Android/aosp exists
aosp: Checking if Android/aosp exists - unexistent
Creating Android/aosp
Creating Android/aosp - ok
aosp: Checking if Android/ccache exists
aosp: Checking if Android/ccache exists - unexistent
Creating Android/ccache
Creating Android/ccache - ok

the input device is not a TTY.  If you are using mintty, try prefixing the command with 'winpty'

I add winpty before docker.
then,

$ bash ./build-nougat.sh
+ '[' '' = docker ']'
+ aosp_url=https://raw.githubusercontent.com/kylemanna/docker-aosp/master/utils/aosp
+ args='bash run.sh docker'
+++ dirname ./build-nougat.sh
++ cd .
++ pwd -P
++ basename ./build-nougat.sh
+ export 'AOSP_EXTRA_ARGS=-v /d/docker/docker-aosp/tests/build-nougat.sh:/usr/local/bin/run.sh:ro'
+ AOSP_EXTRA_ARGS='-v /d/docker/docker-aosp/tests/build-nougat.sh:/usr/local/bin/run.sh:ro'
+ '[' -n '' ']'
+ '[' -x ../docker_aosp ']'
+ ../docker_aosp bash run.sh docker
AOSP IMAGE weishu/build-aosp
aosp: Checking if Android/aosp exists
aosp: Checking if Android/aosp exists - ok
aosp: Checking if Android/ccache exists
aosp: Checking if Android/ccache exists - ok

C:/Program Files/Docker/Docker/Resources/bin/docker.exe: Error response from daemon: Mount denied:
The source path "Android\\ccache;C"
is not a valid Windows path.
See 'C:/Program Files/Docker/Docker/Resources/bin/docker.exe run --help'.

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

1 participant