[email protected]:~/android/lineage# source build/envsetup.sh [email protected]:~/android/lineage# breakfast marlin [W][2019-11-18T13:46:28+0800][144] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-18T13:46:28+0800][144] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files Looking for dependencies in device/google/marlin Looking for dependencies in kernel/google/marlin kernel/google/marlin has no additional dependencies. [W][2019-11-18T13:46:29+0800][226] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-18T13:46:29+0800][226] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=10 LINEAGE_VERSION=17.0-20191118-UNOFFICIAL-marlin TARGET_PRODUCT=lineage_marlin 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=armv8-a TARGET_2ND_CPU_VARIANT=kryo HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-4.19.79-microsoft-standard-x86_64-Ubuntu-18.04.3-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=QP1A.191105.004 OUT_DIR=out PRODUCT_SOONG_NAMESPACES=device/google/marlin vendor/google/camera hardware/google/pixel ============================================ [email protected]:~/android/lineage# brunch marlin [W][2019-11-18T13:46:48+0800][329] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-18T13:46:48+0800][329] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files Looking for dependencies in device/google/marlin Looking for dependencies in kernel/google/marlin kernel/google/marlin has no additional dependencies. [W][2019-11-18T13:46:49+0800][411] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-18T13:46:49+0800][411] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=10 LINEAGE_VERSION=17.0-20191118-UNOFFICIAL-marlin TARGET_PRODUCT=lineage_marlin 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=armv8-a TARGET_2ND_CPU_VARIANT=kryo HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-4.19.79-microsoft-standard-x86_64-Ubuntu-18.04.3-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=QP1A.191105.004 OUT_DIR=out PRODUCT_SOONG_NAMESPACES=device/google/marlin vendor/google/camera hardware/google/pixel ============================================ [W][2019-11-18T13:46:53+0800][506] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-18T13:46:53+0800][506] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=10 LINEAGE_VERSION=17.0-20191118-UNOFFICIAL-marlin TARGET_PRODUCT=lineage_marlin 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=armv8-a TARGET_2ND_CPU_VARIANT=kryo HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-4.19.79-microsoft-standard-x86_64-Ubuntu-18.04.3-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=QP1A.191105.004 OUT_DIR=out PRODUCT_SOONG_NAMESPACES=device/google/marlin vendor/google/camera hardware/google/pixel ============================================ [W][2019-11-18T13:46:54+0800][600] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-18T13:46:54+0800][600] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files [100% 1/1] out/soong/.minibootstrap/minibp out/soong/.bootstrap/build.ninja FAILED: out/soong/.bootstrap/build.ninja out/soong/.minibootstrap/minibp -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/.bootstrap/build.ninja.d -globFile out/soong/.minibootstrap/build-globs.ninja -o out/soong/.bootstrap/build.ninja Android.bp error removing abandoned files: log entry has too few fields: "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" FAILED: [W][2019-11-18T13:46:54+0800][604] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-18T13:46:54+0800][604] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files 13:46:54 soong minibootstrap failed with: exit status 1 #### failed to build some targets (5 seconds) #### [email protected]:~/android/lineage#
[email protected]:~/android/lineage# source build/envsetup.sh [email protected]:~/android/lineage# breakfast marlin [W][2019-11-18T13:46:28+0800][144] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-18T13:46:28+0800][144] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files Looking for dependencies in device/google/marlin Looking for dependencies in kernel/google/marlin kernel/google/marlin has no additional dependencies. [W][2019-11-18T13:46:29+0800][226] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-18T13:46:29+0800][226] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=10 LINEAGE_VERSION=17.0-20191118-UNOFFICIAL-marlin TARGET_PRODUCT=lineage_marlin 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=armv8-a TARGET_2ND_CPU_VARIANT=kryo HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-4.19.79-microsoft-standard-x86_64-Ubuntu-18.04.3-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=QP1A.191105.004 OUT_DIR=out PRODUCT_SOONG_NAMESPACES=device/google/marlin vendor/google/camera hardware/google/pixel ============================================ [email protected]:~/android/lineage# brunch marlin [W][2019-11-18T13:46:48+0800][329] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-18T13:46:48+0800][329] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files Looking for dependencies in device/google/marlin Looking for dependencies in kernel/google/marlin kernel/google/marlin has no additional dependencies. [W][2019-11-18T13:46:49+0800][411] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-18T13:46:49+0800][411] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=10 LINEAGE_VERSION=17.0-20191118-UNOFFICIAL-marlin TARGET_PRODUCT=lineage_marlin 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=armv8-a TARGET_2ND_CPU_VARIANT=kryo HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-4.19.79-microsoft-standard-x86_64-Ubuntu-18.04.3-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=QP1A.191105.004 OUT_DIR=out PRODUCT_SOONG_NAMESPACES=device/google/marlin vendor/google/camera hardware/google/pixel ============================================ [W][2019-11-18T13:46:53+0800][506] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-18T13:46:53+0800][506] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=10 LINEAGE_VERSION=17.0-20191118-UNOFFICIAL-marlin TARGET_PRODUCT=lineage_marlin 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=armv8-a TARGET_2ND_CPU_VARIANT=kryo HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-4.19.79-microsoft-standard-x86_64-Ubuntu-18.04.3-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=QP1A.191105.004 OUT_DIR=out PRODUCT_SOONG_NAMESPACES=device/google/marlin vendor/google/camera hardware/google/pixel ============================================ [W][2019-11-18T13:46:54+0800][600] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-18T13:46:54+0800][600] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files [100% 1/1] out/soong/.minibootstrap/minibp out/soong/.bootstrap/build.ninja FAILED: out/soong/.bootstrap/build.ninja out/soong/.minibootstrap/minibp -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/.bootstrap/build.ninja.d -globFile out/soong/.minibootstrap/build-globs.ninja -o out/soong/.bootstrap/build.ninja Android.bp error removing abandoned files: log entry has too few fields: "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" FAILED: [W][2019-11-18T13:46:54+0800][604] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-18T13:46:54+0800][604] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files 13:46:54 soong minibootstrap failed with: exit status 1 #### failed to build some targets (5 seconds) #### [email protected]:~/android/lineage#
[email protected]:~/android/lineage# breakfast crosshatch [W][2019-11-26T17:13:59+0800][10370] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-26T17:13:59+0800][10370] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files build/make/core/product_config.mk:223: error: Can not locate config makefile for product "lineage_crosshatch". 17:13:59 dumpvars failed with: exit status 1 Device crosshatch not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS). Found repository: android_device_google_crosshatch Default revision: lineage-17.0 Checking branch info Checking if device/google/crosshatch is fetched from android_device_google_crosshatch Adding dependency: LineageOS/android_device_google_crosshatch -> device/google/crosshatch Using default branch for android_device_google_crosshatch Syncing repository to retrieve project. ... A new repo command ( 1.26) is available. ... You should upgrade soon: cp /root/android/lineage/.repo/repo/repo /root/bin/repo remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 remote: Enumerating objects: 1082, done. remote: Counting objects: 100% (1082/1082), done. ^Cerror: Cannot fetch LineageOS/android_device_google_crosshatch from https://github.com/LineageOS/android_device_google_crosshatch Fetching projects: 100% (1/1) LineageOS/android_device_google_crosshatchaborted by user Repository synced! Looking for dependencies in device/google/crosshatch device/google/crosshatch has no additional dependencies. Done [W][2019-11-26T17:14:14+0800][10460] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-26T17:14:14+0800][10460] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files build/make/core/product_config.mk:223: error: Can not locate config makefile for product "lineage_crosshatch". 17:14:14 dumpvars failed with: exit status 1 [W][2019-11-26T17:14:20+0800][10519] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-26T17:14:20+0800][10519] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files build/make/core/product_config.mk:223: error: Can not locate config makefile for product "lineage_crosshatch". 17:14:20 dumpvars failed with: exit status 1 ** Don't have a product spec for: 'lineage_crosshatch' ** Do you have the right repo manifest? [email protected]:~/android/lineage#
yes, it is. Win 10 -- v19030.1 fast ring. and not sure if build system need a custom device branch or something. So I did with crosshatch below, it seemed a lot worse. Or I missing something.
BTW, within my limited knowledge, it looked like the new build system binary runs with nsjail(docker like container env), but the wsl2 kernel does not support some nsjail(docker) feature. if this is true, then it likely missing CONFIG_USER_NS in kernel build. thus not able to do virtual root other than UID/EUID=0. it seemed nsjail --disable_clone_newcgroup can help a bit, but not sure. detail https://github.com/google/nsjail/issues/111
[email protected]:~/android/lineage# breakfast crosshatch [W][2019-11-26T17:13:59+0800][10370] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-26T17:13:59+0800][10370] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files build/make/core/product_config.mk:223: error: Can not locate config makefile for product "lineage_crosshatch". 17:13:59 dumpvars failed with: exit status 1 Device crosshatch not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS). Found repository: android_device_google_crosshatch Default revision: lineage-17.0 Checking branch info Checking if device/google/crosshatch is fetched from android_device_google_crosshatch Adding dependency: LineageOS/android_device_google_crosshatch -> device/google/crosshatch Using default branch for android_device_google_crosshatch Syncing repository to retrieve project. ... A new repo command ( 1.26) is available. ... You should upgrade soon: cp /root/android/lineage/.repo/repo/repo /root/bin/repo remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 remote: Enumerating objects: 1082, done. remote: Counting objects: 100% (1082/1082), done. ^Cerror: Cannot fetch LineageOS/android_device_google_crosshatch from https://github.com/LineageOS/android_device_google_crosshatch Fetching projects: 100% (1/1) LineageOS/android_device_google_crosshatchaborted by user Repository synced! Looking for dependencies in device/google/crosshatch device/google/crosshatch has no additional dependencies. Done [W][2019-11-26T17:14:14+0800][10460] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-26T17:14:14+0800][10460] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files build/make/core/product_config.mk:223: error: Can not locate config makefile for product "lineage_crosshatch". 17:14:14 dumpvars failed with: exit status 1 [W][2019-11-26T17:14:20+0800][10519] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files [W][2019-11-26T17:14:20+0800][10519] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files build/make/core/product_config.mk:223: error: Can not locate config makefile for product "lineage_crosshatch". 17:14:20 dumpvars failed with: exit status 1 ** Don't have a product spec for: 'lineage_crosshatch' ** Do you have the right repo manifest? [email protected]:~/android/lineage#
Tags |
bashonwindows, lineageos, windows, wsl |
Thread Tools | Search this Thread |
Display Modes | |
|