FORUMS
Remove All Ads from XDA

[GUIDE] How to build LineageOS 16.0 on Windows 10 (via WSL 1.0)

318 posts
Thanks Meter: 233
 
By Uldiniad, Senior Member on 15th February 2018, 05:54 PM
Post Reply Email Thread
17th February 2018, 01:41 AM |#11  
Junior Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by akash.galaxy07

Thanks for posting the tutorial
@Uldiniad
I'm very thankful to you for this.
One question, is it possible to download the whole source somewhere else so that we don't have to download the complete source across windows formats and system restores?

Check LxRunOffline on GitHub. It can install WSL distribution to another directory from tar file.
GuestK00254
28th February 2018, 04:40 AM |#12  
Guest
Thanks Meter: 0
 
More
So can this build a ROM completely?
28th February 2018, 04:44 AM |#13  
Uldiniad's Avatar
OP Senior Member
Thanks Meter: 233
 
Donate to Me
More
Quote:
Originally Posted by shagbag913

So can this build a ROM completely?

Yep. I'm currently running a build on my s5 that I made myself on the Ubuntu app for Windows 10. We are currently working on fixing the dex2oat issues but other users have suggested workarounds in the mean time.
The Following User Says Thank You to Uldiniad For This Useful Post: [ View ] Gift Uldiniad Ad-Free
GuestK00254
28th February 2018, 04:45 AM |#14  
Guest
Thanks Meter: 0
 
More
Quote:
Originally Posted by Uldiniad

Yep. I'm currently running a build on my s5 that I made myself on the Ubuntu app for Windows 10. We are currently working on fixing the dex2oat issues but other users have suggested workarounds in the mean time.

ok thanks bro. New to rom building, but I did build a DU rom that works for sailfish
4th March 2018, 02:08 PM |#15  
Junior Member
Thanks Meter: 1
 
More
Hello Uldiniad, thanks your guide. I got a error, When I start the build "brunch gemini":
[1055/1074] including ./vendor/qcom/opensource/cryptfs_hw/Android.mk ...
build/core/binary.mk:40: warning: libcryptfs_hw uses deprecated kernel header dependency path.
[1056/1074] including ./vendor/qcom/opensource/dataservices/Android.mk ...
build/core/binary.mk:40: warning: librmnetctl uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: sockev uses deprecated kernel header dependency path.
[1074/1074] including ./vendor/xiaomi/scorpio/Android.mk ...
waitpid failed: No child processes
19:40:52 ckati failed with: exit status 1
I have no idea, please help me, thanks. ( I run windows 10 in virtualbox)
4th March 2018, 02:28 PM |#16  
Uldiniad's Avatar
OP Senior Member
Thanks Meter: 233
 
Donate to Me
More
Quote:
Originally Posted by taxueliuyun

Hello Uldiniad, thanks your guide. I got a error, When I start the build "brunch gemini":
[1055/1074] including ./vendor/qcom/opensource/cryptfs_hw/Android.mk ...
build/core/binary.mk:40: warning: libcryptfs_hw uses deprecated kernel header dependency path.
[1056/1074] including ./vendor/qcom/opensource/dataservices/Android.mk ...
build/core/binary.mk:40: warning: librmnetctl uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: sockev uses deprecated kernel header dependency path.
[1074/1074] including ./vendor/xiaomi/scorpio/Android.mk ...
waitpid failed: No child processes
19:40:52 ckati failed with: exit status 1
I have no idea, please help me, thanks. ( I run windows 10 in virtualbox)

would you mind running
Code:
breakfast gemini && make bacon showcommands
just based off the snippet you gave above I can't say much about the failure, the "no child processes" failure could be because it is not finding the next tasks (possibly missing some makefiles) to be executed for some reason (which would be strange).
also, are you successfully building on other platforms? and did you follow the OP step-by-step?
note: it shouldn't matter, but I recommend running windows natively if you want to build on lxss. but on vm it shouldn't matter (that I know of). although if you're running windows in a virtual machine, what are you running natively? probably a unix-based system right? because if so, darwin or linux will have more chances of successful builds than wsl guaranteed
5th March 2018, 03:47 AM |#17  
Junior Member
Thanks Meter: 0
 
