Build of isdn4k-utils with android toolchain

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

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

SLOCLanguage
101,104 ansic
27,961 sh
4,923 perl
2,708 cpp
905 makefile
22 tcl
137,623 total

The process tree of the build process is here.

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

List of Errors

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: isdn4k-utils 3.27-2 (Tue Apr 4 21:23:35 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make[1]: Entering directory '/tmp/isdn4k-utils/src/isdn4k-utils/scripts/lxdialog'
# gcc -O2 -Wall -fomit-frame-pointer -DLOCALE -DCURSES_LOC="" -c -o lxdialog.o lxdialog.c
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from lxdialog.c:22:0:
# dialog.h:22:23: error: no include path in which to search for sys/types.h
# #include
# ^
# dialog.h:23:19: error: no include path in which to search for fcntl.h
# #include
# ^
# dialog.h:24:20: error: no include path in which to search for unistd.h
# #include
# ^
# dialog.h:25:19: error: no include path in which to search for ctype.h
# #include
# ^
# dialog.h:26:20: error: no include path in which to search for stdlib.h
# #include
# ^
# dialog.h:27:20: error: no include path in which to search for string.h
# #include
# ^
# dialog.h:29:20: error: no include path in which to search for ncurses.h
# #include CURSES_LOC
# ^
# dialog.h:109:1: error: unknown type name 'bool'
# extern bool use_colors;
# ^
# dialog.h:110:1: error: unknown type name 'bool'
# extern bool use_shadow;
# ^
# dialog.h:112:1: error: unknown type name 'chtype'
# extern chtype attributes[];
# ^
# dialog.h:125:18: error: unknown type name 'WINDOW'
# void attr_clear (WINDOW * win, int height, int width, chtype attr);
# ^
# dialog.h:125:55: error: unknown type name 'chtype'
# void attr_clear (WINDOW * win, int height, int width, chtype attr);
# ^
# dialog.h:128:22: error: unknown type name 'WINDOW'
# void print_autowrap (WINDOW * win, const char *prompt, int width, int y, int x);
# ^
# dialog.h:129:20: error: unknown type name 'WINDOW'
# void print_button (WINDOW * win, const char *label, int y, int x, int selected);
# ^
# dialog.h:130:16: error: unknown type name 'WINDOW'
# void draw_box (WINDOW * win, int y, int x, int height, int width, chtype box,
# ^
# dialog.h:130:67: error: unknown type name 'chtype'
# void draw_box (WINDOW * win, int y, int x, int height, int width, chtype box,
# ^
# dialog.h:131:3: error: unknown type name 'chtype'
# chtype border);
# ^
# dialog.h:132:19: error: unknown type name 'WINDOW'
# void draw_shadow (WINDOW * win, int y, int x, int height, int width);
# ^
# lxdialog.c:47:6: error: 'NULL' undeclared here (not in a function)
# {NULL, 0, 0, 0, NULL}
# ^
# lxdialog.c:53:20: error: no include path in which to search for locale.h
# #include
# ^
# lxdialog.c: In function 'main':
# lxdialog.c:60:25: warning: initialization from incompatible pointer type [enabled by default]
# const char *title = NULL;
# ^
# lxdialog.c:63:5: warning: implicit declaration of function 'setlocale' [-Wimplicit-function-declaration]
# (void) setlocale (LC_ALL, "");
# ^
# lxdialog.c:63:23: error: 'LC_ALL' undeclared (first use in this function)
# (void) setlocale (LC_ALL, "");
# ^
# lxdialog.c:63:23: note: each undeclared identifier is reported only once for each function it appears in
# lxdialog.c:68:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
# exit (-1);
# ^
# lxdialog.c:68:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# lxdialog.c:72:2: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
# if (!strcmp (argv[offset + 1], "--title")) {
# ^
# lxdialog.c:73:37: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (argc - offset < 3 || title != NULL) {
# ^
# lxdialog.c:75:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit (-1);
# ^
# lxdialog.c:81:27: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (backtitle != NULL) {
# ^
# lxdialog.c:83:17: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit (-1);
# ^
# lxdialog.c:91:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit (-1);
# ^
# lxdialog.c:94:3: warning: implicit declaration of function 'refresh' [-Wimplicit-function-declaration]
# refresh (); /* init_dialog() will clear the screen for us */
# ^
# lxdialog.c:107:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit (-1);
# ^
# lxdialog.c:128:2: warning: implicit declaration of function 'attr_clear' [-Wimplicit-function-declaration]
# attr_clear (stdscr, LINES, COLS, screen_attr);
# ^
# lxdialog.c:128:14: error: 'stdscr' undeclared (first use in this function)
# attr_clear (stdscr, LINES, COLS, screen_attr);
# ^
# lxdialog.c:128:22: error: 'LINES' undeclared (first use in this function)
# attr_clear (stdscr, LINES, COLS, screen_attr);
# ^
# lxdialog.c:128:29: error: 'COLS' undeclared (first use in this function)
# attr_clear (stdscr, LINES, COLS, screen_attr);
# ^
# lxdialog.c:133:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit (retval);
# ^
# lxdialog.c: In function 'Usage':
# lxdialog.c:142:5: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration]
# fprintf (stderr, "\
# ^
# lxdialog.c:142:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# lxdialog.c:142:14: error: 'stderr' undeclared (first use in this function)
# fprintf (stderr, "\
# ^
# lxdialog.c:162:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit (-1);
# ^
# lxdialog.c: In function 'j_menu':
# lxdialog.c:172:5: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
# return dialog_menu (t, av[2], atoi (av[3]), atoi (av[4]),
# ^
# lxdialog.c: In function 'j_inputbox':
# lxdialog.c:225:9: warning: implicit declaration of function 'fputs' [-Wimplicit-function-declaration]
# fputs(escaped_result, stderr);
# ^
# lxdialog.c:225:31: error: 'stderr' undeclared (first use in this function)
# fputs(escaped_result, stderr);
# ^
# make[1]: *** [: lxdialog.o] Error 1
# make[1]: Leaving directory '/tmp/isdn4k-utils/src/isdn4k-utils/scripts/lxdialog'
# make: *** [Makefile:180: scripts/lxdialog/lxdialog] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...