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
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)) ####
5th March 2018, 05:27 AM |#22  
Junior Member
Thanks Meter: 0
 
More
that means i can't build lineageos 15.1 for my device until it get updated in lineageOS repository...

is there any other way?
5th March 2018, 02:47 PM |#23  
Junior Member
Thanks Meter: 0
 
More
my device doesn't have lineage os 15.1 yet?
what can i do?
is there any other way??
5th March 2018, 03:18 PM |#24  
Uldiniad's Avatar
OP Senior Member
Thanks Meter: 233
 
Donate to Me
More
Quote:
Originally Posted by taxueliuyun

there is the output:
[email protected]:~/lineage$ make gemini showcommands

one of the issues is that you're not typing in the correct command. make gemini means nothing. the correct command to debug is:
Code:
breakfast gemini && make bacon showcommands
5th March 2018, 03:26 PM |#25  
Uldiniad's Avatar
OP Senior Member
Thanks Meter: 233
 
Donate to Me
More
Quote:
Originally Posted by [email protected]

what can i do?
is there any other way??

you can install unofficial builds from threads like this: https://forum.xda-developers.com/red...1#post75757671 (just need to google lineage os 15.1 kenzo)
you can check with the official maintainer for your device if he's working on getting lineage-15.1 branch going: https://wiki.lineageos.org/contributors.html
you can contribute code yourself to get the device up-to-date for oreo: https://wiki.lineageos.org/contributing.html
you can fork all required repos and make your own lineage-15.1 branch and make your personal builds
you might get some help from here: https://webchat.freenode.net/?channels=lineageos-dev
this is the status of your device on LineageOS official review repo: https://review.lineageos.org/#/q/kenzo
The Following 2 Users Say Thank You to Uldiniad For This Useful Post: [ View ] Gift Uldiniad Ad-Free
5th March 2018, 06:27 PM |#26  
Junior Member
Thanks Meter: 0
 
More
my device doesn't have lineage os 15.1 yet?
how can i build an unofficial build for myself.
no lineage os 15.1 branch for my device exist??
5th March 2018, 07:30 PM |#27  
Uldiniad's Avatar
OP Senior Member
Thanks Meter: 233
 
Donate to Me
More
Quote:
Originally Posted by [email protected]

how can i build an unofficial build for myself.
no lineage os 15.1 branch for my device exist??

as I said in my post above, unless you find (by searching on Google) someone else (most likely on GitHub) that has a lineage-15.1 branch for your device (because your official LineageOS maintainer has not uploaded one yet on the official repos) you won't be able to unless you make your own branch and update the code yourself. Some links that I posted should help you to get started. In modding communities you're generally on your own. Lots of learning if you want to make your own builds. I've been working at it for over two years now and am still a noob in many ways, but I've learned how to make some stuff for myself by researching a lot, and making lots of mistakes.
The Following 2 Users Say Thank You to Uldiniad For This Useful Post: [ View ] Gift Uldiniad Ad-Free
6th March 2018, 03:29 AM |#28  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by Uldiniad

one of the issues is that you're not typing in the correct command. make gemini means nothing. the correct command to debug is:

Code:
breakfast gemini && make bacon showcommands