More
hello Uldiniad getting error while building for my kenzo
11. mini_emulator_arm64-userdebug
12. m_e_arm-userdebug
13. mini_emulator_x86_64-userdebug
14. mini_emulator_x86-userdebug
15. uml-userdebug
16. aosp_kenzo-userdebug
17. aosp_kenzo-user
18. aosp_kenzo-eng
19. lineage_angler-userdebug
20. lineage_bullhead-userdebug
21. lineage_capricorn-userdebug
22. lineage_cheeseburger-userdebug
23. lineage_dumpling-userdebug
24. lineage_gemini-userdebug
25. lineage_gts210vewifi-userdebug
26. lineage_gts28vewifi-userdebug
27. lineage_natrium-userdebug
28. lineage_oneplus3-userdebug
29. lineage_zl1-userdebug
Which would you like? [aosp_arm-eng] 16
build/core/product_config.mk:237: *** Can not locate config makefile for product "aosp_kenzo". Stop.
Device kenzo not found. Attempting to retrieve device repository from LineageOS Github (githubcom/LineageOS
).
Found repository: android_device_xiaomi_kenzo
Default revision: lineage-15.1
Checking branch info
Default revision lineage-15.1 not found in android_device_xiaomi_kenzo. Bailing.
Branches found:
cm-13.0
cm-14.
cm-14.1
lineage-15.0
stable/cm-13.0-ZNH5Y
Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
build/core/product_config.mk:237: *** Can not locate config makefile for product "aosp_kenzo". Stop.
build/core/product_config.mk:237: *** Can not locate config makefile for product "aosp_kenzo". Stop.
** Don't have a product spec for: 'aosp_kenzo'
** Do you have the right repo manifest?
[email protected]:~/los151$
5th March 2018, 04:04 AM |#18  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by Uldiniad

would you mind running

Code:
breakfast gemini && make bacon showcommands
just based off the snippet you gave above I can't say much about the failure, the "no child processes" failure could be because it is not finding the next tasks (possibly missing some makefiles) to be executed for some reason (which would be strange).
also, are you successfully building on other platforms? and did you follow the OP step-by-step?
note: it shouldn't matter, but I recommend running windows natively if you want to build on lxss. but on vm it shouldn't matter (that I know of). although if you're running windows in a virtual machine, what are you running natively? probably a unix-based system right? because if so, darwin or linux will have more chances of successful builds than wsl guaranteed

thanks for your reply, my host os is macos, I can compile aosp successfully in my macpro, or ubuntu in my virtualbox, by follow the official guide. But I want to build aosp in wsl for my purpose, so I found your guide. I followed the OP step by step, no error happened until the last step. Just a few warnings and interrupted many times when I called " repo sync", the error message is below:
Shared project LineageOS/android_hardware_qcom_wlan found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_wlan found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_ril found, disabling pruning.
Shared project LineageOS/android_hardware_ril found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_bt found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_bt found, disabling pruning.

I called "make gemini showcommands" just now, the terminal prints some command procedures, but it does not help, it's still the same error.
5th March 2018, 04:57 AM |#19  
Uldiniad's Avatar
OP Senior Member
Thanks Meter: 233
 
Donate to Me
More
Quote:
Originally Posted by [email protected]

11. mini_emulator_arm64-userdebug
12. m_e_arm-userdebug
13. mini_emulator_x86_64-userdebug
14. mini_emulator_x86-userdebug
15. uml-userdebug
16. aosp_kenzo-userdebug
17. aosp_kenzo-user
18. aosp_kenzo-eng
19. lineage_angler-userdebug
20. lineage_bullhead-userdebug
21. lineage_capricorn-userdebug
22. lineage_cheeseburger-userdebug
23. lineage_dumpling-userdebug
24. lineage_gemini-userdebug
25. lineage_gts210vewifi-userdebug
26. lineage_gts28vewifi-userdebug
27. lineage_natrium-userdebug
28. lineage_oneplus3-userdebug
29. lineage_zl1-userdebug
Which would you like? [aosp_arm-eng] 16
build/core/product_config.mk:237: *** Can not locate config makefile for product "aosp_kenzo". Stop.
Device kenzo not found. Attempting to retrieve device repository from LineageOS Github (githubcom/LineageOS
).
Found repository: android_device_xiaomi_kenzo
Default revision: lineage-15.1
Checking branch info
Default revision lineage-15.1 not found in android_device_xiaomi_kenzo. Bailing.
Branches found:
cm-13.0
cm-14.
cm-14.1
lineage-15.0
stable/cm-13.0-ZNH5Y
Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
build/core/product_config.mk:237: *** Can not locate config makefile for product "aosp_kenzo". Stop.
build/core/product_config.mk:237: *** Can not locate config makefile for product "aosp_kenzo". Stop.
** Don't have a product spec for: 'aosp_kenzo'
** Do you have the right repo manifest?
[email protected]:~/los151$

