The build took 00h 01m 00s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
379 |
ansic |
23 |
makefile |
402 |
total |
The process tree of the build process is here.
Several sub-process invocations were improper; see the process tree for details. Summary:
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:
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: bchunk 1.2.0-4 (Tue Apr 4 19:44:20 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
gcc -Wall -Wstrict-prototypes -O2 -c bchunk.c
cc1: error: no include path in which to search for stdc-predef.h
bchunk.c:21:19: error: no include path in which to search for stdio.h
#include
^
bchunk.c:22:20: error: no include path in which to search for stdlib.h
#include
^
bchunk.c:23:20: error: no include path in which to search for string.h
#include
^
bchunk.c:24:19: error: no include path in which to search for errno.h
#include
^
bchunk.c:25:20: error: no include path in which to search for unistd.h
#include
^
bchunk.c:60:22: error: no include path in which to search for inttypes.h
#include
^
bchunk.c:61:24: error: no include path in which to search for netinet/in.h
#include
^
bchunk.c:89:18: error: 'NULL' undeclared here (not in a function)
char *basefile = NULL;
^
bchunk.c: In function 'parse_args':
bchunk.c:106:2: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration]
while ((s = getopt(argc, argv, "swvp?hr")) != -1) {
^
bchunk.c:125:5: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration]
fprintf(stderr, "%s", USAGE);
^
bchunk.c:125:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
bchunk.c:125:13: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, "%s", USAGE);
^
bchunk.c:125:13: note: each undeclared identifier is reported only once for each function it appears in
bchunk.c:126:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
exit(0);
^
bchunk.c:126:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
bchunk.c:130:13: error: 'optind' undeclared (first use in this function)
if (argc - optind != 3) {
^
bchunk.c:131:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "%s", USAGE);
^
bchunk.c:132:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
exit(1);
^
bchunk.c:138:5: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration]
binfile = strdup(argv[optind]);
^
bchunk.c:138:15: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
binfile = strdup(argv[optind]);
^
bchunk.c:147:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "%s", USAGE);
^
bchunk.c:148:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
exit(1);
^
bchunk.c: In function 'time2frames':
bchunk.c:163:2: warning: implicit declaration of function 'strchr' [-Wimplicit-function-declaration]
if (!(p = strchr(s, ':')))
^
bchunk.c:163:12: warning: incompatible implicit declaration of built-in function 'strchr' [enabled by default]
if (!(p = strchr(s, ':')))
^
bchunk.c:166:2: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
mins = atoi(s);
^
bchunk.c: In function 'gettrackmode':
bchunk.c:193:2: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration]
if (!strcasecmp(modes, "MODE1/2352")) {
^
bchunk.c:231:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("(?) ");
^
bchunk.c:231:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
bchunk.c: At top level:
bchunk.c:263:16: error: unknown type name 'FILE'
int writetrack(FILE *bf, struct track_t *track, char *bname)
^
bchunk.c: In function 'main':
bchunk.c:396:2: error: unknown type name 'FILE'
FILE *binf, *cuef;
^
bchunk.c:398:2: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
printf("%s", VERSTR);
^
bchunk.c:402:2: warning: implicit declaration of function 'fopen' [-Wimplicit-function-declaration]
if (!((binf = fopen(binfile, "r")))) {
^
bchunk.c:402:14: warning: assignment makes pointer from integer without a cast [enabled by default]
if (!((binf = fopen(binfile, "r")))) {
^
bchunk.c:403:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "Could not open BIN %s: %s\n", binfile, strerror(errno));
^
bchunk.c:403:11: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, "Could not open BIN %s: %s\n", binfile, strerror(errno));
^
bchunk.c:403:3: warning: implicit declaration of function 'strerror' [-Wimplicit-function-declaration]
fprintf(stderr, "Could not open BIN %s: %s\n", binfile, strerror(errno));
^
bchunk.c:403:68: error: 'errno' undeclared (first use in this function)
fprintf(stderr, "Could not open BIN %s: %s\n", binfile, strerror(errno));
^
bchunk.c:407:14: warning: assignment makes pointer from integer without a cast [enabled by default]
if (!((cuef = fopen(cuefile, "r")))) {
^
bchunk.c:408:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "Could not open CUE %s: %s\n", cuefile, strerror(errno));
^
bchunk.c:415:2: warning: implicit declaration of function 'fgets' [-Wimplicit-function-declaration]
if (!fgets(s, CUELLEN, cuef)) {
^
bchunk.c:416:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "Could not read first line from %s: %s\n", cuefile, strerror(errno));
^
bchunk.c:422:15: warning: incompatible implicit declaration of built-in function 'strchr' [enabled by default]
while ((p = strchr(s, '\r')) || (p = strchr(s, '\n')))
^
bchunk.c:425:3: warning: implicit declaration of function 'strstr' [-Wimplicit-function-declaration]
if ((p = strstr(s, "TRACK"))) {
^
bchunk.c:425:12: warning: incompatible implicit declaration of built-in function 'strstr' [enabled by default]
if ((p = strstr(s, "TRACK"))) {
^
bchunk.c:428:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "... ouch, no space after TRACK.\n");
^
bchunk.c:433:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "... ouch, no space after track number.\n");
^
bchunk.c:439:4: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
if (!(track = malloc(sizeof(struct track_t)))) {
^
bchunk.c:439:18: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
if (!(track = malloc(sizeof(struct track_t)))) {
^
bchunk.c:440:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "main(): malloc() failed, out of memory\n");
^
bchunk.c:441:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
exit(4);
^
bchunk.c:450:19: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
track->modes = strdup(p);
^
bchunk.c:486:3: warning: implicit declaration of function 'fseek' [-Wimplicit-function-declaration]
fseek(binf, 0, SEEK_END);
^
bchunk.c:486:18: error: 'SEEK_END' undeclared (first use in this function)
fseek(binf, 0, SEEK_END);
^
bchunk.c:487:3: warning: implicit declaration of function 'ftell' [-Wimplicit-function-declaration]
track->stop = ftell(binf);
^
bchunk.c:496:3: warning: implicit declaration of function 'writetrack' [-Wimplicit-function-declaration]
writetrack(binf, track, basefile);
^
bchunk.c:498:2: warning: implicit declaration of function 'fclose' [-Wimplicit-function-declaration]
fclose(binf);
^
bchunk.c:390:9: warning: variable 'idx' set but not used [-Wunused-but-set-variable]
int i, idx;
^
bchunk.c:390:6: warning: variable 'i' set but not used [-Wunused-but-set-variable]
int i, idx;
^
make: *** [Makefile:20: bchunk.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...