Enchilada build

Hi,

could someone help me with the errot building the e/os for enchilada?

ls
ccache  logs  setup.sh  src  zips

sudo docker run -v "/data/pethod/eos/src:/srv/src" -v "/data/pethod/eos/zips:/srv/zips" -v "/data/pethod/eos/logs:/srv/logs" -v "/data/pethod/eos/ccache:/srv/ccache" -e "BRANCH_NAME=a14" -e "DEVICE_LIST=enchilada" -e "INCLUDE_PROPRIETARY=true" -e "REPO=https://gitlab.e.foundation/e/os/releases.git" registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community
Set cache size limit to 50.0 GB
>> [Sat Aug  2 18:06:16 UTC 2025] Branch:  a14
>> [Sat Aug  2 18:06:16 UTC 2025] Devices: enchilada,
>> [Sat Aug  2 18:06:17 UTC 2025] (Re)initializing branch repository
>> [Sat Aug  2 18:06:17 UTC 2025] Running: yes | repo init -u "https://gitlab.e.foundation/e/os/releases.git" -b "a14"
>> [Sat Aug  2 18:06:17 UTC 2025] Copying '/srv/local_manifests/*.xml' to '.repo/local_manifests/'
>> [Sat Aug  2 18:06:18 UTC 2025] Syncing branch repository
>> [Sat Aug  2 18:07:05 UTC 2025] Setting "UNOFFICIAL" as release type
>> [Sat Aug  2 18:07:05 UTC 2025] Adding OTA URL overlay (for custom URL )
>> [Sat Aug  2 18:07:05 UTC 2025] Preparing build environment
>> [Sat Aug  2 18:07:05 UTC 2025] Starting build for enchilada, a14 branch
>> [Sat Aug  2 18:07:05 UTC 2025] ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G
>> [Sat Aug  2 18:07:05 UTC 2025] Switch to Python2
18:07:19 Build sandboxing disabled due to nsjail error.
Running product configuration...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=14
LINEAGE_VERSION=3.1""-a14-20250802-UNOFFICIAL-enchilada
PRODUCT_INCLUDE_TAGS=com.android.mainline mainline_module_prebuilt_nightly
TARGET_PRODUCT=lineage_enchilada
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.12.40-x86_64-Ubuntu-20.04.6-LTS
HOST_CROSS_OS=windows
BUILD_ID=AP2A.240905.003
OUT_DIR=out
WITH_SU=false
PRODUCT_SOONG_NAMESPACES=device/oneplus/enchilada vendor/oneplus/sdm845-common device/oneplus/sdm845-common hardware/oneplus vendor/qcom/opensource/usb/etc vendor/oneplus/enchilada hardware/qcom-caf/sdm845 vendor/qcom/opensource/commonsys/display vendor/qcom/opensource/commonsys-intf/display vendor/qcom/opensource/display vendor/qcom/opensource/data-ipa-cfg-mgr-legacy-um vendor/qcom/opensource/dataservices hardware/qcom-caf/wlan packages/apps/FMRadio/jni/fmr
============================================
[  0% 1/1167] regenerate globs shard 0 of 1024
...
[ 99% 1165/1167] link out/host/linux-x86/bin/go/soong_build/obj/a.out
[ 99% 1166/1167] cp out/host/linux-x86/bin/soong_build
[100% 1167/1167] analyzing Android.bp files and generating ninja file at out/soong/build.lineage_enchilada.ninja
FAILED: out/soong/build.lineage_enchilada.ninja
cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i  "$BUILDER"     --top "$TOP"     --soong_out "out/soong"     --out "out"     --soong_variables out/soong/soong.lineage_enchilada.variables -o out/soong/build.lineage_enchilada.ninja --globListDir lineage_enchilada --globFile out/soong/globs-lineage_enchilada.ninja -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.lineage_enchilada.build Android.bp
error: vendor/xiaomi/lmi/Android.bp:5:1: module "soong_namespace": namespace hardware/xiaomi does not exist; Some necessary modules may have been skipped by Soong. Check if PRODUCT_SOURCE_ROOT_DIRS is pruning necessary Android.bp files.
fatal errors encountered
ninja: build stopped: subcommand failed.
18:07:29 soong bootstrap failed with: exit status 1

#### failed to build some targets (10 seconds) ####
>> [Sat Aug  2 18:07:29 UTC 2025] Starting signing target-files-package
find: '/srv/src/A14/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/': No such file or directory
>> [Sat Aug  2 18:07:29 UTC 2025] Unable to find lineage_-target_files-20250802.zip
>> [Sat Aug  2 18:07:29 UTC 2025] Finishing build for enchilada
>> [Sat Aug  2 18:07:29 UTC 2025] Cleaning source dir for device enchilada
>> [Sat Aug  2 18:07:30 UTC 2025] Switch back to Python3

Not sure how to solve the error in the build

hm, how does the onplus enchilada build end up in xiaomi hardware? I know there’s two sdm845 commonized repos for oneplus and xiaomi, I can’t find a cross dependency.

Did you hand-edit a roomservice.xml ?

Can you grab the out/soong/build.lineage_enchilada.ninja file and post it to a pastebin?

I switched to v1-t which solved the issue and the build completes.

Can download again the a14 but need to free some space first.

But it happens also if I select blueline then it errors out on some lg stuff.

1 Like

Edit: I describe an obvious community docker image issue - but it should be unrelated to soong. Somehow the device repo aren’t supplied?

as for a14+ → the community docker image still switches to python2 when it shouldn’t. py3 is possible since A12. The community image doesn’t use the build.sh script from src/build.sh as production.

Imo this needs merging -don't switch to python 2 on community (!83) · Merge requests · e / os / docker-lineage-cicd · GitLab

I’d remove the py2 switch from the script and commit the image as new tag. Or fully build the Dockerfile.community after having made the change

This topic was automatically closed after 90 days. New replies are no longer allowed.