[Samsung Galaxy Express GT-I8730 ROMs, Kernels, Rec] JPT223:
Build fails. any idea what's wrong?

Where do I start searching for the problem?

Should I work on a tag instead of a branch?

thanks

This is the output from second run, which does not include successfully built projects.

$ lunch cm_expressltexx-userdebug
Trying dependencies-only mode on a non-existing device tree?
...
$ mka
make: Entering directory '~/cm-13.0-expressltexx'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
CM_VERSION=13.0-20160420-UNOFFICIAL-expressltexx
TARGET_PRODUCT=cm_expressltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-35-generic-x86_64-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=MHC19Q
OUT_DIR=~/cm-13.0-expressltexx/out
============================================
build/core/copy_headers.mk:15: warning: overriding recipe for target '~/cm-13.0-expressltexx/out/target/product/expressltexx/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target '~/cm-13.0-expressltexx/out/target/product/expressltexx/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target '~/cm-13.0-expressltexx/out/target/product/expressltexx/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target '~/cm-13.0-expressltexx/out/target/product/expressltexx/obj/include/qcom/display/copybit_priv.h'
find: `dummy': No such file or directory
build/core/Makefile:46: warning: overriding recipe for target '~/cm-13.0-expressltexx/out/target/product/expressltexx/system/bin/rild'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '~/cm-13.0-expressltexx/out/target/product/expressltexx/system/bin/rild'
build/core/Makefile:46: warning: overriding recipe for target '~/cm-13.0-expressltexx/out/target/product/expressltexx/system/lib/libril.so'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '~/cm-13.0-expressltexx/out/target/product/expressltexx/system/lib/libril.so'
build/core/Makefile:46: warning: overriding recipe for target '~/cm-13.0-expressltexx/out/target/product/expressltexx/system/lib/libsecril-client.so'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '~/cm-13.0-expressltexx/out/target/product/expressltexx/system/lib/libsecril-client.so'
build/core/Makefile:46: warning: overriding recipe for target '~/cm-13.0-expressltexx/out/target/product/expressltexx/system/lib/libtime_genoff.so'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '~/cm-13.0-expressltexx/out/target/product/expressltexx/system/lib/libtime_genoff.so'
build/core/Makefile:46: warning: overriding recipe for target '~/cm-13.0-expressltexx/out/target/product/expressltexx/system/app/Eleven/Eleven.apk'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '~/cm-13.0-expressltexx/out/target/product/expressltexx/system/app/Eleven/Eleven.apk'
build/core/Makefile:46: warning: overriding recipe for target '~/cm-13.0-expressltexx/out/target/product/expressltexx/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '~/cm-13.0-expressltexx/out/target/product/expressltexx/system/etc/permissions/android.software.live_wallpaper.xml'
No private recovery resources for TARGET_DEVICE expressltexx
Export includes file: frameworks/native/libs/input/Android.mk -- ~/cm-13.0-expressltexx/out/host/linux-x86/obj/STATIC_LIBRARIES/libinput_intermediates/export_includes
Import includes file: ~/cm-13.0-expressltexx/out/host/linux-x86/obj/STATIC_LIBRARIES/libinput_intermediates/import_includes
Export includes file: frameworks/base/tools/validatekeymaps/Android.mk -- ~/cm-13.0-expressltexx/out/host/linux-x86/obj/EXECUTABLES/validatekeymaps_intermediates/export_includes
Copying: ~/cm-13.0-expressltexx/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-jarjar.jar
target SharedLib: libbacktrace_test (~/cm-13.0-expressltexx/out/target/product/expressltexx/obj/SHARED_LIBRARIES/libbacktrace_test_intermediates/LINKED/libbacktrace_test.so)
target SharedLib: liblog (~/cm-13.0-expressltexx/out/target/product/expressltexx/obj/SHARED_LIBRARIES/liblog_intermediates/LINKED/liblog.so)
target SharedLib: libunwind (~/cm-13.0-expressltexx/out/target/product/expressltexx/obj/SHARED_LIBRARIES/libunwind_intermediates/LINKED/libunwind.so)
target Executable: libjavacore-benchmarks (~/cm-13.0-expressltexx/out/target/product/expressltexx/obj/EXECUTABLES/libjavacore-benchmarks_intermediates/LINKED/libjavacore-benchmarks32)
target Executable: libjavacore-unit-tests (~/cm-13.0-expressltexx/out/target/product/expressltexx/obj/EXECUTABLES/libjavacore-unit-tests_intermediates/LINKED/libjavacore-unit-tests)
target Unpacked: fstools (~/cm-13.0-expressltexx/out/target/product/expressltexx/obj/EXECUTABLES/fstools_intermediates/PACKED/fstools)
target StaticExecutable: bu_recovery (~/cm-13.0-expressltexx/out/target/product/expressltexx/obj/RECOVERY_EXECUTABLES/bu_recovery_intermediates/LINKED/bu)
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
external/libtar/lib/encode.c:234: error: undefined reference to 'int_to_oct_nonull'
external/libtar/lib/encode.c:238: error: undefined reference to 'int_to_oct_nonull'
collect2: error: ld returned 1 exit status
build/core/executable_internal.mk:75: recipe for target '~/cm-13.0-expressltexx/out/target/product/expressltexx/obj/RECOVERY_EXECUTABLES/bu_recovery_intermediates/LINKED/bu' failed
make: *** [~/cm-13.0-expressltexx/out/target/product/expressltexx/obj/RECOVERY_EXECUTABLES/bu_recovery_intermediates/LINKED/bu] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '~/cm-13.0-expressltexx'