Sorry, it's my mistake. I executed this command, the output is below:
[email protected]:~/lineage$ breakfast gemini && make bacon showcommands
including vendor/lineage/vendorsetup.sh
Looking for dependencies in device/xiaomi/gemini
Looking for dependencies in device/xiaomi/msm8996-common
Looking for dependencies in device/qcom/common
device/qcom/common has no additional dependencies.
Looking for dependencies in kernel/xiaomi/msm8996
kernel/xiaomi/msm8996 has no additional dependencies.
Looking for dependencies in packages/resources/devicesettings
packages/resources/devicesettings has no additional dependencies.

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
LINEAGE_VERSION=15.1-20180306-UNOFFICIAL-gemini
TARGET_PRODUCT=lineage_gemini
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
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
AUX_OS_VARIANT_LIST=
============================================
10:07:10 Took 8417ms to start up.
10:07:10 Starting build with args: [bacon]
10:07:10 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=1520302022125950200 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 64492 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: ANDROID_EMULATOR_PREBUILTS=/home/taxueliuyun/lineage/prebuilts/android-emulator/linux-x86_64 SSH_CONNECTION=10.0.2.2 64492 10.0.2.15 2222 TARGET_GCC_VERSION=4.9 LESSOPEN=| /usr/bin/lesspipe %s BUILD_NUMBER=dd6674af45 PROMPT_COMMAND=echo -ne "\033]0;[arm64-lineage_gemini-userdebug] [email protected]: /home/taxueliuyun/lineage\007" 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:07:10 /usr/bin/make [make --no-print-directory -f build/core/config.mk dump-many-vars CALLED_FROM_SETUP=true BUILD_SYSTEM=build/core MAKECMDGOALS=bacon 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:07:10 /usr/lib/jvm/java-8-openjdk-amd64/bin/java [java -version]
10:07:11 /usr/lib/jvm/java-8-openjdk-amd64/bin/javac [javac -version]
10:07:13 NINJA_GOALS bacon
10:07:13 KATI_GOALS
10:07:13 TARGET_DEVICE gemini
10:07:13 TARGET_PRODUCT lineage_gemini
10:07:13 TARGET_BUILD_VARIANT userdebug
10:07:13 TARGET_BUILD_APPS
10:07:13 CC_WRAPPER
10:07:13 CXX_WRAPPER
10:07:13 JAVAC_WRAPPER
10:07:13 CCACHE_COMPILERCHECK
10:07:13 CCACHE_SLOPPINESS
10:07:13 CCACHE_BASEDIR
10:07:13 CCACHE_CPP2
10:07:13 PLATFORM_VERSION_CODENAME REL
10:07:13 PLATFORM_VERSION 8.1.0
10:07:13 TARGET_PRODUCT lineage_gemini
10:07:13 TARGET_BUILD_VARIANT userdebug
10:07:13 TARGET_BUILD_TYPE release
10:07:13 TARGET_BUILD_APPS
10:07:13 TARGET_ARCH arm64
10:07:13 TARGET_ARCH_VARIANT armv8-a
10:07:13 TARGET_CPU_VARIANT kryo
10:07:13 TARGET_2ND_ARCH arm
10:07:13 TARGET_2ND_ARCH_VARIANT armv7-a-neon
10:07:13 TARGET_2ND_CPU_VARIANT kryo
10:07:13 HOST_ARCH x86_64
10:07:13 HOST_2ND_ARCH x86
10:07:13 HOST_OS linux
10:07:13 HOST_OS_EXTRA Linux-4.4.0-43-Microsoft-x86_64-with-Ubuntu-16.04-xenial
10:07:13 HOST_CROSS_OS windows
10:07:13 HOST_CROSS_ARCH x86
10:07:13 HOST_CROSS_2ND_ARCH x86_64
10:07:13 HOST_BUILD_TYPE release
10:07:13 BUILD_ID OPM1.171019.018
10:07:13 OUT_DIR /home/taxueliuyun/lineage/out
10:07:13 AUX_OS_VARIANT_LIST
10:07:13 TARGET_BUILD_PDK
10:07:13 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:07:13 ./bootstrap.bash [./bootstrap.bash]
10:07:14 /home/taxueliuyun/lineage/out/soong/soong [/home/taxueliuyun/lineage/out/soong/soong -w dupbuild=err -v]
[44/44] bootstrap /home/taxueliuyun/lineage/out/soong/.minibootstrap/build.ninja.in
[4/4] /home/taxueliuyun/lineage/out/soong/.bootstrap/bin...ome/taxueliuyun/lineage/out/soong/.bootstrap/build.ninja
[867/868] glob vendor/qcom/opensource/interfaces/wifi/supplicant/1.0/Android.bp
[56/56] /home/taxueliuyun/lineage/out/soong/.bootstrap/b...ng_build /home/taxueliuyun/lineage/out/soong/build.ninja
10:11:56 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:24:38 ckati failed with: exit status 1

#### failed to build some targets (17:39 (mm:ss)) ####
6th March 2018, 04:37 PM |#29  
Uldiniad's Avatar
OP Senior Member
Thanks Meter: 233
 
Donate to Me
More
Quote:
Originally Posted by taxueliuyun

Sorry, it's my mistake. I executed this command, the output is below:
[email protected]:~/lineage$ breakfast gemini && make bacon showcommands
[...]
waitpid failed: No child processes
10:24:38 ckati failed with: exit status 1

#### failed to build some targets (17:39 (mm:ss)) ####

I've never seen this kind of error. seems like it is waiting for the next set of instructions but for some reason there is none. Google will be the most helpful in this case. Or maybe some people on the official LineageOS IRC chat.
If you're certain that your build environment on wsl is the same as your ubuntu/mac environment (with the exceptions/additions in my OP) and you know for a fact that the builds for your device on branch lineage-15.1 run fine on those environments then I am lost.
WSL is slower than native ubuntu on I/O but running it trough VM might be slowing it to death. That's the only reason I could see that it would fail on wsl on VM but that it would succeed on native mac/ubuntu. You could always go to wsl github and post an issue for your current situation (they'll ask you for a strace), but if the issue is too localized they probably won't help.
7th March 2018, 07:01 PM |#30  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by Uldiniad

I've never seen this kind of error. seems like it is waiting for the next set of instructions but for some reason there is none. Google will be the most helpful in this case. Or maybe some people on the official LineageOS IRC chat.
If you're certain that your build environment on wsl is the same as your ubuntu/mac environment (with the exceptions/additions in my OP) and you know for a fact that the builds for your device on branch lineage-15.1 run fine on those environments then I am lost.
WSL is slower than native ubuntu on I/O but running it trough VM might be slowing it to death. That's the only reason I could see that it would fail on wsl on VM but that it would succeed on native mac/ubuntu. You could always go to wsl github and post an issue for your current situation (they'll ask you for a strace), but if the issue is too localized they probably won't help.

"WSL is slower than native ubuntu on I/O but running it trough VM might be slowing it to death" this sentence gave me help. I allocated 2G memory and 1 cpu to Windows 10 in virtualbox. So I changed the configuration: 8G memory and 4 cpu. After this, I build the code, the error has gone. The ninja files generated finished, source code begin compile. However, compile speed, really slow.
Finally, thank you very much for your help.
The Following User Says Thank You to taxueliuyun For This Useful Post: [ View ] Gift taxueliuyun Ad-Free
7th March 2018, 07:21 PM |#31  
Uldiniad's Avatar
OP Senior Member
Thanks Meter: 233
 
Donate to Me
More
Quote:
Originally Posted by taxueliuyun

"WSL is slower than native ubuntu on I/O but running it trough VM might be slowing it to death" this sentence gave me help. I allocated 2G memory and 1 cpu to Windows 10 in virtualbox. So I changed the configuration: 8G memory and 4 cpu. After this, I build the code, the error has gone. The ninja files generated finished, source code begin compile. However, compile speed, really slow.
Finally, thank you very much for your help.

Glad I was able to help. There's a reason why I put 16GB RAM as the first thing in my OP
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