Build of ispell with android toolchain

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

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

SLOCLanguage
10,373 ansic
1,815 makefile
1,697 yacc
385 objc
215 csh
49 sh
32 sed
14,566 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: ispell 3.3.02-7 (Tue Apr 4 21:13:45 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# File correct.c is read-only; trying to patch anyway
# patching file correct.c
# set +vx; \
# MASTERHASH=`cat config.X local.h \
# | sed -n -e \
# 's/^#define[ ]*LANGUAGES[ ][^}]*HASHFILES=\([^,}]*\).*$/\1/p' \
# | sed -n -e '$p'`; \
# HASHSUFFIX=`cat config.X local.h \
# | sed -n -e \
# 's/^#define[ ]*HASHSUFFIX[ ]*"\(.*\)"/\1/p' \
# | sed -n -e '$p'`; \
# case "$MASTERHASH" in \
# american*|british*) DEFHASH="english$HASHSUFFIX";; \
# *) DEFHASH="$MASTERHASH";; \
# esac; \
# DEFLANG=`expr "$DEFHASH" : '\(.*\)\..*$'`.aff; \
# echo "/* This file is generated by the Makefile. Don't edit it! */" \
# > defhash.h; \
# echo '' >> defhash.h; \
# echo '#ifndef MASTERHASH' >> defhash.h; \
# echo '#define MASTERHASH "'"$MASTERHASH"'"' >> defhash.h; \
# echo '#endif' >> defhash.h; \
# echo '#ifndef DEFHASH' >> defhash.h; \
# echo '#define DEFHASH "'"$DEFHASH"'"' >> defhash.h; \
# echo '#endif' >> defhash.h; \
# echo '#ifndef DEFLANG' >> defhash.h; \
# echo '#define DEFLANG "'"$DEFLANG"'"' >> defhash.h; \
# echo '#endif' >> defhash.h
# set +vx; \
# for var in BAKEXT BINDIR CC CFLAGS COUNTSUFFIX DEFDICT DEFHASH \
# DEFLANG EXEEXT HASHSUFFIX INSTALL \
# LANGUAGES LIBDIR LIBES LINK LINT LINTFLAGS LOOK_XREF \
# MAKE_SORTTMP MAN1DIR MAN1EXT MAN45DIR MAN45EXT MAN45SECT MASTERHASH \
# MSGLANG POUNDBANG REGLIB STATSUFFIX \
# SPELL_XREF TERMLIB TIB_XREF WORDS YACC \
# ; do \
# cat config.X defhash.h local.h \
# | sed -n -e "s/^#define[ ]*$var[ ]*"'"'"/$var=/p" \
# | sed -e 's/"[^"]*$/'"'/" -e "s/=/='/" -e 's/\\"/"/g' \
# | sed -n -e '$p'; \
# done > config.sh; \
# echo 'case "$MAKE_SORTTMP" in "") \
# SORTTMP="-e /!!SORTTMP!!/s/=.*$/=/";; *) SORTTMP=;; esac' \
# >> config.sh
# cp config.X config.h
# chmod u+w config.h
# echo '' >> config.h
# echo '/* AUTOMATICALLY-GENERATED SYMBOLS */' >> config.h
# cat local.h config.X \
# | egrep '^#define[ ]*SIGNAL_TYPE' \
# | sed -e 's/TYPE[ ]*/TYPE_STRING "/' -e 's/$/"/' -e 1q \
# >> config.h
# cat local.h config.X \
# | egrep '^#define[ ]*MASKTYPE' \
# | sed -e 's/TYPE[ ]*/TYPE_STRING "/' -e 's/$/"/' -e 1q \
# >> config.h
# + rm -f msgs.h
# + ln languages/english/msgs.h msgs.h
# + cc -O -c buildhash.c
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from buildhash.c:108:0:
# config.h:215:23: error: no include path in which to search for sys/param.h
# #include
# ^
# config.h:216:23: error: no include path in which to search for sys/types.h
# #include
# ^
# In file included from buildhash.c:109:0:
# ispell.h:145:19: error: no include path in which to search for stdio.h
# #include
# ^
# ispell.h:594:27: error: 'BUFSIZ' undeclared here (not in a function)
# contextbufs[MAXCONTEXT][BUFSIZ]; /* Context of current line */
# ^
# ispell.h:649:8: error: unknown type name 'FILE'
# EXTERN FILE * infile; /* File being corrected */
# ^
# ispell.h:650:8: error: unknown type name 'FILE'
# EXTERN FILE * outfile; /* Corrected copy of infile */
# ^
# ispell.h:651:8: error: unknown type name 'FILE'
# EXTERN FILE * sourcefile; /* File with full input data */
# ^
# ispell.h:652:8: error: unknown type name 'FILE'
# EXTERN FILE * logfile; /* File for logging corrections */
# ^
# ispell.h:703:24: error: 'NULL' undeclared here (not in a function)
# INIT (char * defmtpgm, NULL); /* Filter to use for deformatting */
# ^
# ispell.h:690:33: note: in definition of macro 'INIT'
# #define INIT(decl, init) decl = init
# ^
# proto.h:128:27: error: unknown type name 'FILE'
# extern void checkline P ((FILE * ofile));
# ^
# ispell.h:148:14: note: in definition of macro 'P'
# #define P(x) x
# ^
# proto.h:197:25: error: unknown type name 'FILE'
# extern void toutent P ((FILE * outfile, struct dent * hent,
# ^
# ispell.h:148:14: note: in definition of macro 'P'
# #define P(x) x
# ^
# proto.h:205:50: error: unknown type name 'FILE'
# extern char * xgets P ((char * string, int size, FILE * stream));
# ^
# ispell.h:148:14: note: in definition of macro 'P'
# #define P(x) x
# ^
# In file included from buildhash.c:110:0:
# proto.h:305:20: error: no include path in which to search for stdlib.h
# #include
# ^
# proto.h:306:20: error: no include path in which to search for string.h
# #include
# ^
# proto.h:307:20: error: no include path in which to search for unistd.h
# #include
# ^
# buildhash.c:113:19: error: no include path in which to search for ctype.h
# #include
# ^
# buildhash.c:114:22: error: no include path in which to search for sys/stat.h
# #include
# ^
# buildhash.c: In function 'main':
# buildhash.c:143:5: error: unknown type name 'FILE'
# FILE * statf;
# ^
# buildhash.c:167:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# (void) fprintf (stderr, BHASH_C_USAGE);
# ^
# buildhash.c:167:18: error: 'stderr' undeclared (first use in this function)
# (void) fprintf (stderr, BHASH_C_USAGE);
# ^
# buildhash.c:167:18: note: each undeclared identifier is reported only once for each function it appears in
# buildhash.c:175:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit (1);
# ^
# buildhash.c:177:5: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default]
# strcpy (Sfile, Dfile);
# ^
# In file included from buildhash.c:108:0:
# config.h:538:16: warning: incompatible implicit declaration of built-in function 'strrchr' [enabled by default]
# #define rindex strrchr
# ^
# buildhash.c:178:15: note: in expansion of macro 'rindex'
# lastdot = rindex (Sfile, '.');
# ^
# buildhash.c:179:17: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (lastdot != NULL)
# ^
# buildhash.c:181:5: warning: incompatible implicit declaration of built-in function 'strcat' [enabled by default]
# strcat (Sfile, STATSUFFIX);
# ^
# buildhash.c:202:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# (void) fprintf (stderr, BHASH_C_ZERO_COUNT);
# ^
# buildhash.c:207:16: warning: assignment makes pointer from integer without a cast [enabled by default]
# if ((statf = fopen (Sfile, "w")) == NULL)
# ^
# buildhash.c:207:38: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if ((statf = fopen (Sfile, "w")) == NULL)
# ^
# buildhash.c:209:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# (void) fprintf (stderr, CANT_CREATE, Sfile, MAYBE_CR (stderr));
# ^
# buildhash.c:222:22: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# for (j = 0; dp != NULL; j++, dp = dp->next)
# ^
# buildhash.c:235:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# (void) fprintf (statf, "%d:\t%d\t0\t0.0\n", i + 1, stats[i]);
# ^
# buildhash.c: In function 'output':
# buildhash.c:249:5: error: unknown type name 'FILE'
# register FILE * houtfile;
# ^
# buildhash.c:258:19: warning: assignment makes pointer from integer without a cast [enabled by default]
# if ((houtfile = fopen (Hfile, "wb")) == NULL)
# ^
# buildhash.c:258:42: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if ((houtfile = fopen (Hfile, "wb")) == NULL)
# ^
# buildhash.c:260:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# (void) fprintf (stderr, CANT_CREATE, Hfile, MAYBE_CR (stderr));
# ^
# buildhash.c:260:18: error: 'stderr' undeclared (first use in this function)
# (void) fprintf (stderr, CANT_CREATE, Hfile, MAYBE_CR (stderr));
# ^
# buildhash.c:266:12: warning: incompatible implicit declaration of built-in function 'fwrite' [enabled by default]
# (void) fwrite ((char *) &hashheader, sizeof hashheader, 1, houtfile);
# ^
# buildhash.c:328:6: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
# n = strlen ((char *) chartypes[i].name) + 1;
# ^
# buildhash.c:347:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# (void) fprintf (stderr,
# ^
# buildhash.c:354:15: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (dp->word == NULL)
# ^
# buildhash.c:358:10: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
# n = strlen ((char *) dp->word) + 1;
# ^
# buildhash.c: In function 'filltable':
# buildhash.c:447:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# (void) fprintf (stderr, BHASH_C_OVERFLOW, overflows);
# ^
# buildhash.c:447:18: error: 'stderr' undeclared (first use in this function)
# (void) fprintf (stderr, BHASH_C_OVERFLOW, overflows);
# ^
# buildhash.c: In function 'mymalloc':
# buildhash.c:490:14: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
# nextspace = malloc ((unsigned) bytesleft);
# ^
# In file included from buildhash.c:108:0:
# buildhash.c: In function 'myrealloc':
# config.h:535:24: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
# #define BCOPY(s, d, n) memcpy (d, s, n)
# ^
# buildhash.c:513:12: note: in expansion of macro 'BCOPY'
# (void) BCOPY (ptr, nptr, oldsize);
# ^
# buildhash.c: In function 'readdict':
# buildhash.c:531:5: error: unknown type name 'FILE'
# FILE * dictf;
# ^
# buildhash.c:535:16: warning: assignment makes pointer from integer without a cast [enabled by default]
# if ((dictf = fopen (Dfile, "r")) == NULL)
# ^
# buildhash.c:535:38: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if ((dictf = fopen (Dfile, "r")) == NULL)
# ^
# buildhash.c:537:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# (void) fprintf (stderr, BHASH_C_CANT_OPEN_DICT);
# ^
# buildhash.c:537:18: error: 'stderr' undeclared (first use in this function)
# (void) fprintf (stderr, BHASH_C_CANT_OPEN_DICT);
# ^
# buildhash.c:538:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit (1);
# ^
# buildhash.c:542:23: warning: incompatible implicit declaration of built-in function 'calloc' [enabled by default]
# (struct dent *) calloc ((unsigned) hashsize, sizeof (struct dent));
# ^
# buildhash.c:543:17: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (hashtbl == NULL)
# ^
# buildhash.c:545:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# (void) fprintf (stderr, BHASH_C_NO_SPACE);
# ^
# buildhash.c:546:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit (1);
# ^
# buildhash.c:550:54: warning: comparison between pointer and integer [enabled by default]
# while (fgets ((char *) lbuf, sizeof lbuf, dictf) != NULL)
# ^
# buildhash.c:554:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# (void) fprintf (stderr, "%d ", i);
# ^
# buildhash.c:555:21: error: 'stdout' undeclared (first use in this function)
# (void) fflush (stdout);
# ^
# buildhash.c:576:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit (1);
# ^
# buildhash.c:588:13: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default]
# (void) strcpy ((char *) ucbuf, (char *) d.word);
# ^
# buildhash.c:590:16: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# while (dp != NULL)
# ^
# buildhash.c:598:13: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (dp != NULL)
# ^
# buildhash.c:605:7: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit (1);
# ^
# buildhash.c:610:36: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# for (dp = &hashtbl[h]; dp->next != NULL; )
# ^
# buildhash.c:614:10: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (dp == NULL)
# ^
# buildhash.c:616:14: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# (void) fprintf (stderr, BHASH_C_COLLISION_SPACE);
# ^
# buildhash.c:617:7: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit (1);
# ^
# buildhash.c:621:12: warning: assignment from incompatible pointer type [enabled by default]
# dp->next = NULL;
# ^
# buildhash.c:630:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit (1);
# ^
# buildhash.c:636:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# (void) fprintf (stderr, "\n");
# ^
# buildhash.c: In function 'newcount':
# buildhash.c:646:5: error: unknown type name 'FILE'
# register FILE * d;
# ^
# buildhash.c:653:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# (void) fprintf (stderr, BHASH_C_COUNTING);
# ^
# buildhash.c:653:18: error: 'stderr' undeclared (first use in this function)
# (void) fprintf (stderr, BHASH_C_COUNTING);
# ^
# buildhash.c:655:12: warning: assignment makes pointer from integer without a cast [enabled by default]
# if ((d = fopen (Dfile, "r")) == NULL)
# ^
# buildhash.c:655:34: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if ((d = fopen (Dfile, "r")) == NULL)
# ^
# buildhash.c:658:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# exit (1);
# ^
# buildhash.c:668:21: error: 'stdout' undeclared (first use in this function)
# (void) fflush (stdout);
# ^
# In file included from buildhash.c:108:0:
# config.h:537:15: warning: incompatible implicit declaration of built-in function 'strchr' [enabled by default]
# #define index strchr
# ^
# buildhash.c:670:7: note: in expansion of macro 'index'
# cp = index ((char *) buf, hashheader.flagmarker);
# ^
# buildhash.c:671:9: warning: comparison of distinct pointer types lacks a cast [enabled by default]
# if (cp != NULL)
# ^
# make: *** [Makefile:273: buildhash.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...