Docker build failing for Nougat devices, when building Dialer app
- /e/ version: Nougat
- Device model: sumire (supported), suzuran (unsupported)
- When it started to occur: Since June 2nd:
My last successful builds were [Tue Jun 2 19:23:05 UTC 2020] Starting build for surnia, v1-nougat branch [Tue Jun 2 18:34:26 UTC 2020 Starting build for suzuran, v1-nougat branch
-
Reproducible with the last /e/ version: I'm using the latest Docker community build
-
Reproducible with LineageOS: Not tried
Summary
Build gets to 87%. Fails building Dialer app with an assertion failure:
ERROR: /srv/src/NOUGAT/packages/apps/Dialer/src/com/android/dialer/about/Licenses.java:54: Assert cannot be resolved
Full error at https://pastebin.com/gt0KBiDC
The source line in question is
Assert.checkState(
delimiter > 0 && licenseLocation.length == 2,
"Invalid license meta-data line:\n" + entry);
This seems only to affect Nougat builds> I have successfully built a PI ROM (for a3xelte device) with no problems.
-
The device is unusable -
The bug is the source of a data loss or a big waste of time -
The bug concerns a third-party application -
The bug concerns security -
The bug concerns privacy
The problem
Steps to reproduce
Build with docker using the following command
docker run \
> -v "/srv/e/src:/srv/src" \
> -v "/srv/e/zips:/srv/zips" \
> -v "/srv/e/logs:/srv/logs" \
> -v "/srv/e/ccache:/srv/ccache" \
> -e "BRANCH_NAME=v1-nougat" \
> -e "DEVICE_LIST=sumire" \
> -e "REPO=https://gitlab.e.foundation/e/os/android.git" \
> registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community
What is the current behavior?
Build fails at 87% No zip file is produced
What is the expected correct behavior?
Build succeeds and zip file is produced
Technical informations
Build gets to 87%. Fails building Dialer app with an assertion failure:
ERROR: /srv/src/NOUGAT/packages/apps/Dialer/src/com/android/dialer/about/Licenses.java:54: Assert cannot be resolved
Full error at https://pastebin.com/gt0KBiDC
The source line in question is
Assert.checkState(
delimiter > 0 && licenseLocation.length == 2,
"Invalid license meta-data line:\n" + entry);
Solutions
Workaround
None - I cannot make the build work