Your device does not have lineage-15.1 yet. check the branches here: https://github.com/LineageOS/android...e_xiaomi_kenzo
5th March 2018, 05:00 AM |#20  
Uldiniad's Avatar
OP Senior Member
Thanks Meter: 233
 
Donate to Me
More
Quote:
Originally Posted by taxueliuyun

thanks for your reply, my host os is macos, I can compile aosp successfully in my macpro, or ubuntu in my virtualbox, by follow the official guide. But I want to build aosp in wsl for my purpose, so I found your guide. I followed the OP step by step, no error happened until the last step. Just a few warnings and interrupted many times when I called " repo sync", the error message is below:
Shared project LineageOS/android_hardware_qcom_wlan found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_wlan found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
Shared project LineageOS/android_hardware_ril found, disabling pruning.
Shared project LineageOS/android_hardware_ril found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_bt found, disabling pruning.
Shared project LineageOS/android_hardware_qcom_bt found, disabling pruning.

I called "make gemini showcommands" just now, the terminal prints some command procedures, but it does not help, it's still the same error.

the pruning is not an error. it is saying that the project is shared (used by other devices potentially) and therefore it does not apply pruning to the tree.
the reason I wanted you to post the showcommands is so that I can see what is the last few commands before the error
5th March 2018, 05:27 AM |#21  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by Uldiniad

the pruning is not an error. it is saying that the project is shared (used by other devices potentially) and therefore it does not apply pruning to the tree.
the reason I wanted you to post the showcommands is so that I can see what is the last few commands before the error

