Hi all,
I was hoping I could get some guidance here as I have been struggling building for Pixel 2 walleye using the “docker procedure”. Something is telling me that it may have to do with this phone not being officially supported but I am not sure.
Having followed the How to Build the /e/ ROM? guide I set the docker variables, took a nap for the sources to download and ended up with an error that I am unable to figure out. Attached below is the output of my failed docker command and the final part from my build log. Would anyone care to assist?
Docker output:
$ sudo docker run \
-v "/run/media/prokel/9cdd7881-1a66-48b3-b598-f71137d12da4/E/src:/srv/src" \
-v "/run/media/prokel/9cdd7881-1a66-48b3-b598-f71137d12da4/E/zips:/srv/zips" \
-v "/run/media/prokel/9cdd7881-1a66-48b3-b598-f71137d12da4/E/logs:/srv/logs" \
-v "/run/media/prokel/9cdd7881-1a66-48b3-b598-f71137d12da4/E/ccache:/srv/ccache" \
-e "BRANCH_NAME=v0.14.1-q" \
-e "DEVICE_LIST=walleye" \
-e "OTA_URL=<ota-server-url>" \
-e "REPO=https://gitlab.e.foundation/e/os/releases.git" \
registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community
[sudo] password for prokel:
Set cache size limit to 50.0 GB
>> [Fri Feb 12 20:00:20 UTC 2021] Branch: v0.14.1-q
>> [Fri Feb 12 20:00:20 UTC 2021] Devices: walleye,
>> [Fri Feb 12 20:00:42 UTC 2021] (Re)initializing branch repository
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 32963 0 32963 0 0 9192 0 --:--:-- 0:00:03 --:--:-- 9189
[{"name":"v0.14.2-q","message":"","target":"8e6eefd1a9141e2b5f959c56640163eceaf4fe0e","commit":{"id":"8e6eefd1a9141e2b5f959c56640163eceaf4fe0e","short_id":"8e6eefd1","created_at":"2<STRIPPED MASSIVE JSON>
android_packages_apps_Email%2522+after:%25222020-09-26+02:20:00+%252B0200%2522+before:%25222020-10-24+02:21:00+%252B0200%2522) |\n\n### Device specific"},"protected":true}]
Branch name v0.14.1-q is a tag on e/os/releases, prefix with refs/tags/ for 'repo init'
>> [Fri Feb 12 20:00:54 UTC 2021] Copying '/srv/local_manifests/*.xml' to '.repo/local_manifests/'
>> [Fri Feb 12 20:01:01 UTC 2021] Syncing branch repository
>> [Fri Feb 12 20:07:23 UTC 2021] Setting "UNOFFICIAL" as release type
>> [Fri Feb 12 20:07:23 UTC 2021] Adding OTA URL overlay (for custom URL <ota-server-url>)
>> [Fri Feb 12 20:07:23 UTC 2021] Preparing build environment
>> [Fri Feb 12 20:07:31 UTC 2021] Starting build for walleye, v0.14.1-q branch
ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G
Switch to Python2
>> [Fri Feb 12 20:19:15 UTC 2021] Failed build for walleye
>> [Fri Feb 12 20:19:15 UTC 2021] Finishing build for walleye
>> [Fri Feb 12 20:19:15 UTC 2021] Cleaning source dir for device walleye
Switch back to Python3
$
Tail of build log file:
...
[ 97% 136/139] test android/soong/sysprop
[ 98% 137/139] test android/soong/apex
[ 99% 138/139] cp out/soong/.bootstrap/bin/soong_build
[100% 139/139] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
error: vendor/oneplus/avicii/Android.bp:78:1: module "vendor.qti.hardware.capabilityconfigstore@1.0" variant "android_arm64_armv8-a_cortex-a73_vendor_shared": module source path "vendor/oneplus/avicii/proprietary/vendor/lib64/vendor.qti.hardware.capabilityconfigstore@1.0.so" does not exist
error: vendor/oneplus/avicii/Android.bp:59:1: module "libthermalclient" variant "android_arm64_armv8-a_cortex-a73_vendor_shared": module source path "vendor/oneplus/avicii/proprietary/vendor/lib64/libthermalclient.so" does not exist
error: vendor/oneplus/avicii/Android.bp:40:1: module "libplatformconfig" variant "android_arm64_armv8-a_cortex-a73_vendor_shared": module source path "vendor/oneplus/avicii/proprietary/vendor/lib64/libplatformconfig.so" does not exist
20:19:14 soong bootstrap failed with: exit status 1
ninja: build stopped: subcommand failed.
#### failed to build some targets (03:43 (mm:ss)) ####
I am confused why the missing module “libplatformconfig” is searched for in the vendor/oneplus directory when building for google/walleye? Directory google/walleye does exist and is ~498 MB in size but does not contain this shared object. Sorry, I’m not very compile-savvy.
Thank you for any hints! D.