Build of nrg2iso with android toolchain

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

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

SLOCLanguage
91 ansic
5 makefile
96 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: nrg2iso 0.4-9 (Tue Apr 4 20:22:58 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc nrg2iso.c -o nrg2iso
# cc1: error: no include path in which to search for stdc-predef.h
# nrg2iso.c:22:19: error: no include path in which to search for stdio.h
# #include
# ^
# nrg2iso.c:23:20: error: no include path in which to search for string.h
# #include
# ^
# nrg2iso.c:24:23: error: no include path in which to search for sys/types.h
# #include
# ^
# nrg2iso.c:25:20: error: no include path in which to search for unistd.h
# #include
# ^
# nrg2iso.c:26:22: error: no include path in which to search for sys/stat.h
# #include
# ^
# nrg2iso.c: In function 'usage':
# nrg2iso.c:31:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("Nrg2Iso v%s by G. Kokanosky\n", VERSION);
# ^
# nrg2iso.c: In function 'checkIso':
# nrg2iso.c:45:3: error: unknown type name 'FILE'
# FILE *f;
# ^
# nrg2iso.c:48:9: warning: assignment makes pointer from integer without a cast [enabled by default]
# if(!(f=fopen(filename,"rb"))) return 0;
# ^
# nrg2iso.c:70:5: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("It seems that %s is already an ISO 9660 image \n",filename);
# ^
# nrg2iso.c: In function 'main':
# nrg2iso.c:82:3: error: unknown type name 'FILE'
# FILE *nrgFile, *isoFile;
# ^
# nrg2iso.c:84:3: error: unknown type name 'size_t'
# size_t i=0,j=0;
# ^
# nrg2iso.c:85:3: error: unknown type name 'size_t'
# size_t size=0,k=0,l;
# ^
# nrg2iso.c:86:3: error: unknown type name 'size_t'
# size_t nrgSize=0;
# ^
# nrg2iso.c:89:15: error: storage size of 'buf' isn't known
# struct stat buf;
# ^
# nrg2iso.c:92:5: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("nrg2iso v%s\n", VERSION);
# ^
# nrg2iso.c:108:14: warning: assignment makes pointer from integer without a cast [enabled by default]
# nrgFile=fopen(argv[1],"rb");
# ^
# nrg2iso.c:109:31: error: 'SEEK_SET' undeclared (first use in this function)
# fseek (nrgFile, 307200, SEEK_SET);
# ^
# nrg2iso.c:109:31: note: each undeclared identifier is reported only once for each function it appears in
# nrg2iso.c:111:14: warning: assignment makes pointer from integer without a cast [enabled by default]
# isoFile=fopen(argv[2],"wb+");
# ^
# nrg2iso.c:114:2: warning: incompatible implicit declaration of built-in function 'fwrite' [enabled by default]
# fwrite(buffer,i,1,isoFile);
# ^
# nrg2iso.c:121:4: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("\r|");
# ^
# nrg2iso.c:126:11: error: 'stdout' undeclared (first use in this function)
# fflush(stdout);
# ^
# nrg2iso.c:129:7: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("\r|");
# ^
# nrg2iso.c:142:5: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s : No such file\n",argv[1]);
# ^
# make: *** [Makefile:2: all] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...