[Galaxy Tab S Android Development] frispete:
Doing a local build

[Sorry for the long post, but I'm not allowed to post external links for the time being :(]

Hi thompathy && world,

first of all, thank you very much for all your work on these devices, much appreciated here!

I tried to do a local build of current lineageos with this device, but stuck in brunch klimtlte.

After doing a couple of supported lineage builds, that needed gist.github.com/fourkbomb/261ced58cd029c5f7742350aafdd9825 to succeed, I tried to logically apply web.archive.org/web/20161224192644/https://wiki.cyanogenmod.org/w/Doc:_porting_intro in order to get somewhere.

Here's, what I did: (gist.github.com/frispete/dd384089303883c64f94fc15f1288188)

fetched blobs:

git clone https://github.com/exynos5420/proprietary_vendor_samsung.git

symlinked blobs into vendor/samsung:

$> cd vendor/samsung
$> ln -s ../../../exynos5420/proprietary_vendor_samsung/klimtlte
$> ln -s ../../../exynos5420/proprietary_vendor_samsung/klimt-common
$> ln -s ../../../exynos5420/proprietary_vendor_samsung/tabs-common
$> croot

breakfast still failed

$> breakfast klimtlte
including vendor/cm/vendorsetup.sh
Looking for dependencies in device/samsung/klimtlte
Dependencies file not found, bailing out.
[...]

add missing deps:

$> cp device/samsung/n1awifi/lineage.dependencies device/samsung/klimtlte

breakfast succeeds:

$> breakfast klimtlte
including vendor/cm/vendorsetup.sh
Looking for dependencies in device/samsung/klimtlte
Looking for dependencies in device/samsung/exynos5420-common

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20180118-UNOFFICIAL-klimtlte
TARGET_PRODUCT=lineage_klimtlte
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
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.14.13-4-default-x86_64-with-SuSE-13.2-x86_64
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/data/android/lineage/out
============================================

brunch fails:

$> brunch klimtlte
including vendor/cm/vendorsetup.sh
Looking for dependencies in device/samsung/klimtlte
Looking for dependencies in device/samsung/exynos5420-common
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20180118-UNOFFICIAL-klimtlte
TARGET_PRODUCT=lineage_klimtlte
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
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.14.13-4-default-x86_64-with-SuSE-13.2-x86_64
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/data/android/lineage/out
============================================

make: Entering directory '/data/android/lineage'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20180118-UNOFFICIAL-klimtlte
TARGET_PRODUCT=lineage_klimtlte
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
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.14.13-4-default-x86_64-with-SuSE-13.2-x86_64
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/data/android/lineage/out
============================================
which: no ninja in (/usr/lib64/jvm/java-1.8.0/bin:/data/android/lineage/out/host/linux-x86/bin:/data/android/lineage/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/data/android/lineage/prebuilts/gcc/linux-x86/:/data/android/lineage/development/scripts:/data/android/lineage/prebuilts/devtools/tools:/data/android/lineage/external/selinux/prebuilts/bin:/data/android/lineage/prebuilts/android-emulator/linux-x86_64:/home/hp/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/opt/kde3/bin:/opt/cross/bin:/usr/lib/qt3/bin:/opt/google/android-studio/bin:/opt/google/android-studio/bin)
Running kati to generate build-lineage_klimtlte.ninja...
/data/android/lineage/out/build-lineage_klimtlte.ninja is missing, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20180118-UNOFFICIAL-klimtlte
TARGET_PRODUCT=lineage_klimtlte
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
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.14.13-4-default-x86_64-with-SuSE-13.2-x86_64
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/data/android/lineage/out
============================================
frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
find: ‘/data/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: Datei oder Verzeichnis nicht gefunden
build/core/base_rules.mk:183: *** hardware/samsung/audio: MODULE.TARGET.SHARED_LIBRARIES.audio.primary.universal5420 already defined by device/samsung/exynos5420-common/hal/audio.
build/core/ninja.mk:166: recipe for target '/data/android/lineage/out/build-lineage_klimtlte.ninja' failed
make: *** [/data/android/lineage/out/build-lineage_klimtlte.ninja] Error 1
make: Leaving directory '/data/android/lineage'

#### make failed to build some targets (15 seconds) ####

Any idea, what's wrong here?