Build of sl with android toolchain

The build took 00h 00m 52s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
333 ansic
4 makefile
337 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
# /toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/SOURCES --> /sysroot/SOURCES
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/COPYING --> /sysroot/COPYING
# /toolchain_root/COPYING3 --> /sysroot/COPYING3
# /toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: sl 5.02-4 (Tue Apr 4 21:08:45 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# cc1: error: no include path in which to search for stdc-predef.h
# sl.c:39:20: error: no include path in which to search for curses.h
# #include
# ^
# sl.c:40:20: error: no include path in which to search for signal.h
# #include
# ^
# sl.c:41:20: error: no include path in which to search for unistd.h
# #include
# ^
# sl.c: In function 'my_mvaddstr':
# sl.c:60:35: error: 'ERR' undeclared (first use in this function)
# if (*str == '\0') return ERR;
# ^
# sl.c:60:35: note: each undeclared identifier is reported only once for each function it appears in
# sl.c:63:12: error: 'OK' undeclared (first use in this function)
# return OK;
# ^
# sl.c: In function 'main':
# sl.c:91:12: error: 'SIGINT' undeclared (first use in this function)
# signal(SIGINT, SIG_IGN);
# ^
# sl.c:91:20: error: 'SIG_IGN' undeclared (first use in this function)
# signal(SIGINT, SIG_IGN);
# ^
# sl.c:94:13: error: 'stdscr' undeclared (first use in this function)
# nodelay(stdscr, TRUE);
# ^
# sl.c:94:21: error: 'TRUE' undeclared (first use in this function)
# nodelay(stdscr, TRUE);
# ^
# sl.c:96:22: error: 'FALSE' undeclared (first use in this function)
# scrollok(stdscr, FALSE);
# ^
# sl.c:98:14: error: 'COLS' undeclared (first use in this function)
# for (x = COLS - 1; ; --x) {
# ^
# sl.c:100:30: error: 'ERR' undeclared (first use in this function)
# if (add_sl(x) == ERR) break;
# ^
# sl.c:112:24: error: 'LINES' undeclared (first use in this function)
# mvcur(0, COLS - 1, LINES - 1, 0);
# ^
# sl.c: In function 'add_sl':
# sl.c:135:35: error: 'ERR' undeclared (first use in this function)
# if (x < - LOGOLENGTH) return ERR;
# ^
# sl.c:136:9: error: 'LINES' undeclared (first use in this function)
# y = LINES / 2 - 3;
# ^
# sl.c:139:32: error: 'COLS' undeclared (first use in this function)
# y = (x / 6) + LINES - (COLS / 6) - LOGOHIGHT;
# ^
# sl.c:154:12: error: 'OK' undeclared (first use in this function)
# return OK;
# ^
# sl.c: In function 'add_D51':
# sl.c:179:34: error: 'ERR' undeclared (first use in this function)
# if (x < - D51LENGTH) return ERR;
# ^
# sl.c:180:9: error: 'LINES' undeclared (first use in this function)
# y = LINES / 2 - 5;
# ^
# sl.c:183:32: error: 'COLS' undeclared (first use in this function)
# y = (x / 7) + LINES - (COLS / 7) - D51HIGHT;
# ^
# sl.c:195:12: error: 'OK' undeclared (first use in this function)
# return OK;
# ^
# sl.c: In function 'add_C51':
# sl.c:219:34: error: 'ERR' undeclared (first use in this function)
# if (x < - C51LENGTH) return ERR;
# ^
# sl.c:220:9: error: 'LINES' undeclared (first use in this function)
# y = LINES / 2 - 5;
# ^
# sl.c:223:32: error: 'COLS' undeclared (first use in this function)
# y = (x / 7) + LINES - (COLS / 7) - C51HIGHT;
# ^
# sl.c:235:12: error: 'OK' undeclared (first use in this function)
# return OK;
# ^
# ==> ERROR: A failure occurred in build().
# Aborting...