[Galaxy Tab S Android Development] franzli:
Thanks, I'll set up a Ubuntu chroot and try again!

---------- Post added at 10:55 PM ---------- Previous post was at 10:13 PM ----------

Unfortunately, I still get a failed compile even with Ubuntu 14.04. Am I missing something obvious?

[STRIKE]============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
CM_VERSION=13.0-20160529-UNOFFICIAL-klimtwifi
TARGET_PRODUCT=cm_klimtwifi
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_OS=linux
HOST_OS_EXTRA=Linux-4.5.0-2-amd64-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=MOB30J
OUT_DIR=/home/georg/devel/Android/cm13.0/out
============================================
"ebtables is disabled on this build"
find: `dummy': No such file or directory
PRODUCT_COPY_FILES device/samsung/klimtwifi/configs/audio/audio_effects.conf:system/etc/audio_effects.conf ignored.
make: Entering directory `/home/georg/devel/Android/cm13.0'
build/core/Makefile:46: warning: overriding commands for target `/home/georg/devel/Android/cm13.0/out/target/product/klimtwifi/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/georg/devel/Android/cm13.0/out/target/product/klimtwifi/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:46: warning: overriding commands for target `/home/georg/devel/Android/cm13.0/out/target/product/klimtwifi/system/lib/libGLES_trace.so'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/georg/devel/Android/cm13.0/out/target/product/klimtwifi/system/lib/libGLES_trace.so'
build/core/Makefile:46: warning: overriding commands for target `/home/georg/devel/Android/cm13.0/out/target/product/klimtwifi/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:559: warning: ignoring old commands for target `/home/georg/devel/Android/cm13.0/out/target/product/klimtwifi/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
PRODUCT_COPY_FILES vendor/samsung/klimtwifi/proprietary/vendor/lib/mediadrm/libwvdrmengine.so:system/vendor/lib/mediadrm/libwvdrmengine.so ignored.
No private recovery resources for TARGET_DEVICE klimtwifi
libsepol.mls_from_string: invalid MLS context s0adb.network.port
libsepol.mls_from_string: could not construct mls context structure
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert u:object_r:camera_prop:s0adb.network.port to sid
/home/georg/devel/Android/cm13.0/out/target/product/klimtwifi/obj/ETC/property_contexts_intermediates/property_contexts: line 164 has invalid context u:object_r:camera_prop:s0adb.network.port
Invalid context file found in /home/georg/devel/Android/cm13.0/out/target/product/klimtwifi/obj/ETC/property_contexts_intermediates/property_contexts
Generate Toybox links: acpi arp base64 basename blkid blockdev bzcat cal cat chattr chcon chgrp chmod chown chroot cksum clear cmp comm cp cpio cut date dd df diff dirname dmesg dos2unix du echo egrep env expand expr fallocate false fdisk fgrep file find flock free freeramdisk fsfreeze fstype ftpget ftpput getenforce getprop grep groups head help host hostname hwclock id ifconfig inotifyd insmod install ionice iorenice iotop kill killall ln load_policy logname losetup ls lsattr lsmod lsof lspci lsusb makedevs md5sum mkdir mkfifo mknod mkswap mktemp modinfo more mount mountpoint mv nbd-client nc netcat netstat nice nl nohup nproc od partprobe paste patch pgrep pidof pivot_root pkill pmap printenv printf ps pwd pwdx readahead readlink realpath renice reset resize restorecon rev rfkill rm rmdir rmmod route runcon sed seq setenforce setprop setsid sha1sum sleep sort split stat strings swapoff swapon sync sysctl tac tail tar taskset tee telnet test time timeout top touch tr traceroute traceroute6 true truncate tty ulimit umount uname uniq unix2dos uptime usleep vconfig vmstat watch wc which whoami xargs xxd xzcat yes
make: *** [/home/georg/devel/Android/cm13.0/out/target/product/klimtwifi/obj/ETC/property_contexts_intermediates/property_contexts] Error 5
make: *** Deleting file `/home/georg/devel/Android/cm13.0/out/target/product/klimtwifi/obj/ETC/property_contexts_intermediates/property_contexts'
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/georg/devel/Android/cm13.0'

#### make failed to build some targets (44 seconds) ####
[/STRIKE]

oops, silly me - sorry, I confused the builds, this was the CM13 build that I'm also having problems with!! I'll try the Ubuntu chroot on your AOSP Rom.

It's still failing unfortunately, see below for the output. I've tried to filter out the spots where it hit error messages and the final messsages.

[...]
CC drivers/net/wireless/bcmdhd4354/bcmsdh_linux.o
fixdep: error opening config file: /home/aosp-6/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/lib/gcc/arm-eabi/4.8/include/stdarg.h: No such file or directory
make[6]: *** [drivers/net/wireless/bcmdhd4354/bcmsdh.o] Error 2
make[6]: *** Waiting for unfinished jobs....
LD drivers/video/omap2/built-in.o
CC drivers/tty/tty_mutex.o
target thumb C++: libLLVMDebugInfoPDB <= external/llvm/lib/DebugInfo/PDB/PDBSymbolFunc.cpp
CC drivers/video/cfbfillrect.o
CC drivers/tty/pty.o
target thumb C++: libLLVMDebugInfoPDB <= external/llvm/lib/DebugInfo/PDB/PDBSymbolFuncDebugEnd.cpp
fixdep: error opening config file: /home/aosp-6/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/lib/gcc/arm-eabi/4.8/include/stdarg.h: No such file or directory
make[6]: *** [drivers/net/wireless/bcmdhd4354/bcmsdh_linux.o] Error 2
make[6]: *** wait: No child processes. Stop.
make[5]: *** [drivers/net/wireless/bcmdhd4354] Error 2
make[4]: *** [drivers/net/wireless] Error 2
make[3]: *** [drivers/net] Error 2
make[3]: *** Waiting for unfinished jobs....

[...]
target thumb C++: libLLVMDebugInfoPDB <= external/llvm/lib/DebugInfo/PDB/PDBSymbolUsingNamespace.cpp
target thumb C++: libLLVMDebugInfoPDB <= external/llvm/lib/DebugInfo/PDB/PDBSymDumper.cpp
target thumb C++: libLLVMIRReader <= external/llvm/lib/IRReader/IRReader.cpp
target thumb C++: libLLVMBitWriter <= external/llvm/lib/Bitcode/Writer/BitWriter.cpp
target thumb C++: libLLVMBitWriter <= external/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
target thumb C++: libLLVMBitWriter <= external/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
target thumb C++: libLLVMBitWriter <= external/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
target thumb C++: libLLVMBitReader <= external/llvm/lib/Bitcode/Reader/BitReader.cpp
LD drivers/usb/storage/usb-storage.o
target thumb C++: libLLVMBitReader <= external/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
LD drivers/usb/storage/built-in.o
target thumb C++: libLLVMBitReader <= external/llvm/lib/Bitcode/Reader/BitstreamReader.cpp
LD drivers/usb/built-in.o
make[2]: *** [drivers] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/georg/devel/Android/aosp-6/kernel/samsung/chagalllte'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
target thumb C++: libLLVMAsmPrinter <= external/llvm/lib/CodeGen/AsmPrinter/AddressPool.cpp

[...]
frameworks/base/core/res/res/values/public.xml:1532: warning: No comment for public symbol android:style/Widget.PopupMenu
frameworks/base/core/res/res/values/public.xml:655: warning: No comment for public symbol android:style/Widget.PopupWindow
frameworks/base/core/res/res/values/public.xml:629: warning: No comment for public symbol android:style/Widget.ProgressBar
frameworks/base/core/res/res/values/public.xml:632: warning: No comment for public symbol android:style/Widget.ProgressBar.Horizontal
frameworks/base/core/res/res/values/public.xml:1132: warning: No comment for public symbol android:style/Widget.ProgressBar.Inverse
frameworks/base/core/res/res/values/public.xml:630: warning: No comment for public symbol android:style/Widget.ProgressBar.Large
frameworks/base/core/res/res/values/public.xml:1133: warning: No comment for public symbol android:style/Widget.ProgressBar.Large.Inverse
frameworks/base/core/res/res/values/public.xml:631: warning: No comment for public symbol android:style/Widget.ProgressBar.Small
frameworks/base/core/res/res/values/public.xml:1134: warning: No comment for public symbol android:style/Widget.ProgressBar.Small.Inverse
frameworks/base/core/res/res/values/public.xml:634: warning: No comment for public symbol android:style/Widget.RatingBar
frameworks/base/core/res/res/values/public.xml:646: warning: No comment for public symbol android:style/Widget.ScrollView
frameworks/base/core/res/res/values/public.xml:633: warning: No comment for public symbol android:style/Widget.SeekBar
frameworks/base/core/res/res/values/public.xml:641: warning: No comment for public symbol android:style/Widget.Spinner
frameworks/base/core/res/res/values/public.xml:1529: warning: No comment for public symbol android:style/Widget.Spinner.DropDown
frameworks/base/core/res/res/values/public.xml:2303: warning: No comment for public symbol android:style/Widget.StackView
frameworks/base/core/res/res/values/public.xml:653: warning: No comment for public symbol android:style/Widget.TabWidget
frameworks/base/core/res/res/values/public.xml:635: warning: No comment for public symbol android:style/Widget.TextView
frameworks/base/core/res/res/values/public.xml:642: warning: No comment for public symbol android:style/Widget.TextView.PopupMenu
frameworks/base/core/res/res/values/public.xml:643: warning: No comment for public symbol android:style/Widget.TextView.SpinnerItem
frameworks/base/core/res/res/values/public.xml:2304: warning: No comment for public symbol android:style/Widget.Toolbar
frameworks/base/core/res/res/values/public.xml:2305: warning: No comment for public symbol android:style/Widget.Toolbar.Button.Navigation
frameworks/base/core/res/res/values/public.xml:652: warning: No comment for public symbol android:style/Widget.WebView
make: *** wait: No child processes. Stop.

#### make failed to build some targets (15:09 (mm:ss)) ####

grep: out/target/product/klimtwifi/system/build.prop: No such file or directory
mv: cannot stat 'out/target/product/klimtwifi/aosp_klimtwifi-ota-eng.ubuntu.zip': No such file or directory
md5sum: out/target/product/klimtwifi/aosp-.zip: No such file or directory