Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Cannot build v1-r using /e/ Docker image

  • /e/ version: v1-r
  • Device model(s): tested with chiron (Xiaomi MiMIX2)
  • Device rooted: n/a

Summary

Trying to build v1-r for chiron using Docker method, failed.

The problem

Using a simple script, proved working for previous Q builds :

#!/bin/bash
docker pull registry.gitlab.e.foundation/e/os/docker-lineage-cicd:community
docker run \
-v "/srv/src:/srv/src" \
-v "/srv/zips:/srv/zips" \
-v "/srv/logs:/srv/logs" \
-v "/srv/ccache:/srv/ccache" \
-e "BRANCH_NAME=v1-r" \
-e "DEVICE_LIST=chiron" \
-e "REPO=https://gitlab.e.foundation/e/os/releases.git" \
-e "ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx20G" \
registry.gitlab.e.foundation/e/os/docker-lineage-cicd:community

What is the current behavior?

Build fails with error :

FAILED: ninja: out/soong/build.ninja:4947440: multiple rules generate out/soong/.intermediates/frameworks/base/core/res/framework-res/android_common/aapt2/vendor/lineage/overlay/microg/frameworks/base/core/res/res/values_config.arsc.flat [-w dupbuild=err]

What is the expected correct behavior?

Successful build.

Note : chiron was one of the /e/ R testing devices.

Technical informations

Please see attached files.

eelo-0.18-20210905-UNOFFICIAL-chiron.log repo-20210905.log

Solutions

Workaround

Didn't find any ...

Possible fixes

Please let me know ;)