[Galaxy Note 10.1 Android Development] zander21510:
So I'm trying to do a build for this...but I'm having some trouble getting everything going. Rummaging through liroka's github and going through old build scripts, cyanogenmod repos, and etc, I feel like I'm getting close but I keep running into issues competing the build, right now with selinux.

Did anyone ever figure out the local manifest?

edit: this is where my build fails at this point, I'm not sure where to go from here:

Starting build with ninja
ninja: Entering directory `.'
[ 0% 40/20521] Building Kernel Config
make: Entering directory '/home/zander21510/android/lineage/kernel/samsung/smdk4412'
GEN /home/zander21510/android/lineage/out/target/product/n8013/obj/KERNEL_OBJ/Makefile
arch/arm/mach-exynos/Kconfig:875:warning: choice value used outside its choice group
arch/arm/mach-exynos/Kconfig:877:warning: defaults for choice values not supported
#
# configuration written to .config
#
make: Leaving directory '/home/zander21510/android/lineage/kernel/samsung/smdk4412'
make: Entering directory '/home/zander21510/android/lineage/kernel/samsung/smdk4412'
GEN /home/zander21510/android/lineage/out/target/product/n8013/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
arch/arm/mach-exynos/Kconfig:875:warning: choice value used outside its choice group
arch/arm/mach-exynos/Kconfig:877:warning: defaults for choice values not supported
make: Leaving directory '/home/zander21510/android/lineage/kernel/samsung/smdk4412'
[ 0% 47/20521] Building Kernel Headers
make: Entering directory '/home/zander21510/android/lineage/kernel/samsung/smdk4412'
GEN /home/zander21510/android/lineage/out/target/product/n8013/obj/KERNEL_OBJ/Makefile
arch/arm/mach-exynos/Kconfig:875:warning: choice value used outside its choice group
arch/arm/mach-exynos/Kconfig:877:warning: defaults for choice values not supported
#
# configuration written to .config
#
make: Leaving directory '/home/zander21510/android/lineage/kernel/samsung/smdk4412'
make: Entering directory '/home/zander21510/android/lineage/kernel/samsung/smdk4412'
CHK include/linux/version.h
make: Leaving directory '/home/zander21510/android/lineage/kernel/samsung/smdk4412'
[ 0% 48/20521] host Java: ahat (/home/zander21510/androi...ost/common/obj/JAVA_LIBRARIES/ahat_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ 0% 52/20521] host Java: dx (/home/zander21510/android/.../host/common/obj/JAVA_LIBRARIES/dx_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ 0% 80/20521] Target buildinfo: /home/zander21510/andro.../n8013/obj/ETC/system_build_prop_intermediates/build.prop
Target buildinfo from: device/samsung/n8013/system.prop
[ 0% 83/20521] build /home/zander21510/android/lineage/o...get/product/n8013/obj/ETC/sepolicy_intermediates/sepolicy
FAILED: /bin/bash -c "(/home/zander21510/android/lineage/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /home/zander21510/android/lineage/out/target/product/n8013/obj/ETC/sepolicy_intermediates/sepolicy.tmp /home/zander21510/android/lineage/out/target/product/n8013/obj/ETC/sepolicy_intermediates/policy.conf ) && (/home/zander21510/android/lineage/out/host/linux-x86/bin/checkpolicy -M -c 30 -o /home/zander21510/android/lineage/out/target/product/n8013/obj/ETC/sepolicy_intermediates//sepolicy.dontaudit /home/zander21510/android/lineage/out/target/product/n8013/obj/ETC/sepolicy_intermediates/policy.conf.dontaudit ) && (/home/zander21510/android/lineage/out/host/linux-x86/bin/sepolicy-analyze /home/zander21510/android/lineage/out/target/product/n8013/obj/ETC/sepolicy_intermediates/sepolicy.tmp permissive > /home/zander21510/android/lineage/out/target/product/n8013/obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains ) && (if [ \"userdebug\" = \"user\" -a -s /home/zander21510/android/lineage/out/target/product/n8013/obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains ]; then	echo \"==========\" 1>&2;	echo \"ERROR: permissive domains not allowed in user builds\" 1>&2;	echo \"List of invalid domains:\" 1>&2;	cat /home/zander21510/android/lineage/out/target/product/n8013/obj/ETC/sepolicy_intermediates/sepolicy.permissivedomains 1>&2;	exit 1;	fi ) && (mv /home/zander21510/android/lineage/out/target/product/n8013/obj/ETC/sepolicy_intermediates/sepolicy.tmp /home/zander21510/android/lineage/out/target/product/n8013/obj/ETC/sepolicy_intermediates/sepolicy )"
device/samsung/smdk4412-common/selinux/macloader.te:6:ERROR 'unknown type efs_device_file' at token ';' on line 20863:
allow macloader efs_file:dir search;
allow macloader efs_device_file:dir search;
checkpolicy: error(s) encountered while parsing configuration
/home/zander21510/android/lineage/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/zander21510/android/lineage/out/target/product/n8013/obj/ETC/sepolicy_intermediates/policy.conf
[ 0% 83/20521] target Export Resources: framework-res (/.../obj/APPS/framework-res_intermediates/package-export.apk)
warning: string 'candidates_style' has no default translation.
warning: string 'gsm_alphabet_default_charset' has no default translation.
warning: string 'wfcSpnFormat' has no default translation.
nothing matches overlay file default_wallpaper.png, for flavor hdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxxhdpi-v4
[ 0% 83/20521] Building Kernel
make: Entering directory '/home/zander21510/android/lineage/kernel/samsung/smdk4412'
GEN /home/zander21510/android/lineage/out/target/product/n8013/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
arch/arm/mach-exynos/Kconfig:875:warning: choice value used outside its choice group
arch/arm/mach-exynos/Kconfig:877:warning: defaults for choice values not supported
GEN /home/zander21510/android/lineage/out/target/product/n8013/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
Using /home/zander21510/android/lineage/kernel/samsung/smdk4412 as source for kernel
CHK include/generated/utsrelease.h
make[2]: 'include/generated/mach-types.h' is up to date.
CALL /home/zander21510/android/lineage/kernel/samsung/smdk4412/scripts/checksyscalls.sh
CHK include/generated/compile.h
/home/zander21510/android/lineage/kernel/samsung/smdk4412/drivers/gpu/mali400/r3p2/mali/Kbuild:47: Current directory is /home/zander21510/android/lineage/kernel/samsung/smdk4412/drivers/gpu/mali400/r3p2/mali from /home/zander21510/android/lineage/out/target/product/n8013/obj/KERNEL_OBJ
CC drivers/gpu/mali400/r3p2/ump/linux/ump_kernel_linux.o
CC drivers/gpu/mali400/r3p2/ump/linux/ump_memory_backend.o
LD drivers/gpu/mali400/r3p2/ump/ump.o
LD drivers/gpu/mali400/r3p2/ump/built-in.o
LD drivers/gpu/built-in.o
LD drivers/built-in.o
LD vmlinux.o
MODPOST vmlinux.o
WARNING: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
SHIPPED arch/arm/boot/compressed/lib1funcs.S
GZIP arch/arm/boot/compressed/piggy.gzip
AS arch/arm/boot/compressed/lib1funcs.o
AS arch/arm/boot/compressed/piggy.gzip.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
make: Leaving directory '/home/zander21510/android/lineage/kernel/samsung/smdk4412'
Building Kernel Modules
make: Entering directory '/home/zander21510/android/lineage/kernel/samsung/smdk4412'
GEN /home/zander21510/android/lineage/out/target/product/n8013/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
Using /home/zander21510/android/lineage/kernel/samsung/smdk4412 as source for kernel
CHK include/generated/utsrelease.h
make[2]: 'include/generated/mach-types.h' is up to date.
CALL /home/zander21510/android/lineage/kernel/samsung/smdk4412/scripts/checksyscalls.sh
/home/zander21510/android/lineage/kernel/samsung/smdk4412/drivers/gpu/mali400/r3p2/mali/Kbuild:47: Current directory is /home/zander21510/android/lineage/kernel/samsung/smdk4412/drivers/gpu/mali400/r3p2/mali from /home/zander21510/android/lineage/out/target/product/n8013/obj/KERNEL_OBJ
Building modules, stage 2.
MODPOST 7 modules
make: Leaving directory '/home/zander21510/android/lineage/kernel/samsung/smdk4412'
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/zander21510/android/lineage'

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