[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mondara:
I'm currently trying to build the ROM by myself for vs995 with the LineageOS for microG tooling (URL: github + lineageos4microg/docker-lineage-cicd (I'm not yet allowed to post URLs)). It mainly uses the normal LineageOS repos with a user defined branch. I took the lineage-16.0 branch. Is it correct, that I then use the same sources like used for this image?

The point is, that I the build currently does not work (with other devices, yes, but not for vs995). Relevant log output should be:

>> [Di 24. Sep 16:32:03 CEST 2019] Starting build for vs995, lineage-16.0 branch
including vendor/lineage/vendorsetup.sh
build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_vs995".
16:32:04 dumpvars failed with: exit status 1
Fetching project LineageOS/android_device_lge_vs995
Checking out project LineageOS/android_device_lge_vs995
Fetching project LineageOS/android_device_lge_v20-common
Checking out project LineageOS/android_device_lge_v20-common
Fetching project LineageOS/android_device_lge_msm8996-common
Checking out project LineageOS/android_device_lge_msm8996-common
Checke Dateien aus: 100% (54937/54937), Fertig.
Fetching project LineageOS/android_kernel_lge_msm8996
Fetching project LineageOS/android_device_lge_common
Checking out project LineageOS/android_device_lge_common
Checking out project LineageOS/android_kernel_lge_msm8996
Device vs995 not found. Attempting to retrieve device repository from LineageOS Github (URL to github.com/LineageOS).
Found repository: android_device_lge_vs995
Default revision: lineage-16.0
Checking branch info
Checking if device/lge/vs995 is fetched from android_device_lge_vs995
Adding dependency: LineageOS/android_device_lge_vs995 -> device/lge/vs995
Using default branch for android_device_lge_vs995
Syncing repository to retrieve project.
Repository synced!
Looking for dependencies in device/lge/vs995
Adding dependencies to manifest
Checking if device/lge/v20-common is fetched from android_device_lge_v20-common
Adding dependency: LineageOS/android_device_lge_v20-common -> device/lge/v20-common
Using default branch for android_device_lge_v20-common
Syncing dependencies
Looking for dependencies in device/lge/v20-common
Adding dependencies to manifest
Checking if device/lge/msm8996-common is fetched from android_device_lge_msm8996-common
Adding dependency: LineageOS/android_device_lge_msm8996-common -> device/lge/msm8996-common
Using default branch for android_device_lge_msm8996-common
Syncing dependencies
Looking for dependencies in device/lge/msm8996-common
Adding dependencies to manifest
Checking if device/lge/common is fetched from android_device_lge_common
Adding dependency: LineageOS/android_device_lge_common -> device/lge/common
Using default branch for android_device_lge_common
Checking if kernel/lge/msm8996 is fetched from android_kernel_lge_msm8996
Adding dependency: LineageOS/android_kernel_lge_msm8996 -> kernel/lge/msm8996
Using default branch for android_kernel_lge_msm8996
Syncing dependencies
Looking for dependencies in device/lge/common
device/lge/common has no additional dependencies.
Looking for dependencies in kernel/lge/msm8996
kernel/lge/msm8996 has no additional dependencies.
Done

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
LINEAGE_VERSION=16.0-20190924-UNOFFICIAL-vs995
TARGET_PRODUCT=lineage_vs995
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=kryo
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.19.0-6-amd64-x86_64-Debian-GNU/Linux-10-(buster)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ3A.190801.002
OUT_DIR=/media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8996 hardware/qcom/display-caf/msm8996 hardware/qcom/media-caf/msm8996
WITH_SU=true
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
LINEAGE_VERSION=16.0-20190924-UNOFFICIAL-vs995
TARGET_PRODUCT=lineage_vs995
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=kryo
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.19.0-6-amd64-x86_64-Debian-GNU/Linux-10-(buster)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ3A.190801.002
OUT_DIR=/media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8996 hardware/qcom/display-caf/msm8996 hardware/qcom/media-caf/msm8996
WITH_SU=true
============================================
[1/1] /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/soong/.minibootstrap/minibp /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/soong/.bootstrap/build.ninja
[1/1] /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/soong/.bootstrap/bin/soong_build /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/soong/build.ninja
/media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/build-lineage_vs995-cleanspec.ninja is missing, regenerating...
/media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/build-lineage_vs995.ninja is missing, regenerating...
[1/1354] including /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/soong/Android-lineage_vs995.mk ...
[2/1354] including art/Android.mk ...
[3/1354] including bionic/Android.mk ...
[4/1354] including bootable/recovery/Android.mk ...
[5/1354] including build/make/Android.mk ...
[6/1354] including cts/Android.mk ...
[7/1354] including dalvik/Android.mk ...
[8/1354] including development/apps/BluetoothDebug/Android.mk ...
[9/1354] including development/apps/BuildWidget/Android.mk ...
[10/1354] including development/apps/CustomLocale/Android.mk ...
[11/1354] including development/apps/Development/Android.mk ...

...

[1351/1354] including vendor/yu/tomato/Android.mk ...
[1352/1354] including vendor/zuk/ham/Android.mk ...
[1353/1354] including vendor/zuk/msm8996-common/Android.mk ...
[1354/1354] including vendor/zuk/z2_plus/Android.mk ...
build/make/core/Makefile:28: warning: overriding commands for target `/media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/system/vendor/etc/gps.conf'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/system/vendor/etc/gps.conf'
[ 2% 1/48] glob kernel/lge/msm8996/Makefile
[ 4% 2/48] glob prebuilts/abi-dumps/ndk/28/64/arm64_armv8-a/source-based/libGLESv3.so.lsdump.gz
[ 6% 3/48] glob prebuilts/abi-dumps/ndk/28/64/arm64_armv8-a/source-based/libRS.so.lsdump.gz
[ 8% 4/48] glob prebuilts/abi-dumps/ndk/28/64/arm64_armv8-a/source-based/libEGL.so.lsdump.gz
[ 10% 5/48] glob device/lge/vs995/overlay/**/*
[ 12% 6/48] glob prebuilts/abi-dumps/ndk/28/64/arm64_armv8-a/source-based/libandroid_net.so.lsdump.gz
[ 14% 7/48] glob prebuilts/abi-dumps/ndk/28/64/arm64_armv8-a/source-based/libc.so.lsdump.gz
[ 16% 8/48] glob frameworks/base/services/core/java/**/*.java
[ 18% 9/48] glob device/lge/v20-common/overlay-lineage/**/*
[ 20% 10/48] glob device/lge/msm8996-common/overlay-lineage/**/*
[ 22% 11/48] glob device/lge/msm8996-common/overlay/**/*
[ 25% 12/48] glob kernel/lge/msm8996/arch/arm64/include/**/*
[ 27% 13/48] glob prebuilts/abi-dumps/ndk/28/64/arm64_armv8-a/source-based/libGLESv2.so.lsdump.gz
[ 29% 14/48] glob prebuilts/abi-dumps/ndk/28/64/arm64_armv8-a/source-based/libm.so.lsdump.gz
[ 31% 15/48] glob prebuilts/abi-dumps/ndk/28/64/arm64_armv8-a/source-based/libneuralnetworks.so.lsdump.gz
[ 33% 16/48] glob kernel/lge/msm8996/include/**/*
[ 35% 17/48] glob prebuilts/abi-dumps/ndk/28/64/arm64_armv8-a/source-based/libsync.so.lsdump.gz
[ 37% 18/48] glob prebuilts/abi-dumps/ndk/28/64/arm64_armv8-a/source-based/libvndksupport.so.lsdump.gz
[ 39% 19/48] glob prebuilts/abi-dumps/ndk/28/64/arm64_armv8-a/source-based/libvulkan.so.lsdump.gz
[ 41% 20/48] glob prebuilts/abi-dumps/ndk/28/64/arm_armv8-a/source-based/libEGL.so.lsdump.gz
[ 43% 21/48] glob prebuilts/abi-dumps/ndk/28/64/arm_armv8-a/source-based/libGLESv2.so.lsdump.gz
[ 45% 22/48] glob prebuilts/abi-dumps/ndk/28/64/arm_armv8-a/source-based/libandroid_net.so.lsdump.gz
[ 47% 23/48] glob prebuilts/abi-dumps/ndk/28/64/arm_armv8-a/source-based/libGLESv3.so.lsdump.gz
[ 50% 24/48] glob prebuilts/abi-dumps/ndk/28/64/arm_armv8-a/source-based/libRS.so.lsdump.gz
[ 52% 25/48] glob prebuilts/abi-dumps/ndk/28/64/arm_armv8-a/source-based/libc.so.lsdump.gz
[ 54% 26/48] glob prebuilts/abi-dumps/ndk/28/64/arm_armv8-a/source-based/libnativewindow.so.lsdump.gz
[ 56% 27/48] glob prebuilts/abi-dumps/ndk/28/64/arm_armv8-a/source-based/libdl.so.lsdump.gz
[ 58% 28/48] glob prebuilts/abi-dumps/ndk/28/64/arm_armv8-a/source-based/liblog.so.lsdump.gz
[ 60% 29/48] glob prebuilts/abi-dumps/ndk/28/64/arm_armv8-a/source-based/libm.so.lsdump.gz
[ 62% 30/48] glob prebuilts/abi-dumps/ndk/28/64/arm_armv8-a/source-based/libmediandk.so.lsdump.gz
[ 64% 31/48] glob prebuilts/abi-dumps/ndk/28/64/arm_armv8-a/source-based/libneuralnetworks.so.lsdump.gz
[ 66% 32/48] glob prebuilts/abi-dumps/ndk/28/64/arm_armv8-a/source-based/libsync.so.lsdump.gz
[ 68% 33/48] glob vendor/lineage/overlay/microg/**/*
[ 70% 34/48] glob prebuilts/abi-dumps/ndk/28/64/arm_armv8-a/source-based/libvndksupport.so.lsdump.gz
[ 72% 35/48] glob prebuilts/abi-dumps/ndk/28/64/arm_armv8-a/source-based/libvulkan.so.lsdump.gz
[ 75% 36/48] glob frameworks/base/core/res/res/**/*
[ 77% 37/48] glob prebuilts/abi-dumps/ndk/28/64/arm64_armv8-a/source-based/libmediandk.so.lsdump.gz
[ 79% 38/48] glob device/lge/v20-common/overlay/**/*
[ 81% 39/48] glob bionic/libc/arch-arm64/syscalls/**/*.S
[ 83% 40/48] glob prebuilts/abi-dumps/ndk/28/64/arm64_armv8-a/source-based/libdl.so.lsdump.gz
[ 85% 41/48] glob prebuilts/abi-dumps/ndk/28/64/arm64_armv8-a/source-based/libft2.so.lsdump.gz
[ 87% 42/48] glob prebuilts/abi-dumps/ndk/28/64/arm64_armv8-a/source-based/liblog.so.lsdump.gz
[ 89% 43/48] glob prebuilts/abi-dumps/ndk/28/64/arm64_armv8-a/source-based/libnativewindow.so.lsdump.gz
[ 91% 44/48] glob prebuilts/abi-dumps/ndk/28/64/arm_armv8-a/source-based/libGLESv1_CM.so.lsdump.gz
[ 93% 45/48] glob prebuilts/abi-dumps/ndk/28/64/arm_armv8-a/source-based/libft2.so.lsdump.gz
[ 95% 46/48] glob kernel/lge/msm8996/techpack/audio/include/**/*
[ 97% 47/48] glob prebuilts/abi-dumps/ndk/28/64/arm64_armv8-a/source-based/libGLESv1_CM.so.lsdump.gz
[ 0% 1/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/libjson/inc/arraylist.h
[ 0% 2/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/libjson/inc/linkhash.h
[ 0% 3/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/display_config.h
[ 0% 4/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/color_metadata.h
[ 0% 5/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/mm-audio/audio_defs.h
[ 0% 6/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/sdm/utils/factory.h
[ 0% 7/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/qd_utils.h
[ 0% 8/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/display_properties.h
[ 0% 9/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/sdm/core/buffer_sync_handler.h
[ 0% 10/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/qdMetaData.h
[ 0% 11/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/IQHDMIClient.h
[ 0% 12/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/IQClient.h
[ 0% 13/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/QServiceUtils.h
[ 0% 14/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/IQService.h
[ 0% 15/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/sdm/core/buffer_allocator.h
[ 0% 16/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/sdm/core/core_interface.h
[ 0% 17/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/sdm/utils/constants.h
[ 0% 18/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/sdm/utils/formats.h
[ 0% 19/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/sdm/utils/locker.h
[ 0% 20/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/sdm/utils/rect.h
[ 0% 21/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/sdm/utils/sys.h
[ 0% 22/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/sdm/utils/sync_task.h
[ 0% 23/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/sdm/core/debug_interface.h
[ 0% 24/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/sdm/core/sdm_types.h
[ 0% 25/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/sdm/core/display_interface.h
[ 0% 26/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/sdm/core/layer_buffer.h
[ 0% 27/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/qcom/display/sdm/core/layer_stack.h
[ 0% 28/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/libjson/inc/json.h
[ 0% 29/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/libjson/inc/json_config.h
[ 0% 30/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/libjson/inc/json_inttypes.h
[ 0% 31/58282] Header: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/include/libjson/inc/json_object.h

...

[ 1% 691/58282] build /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/ETC/vendor_mac_permissions.xml_intermediates/vendor_mac_permissions.xml
[ 1% 692/58282] Install: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/system/vendor/etc/selinux/vendor_mac_permissions.xml
[ 1% 693/58282] build /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts.tmp
[ 1% 694/58282] build /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows
FAILED: /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows
/bin/bash -c "(rm -f /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows ) && (ASAN_OPTIONS=detect_leaks=0 /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/host/linux-x86/bin/checkpolicy -M -c	30 -o /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/ETC/sepolicy_neverallows_intermediates/policy.conf )"
device/lge/msm8996-common/sepolicy/file.te:13:ERROR 'Duplicate declaration of type' at token ';' on line 75535:
type sysfs_spi, fs_type, sysfs_type;
type sensors_data_file, file_type, data_file_type;
checkpolicy: error(s) encountered while parsing configuration
/media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/ETC/sepolicy_neverallows_intermediates/policy.conf
[ 1% 695/58282] target C: toybox <= external/toybox/toys/android/log.c
[ 1% 696/58282] target C: toybox <= external/toybox/lib/portability.c
[ 1% 697/58282] target C: toybox <= external/toybox/toys/android/restorecon.c
[ 1% 698/58282] target C: toybox <= external/toybox/lib/dirtree.c
[ 1% 699/58282] target C: toybox <= external/toybox/lib/llist.c
[ 1% 700/58282] target C: toybox <= external/toybox/lib/args.c
[ 1% 701/58282] target C: toybox <= external/toybox/lib/getmountlist.c
[ 1% 702/58282] target C: toybox <= external/toybox/main.c
[ 1% 703/58282] target C: toybox <= external/toybox/lib/interestingtimes.c
[ 1% 704/58282] target C: toybox <= external/toybox/toys/android/getprop.c
[ 1% 705/58282] target C: toybox <= external/toybox/toys/android/runcon.c
[ 1% 706/58282] target C: toybox <= external/toybox/lib/xwrap.c
[ 1% 707/58282] target C: toybox <= external/toybox/toys/posix/pwd.c
[ 1% 708/58282] target C: toybox <= external/toybox/lib/help.c
[ 1% 709/58282] host Executable: sepolicy-analyze (/media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/host/linux-x86/obj/EXECUTABLES/sepolicy-analyze_intermediates/sepolicy-analyze)
[ 1% 710/58282] target C: toybox <= external/toybox/lib/lib.c
[ 1% 711/58282] target C: toybox <= external/toybox/lib/linestack.c
[ 1% 712/58282] target C: toybox <= external/toybox/lib/net.c
[ 1% 713/58282] target C: toybox <= external/toybox/toys/android/getenforce.c
[ 1% 714/58282] target C: toybox <= external/toybox/toys/android/load_policy.c
[ 1% 715/58282] host C++: fastboot <= system/core/fastboot/fastboot.cpp
[ 1% 716/58282] build /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/ETC/treble_sepolicy_tests_26.0_intermediates/26.0_plat_policy.conf
[ 1% 717/58282] build /media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/target/product/vs995/obj/ETC/treble_sepolicy_tests_27.0_intermediates/27.0_plat_policy.conf
[ 1% 718/58282] host Executable: adb (/media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb)
[ 1% 719/58282] host Executable: aapt (/media/data/android/lineageos4microg/build/srv/src/LINEAGE_16_0/out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt)
ninja: build stopped: subcommand failed.
16:35:07 ninja failed with: exit status 1

#### failed to build some targets (02:28 (mm:ss)) ####

>> [Di 24. Sep 16:35:07 CEST 2019] Failed build for vs995
>> [Di 24. Sep 16:35:07 CEST 2019] Finishing build for vs995
>> [Di 24. Sep 16:35:07 CEST 2019] Cleaning source dir for device vs995
16:35:15 Entire build directory removed.

The actual command producing this log (hidden in the build scripts) is

brunch vs995

It looks like an error with some selinux files. Do you have an idea, how to fix this?

Thank you for providing the image and for your work!