there is the output:
[email protected]:~/lineage$ make gemini showcommands
10:04:22 Took 580ms to start up.
10:04:22 Starting build with args: [gemini]
10:04:22 Environment: [ANDROID_DEV_SCRIPTS=/home/taxueliuyun/lineage/development/scripts:/home/taxueliuyun/lineage/prebuilts/devtools/tools:/home/taxueliuyun/lineage/external/selinux/prebuilts/bin:/home/taxueliuyun/lineage/prebuilts/misc/linux-x86/dtc:/home/taxueliuyun/lineage/prebuilts/misc/linux-x86/libufdt LINEAGE_BUILD=gemini ANDROID_PRE_BUILD_PATHS=/usr/lib/jvm/java-8-openjdk-amd64/bin: TRACE_BEGIN_SOONG=1520215461550102300 ANDROID_BUILD_TOP=/home/taxueliuyun/lineage ANDROID_JAVA_TOOLCHAIN=/usr/lib/jvm/java-8-openjdk-amd64/bin ANDROID_PRODUCT_OUT=/home/taxueliuyun/lineage/out/target/product/gemini SHELL=/bin/bash TERM=xterm-256color SSH_CLIENT=10.0.2.2 64686 2222 ANDROID_TARGET_OUT_TESTCASES=/home/taxueliuyun/lineage/out/target/product/gemini/testcases OLDPWD=/home/taxueliuyun/lineage OUT=/home/taxueliuyun/lineage/out/target/product/gemini SSH_TTY=/dev/pts/0 TARGET_BUILD_VARIANT=userdebug USER=taxueliuyun LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00i=40;33:so =01;35:do=01;35:bd=40;33;01:cd=40;33;01r=40;31;0 1:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42w=34; 42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc =01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=0 1;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01 ;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31: *.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=0 1;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31 :*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:* .rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.s ar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo =01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01 ;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01; 35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35 :*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35: *.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:* .pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*. m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.m p4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt =01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01 ;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01; 35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:* .xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.o gv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac =00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka= 00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00; 36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;3 6:*.xspf=00;36: ASAN_OPTIONS=detect_leaks=0 BUILD_ENV_SEQUENCE_NUMBER=13 ANDROID_BUILD_PATHS=/home/taxueliuyun/lineage/out/soong/host/linux-x86/bin:/home/taxueliuyun/lineage/out/host/linux-x86/bin:/home/taxueliuyun/lineage/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:/home/taxueliuyun/lineage/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/home/taxueliuyun/lineage/development/scripts:/home/taxueliuyun/lineage/prebuilts/devtools/tools:/home/taxueliuyun/lineage/external/selinux/prebuilts/bin:/home/taxueliuyun/lineage/prebuilts/misc/linux-x86/dtc:/home/taxueliuyun/lineage/prebuilts/misc/linux-x86/libufdt:/home/taxueliuyun/lineage/prebuilts/android-emulator/linux-x86_64: ANDROID_HOST_OUT_TESTCASES=/home/taxueliuyun/lineage/out/host/linux-x86/testcases TOP=/home/taxueliuyun/lineage TARGET_BUILD_APPS= PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin:/home/taxueliuyun/lineage/out/soong/host/linux-x86/bin:/home/taxueliuyun/lineage/out/host/linux-x86/bin:/home/taxueliuyun/lineage/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:/home/taxueliuyun/lineage/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/home/taxueliuyun/lineage/development/scripts:/home/taxueliuyun/lineage/prebuilts/devtools/tools:/home/taxueliuyun/lineage/external/selinux/prebuilts/bin:/home/taxueliuyun/lineage/prebuilts/misc/linux-x86/dtc:/home/taxueliuyun/lineage/prebuilts/misc/linux-x86/libufdt:/home/taxueliuyun/lineage/prebuilts/android-emulator/linux-x86_64:/home/taxueliuyun/bin:/home/taxueliuyun/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin MAIL=/var/mail/taxueliuyun TARGET_BUILD_TYPE=release PWD=/home/taxueliuyun/lineage JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 LANG=zh_CN.UTF-8 ANDROID_TOOLCHAIN=/home/taxueliuyun/lineage/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin ANDROID_TOOLCHAIN_2ND_ARCH=/home/taxueliuyun/lineage/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin GCC_COLORS=error=01;31:warning=01;35:note=01;36:ca ret=01;32:locus=01:quote=01 HOME=/home/taxueliuyun SHLVL=1 REPO_URL=https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/ ORIGINAL_PWD=/home/taxueliuyun/lineage LOGNAME=taxueliuyun PYTHONPATH=/home/taxueliuyun/lineage/development/python-packages:/home/taxueliuyun/lineage/development/python-packages:/home/taxueliuyun/lineage/development/python-packages:/home/taxueliuyun/lineage/development/python-packages:/home/taxueliuyun/lineage/development/python-packages: ANDROID_EMULATOR_PREBUILTS=/home/taxueliuyun/lineage/prebuilts/android-emulator/linux-x86_64 SSH_CONNECTION=10.0.2.2 64686 10.0.2.15 2222 TARGET_GCC_VERSION=4.9 LESSOPEN=| /usr/bin/lesspipe %s PROMPT_COMMAND=echo -ne "\033]0;[arm64-lineage_gemini-userdebug] [email protected]: /home/taxueliuyun/lineage\007" BUILD_NUMBER=1c9d6910e4 TARGET_PRODUCT=lineage_gemini ANDROID_SET_JAVA_HOME=true ANDROID_HOST_OUT=/home/taxueliuyun/lineage/out/host/linux-x86 LESSCLOSE=/usr/bin/lesspipe %s %s OUT_DIR=/home/taxueliuyun/lineage/out PYTHONDONTWRITEBYTECODE=1]
10:04:22 /usr/bin/make [make --no-print-directory -f build/core/config.mk dump-many-vars CALLED_FROM_SETUP=true BUILD_SYSTEM=build/core MAKECMDGOALS=gemini DUMP_MANY_VARS=NINJA_GOALS KATI_GOALS TARGET_DEVICE TARGET_PRODUCT TARGET_BUILD_VARIANT TARGET_BUILD_APPS CC_WRAPPER CXX_WRAPPER JAVAC_WRAPPER CCACHE_COMPILERCHECK CCACHE_SLOPPINESS CCACHE_BASEDIR CCACHE_CPP2 PLATFORM_VERSION_CODENAME PLATFORM_VERSION TARGET_PRODUCT TARGET_BUILD_VARIANT TARGET_BUILD_TYPE TARGET_BUILD_APPS TARGET_ARCH TARGET_ARCH_VARIANT TARGET_CPU_VARIANT TARGET_2ND_ARCH TARGET_2ND_ARCH_VARIANT TARGET_2ND_CPU_VARIANT HOST_ARCH HOST_2ND_ARCH HOST_OS HOST_OS_EXTRA HOST_CROSS_OS HOST_CROSS_ARCH HOST_CROSS_2ND_ARCH HOST_BUILD_TYPE BUILD_ID OUT_DIR AUX_OS_VARIANT_LIST TARGET_BUILD_PDK PDK_FUSION_PLATFORM_ZIP OUT_DIR=/home/taxueliuyun/lineage/out /home/taxueliuyun/lineage/out/soong/soong.variables]
10:04:22 /usr/lib/jvm/java-8-openjdk-amd64/bin/java [java -version]
10:04:23 /usr/lib/jvm/java-8-openjdk-amd64/bin/javac [javac -version]
10:04:25 NINJA_GOALS gemini
10:04:25 KATI_GOALS
10:04:25 TARGET_DEVICE gemini
10:04:25 TARGET_PRODUCT lineage_gemini
10:04:25 TARGET_BUILD_VARIANT userdebug
10:04:25 TARGET_BUILD_APPS
10:04:25 CC_WRAPPER
10:04:25 CXX_WRAPPER
10:04:25 JAVAC_WRAPPER
10:04:25 CCACHE_COMPILERCHECK
10:04:25 CCACHE_SLOPPINESS
10:04:25 CCACHE_BASEDIR
10:04:25 CCACHE_CPP2
10:04:25 PLATFORM_VERSION_CODENAME REL
10:04:25 PLATFORM_VERSION 8.1.0
10:04:25 TARGET_PRODUCT lineage_gemini
10:04:25 TARGET_BUILD_VARIANT userdebug
10:04:25 TARGET_BUILD_TYPE release
10:04:25 TARGET_BUILD_APPS
10:04:25 TARGET_ARCH arm64
10:04:25 TARGET_ARCH_VARIANT armv8-a
10:04:25 TARGET_CPU_VARIANT kryo
10:04:25 TARGET_2ND_ARCH arm
10:04:25 TARGET_2ND_ARCH_VARIANT armv7-a-neon
10:04:25 TARGET_2ND_CPU_VARIANT kryo
10:04:25 HOST_ARCH x86_64
10:04:25 HOST_2ND_ARCH x86
10:04:25 HOST_OS linux
10:04:25 HOST_OS_EXTRA Linux-4.4.0-43-Microsoft-x86_64-with-Ubuntu-16.04-xenial
10:04:25 HOST_CROSS_OS windows
10:04:25 HOST_CROSS_ARCH x86
10:04:25 HOST_CROSS_2ND_ARCH x86_64
10:04:25 HOST_BUILD_TYPE release
10:04:25 BUILD_ID OPM1.171019.018
10:04:25 OUT_DIR /home/taxueliuyun/lineage/out
10:04:25 AUX_OS_VARIANT_LIST
10:04:25 TARGET_BUILD_PDK
10:04:25 PDK_FUSION_PLATFORM_ZIP
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=lineage_gemini
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=kryo
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-43-Microsoft-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM1.171019.018
OUT_DIR=/home/taxueliuyun/lineage/out
============================================
10:04:25 ./bootstrap.bash [./bootstrap.bash]
10:04:26 /home/taxueliuyun/lineage/out/soong/soong [/home/taxueliuyun/lineage/out/soong/soong -w dupbuild=err -v]
[1/1] /home/taxueliuyun/lineage/out/soong/.bootstrap/bin...ome/taxueliuyun/lineage/out/soong/.bootstrap/build.ninja
ninja: no work to do.
10:04:44 prebuilts/build-tools/linux-x86/bin/ckati [prebuilts/build-tools/linux-x86/bin/ckati --ninja --ninja_dir=/home/taxueliuyun/lineage/out --ninja_suffix=-lineage_gemini --regen --ignore_optional_include=/home/taxueliuyun/lineage/out/%.P --detect_android_echo --color_warnings --gen_all_targets --werror_find_emulator -f build/core/main.mk --use_find_emulator BUILDING_WITH_NINJA=true SOONG_ANDROID_MK=/home/taxueliuyun/lineage/out/soong/Android-lineage_gemini.mk SOONG_MAKEVARS_MK=/home/taxueliuyun/lineage/out/soong/make_vars-lineage_gemini.mk]
/home/taxueliuyun/lineage/out/build-lineage_gemini.ninja is missing, regenerating...
[134/1074] including ./device/xiaomi/msm8996-common/Android.mk ...
build/core/binary.mk:40: warning: camera.msm8996 uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libmmcamera_interface uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libmmjpeg_interface uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: ipacm uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libipanat uses deprecated kernel header dependency path.
[178/1074] including ./external/ebtables/Android.mk ...
build/core/binary.mk:40: warning: ebtables uses deprecated kernel header dependency path.
[218/1074] including ./external/json-c/Android.mk ...
build/core/binary.mk:40: warning: libjson uses deprecated kernel header dependency path.
[308/1074] including ./external/tinycompress/Android.mk ...
build/core/binary.mk:40: warning: libtinycompress_vendor uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libtinycompress uses deprecated kernel header dependency path.
[507/1074] including ./hardware/qcom/audio-caf/msm8996/Android.mk ...
build/core/binary.mk:40: warning: audio.primary.msm8996 uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxAacEnc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxAmrEnc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxEvrcEnc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxG711Enc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxQcelp13Enc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libqcompostprocbundle uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libvolumelistener uses deprecated kernel header dependency path.
[511/1074] including ./hardware/qcom/bt-caf/Android.mk ...
build/core/binary.mk:40: warning: libbt-vendor uses deprecated kernel header dependency path.
[520/1074] including ./hardware/qcom/display-caf/msm8996/Android.mk ...
build/core/binary.mk:40: warning: libqservice uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libqdutils uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libqdMetaData uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libqdMetaData.system uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libsdmcore uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: hdmi_cec.msm8996 uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libgpu_tonemapper uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libdrmutils uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: gralloc.msm8996 uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libgrallocutils uses deprecated kernel header dependency path.
[532/1074] including ./hardware/qcom/media-caf/msm8996/Android.mk ...
build/core/binary.mk:40: warning: libOmxVidcCommon uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxVdec uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libOmxVenc uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libc2dcolorconvert uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libhypv_intercept uses deprecated kernel header dependency path.
[536/1074] including ./hardware/qcom/wlan-caf/Android.mk ...
build/core/binary.mk:40: warning: libwifi-hal-qcom uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: libwifi-hal-qcom uses deprecated kernel header dependency path.
[729/1074] including ./system/qcom/softap/jni/Android.mk ...
build/core/binary.mk:40: warning: libQWiFiSoftApCfg uses deprecated kernel header dependency path.
[1055/1074] including ./vendor/qcom/opensource/cryptfs_hw/Android.mk ...
build/core/binary.mk:40: warning: libcryptfs_hw uses deprecated kernel header dependency path.
[1056/1074] including ./vendor/qcom/opensource/dataservices/Android.mk ...
build/core/binary.mk:40: warning: librmnetctl uses deprecated kernel header dependency path.
build/core/binary.mk:40: warning: sockev uses deprecated kernel header dependency path.
[1074/1074] including ./vendor/xiaomi/scorpio/Android.mk ...
waitpid failed: No child processes
10:18:17 ckati failed with: exit status 1

#### failed to build some targets (13:57 (mm:ss)) ####
Post Reply Subscribe to Thread

Tags
bashonwindows, lineageos, windows, wsl

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes