[Galaxy Note 10.1 Android Development] Netzheimer:
Hi. I am trying to build a new version of lineage 14.1 for my Samsung Galaxy Note 10.1. But every time I run time brunch n8013 I get the following errors:

'libwifi-hal-mock_intermediates' + 'MODULE.TARGET.SHARED_LIBRARIES.consumerir.exynos4 already defined by device'

andi@andi-ubuntu:~/android/system$ time brunch n8013including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20180219-UNOFFICIAL-n8013
TARGET_PRODUCT=lineage_n8013
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-32-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/andi/android/system/out
WITH_SU=true
============================================
make: Entering directory '/home/andi/android/system'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20180219-UNOFFICIAL-n8013
TARGET_PRODUCT=lineage_n8013
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-32-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/andi/android/system/out
WITH_SU=true
============================================
Running kati to generate build-lineage_n8013.ninja...
/home/andi/android/system/out/build-lineage_n8013.ninja is missing, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20180219-UNOFFICIAL-n8013
TARGET_PRODUCT=lineage_n8013
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.13.0-32-generic-x86_64-with-Ubuntu-17.10-artful
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/andi/android/system/out
WITH_SU=true
============================================
find: ‘/home/andi/android/system/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/base_rules.mk:183: *** hardware/samsung/consumerir: MODULE.TARGET.SHARED_LIBRARIES.consumerir.exynos4 already defined by device/samsung/n80xx-common/consumerir.
build/core/ninja.mk:166: recipe for target '/home/andi/android/system/out/build-lineage_n8013.ninja' failed
make: *** [/home/andi/android/system/out/build-lineage_n8013.ninja] Error 1
make: Leaving directory '/home/andi/android/system'

#### make failed to build some targets (01:52 (mm:ss)) ####

real	1m54,949s
user	0m9,082s
sys	0m3,863s

I already tried a lot suggestions from this thread. But nothing helped so far.

Cant find libaudiopolicyservice from linageos github. A user told to clone this into the directory

with './prebuilts/sdk/tools/jack-admin start-server' I get the error 'Jack server installation not found"

I dont have the line ' custom_audio_policy' in any boardconfig.mk. So I cant disable it as suggested from neonkat

I would really love to build a new version of lineageos for n8013. Please help me [MENTION=4594564]lirokoa[/MENTION]