Skip to content

Instantly share code, notes, and snippets.

@ThEMarD
Created January 15, 2026 21:03
Show Gist options
  • Select an option

  • Save ThEMarD/4bf88a23f19732f0dace89e6bf376b5e to your computer and use it in GitHub Desktop.

Select an option

Save ThEMarD/4bf88a23f19732f0dace89e6bf376b5e to your computer and use it in GitHub Desktop.
lineage-23.2 rtwo build error
FAILED: out/soong/build.lineage_rtwo.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_rtwo.variables -o out/soong/build.lineage_rtwo.ninja --kati_suffix -lineage_rtwo --kati_enabled -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.lineage_rtwo.build Android.bp
internal error: Device makefile includes redundant artifact path requirement allowed list entries in build/make/target/product/generic_ramdisk.mk.
If the modules are defined in Android.mk, They might be missing from the verification. Define the modules in Android.bp instead.
Otherwise, remove the redundant allowed entries.
Offending entries:
system/%/libfuse-lite.so
system/%/libntfs-3g.so
system/%/libzstd.so
system/addon.d/50-lineage.sh
system/bin/backuptool_ab.functions
system/bin/backuptool_ab.sh
system/bin/backuptool_postinstall.sh
system/bin/curl
system/bin/fsck.ntfs
system/bin/getcap
system/bin/mkfs.ntfs
system/bin/mount.ntfs
system/bin/procmem
system/bin/setcap
system/etc/textclassifier/actions_suggestions.universal.model
system/etc/textclassifier/lang_id.model
system/etc/textclassifier/textclassifier.en.model
system/etc/textclassifier/textclassifier.universal.model
system/framework/oat/%/org.lineageos.platform.odex
system/framework/oat/%/org.lineageos.platform.vdex
system/framework/org.lineageos.platform-res.apk
system/framework/org.lineageos.platform.jar
08:05:24 soong bootstrap failed with: exit status 1
ninja: build stopped: subcommand failed.
#### failed to build some targets (11:35 (mm:ss)) ####
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment